Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
#include <stdio.h> #include <stdlib.h> int main(int argc, const char * argv[]) { int a1=0,a2=0,a3=0,a4=0,dice[7],i=0,x=0,y=0,a=0,z=0; for(i = 1;i <= 6;i++){ scanf("%d",&dice[i]); } scanf("%d",&a); for(i=0;i<a;i++){ scanf("%d %d",&x,&y); while(1){ z =...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242583/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242583/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int dice[6],i,j,upside,front,q,diceside[4]; for(i = 0; i < 6; i++)scanf("%d",&dice[i]); scanf("%d",&q); for(i = 0; i < q; i++){ scanf("%d %d",&upside,&front); if(upside == dice[0] || upside == dice[5]){ diceside[0] = dice[1]; diceside[1] = dice[2]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242626/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242626/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> typedef struct { int ue, shita , migi, hidari, oku, temae; int men[7]; }Dice; Dice initialization(Dice); Dice North(Dice); Dice East(Dice); Dice South(Dice); Dice West(Dice); Dice TurnDice(Dice, int); int main() { int i, n, key_ue, key_temae; Dice d1; for (i = 1; i <= 6; i++) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242677/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242677/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.Dice = type { i32, ...
#include <stdio.h> int main (void) { int n, i, j, flag = 1; char dia, non; scanf ("%d", &n); char str[n+1]; for (i = 0; i < n; i++) { scanf ("%s", str); if (i == 0) { dia = str[0]; non = str[1]; if (dia == non) flag = 0; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24272/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24272/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include <stdio.h> typedef struct{ int label[6]; }dice; void roll_south( int* ); void roll_north( int* ); void roll_east( int* ); void roll_west( int* ); int main(){ char direct[101] = {'\0'}; int times = 0; int front = 0; int top = 0; int roll_cnt = 0; int i; dice dice1; for( i = 0; i < 6;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242770/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242770/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dice = type { [6 x ...
#include <stdio.h> int main(void) { int a,b; scanf("%d %d", &a, &b); if (a<b) { printf("a < b\n"); } if (a>b) { printf("a > b\n"); } if (a==b) { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242820/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242820/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int a,b; scanf("%d",&a); scanf("%d",&b); if(a>b){ printf("a > b\n"); } else if(a<b){ printf("a < b\n"); } else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242864/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242864/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<string.h> int main(){ int a, b; scanf("%d %d", &a, &b); char result[3] = "=="; if (a > b) strcpy(result, ">"); else if (a < b) strcpy(result, "<"); printf("a %s b\n", result); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242914/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242914/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int a,b ; scanf("%d %d",&a, &b); if(a<b) printf("a < b\n"); else if(a>b) printf("a > b\n"); else printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242965/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242965/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a,b; scanf("%d %d",&a,&b); if(a==b){ printf("a == b\n"); } else if(a<b){ printf("a < b\n"); } else if(a>b){ printf("a > b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243007/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243007/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%ld %ld",&a ,&b); if(a<b) printf("a < b\n"); else if(a>b) printf("a > b\n"); else printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243058/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243058/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int a,b; scanf("%d %d",&a, &b); if(a < b) printf("a < b\n"); else if(a > b) printf("a > b\n"); else if(a == b) printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243100/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243100/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int x, y; int tmp; scanf("%d %d", &x, &y); if(x > y) { printf("a > b\n"); } else if ( y > x ) { printf("a < b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243144/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243144/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d %d",&a,&b); if(a < b){ printf("a < b\n"); } if(a > b){ printf("a > b\n"); } if(a == b){ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243188/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243188/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int a,b; scanf("%d%d",&a,&b); if(a > b) printf("a > b\n"); else if(a < b) printf("a < b\n"); else if(a == b) printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243230/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243230/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(int argc, char **argv){ int a,b; scanf("%d %d",&a, &b); if( a < b ){ printf("a < b\n"); } else if ( a > b ){ printf("a > b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243274/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243274/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d %d" ,&a,&b); if(a<b){ printf("a < b\n"); } else if(a>b){ printf("a > b\n"); } else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243317/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243317/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { int a, b; scanf("%d%d", &a, &b); if (a < b) { printf("a < b\n"); } else if (a > b) { printf("a > b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243360/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243360/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a,b; scanf("%d %d",&a,&b); if(a>b){ printf("a > b\n"); } if(a<b){ printf("a < b\n"); } if(a==b){ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243403/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243403/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int a,b; scanf("%d %d",&a,&b); if(a<b) { printf("a < b\n"); } if(a>b) { printf("a > b\n"); } if(a==b) { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243454/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243454/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a,b; scanf("%d",&a); scanf("%d",&b); if(a < b){ printf("a < b\n"); } if(a > b){ printf("a > b\n"); } if(a == b){ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243498/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243498/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a, b; scanf("%d %d", &a, &b); if (a > b) { puts("a > b"); } else if (a < b){ puts("a < b"); } else { puts("a == b"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243540/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243540/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a,b; scanf("%d %d",&a,&b); if(a<b){ printf("a < b\n"); } else if(a>b){ printf("a > b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243591/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243591/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d %d",&a,&b); if(a<b){ printf("a < b\n"); }else if(a>b){ printf("a > b\n"); }else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243634/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243634/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d %d",&a,&b); if(a<b)printf("a < b\n"); if(a>b)printf("a > b\n"); if(a==b)printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243678/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243678/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); if(a < b) { printf("a < b\n"); } else if(a > b) { printf("a > b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243720/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243720/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(int argc, char *argv[]) { int a = 0, b = 0; (void)fscanf(stdin, "%d %d", &a, &b); if(a > b) { printf("a > b\n"); }else if(a < b) { printf("a < b\n"); }else if(a == b) { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243764/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243764/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = external local_unn...
#include <stdio.h> int main (void) { int a,b; scanf("%d",&a); scanf("%d",&b); if(a<b) { printf("a < b\n"); } if(a>b) { printf("a > b\n"); } if(a==b) { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243807/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243807/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d %d",&a,&b); if(a>b){ printf("a > b\n"); }else if(a == b){ printf("a == b\n"); }else{ printf("a < b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243850/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243850/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a, b; scanf("%d", &a); scanf("%d", &b); if(a==b){ printf("a == b\n"); }else if(a<b){ printf("a < b\n"); }else{ printf("a > b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243894/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243894/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(int argc, char const *argv[]) { int a,b; scanf("%d %d",&a,&b); if (a<b) printf("a < b\n"); else if (a>b)printf("a > b\n"); else printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243937/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243937/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int a,b; scanf("%d %d",&a,&b); if(a<b) { printf("a < b\n"); } if(a>b) { printf("a > b\n"); } if(a==b) { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243988/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243988/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d%d",&a,&b); if(a < b) printf("a < b\n"); else if(a > b) printf("a > b\n"); else printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244037/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244037/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a, b; scanf("%d%d", &a, &b); if(a < b) { printf("a < b\n"); } else if(a > b) { printf("a > b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244080/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244080/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); if(a > b) { printf("a > b\n"); } else if (a < b) { printf("a < b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244123/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244123/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b; scanf("%d%d",&a,&b); if(a < b) {printf("a < b\n"); } else {if(a > b) {printf("a > b\n"); } else {printf("a == b\n"); } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244167/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244167/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a,b; scanf("%d",&a); scanf("%d",&b); if(a < b){ printf("a < b\n"); } else if(a > b){ printf("a > b\n"); } else if(a == b){ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244217/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244217/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); if (a < b) { printf("a < b\n"); } else if (a > b) { printf("a > b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244260/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244260/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d %d",&a,&b); if(a<b){ printf("a < b\n"); }else if(a>b){ printf("a > b\n"); }else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244303/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244303/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<string.h> int main(){ int a,b; scanf("%d%d",&a,&b); if(a==b){ printf("a == b\n"); }else if(a>b){ printf("a > b\n"); }else if(a<b){ printf("a < b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244361/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244361/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int a,b; scanf("%d",&a); scanf("%d",&b); if(a<b){ printf("a < b\n"); } if(a==b){ printf("a == b\n"); } if(a>b){ printf("a > b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244404/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244404/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int a,b; scanf("%d%d",&a,&b); if(a>b){ printf("a > b\n"); }else if(a<b){ printf("a < b\n"); }else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244462/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244462/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int n, m, i, cur; long long ans; scanf("%d%d", &n, &m); cur = 1; ans = 0; for(i = 0; i < m ; i++) { int dest, distance; scanf("%d", &dest); distance = dest - cur; if(distance < 0) { distance += n; } cur = dest; ans += distance; } printf("%I64d\n",ans); ret...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24452/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24452/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include <stdio.h> int main(void) { // ?????????????????\??? int a,b; scanf("%d" "%d",&a,&b); // ?????¶?????????????????? if (a > b) { printf("a > b\n"); } else if (a < b) { printf("a < b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244563/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244563/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main( void ){ int a,b; scanf( "%d%d" , &a, &b ); if ( a > b ){ printf( "a > b\n" ); } else if ( a < b ){ printf( "a < b\n" ); } else { printf( "a == b\n" ); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244606/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244606/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> //#include<conio.h> #include<string.h> int main() { int n,i,m; int current,next; long long int count; while(scanf("%d",&n)!=EOF) { count=0; current=1; scanf("%d",&m); for(i=0;i<m;i++) { scanf("%d",&next); if(next>=current)...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24465/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24465/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include <stdio.h> int main(void) { int a,b; scanf("%d %d",&a,&b); if (a>b){ printf("a > b\n"); } if (a==b){ printf("a == b\n"); } if (a<b){ printf("a < b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244693/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244693/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b; while(scanf("%d %d",&a,&b)!=EOF) { if(a<b) { printf("a < b\n"); } else if(a>b) { printf("a > b\n"); } else if(a==b) { printf("a == b\n"); } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244736/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244736/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a, b; scanf("%d %d", &a, &b); if(a < b){ printf("a < b\n"); } else if(a > b){ printf("a > b\n"); } else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244794/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244794/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a, b, c; scanf("%d %d\n", &a, &b); if(a < b) printf("a < b\n"); if(a > b) printf("a > b\n"); if(a == b) printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244837/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244837/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int c, e; scanf("%d %d",&c ,&e); if(c==e){ printf("a == b\n"); } else if(c>e){ printf("a > b\n"); } else if(c<e){ printf("a < b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244880/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244880/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a, b; scanf("%d %d", &a, &b); if(a > b){ printf("a > b\n"); } else if(a < b){ printf("a < b\n"); } else if(a == b) { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244923/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244923/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); if((a - b) > 0) { printf("a > b\n"); } else if((a - b) < 0) { printf("a < b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244967/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244967/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); if (a < b) puts("a < b"); else if (a > b) puts("a > b"); else puts("a == b"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245023/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245023/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int a,b; scanf("%d %d", &a, &b); if(a < b){ printf("a < b\n"); } else if(a > b){ printf("a > b\n"); } else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245067/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245067/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <string.h> #include <ctype.h> int main() { int i, j=1, x, k=0; int c, y; int ar[1000]; char str[500]; scanf("%s",str); for(i=0;str[i]!='\0';i++) { x=isdigit(str[i]); if(x!=0) { ar[j]=str[i]; j++; k++; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24511/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24511/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include<stdio.h> int main(void){ int a,b; scanf("%d %d",&a,&b); if(a>b)printf("a > b\n"); else if(a<b)printf("a < b\n"); else if(a==b)printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245160/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245160/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b; scanf("%d %d", &a , &b); if(a < b) printf("a < b\n" ); else if(a > b) printf("a > b\n"); else if(a == b) printf("a == b\n" ); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245203/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245203/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a,b; scanf("%d %d",&a,&b); if(a<b){ printf("a < b\n"); } if(a>b){ printf("a > b\n"); } if(a==b){ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245247/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245247/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int a, b; scanf("%d %d", &a, &b); if (a < b) { printf("a < b\n"); } else if (a == b) { printf("a == b\n"); } else { printf("a > b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245290/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245290/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int a = 0, b = 0; scanf("%d %d", &a, &b); if (a > b) printf("a > b\n"); else if (a < b) printf("a < b\n"); else printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245340/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245340/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); if(a < b) { printf("a < b\n"); } else if(a > b) { printf("a > b\n"); } else { printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245384/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245384/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int x, y; scanf("%d", &x); scanf("%d", &y); printf("a %s b\n", x == y ? "==" : x < y ? "<" : ">"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245449/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245449/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int a,b; scanf("%d",&a); scanf("%d",&b); if(a<b){ printf("a < b\n"); }else if(a>b){ printf("a > b\n"); }else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245492/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245492/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(){ int a,b; scanf("%d %d", &a, &b); if(a < b){ printf("a < b\n"); } else if(a > b){ printf("a > b\n"); } else if(a == b){ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245535/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245535/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a,b; scanf("%d %d",&a,&b); if(a<b) puts("a < b"); else if(a>b) puts("a > b"); else puts("a == b"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245579/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245579/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int a,b; scanf("%d%d",&a,&b); if(a<b) printf("a < b\n"); else if(a>b) printf("a > b\n"); else printf("a == b\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245629/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245629/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int n,m,i,j,z,p=0,q,b[100],count; char a[101][51]; scanf("%d %d ",&n,&m); for(i=0;i<n;i++) { for(j=0;j<m;j++) { if(j==m-1&&i!=n-1) scanf("%c\n",&a[i][j]); else scanf("%c",&a[i][j]); } } for(i=0;i<n-1;i++) { for(j=i+1;j<n;j++) { z=0; while(z<m) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24568/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24568/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
# include<stdio.h> int main(){ int T,x,y,a,b; scanf("%d",&T); while(T--){ scanf("%d%d%d%d",&x,&y,&a,&b); if((y-x)%(a+b)==0) printf("%d\n",(y-x)/(a+b)); else printf("-1\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24573/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24573/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include<stdio.h> int main() { int n1, n2; char temp; scanf("%d", &n1); scanf("%d", &n2); printf("a"); if(n1>n2) { temp = '>'; printf(" %c ", temp); } if(n1<n2) { temp = '<'; printf(" %c ", temp); } if(n1 == n2) { temp = '='; printf(" %c%c ", temp,...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245773/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245773/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a,b; scanf("%d %d",&a,&b); if(a<b){ printf("a < b\n"); }else if(a>b){ printf("a > b\n"); }else{ printf("a == b\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245816/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245816/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <math.h> #include <stdlib.h> int size[12][3],pie[12][500][2],nsel[12],order[12],list[12],q[500],mk[25][25],cov[12][25][25]; int side[12][4][2],put[12][4][25][25]; int H,W,N,PL,SPACE,SET; char map[25][25],piece[25][25]; void swap (int* x,int* y){ int z; z=*x; *x=*y; *y=z; } void cover...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245867/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245867/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @size = dso_local local_unn...
#include <stdio.h> #include <stdlib.h> #define ll long long #define rep(i,l,r)for(ll i=l;i<r;i++) ll p10[]={1,10,100,1000,10000,100000}; ll a[1000000]; int main(){ ll n,k; ll cnt=0; while(scanf("%lld%lld",&n,&k),k){ cnt++; ll id=0; a[n]=cnt*p10[5]+id; while(1){ id++; ll x[10]={}; rep(i,0,k)x[n/p10...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245917/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245917/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @p10 = dso_local local_unna...
#include <stdio.h> #include <string.h> int insert(char *); int find(char *); int getChar(char); long long getKey(char *); int h1(int); int h2(int); #define M 1046527 #define L 14 char H[M][L]; /* Hash Table */ int main(){ int i, n, h; char str[L], com[9]; for ( i = 0; i < M; i++ ) H[i][0] = '\0'; sca...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245960/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245960/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1046...
#include <stdio.h> #include <string.h> #define M 1000007 #define L 14 char H[M][L]; int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; } long long getKey(char str[]){ long long sum = 0, p = 1, i; for ( i = 0; i < strl...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246002/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246002/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include<stdio.h> #include<string.h> #define M 1000000 #define L 14 char H[M][L]; /* Hash Table */ int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; } /* convert a string into an integer value */ long long getKey(char...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246046/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246046/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include<stdio.h> int main() { int n,a1,a2,b1,b2,m,a,b,s; scanf("%d",&n); for(int i=1;i<=n;i++) { m=0;s=0; scanf("%d%d%d%d",&a1,&b1,&a2,&b2); m=(b1-a1)%(b2+a2); s=(b1-a1)/(b2+a2); if(m==0) printf("%d\n",s); else printf("-1\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24609/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24609/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include<stdio.h> #include<string.h> #define M 20000000 #define L 14 int getChar(char ch); long long getKey(char str[L]); //int h1(int key); //int h2(int key); int find(char str[L]); void insert(char str[L]); char H[M][L]; int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246132/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246132/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [2000...
#include<stdio.h> #include<string.h> #define M 1000000 #define L 14 char H[M][L]; int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; } long long getKey(char str[]){ long long sum = 0, p = 1, i; for ( i = 0; i < str...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246176/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246176/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include <stdio.h> #include <string.h> char dict[30600000]; char word[26]; long encode(const char *key){ int n=strlen(key),i; long sum=0; long keta=1; for(i=0;i<n;i++){ int keyi=key[i]; sum = sum + keta * word[keyi]; keta=(keta<<2)+keta; } return (sum); } void insert(const char *key2...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246219/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246219/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @word = dso_local local_unn...
#include "stdio.h" #include "string.h" int main() { int t,x,y,a,b,i,end; scanf("%d",&t); for(i=0;i<t;i++) { scanf("%d%d%d%d",&x,&y,&a,&b); end=(y-x)/(a+b); if((y-x)%(a+b)==0) printf("%d\n",end); else printf("-1\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24627/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24627/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include <stdio.h> #include <string.h> #define M 1000000 #define L 14 char H[M][L]; /* Hash Table */ int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; return 0; } /* convert a string into an integer value */ long lo...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246312/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246312/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include<stdio.h> #include<string.h> #define M 1000003 #define NIL (-1) #define L 14 char H[M][L]; /* Hash Table */ //プロトタイプ宣言 void insert(char [], int); long long getKey(char []); int getChar(char); int h1(int, int); int h2(int, int); int find(char [], int); int main(){ int i, n; char str[L], com[9]; f...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246385/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246385/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include<stdio.h> #include<string.h> #define M 1100000 #define L 14 char H[M][L]; int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if( ch == 'T') return 4; } long long getKey(char str[]){ long long sum = 0, p = 1, i; for ( i = 0; i < strl...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246428/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246428/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1100...
#include <stdio.h> #include <string.h> #define M 1046527 #define L 14 char H[M][L]; int h1(int key){ return key%M; } int h2(int key){ return 1+(key%(M-1)); } int getChar(char ch){ if(ch=='A'){ return 1; } else if(ch=='C'){ return 2; } else if(ch=='G'){ return 3; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246471/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246471/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1046...
#include<stdio.h> #include<string.h> #define M 1500000/* your task*/ #define NIL (-1) #define L 14 char H[M][L]; /* Hash Table */ int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; } /* convert a string into an intege...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246514/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246514/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1500...
#include <stdio.h> #include <string.h> #define M 1000003 #define L 14 char H[M][L]; /* Hash Table */ int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; } /* convert a string into an integer value */ long long getKey(ch...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246558/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246558/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
/* ============================================================================ Name : alds1_4_c_dictionary.c Author : lovesaemi Version : Copyright : Your copyright notice Description : Hello World in C, Ansi-style ============================================================================ *...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246615/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246615/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @s = dso_local global [13 x...
#include<stdio.h> #include<string.h> #define M 1000000/* your task*/ #define L 14 char H[M][L]; /* Hash Table */ int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; } /* convert a string into an integer value */ long lo...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246659/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246659/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include <stdio.h> #include <string.h> #define M 1046527 #define NIL (-1) #define L 14 char H[M][L]; int getChar(char ch) { if(ch == 'A') return 1; else if(ch == 'C') return 2; else if(ch == 'G') return 3; else if(ch == 'T') return 4; else return 0; } long long getKey(char str[]) { int len = ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246701/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246701/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1046...
#include<stdio.h> #include<string.h> #include<stdlib.h> #define MAX 1000040 const int m = 1000033; //const int m2= 1000003; //7069 - 60 char stack[MAX][15]; int h1(long long); int h2(long long); int insert(long long,int); long long sti(char *); int main(){ int val,i,j,n,dic=0,dicc=MAX,index2=0,vall; char ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246745/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246745/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @m = dso_local local_unname...
#include <stdio.h> #include <string.h> #define M 1000000 /* your task*/ #define L 14 char H[M][L]; /* Hash Table */ int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; } /* convert a string into an integer value */ long...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246796/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246796/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include<stdio.h> #include<string.h> #define M 1000001 #define L 14 char g_H[M][L]; int getChar(char); long long getKey(char str[]); int h1(int); int h2(int); int find(char str[]); int insert(char str[]); int main(){ int i,n; char str[L],com[9]; for(i = 0; i < M; i++) g_H[i][0] = '\0'; scanf("%d",&n); f...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246846/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246846/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @g_H = dso_local global [10...
#include <stdio.h> int main(void) { int n,k,a,b,i,j; scanf("%d%d%d%d",&n,&k,&a,&b); if(a==0||b==0) { if(n>k) {printf("NO");return 0;} if(b==0) {for(i=0;i<n;i++) printf("G"); } if(a==0) {for(i=0;i<n;i++) printf("B");} return 0; } int flag=a,flagm=b; if(b<a) {flag=b;fl...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24689/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24689/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include<stdio.h> #include<string.h> #define M 1000000 #define NIL -1 #define L 14 char H[M][L]; /* Hash Table */ int getChar(char ch){ if ( ch == 'A') return 1; else if ( ch == 'C') return 2; else if ( ch == 'G') return 3; else if ( ch == 'T') return 4; else return 0; } /* convert a string into a...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246932/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246932/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @H = dso_local global [1000...
#include <stdio.h> int main(void) { int n, old; int i; int ent[7]; while (1) { scanf("%d", &n); if (n == 0) break; for (i = 0; i < 7; i++) ent[i] = 0; for (i = 0; i < n; i++) { scanf("%d", &old); if (old >= 0 && old <= 9) ent[0]++; else if (old >= 10 && old <= 19) ent[1]++; else if ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246983/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246983/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { unsigned int in_age; int no; int i; while (1){ int data[7] = { 0 }; scanf("%d", &no); if (no == 0){ break; } while (no-- > 0){ scanf("%d", &in_age); if (in_age >= 60){ data[6]++; } else { data[in_age / 10]++; } } for (i = 0...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247032/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247032/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int a, b, c; int max; char menu; scanf("%d %d %d", &a, &b, &c); max = a; menu = 'A'; if (b > max) { max = b; menu = 'B'; } if (c > max) { max = c; menu = 'C'; } printf("%c\n", menu); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247083/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247083/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <stdlib.h> int miyukiti(const void* asumisu, const void* mizuhasu) { int isihasu = *(const int*)asumisu, matukisu = *(const int*)mizuhasu; return isihasu < matukisu ? -1 : isihasu > matukisu; } int N; int A[114514]; int yukinnko; int tomatu[114514]; int mikakosi[114514]; int sumipe(in...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247126/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247126/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yukinnko = dso_local local...
#include<stdio.h> //using namespace std; int main() { int n; // string s; scanf("%d",&n); char s[n]; scanf("%s",s); char a[n]; int f,l,r,i; if(n%2) f=0; else f=1; a[(n-1)/2]=s[0]; l=(n-1)/2-1; r=l+2; for(i=1;i<n;++i) { if(f%2) a[r++]=s[i]; else a[l--]=s[i]; f++; } for(i=0;i<n;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24717/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24717/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...