Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
#include <stdio.h> int main(void) { int a, b, c, x, y, z; scanf("%d %d %d", &a, &b, &c); if(a < b) { if(a < c) { x = a; if(b < c) { y = b; z = c; } else { y = c; z = b; } } else { x = c; y = a; z = b; } } else { if(b < c) { x = b; if(a ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_167850/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_167850/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, r; scanf("%d %d %d", &a, &b, &c); if(a > b){ r = a; a = b; b = r; } if(a > c){ r = a; a = c; c = r; } if(b > c){ r = b; b = c; c = r; } printf("%d %d %d\n", a, b, c); return(0); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_167894/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_167894/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, i, m; scanf("%d %d %d", &a, &b, &c); if(a < b){ i = a; m = b; }else if(b < a){ i = b; m = a; } if(c < i){ printf("%d %d %d\n", c, i, m); }else if(m < c){ printf("%d %d %d\n", i, m, c); }else{ printf("%d %d %d\n", i, c, m); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_167951/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_167951/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,x; scanf("%d %d %d",&a,&b,&c); if(a>b){ x=b; b=a; a=x;} if(b>c){ x=c; c=b; b=x;} if(a>b){ x=b; b=a; a=x;} printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_167995/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_167995/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 x[3],n,k; scanf("%d %d %d",&x[0],&x[1],&x[2]); for (n=0; n<2; n++) { if (x[n]>x[n+1]) { k=x[n]; x[n]=x[n+1]; x[n+1]=k; } } for (n=0; n<2; n++) { if (x[n]>x[n+1]) { k=x[n]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168037/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168037/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,w; scanf("%d %d %d",&a,&b,&c); if(a > b){ w=a;a=b;b=w; } if(a > c){ w=a;a=c;c=w; } if(b > c){ w=b;b=c;c=w; } if(a > c){ w=a;a=c;c=w; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168088/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168088/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 %d",&a,&b,&c); if (a <= b && b <= c) { printf("%d %d %d\n",a,b,c); return 0; } if (a <= c && c <= b) { printf("%d %d %d\n",a,c,b); return 0; } if (b <= a && a <= c) { printf("%d %d %d\n",b,a,c); return 0; } if (b <= c && c <= a) { pri...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168130/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168130/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; int b; int c; int d; int e; scanf("%d %d %d",&a,&b,&c); //scanf("%d",&b); //scanf("%d",&c); if(a < b){ d = b; e = a; } else{ d = a; e = b; } if(d < c){ printf("%d %d %d\n",e,d,c); }else if(c < e){ printf("%d %d %d\n",c,e,d); }else...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168174/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168174/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, tmp; scanf("%d %d %d", &a, &b, &c); if (a>b){ tmp = a; a = b; b = tmp; } if (b>c){ tmp = b; b = c; c = tmp; } if (a>b){ tmp = a; a = b; b = tmp; } printf("%d %d %d\n", a, b, c);...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168217/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168217/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 i, j, k, a[3]; scanf("%d %d %d", &a[0], &a[1], &a[2]); for(i=0;i<2;i++) { for(j=0;j<2;j++) { if(a[j] > a[j+1]) { k = a[j]; a[j] = a[j+1]; a[j+1] = k; } } } printf("%d %d %d\n", a[0], a[1], a[2]); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168260/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168260/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 %d",&a,&b,&c); if(a<b&&a<c&&b<c){ printf("%d %d %d\n",a,b,c); }else if(a<c&&a<b&&c<b){ printf("%d %d %d\n",a,c,b); }else if(b<a&&b<c&&a<c){ printf("%d %d %d\n",b,a,c); }else if(b<c&&b<a&&c<a){ printf("%d %d %d\n",b,c,a); }else if(c<a&&c<b&&a<b){...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168318/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168318/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,t; scanf("%d %d %d",&a,&b,&c); if(a>b){ t=a; a=b; b=t; } if(b>c){ t=b; b=c; c=t; } if(a>b){ t=a; a=b; b=t; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168361/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168361/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,d,e,f; scanf("%d %d %d",&a,&b,&c); if(a<b){ if(b<c){ d=a;e=b;f=c;} else if(c<a){ d=c;e=a;f=b;} else{ d=a;e=c;f=b;}} else if(b<a){ if(c<b){ d=c;e=b;f=a;} else if(a<c)...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168404/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168404/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""%d",&a,&b,&c); if(a<b&&b<c){ printf("%d %d %d\n",a,b,c); } else if(a<c&&c<b){ printf("%d %d %d\n",a,c,b); } else if(b<c&&c<a){ printf("%d %d %d\n",b,c,a); } else if(b<a&&a<c){ printf("%d %d %d\n",b,a,c); } else if(c<a&&a<b){ print...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168448/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168448/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,s,d,t; scanf("%d %d %d", &a, &s, &d); if(a > s) { t = s; s = a; a = t; } if(s > d) { t = d; d = s; s = t; } if(a > s) { t = s; s = a; a = t; } printf("%d %d %d\n", a, s, d); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168491/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168491/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; int d; scanf("%d %d %d",&a,&b,&c); if(a>c){ d=a; a=c; c=d; } if(a>b){ d=b; b=a; a=d; } if(b>c){ d=c; c=b; b=d; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168534/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168534/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 main () { FILE *fin = fopen ("input.txt", "r"); FILE *fout = fopen ("output.txt", "w"); int n, a, i, dif; char c; fscanf (fin, "%d", &n ); a = -1, dif = 500; for( i = 1; i <= n; i++ ){ fscanf(fin, "%c", &c ); if( c == '1' ){ if( a == -...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_1686/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_1686/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 co...
#include<stdio.h> int main(){ int a,b,c,k; scanf("%d %d %d",&a,&b,&c); if (a>b){ k=a; a=b; b=k; } if (b>c){ k=b; b=c; c=k; } if (a>b){ k=a; a=b; b=k; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168642/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168642/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; scanf("%d %d %d",&a,&b,&c); if((a<=b)&&(b<=c)) printf("%d %d %d\n",a,b,c); else if((a<=c)&&(c<=b)) printf("%d %d %d\n",a,c,b); else if((b<=a)&&(a<=c)) printf("%d %d %d\n",b,a,c); else if((b<=c)&&(c<=a)) printf("%d %d %d\n",b,c,a); else if((c<=a)&&(a<=b)) printf("%d...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168693/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168693/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, asyigfayicgfayfigiaygfciihlogouahefafhalefhlaegfsdgtiagsidgaifdaiyfdygawtyfdqtyfdtywfuastxdugafghsfghxfvaghvsghcdhatsfdta; scanf("%d %d %d", &a, &b, &c); if(a > b){ asyigfayicgfayfigiaygfciihlogouahefafhalefhlaegfsdgtiagsidgaifdaiyfdygawtyfdqtyf...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168750/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168750/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,d; scanf("%d %d %d",&a,&b,&c); if(a>b){ d=a; a=b; b=d; } if(b>c){ d=b; b=c; c=d; } if(a>b){ d=a; a=b; b=d; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168794/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168794/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; scanf(" %d%d%d",&a,&b,&c); if(a < b && b < c){ //a<b<c printf("%d %d %d\n",a,b,c); } if(a < b && b > c && c > a){ //a<c<b printf("%d %d %d\n",a,c,b); } if(a > b && b > c){ //c<b<a printf("%d %d %d\n",c,b,a); } if(a < b && b > c && c < a){ //c<a<b printf("%d %d ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168837/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168837/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[3],i,j,temp; scanf("%d %d %d",&a[0],&a[1],&a[2]); for(i=0;i<2;i++){ for(j=0;j<2;j++){ if(a[j]>a[j+1]){ temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } printf("%d %d %d\n",a[0],a[1],a[2]); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168880/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168880/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, x; scanf("%d %d %d",&a,&b,&c); if ( b < a){ x = a; a = b; b = x; } if ( a < c && b < c){ printf("%d %d %d\n",a,b,c); }else if (a < c && c < b) { printf("%d %d %d\n",a,c,b); }else { printf("%d %d %d\n",c,a,b); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168930/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168930/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 x, a, b, c; scanf("%d %d %d\n", &a, &b, &c); if (a > b) { x = a; a = b; b = x; } if (b > c) { x = b; b = c; c = x; } if (a > b) { x = a; a = b; b = x; } printf("%d %d %d\n", a, ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_168981/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_168981/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,x; scanf("%d%d%d",&a,&b,&c); if( a > b ){ x = a; a = b; b = x; } if( b > c ){ x = b; b = c; c = x; } if( a > b ){ x = a; a = b; b = x; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169023/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169023/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; int min,mid,max; scanf("%d%d%d",&a,&b,&c); if(a<=b&&a<=c){ min = a; if(b<=c){ mid = b; max = c; }else { mid = c; max = b; } }else if(b<=a&& b<=c){ min = b; if(a<=c){ mid = a; max = c; }else { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169074/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169074/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, z; scanf("%d %d %d", &a, &b, &c); if(a > b){ z = a; a = b; b = z; } if(b > c){ z = b; b = c; c = z; } if(a > b){ z = a; a = b; b = z; } printf("%d %d %d\n", a, b, c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169117/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169117/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 input = 0; int a[3]; int buff = 0; int i = 0; for(i = 0; i < 3; i++) { scanf("%d", &input); if(input < 1 || input > 10001) { return 0; } else { a[i] = input; } } while(a[0] > a[1] || a[1] > a[2]) { if(a[0] > a[1]) { buff = a[1]; a[1] = a[0]; a[0...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169160/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169160/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 %d",&a,&b,&c); if(a<b) { if(c<a){ printf("%d %d %d\n",c,a,b); } else if(b<c){ printf("%d %d %d\n",a,b,c); } else{ printf("%d %d %d\n",a,c,b); } } else if(b<a){ if(c<b){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169218/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169218/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,X; scanf("%d",&a); scanf("%d",&b); scanf("%d",&c); if(a>b){ X=a; a=b; b=X; } if(b>c){ X=b; b=c; c=X; } if(a>b){ X=a; a=b; b=X; } printf("%d %d %d\n",a,b,...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169276/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169276/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, temp; scanf("%d %d %d", &a, &b, &c); if(a > b) { temp = b; b = a; a = temp; } if(b > c) { temp = c; c = b; b = temp; } if(a > b) { temp = b; b = a; a = temp; } printf("%d %d %d\n", a, b, c); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169333/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169333/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; scanf("%d %d %d", &a, &b, &c); if (a >= b && b >= c) printf("%d %d %d\n", c, b, a); else if (a >= b && b <= c && a >= c) printf("%d %d %d\n", b, c, a); else if (a >= b && b <= c && a <= c) printf("%d %d %d\n", b, a, c); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169377/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169377/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> #include<math.h> #include<string.h> #define REP(i,a,b) for(i=a;i<b;i++) #define rep(i,n) REP(i,0,n) int main(){ int i,j,k,l,m,n; int cnt[26]; char in[1200]; scanf("%s%d",in,&n); rep(i,26) cnt[i] = 0; m = strlen(in); rep(i,m) cnt[in[i]-'a']++; REP(k,1,1200){ m ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_16942/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_16942/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 a; int b; int c; int d; scanf("%d %d %d",&a,&b,&c); if(a > b){ d = a; a = b; b = d; } if (b > c){ d = b; b = c; c = d; } if (a > b){ d = a; a = b; b = d; } printf("%d %d %d\n", a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169470/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169470/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,tmp; scanf("%d %d %d",&a,&b,&c); if(a>b){ tmp=a; a=b; b=tmp; } if(a>c){ tmp=a; a=c; c=tmp; } if(b>c){ tmp=b; b=c; c=tmp; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169528/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169528/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> //#define scanf scanf_s typedef long long int lli; // ITP1_2_C // 3整数a,b,cを読み込み、昇順に出力 int main() { int iInputN[3]; int iCnt; int iCnt2; int iValueTmp; for (iCnt = 0; iCnt < 3; iCnt++) { scanf("%d", &iInputN[iCnt]); } //バブルソート for (iCnt = 0; iCnt < 2; iCnt++) { for (iCnt2 = iCnt + 1;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169586/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169586/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> void swap(int *nx, int *ny) { int temp = *nx; *nx = *ny; *ny = temp; }void sort3(int *n1, int *n2, int *n3) { if (*n1 > *n2) swap(n1, n2); if (*n2 > *n3) swap(n2, n3); if (*n1 > *n2) swap(n1, n2); } int main(void) { int na, nb, nc; scanf("%d", &na); scanf("%d", &nb)...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169629/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169629/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 temp, i = 0; int arr[3]; scanf("%d%d%d", &arr[0], &arr[1], &arr[2]); if(arr[0] > arr[2]){ temp = arr[0]; arr[0] = arr[2]; arr[2] = temp; } if(arr[1] > arr[2]){ temp = arr[1]; arr[1] = arr[2]; arr[2] = temp;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169687/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169687/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, tmp; scanf("%d %d %d", &a, &b, &c); while(1){ if (a > b) { tmp = a; a = b; b = tmp; } else if (b > c) { tmp = b; b = c; c = tmp; } else if (a > b) { tmp = a; a = b; b = ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169737/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169737/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> void swap(int *x, int *y) { int tmp = *x; *x = *y; *y = tmp; } int main(int argc, char *argv[]) { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a > b) swap(&a, &b); if (b > c) swap(&b, &c); if (a > b) swap(&a, &b); printf("%d %d %d\n", a, b, c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169788/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169788/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 a,b,c; int main(){ scanf("%d%d%d",&a,&b,&c); int t; if(a>b)t=a,a=b,b=t; if(b>c)t=b,b=c,c=t; if(a>b)t=a,a=b,b=t; printf("%d %d %d\n",a,b,c); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169838/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169838/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, x; scanf("%d %d %d", &a, &b, &c); if (a > b) { x = a; a = b; b = x; } if (a > c) { x = a; a = c; c = x; } if (b > c) { x = b; b = c; c = x; } print...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169881/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169881/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, i, j, temp; scanf("%d %d %d", &a, &b, &c); int int_arr[3] = {a,b,c}; for (i = 0; i < 3; i++) { for (j = 3 - 1; j > i; j--) { if(int_arr[j] < int_arr[j-1]) { temp = int_arr[j]; int_arr[j] = int_arr[j - 1]; int_arr[j - 1] = temp; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169931/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169931/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,max; scanf("%d %d %d",&a,&b,&c); if(a>b){ max=a; a=b; b=max; } if(b>c){ max=b; b=c; c=max; } if(a>b){ max=a; a=b; b=max; } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_169975/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_169975/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...
/* ITP1_2_C: Sorting Three Numbers */ /* 20181118 */ #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> void swap(int *x, int *y); int main(void){ int a, b, c; scanf("%d %d %d", &a, &b, &c); if(a > b) swap(&a, &b); if(b > c){ swap(&b, &c); if(a > b) swap(&a, &b); } printf("%d %d %d\n", a, b, c); retu...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170016/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170016/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 x1, y1, x2, y2, x3, y3; int x41, y41; scanf("%d %d", &x1, &y1); scanf("%d %d", &x2, &y2); scanf("%d %d", &x3, &y3); printf("3\n"); x41 = x1 + x2 - x3; y41 = y1 + y2 - y3; printf("%d %d\n", x41, y41); x41 = x2 + x3 - x1; y41 = y2 + y3 - y1; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_17006/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_17006/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,c,d; scanf("%d %d %d",&a,&b,&c); if(a>b){ d=a; a=b; b=d; if(b>c){ d=b; b=c; c=d; if(a>b){ d=a; a=b; b=d; } } }else if(b>c){ d=c; c=b; b=d; if(a>b){ d=a; a=b; b=d; } } printf("%d %d %d\n",a,b,c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170102/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170102/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> #include <string.h> int main() { // freopen("../input2.txt", "r", stdin); int N, M, a, b; int8_t odd[100000]; memset(odd, 0, 100000); scanf("%d%d", &N, &M); for (int i = 0; i < M; i++) { scanf("%d%d", &a, &b); odd[a - 1] = odd[a - 1] ^ 1;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170160/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170160/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> #define D_MAX 1000000000 #define N_MAX 100000 #define M_MAX 10000 int d; int n; int m; int ad[N_MAX+1]; int ak[M_MAX+1]; int temp[N_MAX+1]; /* void MergeSort(int array[],int left,int right){ int awork[N_MAX+1]; int mid; int i; int j; int x; int y; if( left >= ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170210/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170210/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" @temp = dso_local local_unn...
#include <stdio.h> #include <stdint.h> int main(void) { int64_t N, M; scanf("%ld %ld", &N, &M); if(N >= (M/2)) { printf("%ld\n", M/2); } else { int64_t REM = (M - 2 * N) / 4; printf("%ld\n", N+REM); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170254/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170254/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(void){ unsigned long long n,m; scanf("%llu%llu",&n,&m); if(2*n>=m)printf("%lld\n",m/2); else printf("%lld\n",n+(m-2*n)/4); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170298/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170298/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){ long long int s,c; scanf("%lld%lld",&s,&c); //cを2つでsにできる //scc unsigned long long int ans=0; if(s*2<=c){ c-=s*2; ans+=s; s=0; } if(s*2>c){ s-=c/2; ans+=c/2; c=0; } while(s>=1 && c>=2...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170340/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170340/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 physics, chemistry, biology, earth, history, geography; scanf("%d", &physics); scanf("%d", &chemistry); scanf("%...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170384/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170384/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> #include <string.h> #include <stdint.h> #include <math.h> #include <time.h> typedef int32_t i32; typedef int64_t i64; typedef double f64; void *const null=(void *)0; i64 const llinf=4611686018427387903LL; i64 const mod=1000000009LL; f64 const pi=3.141592653589793; f64 const rad=...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170427/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170427/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" @null = dso_local local_unn...
#include<stdio.h> #include<stdlib.h> typedef long long int int64; int64 *tmp=NULL; int64 calc(int64 *a,int n){ if(n<=1) return 0; int m=n/2; int64 res=calc(a,m)+calc(a+m,n-m); int i=0; int j=m; int k=0; while(i<m && j<n){ if(a[i]<=a[j]){ tmp[k++]=a[i++]; } else { res+=i; tmp[k+...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170478/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170478/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" @tmp = dso_local local_unna...
#include <stdio.h> #include <stdlib.h> #define MAX 100010 #define INFTY 10000000 #define NIL -1 struct Node { int value; struct Node *next; }; typedef struct Node node_t; int N; int M; int id =1; node_t *G[MAX]; int color[MAX]; node_t* addNode(node_t *node, int value) { node_t *new = (node_t*)malloc(sizeof(node_...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170520/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170520/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.Node = type { i32, ...
#include <stdio.h> #include <stdlib.h> typedef struct node{ int num; struct node *next; }Node; void add(Node *node,int t){ Node* nn; if(node->next==NULL){ nn = (Node*)malloc(sizeof(Node)); nn->num=t;nn->next=NULL; node->next=nn; }else{ add(node->next,t); } } void ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170564/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170564/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.node = type { i32, ...
#include <stdio.h> int main(){ int a,b,c,m; scanf("%d %d %d",&a,&b,&c); m=a; if(m<b) m=b; if(m<c) m=c; printf("%d\n",a+b+c-m); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170614/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170614/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 i,a,b,c,j,n,m,k,l; scanf("%d%d%d",&l,&a,&b); i=l+a; j=l+b; k=a+b; if(i<=j&&i<=k){ printf("%d\n",i); } else if(j<=i&&j<=k){ printf("%d\n",j); } else{ printf("%d\n",k); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170658/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170658/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, sum; scanf("%d %d %d", &a, &b, &c); if (a < b) { if (b < c) { sum = a + b; } else { sum = a + c; } } else { if (a < c) { sum = a + b; } else { sum = b + c; } } printf("%d\n", sum); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170715/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170715/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,sum; while(scanf("%d %d %d",&a,&b,&c)!=EOF) { if(a>b) { int t=a; a=b; b=t; } if(b>c) { int t=b; b=c; c=t; } if(a>b) { int...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170759/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170759/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; scanf("%d""%d""%d", &a, &b, &c); int max = a; if(b > max) max = b; if(c > max) max = c; printf("%d", a + b + c - max); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170801/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170801/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; int d,e,f; int min; char buf[256]; fgets(buf,256,stdin); sscanf(buf,"%d%d%d", &a, &b, &c); d = a + b; e = a + c; f = b + c; min = d; if(e < min){ min = e; } if(f < min){ min = f; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170845/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170845/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(){ int i,max=0,x,sum=0; for(i=0;i<3;i++){ scanf("%d",&x); sum+=x; if(max < x){ max = x; } } //printf("%d\n",maxi); printf("%d\n",sum-max); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170889/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170889/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 <ctype.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define MOD 1000000007 #define ll long long typedef int data_t; int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); int min; if(a>=b && a>=c) min=b+c; else if(b>=a && b>=c) min=a+c; else min=a+b; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_170931/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_170931/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,i,j,h,l,f,k,r,z; float c,d,e,g,p,q,s,t,u,v,x,y,a[2000],b[2000]; for(i=0;i<3;i++) scanf("%f %f",&a[i], &b[i]); printf("3\n"); p = (a[0] + a[1]) / 2; q = (b[0] + b[1]) / 2; c = 2 * p; d = 2 * q; r = c - a[2]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_17099/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_17099/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 <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> const char* dates[7] = { "sat", "sun", "mon", "tue", "wed", "thu", "fri" }; int main(void) { int date; scanf("%d", &date); printf("%s\n", dates[(((date - 9) % 7) + 7) % 7]); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171031/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171031/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 <ctype.h> #include <float.h> #include <inttypes.h> #include <limits.h> #include <signal.h> #include <stdarg.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <math.h> #ifdef __cplusplus #include <bits/stdc++.h> ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171075/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171075/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._IO_FILE = type { i...
#include <stdio.h> int main(void) { int n; scanf("%d", &n); if(n < 1200){ printf("ABC"); } else if(n < 2800){ printf("ARC"); } else{ printf("AGC"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171118/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171118/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> #include<string.h> #include<math.h> #define MAX(p,q) ((p>q)?(p):(q)) #define MIN(p,q) ((p<q)?(p):(q)) #define REP(i,n) for(i=0;i<n;i++) int main(void) { int r; scanf("%d",&r); char str[7]; if(r<1200) strcpy(str,"ABC"); else if(r<2800) strcpy(str,"ARC"); else strcpy(st...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171161/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171161/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 R; scanf("%d", &R); if(R >= 2800) printf("AGC\n"); else if(R >= 1200) printf("ARC\n"); else printf("ABC\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171204/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171204/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 r; scanf("%d",&r); puts(r<1200?"ABC":r<2800?"ARC":"AGC"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171248/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171248/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 r; scanf("%d",&r); if(r<1200)puts("ABC"); if(1200<=r&&r<2800)puts("ARC"); if(2800<=r)puts("AGC"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171291/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171291/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; scanf("%d",&a); if(a<1200) printf("ABC"); else if(a>=2800) printf("AGC"); else printf("ARC"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171341/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171341/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){ while(1){ int a[5], b[3]={0}, i, flag=1, count=0; for(i=0; i<5; i++){ scanf(" %d", &a[i]); if(a[i]==0){ flag=0; break; } if(b[a[i]-1]==0) count++; b[a[i]-1]++; } if(flag==0) break; if(count==2){ int memo; for(i=0; i<3; i++){ if(b[i]=...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171385/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171385/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 i ,go=0 ,cho=0 ,pa=0 ,pattern[5]; while( scanf( "%d" ,&pattern[0] ) ){ if( pattern[0] == 0 ){ break; } if( pattern[0] == 1 ){ go++; } else if( pattern[0] == 2 ){ cho++; } else if( pattern[0] == 3 ){ pa++; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171479/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171479/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> #define PI 3.14159265358979 int main(){ int a,b,h,m; scanf("%d%d%d%d",&a,&b,&h,&m); double aa=(60*h+m)/720.0*2*PI; double bb=m/60.0*2*PI; printf("%.20f",hypot(a*cos(aa)-b*cos(bb),a*sin(aa)-b*sin(bb))); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171521/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171521/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...
/*ex4_2 Sweet_Sweet_Soul */ #include <stdio.h> #include <math.h> int main(void) { double pi=3.141592653589; double h_hand,m_hand,hour,minute; scanf("%lf",&h_hand); scanf("%lf",&m_hand); scanf("%lf",&hour); scanf("%lf",&minute); double h_arg=(pi*hour/6)+(pi*minute/360);/*短針のテッペンからの回転度*/ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171565/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171565/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...
/* ex4_2 takafumi_ueki */ #include <stdio.h> #include <math.h> #define PI 3.1415926535 int main(void){ int hour_length,min_length,hour,min; double rad,distance; scanf("%d %d %d %d",&hour_length,&min_length,&hour,&min); //時針と分針の成す角を計算する rad = (2*PI*min/60)-(2*PI*(hour*60+min)/720); //余弦の定理を用い...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171608/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171608/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...
/* ex4_2 YSK722 */ #include <math.h> #include <stdio.h> int main(void){ double short_hand, long_hand, hour, minute, ans, angle_diff; scanf("%lf %lf %lf %lf", &short_hand, &long_hand, &hour, &minute); // 短針と長針のか鵜戸の差を求める angle_diff = 2 * M_PI * ((hour + minute/60.0) / 12 - minute / 60); /* 余弦定理を用...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171651/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171651/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> #define PI 3.14159265358979323846264338327950 int main() { int a, b, h, m, min = 0; long double rad = 0.0; scanf("%d%d%d%d", &a, &b, &h, &m); min = h * 60 + m; rad = fabs((long double)min * 0.5 - (long double)min * 6.0); rad = rad * PI / 180.0; long double rsq = (long doubl...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171695/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171695/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 <math.h> #include <stdlib.h> #define PI 3.1415926535 int main() { int a,b,h,m; double answer,deg,adeg,bdeg,rad; scanf("%d%d%d%d",&a,&b,&h,&m); adeg=30*h+m*0.5; bdeg=6*m; deg=adeg-bdeg; if(deg<0) { deg=-deg; } if(deg>180) { deg=360-deg; } rad=...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171738/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171738/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> #define PI 3.1415926535 double kkkk(double h,double m) { double a, b,c; b = m / 60.0; if (b == 1) b = 0; a = (h * 60 + m) / (60.0 * 12); if (a == 1) a = 0; c = a - b; if (c < 0) { c = -c; } if (c > 0.5) { c = 1 - c; } return 2 * PI * c; } int main() { double a,b,...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171781/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171781/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...
// AtCoder165 C #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <math.h> #include <assert.h> #include <string.h> #include <memory.h> #include <malloc.h> #include <stdlib.h> #include <ctype.h> // qsortで用いる比較用関数.*a<*bならaが先になる. int compare(const void* a, const void* b) { return *(int*)a - *(int*)b; } in...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171824/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171824/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 <math.h> #include <stdlib.h> #include <limits.h> #include <stdbool.h> #define rep(i, n) for(int i=0; i<(n); ++i) #define max 100001 //qsort(str, n, sizeof(int), up_comp); int up_comp(const void *a, const void *b){return *(int*)a - *(int*)b;} int down_comp(const void *a...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171868/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171868/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(void) { char str1[20],str2[20]; int i,j; scanf("%s",str1); for(i=strlen(str1)-1,j=0;i>=0;i--,j++){ str2[j]=str1[i]; } str2[j]='\0'; printf("%s\n",str2); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171918/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171918/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(){ /*そして成功のおまじない♪*/ char str[21]; /*ここで文字列を用意しました♪*/ int i,j; /*文字列の長さを取得するi,for文用のjを用意します♪*/ scanf("%s",str); /*文字列を入力してもらいます♪*/ i=strlen(str); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_171969/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_171969/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> #define MAXLENGTH (20) int main(void) { char str[MAXLENGTH]; int i; scanf("%s", str); for(i = strlen(str)-1; i>=0; i--) { printf("%c",str[i]); } printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172010/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172010/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(void){ char str[25]; int i,length; scanf("%s",str); length=strlen(str); for(i=length-1;i>=0;i--) printf("%c",str[i]); printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172061/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172061/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(){ char str[20]; int l; scanf("%s",str); l = strlen(str); for (l=l-1; l>=0; l--) { printf("%c",str[l]); } printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172104/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172104/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> void check(char s[]) { int i, len = 0; char b[128]; for(i = 0; i < 128; i++) b[i] = s[i]; while(s[len]) len++; for(i = 0; i < len; i++) s[i] = b[len - i - 1]; s[len] = '\0'; } int main(void) { char str[128]; scanf("%s", str); chec...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172148/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172148/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 i; char str[21]; scanf("%s", str); for(i = 20; i >= 0; i--) if(str[i] != '\0') printf("%c", str[i]); printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172199/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172199/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> char str[21]; int main(void){ int i; scanf("%s",&str); for(i=20;i>=0;--i){ if(str[i]!='\0'){ printf("%c",str[i]); } } printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172313/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172313/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(){ char s[21]; int c=0; for(s[20]='\0';c<21;c++){ int b=getchar(); if(b=='\n')break; else s[19-c]=b; } puts(s+20-c);return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172357/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172357/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> #include <string.h> int n, k, vis[10], cnt; char s[1000]; int main() { int i, j, a, flag; scanf("%d%d", &n, &k); for (i = 1; i <= n; i++) { scanf("%s", s); a = strlen(s); memset(vis, 0, sizeof(vis)); for (j = 0; j < a; j++) { vis[s[j] - '0'] = 1; } flag = 1; for (j = 0; j <= k; j...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_17240/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_17240/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){ char n[21],m[21]; int i,j; scanf("%s",&n); for(i=0;n[i]!='\0';i++){} for(j=0;i>=0;i--,j++) { m[j]=n[i-1]; } printf("%s\n",m); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172465/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172465/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(){ char str[21],c; int i,length; scanf("%s",str); length=strlen(str); for(i=0;i<(int)length/2;i++){ c=str[i]; str[i]=str[length-i-1]; str[length-i-1]=c; } printf("%s\n",str); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172515/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172515/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() { char a[20],re[20]; int i,count,c; for(i=0,count=0;i<20;i++) { scanf("%c",&a[i]); if(a[i]=='\n') break; count++; } for(i=0;i<count;i++) { c=i+1; re[i]=a[count-c]; printf("%c",re[i]); } printf("...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172559/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172559/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(){ char str[20]; int i; scanf("%s", str); for (i = strlen(str)-1; i >= 0; i--) { printf("%c", str[i]); } printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_172609/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_172609/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...