Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
#include <stdio.h> #include <stdlib.h> #define N 1000000 int compare(const void *a, const void *b) { long long *la = (long long *) a; long long *lb = (long long *) b; return *la == *lb ? 0 : (*la < *lb ? -1 : 1); } int main() { static long long ff[N]; long long n; int k, a, fk; scanf("%lld%d", &n, &k); fk ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_21780/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_21780/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" @main.ff = internal global [1...
#include<stdio.h> int main(void){ int h,w; int i,j; while(1){ scanf("%d %d",&h,&w); if(h==0&&w==0) break; for(i=0;i<h;i++){ for(j=0;j<w;j++){ if(i%2==0){ if(j%2==0) printf("#"); else printf("."); } else { if(j%2==0) printf("."); else print...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_217843/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_217843/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 H,W,i,j; while(1){ scanf("%d %d",&H,&W); if(H==0 && W==0) break; for(i=0;i<H;i++){ for(j=0;j<W;j++){ if((i+j)%2==0) printf("#"); else if((i+j)%2==1) printf("."); } printf("\n"); } printf("\n"); }...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_217900/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_217900/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() { while(1){ int h,m,i,j; scanf("%d %d",&h,&m); if(h == 0 && m == 0) break; for(i=0;i<h;i++){ if(i%2 == 0){ for(j=0;j<(m/2);j++)printf("#."); if(m%2 != 0)printf("#"); } else{ for(j=0;j<(m/2);j++)printf(".#"); if(m%2 != 0)printf("."); } printf("\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_217951/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_217951/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 H,W,i,j; while(1){ scanf("%d %d",&H,&W); if(H==0&&W==0){ break; } for(i=0; i<H; i++){ for(j=0; j<W; j++){ if((i%2==0&&j%2==0)||(i%2==1&&j%2==1)) printf("#"); else printf("."); } printf("\n"); } printf("\n");...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218037/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218037/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 h, w; int i, j; while (1) { scanf("%d %d" ,&h ,&w); if (h == 0 && w == 0) { break; } for (i = 0; i < h ;i++) { for (j = 0; j < w; j++) { if (i % 2 == 0) { if (j % 2 == 0) { printf("#"); } else { printf("."); } } else { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218088/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218088/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, const char * argv[]) { int h, w; while (1) { scanf("%d %d", &h, &w); if (h == 0 && w == 0) { break; } for(int i=0; i<h; i++) { for (int j=0; j<w; j++) { if ((i+j)%2 == 0) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218202/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218202/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,j,a,b,c; for(c=1;;) { scanf("%d %d",&a,&b); if(a==0 && b==0)break; for(j=1;j<=a;j++) if(j%2==0) { for(i=1;i<=b;i++) { if(i%2==0) printf("#"); else printf("."); } printf("\n"); } else { for(i=1;i<=b;i++) { if(i%2==0) prin...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218246/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218246/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; scanf("%d",&n); int i,j; int a[n],y=0; for(i=0;i<n;i++) { scanf("%d",&a[i]); } int d=a[1]-a[0]; for(j=1;j<n;j++) { if(a[j]-a[j-1]!=d) { y=1; break; } } if(y==1) printf("%d\n",a[n-1]); else printf("%d\n",(a[n-1]+d)); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_21834/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_21834/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 rows, cols, i, j; while (1){ scanf("%d %d", &rows, &cols); if (rows == 0 && cols == 0) { break; } for (i = 1; i <= rows; i++) { for (j = 1; j <= cols; j++) { if ((i + j) % 2 == 0) { printf("#"); } else{ printf("."); } } print...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218404/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218404/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 H,W,i,j; while(1){ scanf("%d%d",&H,&W); if(H==0 && W==0) break; for(i=0;i<H;i++){ for(j=0;j<W;j++){ if(i%2==0) if(j%2==0) printf("#"); else printf("."); else if(j%2==1) printf("#"); else printf("."); } printf("\n"); } printf("\n"); } }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218448/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218448/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 h, w, i, j; while(scanf("%d %d", &h, &w) && h || w){ for(i = 0;i < h;i++){ for(j = 0;j < w;j++) putchar((i + j) % 2 == 0 ?'#' : '.'); puts(""); } puts(""); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218541/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218541/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() { long long int a,b,k; scanf("%lld %lld %lld",&a,&b,&k); if(a > k){ a = a-k; }else{ k = k-a; a = 0; if(k > b){ b = 0; }else{ b = b-k; } } printf("%lld %lld\n", a, b); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218592/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218592/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 a, b, k; scanf("%lld%lld%lld",&a,&b,&k); if(a>k) a=a-k; else if(b+a>k) { b=b+a-k; a=0; } else { a=0; b=0; } printf("%lld %lld\n",a,b); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218635/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218635/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 A; long long int B; long long int K; int num; num = scanf("%lld %lld %lld", &A, &B, &K); if (num != 3) return (0); if (A > K) printf("%lld %lld", A-K, B); else if (B > K - A) printf("0 %lld", B-K+A); els...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218679/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218679/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; long long a,b,k; scanf("%lld %lld %lld",&a,&b,&k); if(a>=k){ a=a-k; } else{ k=k-a; a=0; if(b>=k){ b=b-k; } else{ b=0; } } printf("%lld %lld",a,b); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218721/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218721/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> long int a, b, k; int main(){ scanf("%ld %ld %ld", &a,&b,&k); if(a-k >= 0){ printf("%ld %ld", a-k, b); }else if(b - k + a > 0){ printf("%ld %ld", 0, b - k + a); }else{ printf("%d %d", 0, 0); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218765/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218765/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 long long int A, B, K; unsigned long long int i; scanf("%llu %llu %llu", &A, &B, &K); if (A>=K) { A = A - K; printf("%llu %llu", A, B); return 0; } else { K = K - A; A = 0; if (K > 0 && B >= K) { B = B - K; printf("%llu %llu", A, B); retu...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218808/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218808/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...
//set many funcs template //Ver.20181228 #include<stdio.h> #include<string.h> #include<stdlib.h> #include<stdbool.h> #include<time.h> #define inf 1072114514 #define llinf 4154118101919364364 #define mod 1000000007 #define pi 3.1415926535897932384 int max(int a,int b){if(a>b){return a;}return b;} int min(int a,int b){i...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218859/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218859/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> /* 整数i, j(0~9)に対して Cijを定義(1<=k<=N| kの先頭の桁の数はiに等しく末尾の桁の数はjに等しい) これをまず計算してから Cij × Cjiの結果を求める */ //プロトタイプ宣言 int lead(int n); int end(int n); int main (void){ int n; int k; int i, j; int C[10][10]={}; int count=0; scanf("%d", &n); for(k=1; k<=n; k++){ i= lead(k); j= end(...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218901/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218901/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 = 0,k = 0; int sumx = 0; scanf("%d",&x); do{ sumx += x; k++; }while(sumx % 360); printf("%d",k); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218945/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218945/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 <float.h> #include <inttypes.h> #include <limits.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> #endif #define getchar getchar_unlocked #define putchar pu...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_218996/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_218996/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> #include<stdlib.h> int min(int a,int b) { if(a>b) return b; return a; } int main() { int *arr[1002]; int i,n,m,closed,bclosed,c,d; for(i=0;i<1002;i++) arr[i]=calloc(1005,sizeof(int)); scanf("%d %d",&n,&m); while(n--) { scanf("%d %d",&c,&d); arr[d][c]++; arr[d][1001]++; } closed=bcl...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_21906/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_21906/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 n,i,j,k; char a[2][106]; scanf("%d",&n); getchar(); for(i=0;i<n;i++) scanf("%c",&a[0][i]); getchar(); for(i=0;i<n;i++) scanf("%c",&a[1][i]); //puts(a[0]); //puts(a[1]); for(i=0;i<n;i++) { if(a[0][i]==a[1][0]) { for(j=i,k=0;j<n;j++,k++) { if(a[0][j]!=a[1][k])...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219102/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219102/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 MOD1 1000000007 #define MOD2 998244353 #define LIMIT1 200002 #define LIMIT2 500002 typedef long long ll; typedef long double ld; typedef const void cv; #define rep(i,n) for(i=0;i<n;i++) #define max(a,b) ((a)>(b) ? (a) : (b)) #define mi...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219146/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219146/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" @dx = dso_local local_unnam...
#include <stdio.h> #include <stdlib.h> long long permutation(int n, int k) { long long result; result = 1; if (n < k) {printf("Error: perm (%d, %d)\n", n, k);exit(1);} while(k > 0) { result *= n; n--; k--; result %= 1000000007; } return result; } int qsort_int(const vo...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219203/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219203/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() { int n, a, b; int dist; scanf("%d %d %d", &n, &a, &b); dist = abs(a - b); if (dist & 1) { puts("Borys"); } else { puts("Alice"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219247/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219247/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...
/* cat <<EOF >mistaken-paste */ #pragma GCC diagnostic ignored "-Wincompatible-pointer-types" #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <math.h> #define BIG 2000000007 #define VERYBIG 200000000000007LL #define MOD 1000000007 typedef uint64_t ull; ty...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219298/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219298/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.hw = type { i32, i3...
#include <stdio.h> int main(void) { int n, m, p, x[1000], i, sum; while (1) { scanf("%d%d%d", &n, &m, &p); if (n == 0 && m == 0 && p == 0) return 0; for (i = 0; i < n; i++) scanf("%d", &x[i]); sum = 0; for (i = 0; i < n; i++) sum += x[i] * 100; sum = sum * (100 - p) / 100; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219340/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219340/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> #define rep(i,begin,end) for(int i=begin; i<end; i++) #define revrep(i,begin,end) for(int i=begin; i>end; i--) #define lld long long int int cmpAsc(const void* a, const void* b){ lld x = *(lld*)a, y = *(lld*)b; if(x > ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219391/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219391/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; scanf("%d", &n); if (n/100 == n%10) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219434/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219434/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,rev=0,rem,a; scanf("%d",&n); a=n; while(n!=0 ) { rem = n%10; rev = rev*10 + rem; n /= 10; } if (a == rev) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219478/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219478/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; scanf("%d",&n); int a=n/100; int c=(n%100)%10; if(a == c) {printf("Yes");} else {printf("No");} return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219520/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219520/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/100 == a%10){ printf("Yes\n"); } else { printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219564/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219564/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) { char n[4]; scanf("%s", n); puts(n[0] == n[2] ? "Yes" : "No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219614/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219614/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){ char a[3]; for(int i=0;i<3;i++){ if(0==scanf("%c",&a[i])) printf("error"); } if(a[0]==a[2])printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219672/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219672/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 datatype point #define int long long int typedef struct { int num; int x; int y; }point; typedef struct node_sub{ int val; struct node_sub *prev; struct node_sub *next; }node; //比較関数 int compare(datatype a, datatype b, int R, int C){ if(a.y == 0 || a.x == R){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219715/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219715/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.point = type { i64,...
#include<stdio.h> #include<string.h> void swap (int *x, int *y) { int temp; // 値を一時保存する変数 temp = *x; *x = *y; *y = temp; } int partition (int array[], int left, int right) { int i, j, pivot; i = left; j = right + 1; pivot = left; // 先頭要素をpivotとする do { do { i++; } while (array[i] < array[pi...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219759/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219759/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, m; scanf("%d %d %d", &A, &B, &m); int i, j; int a[100005], b[100005]; for (i = 0; i < A; i++) scanf("%d", &a[i]); for (i = 0; i < B; i++) scanf("%d", &b[i]); int ans; j = 0; for (i = 0; i < A; i++) if (a[j] > a[i]) j = i; ans = a[j]; j = 0; for (i = 0; i < B...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219809/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219809/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,i; scanf("%d%d",&a,&b); for(i=0;i<2*a-1;i++){ if(i<2*a-1) printf("%d ",b-a+1+i); else if(i==2*a-1) printf("%d ",b); else printf("%d ",b-a+1+i); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219852/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219852/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 K,X,min,max,i; scanf("%d %d",&K,&X); min = X-K+1; max = X+K-1; for(i=min; i<=max; i++){ printf("%d ",i); } printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219896/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219896/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 K ,X; int i; scanf("%d %d",&K ,&X); for(i=0;i<2*K-1;i++){ printf("%d ",X-K+i+1); } printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219939/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219939/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> int main() { int m,n,i; scanf("%d%d",&m,&n); for(i=n-m+1;i<n+m;i++) printf("%d ",i); printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_219982/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_219982/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 MAX 1000000 int main(void) { int a, b,str,i,gol; scanf("%d%d", &a,&b); str = b-a+1; gol = a+b; if ( str < -1000000 ) str = -MAX; if ( gol > MAX ) str = MAX+1; for ( i = str; i < gol; i++ ) printf("%d ", i); printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220023/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220023/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 k,x; int i; scanf("%d %d",&k,&x); for(i=x-k+1;i<x+k;i++){ printf("%d ",i); } printf("\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220074/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220074/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 <stdbool.h> #include <math.h> #include <string.h> int main(void){ int i,j,k; int K,X; scanf("%d %d",&K,&X); int start,end; start = X - K + 1; end = X + K - 1; for(i = start;i <= end;i++){ printf("%d ",i); } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220117/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220117/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 K, X; scanf("%d %d",&K, &X); for (int i = -K+1; i < K; i++) { printf("%d ",X + i); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220160/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220160/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 <float.h> #include <limits.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> // 内部変数 static FILE *szpFpI; // 入力 // 内部変数 - テスト用 #ifdef D_TEST static int siRes; static FILE *szpFpA; #endif // 実行メイン int fMain( int piTNo // <I> テスト番号 1~ ) { char ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220210/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220210/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 <stdlib.h> struct node{ struct node *right; struct node *left; struct node *p; int key; }; typedef struct node * Node; #define NIL NULL Node root; void insert(int k){ Node y = NIL; Node x = root; Node z; z = malloc(sizeof(struct node)); z->key = k; z->left = NIL; z-...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220269/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220269/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 { ptr, ...
#include<stdio.h> #include<stdlib.h> struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; Node root, NIL; Node treeSearch(Node u, int k){ while((u != NIL) && (k != u->key)){ if(k < u->key){ u = u->left; } else{ u =...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220311/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220311/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 { ptr, ...
#include<stdio.h> #include<stdlib.h> struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root; Node treeSearch (Node u, int k ){ if (u == NIL || u->key == k ) return u; else if (u->key < k ){ return treeSearch (u->right, k )...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220355/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220355/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 { ptr, ...
#include<stdio.h> #include<stdlib.h> #include<string.h> struct node{ int key; struct node *right,*left,*parent; }; struct node *root,*NIL; struct node * search(struct node *a,int k){ while(a!=NIL&&k!=a->key){ if(k<a->key)a=a->left; else a=a->right; } return a; } void insert(int k){ struct node *y=NIL; str...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220399/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220399/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> #define NIL -1 #define MAX 500000 int root = NIL; int key[MAX]; int left[MAX]; int right[MAX]; int p[MAX]; void tree_insert(int z){ int a = NIL; int b = root; while(b != NIL){ a = b; if(key[z] < key[b]){ b = left[b]; } else b = right[b]; } p[z] = a; if(a == NIL){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220456/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220456/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" @root = dso_local local_unn...
#include<stdio.h> #include<math.h> int main() { int arr[100], b[100]; int t; int n; int j = -1; scanf("%d", &t); do { scanf("%d", &n); for (int i = 0; i < n; i++) { arr[i] = pow(2, i + 1); } int result = arr[n - 1]; for (int i = 0;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_2205/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_2205/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> #include<stdlib.h> struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root; /*Node treeMinimum(Node x){ } Node treeMaximum(Node x){ } */ Node treeSearch(Node u, int k){ // 現在のノードがNULLもしくは対象の...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220542/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220542/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 { ptr, ...
#include<stdio.h> #include<stdlib.h> struct node { struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root; Node treeMinimum(Node x) { } Node treeSearch(Node u, int k) { while (u != NIL && k != (*u).key) { if (k < (*u).key) u = (*u...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220586/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220586/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 { ptr, ...
#include<stdio.h> #include<stdlib.h> #define NIL NULL struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; Node root; void insert(int k){ Node y = NIL; Node x = root; Node z; z = malloc(sizeof(struct node)); z->key = k; z->left = NIL; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220629/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220629/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 { ptr, ...
#include <stdio.h> #include <stdlib.h> struct Node{ int key; struct Node *right,*left,*parent; }; struct Node *root,*NIL; void insert(int k){ struct Node *y=NIL; struct Node *x=root; struct Node *z; z=(struct Node *)malloc(sizeof(struct Node)); z->key=k; z->left=NIL; z->right=NIL; while(x!=NIL)...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220672/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220672/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> struct node { struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root; void preorder(Node); void inorder(Node); void insert(int); Node treeSearch(Node x, int k){ if(x==NULL) return x; else if(x-...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220715/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220715/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 { ptr, ...
#include<stdio.h> #include<string.h> #define LEN 500001 #define NIL -1 int trance_command(char []); void insert(int); int find(int, int); void print(); void inorder(int); void preorder(int); int P[LEN], L[LEN], R[LEN], Key[LEN]; int root=NIL; int main() { char command[10]; int n, id; int z=0; int i, j, k; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220766/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220766/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" @root = dso_local local_unn...
#include<stdio.h> #include<stdlib.h> struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root; //int count =0; //int count2 =0; Node treeMinimum(Node x){ while (x->left != NIL){ x = x->left; } return x; } Node Iterati...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220809/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220809/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 { ptr, ...
#include <stdio.h> int main() { long long int hh,mm,h,m,i,j,n,x; char ch,s[100]; scanf("%s\n",s); s[0]=(int)(s[0]-'0'); s[1]=(int)(s[1]-'0'); s[3]=(int)(s[3]-'0'); s[4]=(int)(s[4]-'0'); hh=s[0]*10+s[1]; mm=s[3]*10+s[4]; scanf("%I64d",&n); x=(mm+n)/60; m=(mm+n)%60; h=(...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_22086/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_22086/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> #include<stdlib.h> typedef struct _treeNode{ struct _treeNode *right; struct _treeNode *left; struct _treeNode *parent; int key; }Node; Node *root; void insert(int); void inorder(Node*); void preorder(Node*); Node* find(Node*,int); int main(){ int command_N; int key;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220902/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220902/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._treeNode = type { ...
#include <stdio.h> #include <stdlib.h> #include <string.h> struct Node { int key; struct Node *right, *left, *parent; }; typedef struct Node Node; Node *root, *NIL; void insert(int k) { Node *y = NIL; Node *x = root; Node *z; z = (Node *)malloc(sizeof(Node)); z->key = k; z->lef...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_220946/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_220946/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 mod(int a, int b) { int r = a % b; return r < 0 ? r + b : r; } int main(int argn, char** args) { long long n; long long i = 1; long long s = 1; long long diff; scanf("%lld", &n); diff = n - s; while (diff > 0) { i++; s = i * (i + 1) / 2;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_22099/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_22099/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<stdlib.h> typedef struct node{ int key; struct node *parent,*left,*right; }Node; Node *root,*NIL; void insert(int k); void find(int k); void inOrder(Node *x); void preOrder(Node *x); int main(){ int i,n,x; scanf("%d",&n); char com[10]; for(i=0;i<n;i++){ scanf("%s",com); if(com[0...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221031/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221031/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, ...
// // Created by kota_ on 2019/12/30. // #include <stdio.h> #include <stdlib.h> #include <string.h> #define True 1 #define False 0 typedef struct node{ int key; struct node *parent; struct node *left; struct node *right; }Node; typedef Node* Nodepointer; void print_preorder(Nodepointer root); void pri...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221082/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221082/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> struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root=NIL; Node treeMinimum(Node x){ } Node treeSearch(Node u, int k){ Node i=u; while(i!=NIL){ if(i->key==k)return i; el...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221125/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221125/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 { ptr, ...
#include<stdio.h> #include<stdlib.h> struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root; Node treeMinimum(Node x){ while(x->left != NIL){ x = x->left; } return x; } Node treeMaximum(Node x){ while(x->right ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221169/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221169/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 { ptr, ...
#include <stdio.h> #include <stdlib.h> struct node{ struct node *right; struct node *left; struct node *parent; int key; }; typedef struct node * Node; #define NIL NULL Node root; Node treeMinimum(Node x){ while(x->left != NIL) x = x->left; return x; } Node treeMaximum(Node x){ while(x->right != NIL...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221211/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221211/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 { ptr, ...
#include<stdio.h> #include<stdlib.h> #include<string.h> struct Node{ int key; struct Node *r,*l,*p; }; struct Node *root,*NIL; void insert(int); void inorder(struct Node *); void preorder(struct Node *); struct Node * find(struct Node *,int); int main(){ int n,i,x; char com[100]; scanf("%d",&n); for(i=0...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221255/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221255/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(void){ int n,k; scanf("%d %d",&n,&k); if(k==1) printf("0\n"); else printf("%d\n",n-k); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221305/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221305/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,k; int m; scanf("%d %d",&n,&k); if(k==1){ printf("0"); return(0); } printf("%d",n-k); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221349/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221349/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(void){ int N,K; char str[100],*p; fgets(str,sizeof(str),stdin); p=strtok(str," \n"); N=atoi(p); p=strtok(NULL," \n"); K=atoi(p); if(K==1){ printf("0\n"); return 0; } printf("%d\n",N-K); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221392/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221392/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 N,K; scanf("%d %d",&N,&K); if(K==1){ printf("0"); } else{ printf("%d",N-K); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221435/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221435/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> static const int MAX = 500; static const int INFTY = (1<<21); int main(void){ int n, i, j; int M[MAX][MAX]; int d[MAX]; int key[MAX]; int p[MAX]; int m,u,k,c,v; /* your code*/ scanf("%d", &n); for ( i = 0; i< n; i++ ){ for ( j = 0; j < n; j++ ){ M[i][j] = I...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221486/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221486/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 <limits.h> #define WHITE 0 #define BLACK 1 #define NILL -1 #define N 1000 int d[N], w[N][N], color[N], v; int main(){ int n, i, j, u, k, s = 0, mincost; scanf("%d",&n); for(i = 0;i < n; i++){ for(j = 0;j < n; j++){ w[i][j] = INT_MAX; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221543/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221543/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 inf 2000000 #define NIL -1000000 #define BLACK 9999999 #define WHITE 8888888 typedef struct{ int u; int k; int v[3000]; int c[3000]; }graph; void dijkstra(int n, graph w[n], int d[n], int color[n], int pi[n]){ int i,j,u; int mincost; for(i = 0; i < n; i++){ d[i] = inf; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221587/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221587/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.graph = type { i32,...
#include <stdio.h> #include <stdlib.h> #define N 101 #define E 200001 int main(){ int i, j, min; int p, q, r, n; int W[N][N]; int dij[N], d[N]; scanf("%d", &n); for(i = 0; i < n; i++){ dij[i] = 0; d[i] = E; for(j = 0; j < n; j++){ W[i][j] = -1; } } for(i = 0; i < n; i++){ sc...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221637/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221637/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 prim(int,int); #define INF 1000000 #define WHITE 0 #define BLACK 1 #define NIL -1 int d[100],color[100],w[100][100]; int main(){ int g,r,c,v,k,u,i,j; scanf("%d",&g); for(i=0;i<g;i++){ for(j=0;j<g;j++){ w[i][j]=INF; } } for(i=0;i<g;i++){ scanf("%d%d"...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221688/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221688/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 N 100 #define NIL -1 #define INF 10000000 int G[N][N]; int d[N]; int n; void dijkstra(int r) { int i,u; int mincost; char color[N]; for(i=0;i<n;i++){ d[i] = INF; color[i] = 'W'; } d[r] = 0; while(1) { mincost = INF; for (i=0;i<n;i++) { if (color[i] != 'B' && d[i] < minc...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221730/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221730/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" @n = dso_local global i32 0...
#include <stdio.h> #define black 1 #define white 0 #define BIG 2000000000 int n,c[100][100], A[100], color[100]; void Keiro() { int i, min, u, v; for (i = 0; i < n; ++i) { color[i] = white; A[i] = BIG; } A[0] = 0; while(1) { min = BIG; u = -...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221781/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221781/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" @n = dso_local global i32 0...
#include<stdio.h> #define MAX 100000000 int n,data[100][100]; void alg(); int main(){ int i,j,u,k,v,c; scanf("%d",&n); for(i=0;i<n;i++){ for(j=0;j<n;j++){ data[i][j]=MAX; } } for(i=0;i<n;i++){ scanf("%d",&u); scanf("%d",&k); for(j=0;j<k;j++){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221839/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221839/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 MAX 100 #define WHITE 0 #define GRAY 1 #define BLACK 2 #define INF 100000000 int M[MAX][MAX], n; void dijksta(){ int color[MAX], d[MAX], p[MAX]; int mincost; int i, u, v; for(i = 0; i < n; i++){ color[i] = WHITE; d[i] = INF; p[i] = -1; } d[0]...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221882/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221882/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" @n = dso_local global i32 0...
#include <stdio.h> int array[100][100]; void DIJK(int); int main(){ int num,i,j,id,nextnum,next,weight; scanf("%d",&num); for(i=0;i<num;i++){ for(j=0;j<num;j++){ array[i][j]=110001; } } for(i=0;i<num;i++){ scanf("%d%d",&id,&nextnum); for(j=0;j<nextnum;j++){ scanf("%d%d",&next,&weig...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221925/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221925/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 A 100 #define ARIA 1<<21 int N[A][A],p,B[A],C[A],D[A]; int mini(int x, int y){ return (x>=y) ?y:x; } void kas(int s){ int i; for(i=0;i<p;i++){ C[i]=ARIA; B[i]=0; } C[s]=0; while(1){ int u,v=-1; for(u=0;u<p;u++){ if(B[u]==0 && (v==-1||C[u]<C[v]))v=u; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_221969/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_221969/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" @p = dso_local global i32 0...
#include<stdio.h> #define N 105 #define INF 100000000 #define WHITE 0 #define GRAY 1 #define BLACK 2 int n,M[N][N]={}; void dijkstra(void){ int min,i,v; int d[N],color[N]; for(i=0;i<n;i++){ d[i]=INF; color[i]=WHITE; } d[0]=0; color[0]=GRAY; while(1){ min=INF; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222010/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222010/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> #define INF 1e9 #define MAX 150 #define min(a,b) ((a) < (b) ? (a) : (b)) int main(){ int num,i; int u,k,j,v,con; int A[MAX][MAX]; for(i = 0 ; i < MAX ; i++){ for(j = 0 ; j < MAX ; j++){ A[i][j] = INF; } A[i][i] = 0; } scanf("%d",&num); for(i = 0 ; i < num ; i++){...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222054/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222054/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 WHITE 1 #define BLACK 0 int mat[101][101]; int d[101]; int pi[101]; int color[101]; int n; void prim(int r){ int i,mincost,u; for(i = 1; i <= n; i++ ){ d[i] = 200000; pi[i] = -1; color[i] = WHITE; } d[r] = 0; while(1){ mincost = 200000; for( i = 1; i <= n; i++...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222104/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222104/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" @n = dso_local global i32 0...
#include <stdio.h> #define INF (int)2e9 #define MAX 100 int A[MAX][MAX]; void dijkstra(int n) { int u,minv; int mV[MAX],Type[MAX]; for ( int i = 0; i < n; ++i) { mV[i] = INF; Type[i] = 0; } mV[0] = 0; Type[0] = 1; while(1) { minv = INF; u = -1; for...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222148/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222148/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" @A = dso_local local_unname...
#include<stdio.h> #define MAX 100 #define INF 100000000 #define WHITE 0 #define GRAY 1 #define BLACK 2 #define NIL -1 void dijkstra(); int n; int A[MAX][MAX]; int visit[MAX]; int d[MAX]; int main(){ int i,j,u,k,v,c; scanf("%d",&n); for(i=0;i<n;i++){ for(j=0;j<n;j++){ A[i][j]=INF;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222199/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222199/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> static const int MAX = 500; static const int INFTY=(1<<21); int main( ){ int i,j,n,u,vg,k,c; int Adj[MAX][MAX]; int d[MAX],p[MAX],v[MAX]; int mini,sum; scanf("%d",&n); for(i=0;i<n;i++){ for(j=0;j<n;j++){ Adj[i][j] = INFTY; } } for(i=0;i<n;i++){ scanf("%d %d",&u,&k...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222241/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222241/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> void solve(long **G, int n, int u, long *d, int t) { int i; char *flag; flag = (char*)malloc(sizeof(char) * n); for (i = 0; i < n; i++) { if(G[u][i] != -1 && (d[i] == -1 || d[i] > t+G[u][i])) { flag[i] = 1; d[i] = t+G[u][i]; } else flag[i] = 0; }...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222285/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222285/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; int a,b; scanf("%d %d %d",&n,&a,&b); char s[n]; scanf("%s",s); int ans=0; if(s[a-1]==s[b-1]){ ans=0; } else{ ans=1; } printf("%d",ans); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_22235/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_22235/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> int main() { long long int a, b; char s[11]; char t[11]; char u[11]; scanf("%s %s",s, t); scanf("%lld %lld",&a, &b); scanf("%s", u); if(strcmp(s,u) == 0) printf("%lld %lld", a-1, b); else printf("%lld %lld", a, b-1); return(0); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222414/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222414/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 s[10],t[10],u[10]; int a,b; scanf("%s%s%d%d%s",s,t,&a,&b,u); if(strcmp(s,u)==0) printf("%d %d",a-1,b); else printf("%d %d",a,b-1); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222465/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222465/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 S[10],T[10],U[10]; int A,B; scanf("%s",&S); scanf("%s",&T); scanf("%d",&A); scanf("%d",&B); scanf("%s",&U); if(strcmp(S,U) == 0){ A--; } if(strcmp(T,U) == 0){ B--; } printf("%d %d\n",A,B); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222508/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222508/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 s[10],t[10],u[10]; int a,b; scanf("%s %s",s,t); scanf("%d %d",&a,&b); scanf("%s",u); if(strcmp(s,u)==0){ printf("%d %d",a-1,b); } else{ printf("%d %d",a,b-1); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222559/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222559/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){ int na, nb; char a[10], b[10], str[10]; scanf("%s", a); scanf("%s", b); scanf("%d %d", &na, &nb); scanf("%s", str); if(strcmp(a, str) == 0){ printf("%d %d\n", na-1,nb); }else{ printf("%d %d\n", na, nb-1); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_222616/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_222616/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> typedef long long unsigned U; typedef unsigned u; int F(const void*x,const void*y){return*(int*)x-*(int*)y;} u L[222222],R[222222]; int main() { u n,i,j,k=-1;U S=0; for(scanf("%u",&n);++k<n;) { scanf("%u%u",&i,&j); L[k]=i+j;R[k]=1001-i+j; } qsort(L,n,sizeof(u),F);L[n]=-1; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_22266/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_22266/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 ...