Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
#include<stdio.h> int main() { int s,w; scanf("%d%d",&s,&w); if(w>=s) printf("unsafe\n"); else printf("safe\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_117944/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_117944/source.c" target datalayout = "e-m:e-p270: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() { long long int n,k; long long int flag=999999999999999999; scanf("%lld %lld",&n,&k); if(k>=n) printf("unsafe\n"); else printf("safe\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_117988/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_117988/source.c" target datalayout = "e-m:e-p270: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 t; scanf("%d",&t); while(t--){ int n,x; scanf("%d",&n); int i,a[n],b[n]; for(i=0;i<n;i++){ scanf("%d",&a[i]); } for(i=0;i<n;i++){ scanf("%d",&b[i]); } for(i=0;i<n;i++) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_11803/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_11803/source.c" target datalayout = "e-m:e-p270: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 W,S; scanf("%d %d",&S,&W); if(W>=S) { printf("unsafe"); } else { printf("safe"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118073/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118073/source.c" target datalayout = "e-m:e-p270: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 s,w; scanf("%d%d",&s,&w); if(s>w){ printf("safe\n"); } else{ printf("unsafe\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118116/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118116/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<string.h> int main(){ int t; scanf("%d",&t); while(t--){ int n; scanf("%d",&n); int a[n],b[n]; for(int i=0;i<n;i++){ scanf("%d",&a[i]); } for(int i=0;i<n;i++){ scanf("%d",&b[i]); } for(int i=0;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_11816/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_11816/source.c" target datalayout = "e-m:e-p270: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 S; int W; scanf("%d",&S); scanf("%d",&W); if(S>W){ printf("safe"); }else{ printf("unsafe"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118202/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118202/source.c" target datalayout = "e-m:e-p270: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> int main(){ int S,W; scanf("%d %d",&S,&W); if(W>=S) printf("unsafe\n"); else printf("safe\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118246/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118246/source.c" target datalayout = "e-m:e-p270: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 a[3000001]; int main() { int n,i,j,ans=1; scanf("%d",&n); printf("1"); int last=n; memset(a,0,sizeof(a)); for (i=1;i<=n;i++) { int t; scanf("%d",&t); a[t]=1; ans++; if (t==last) { while (a[last]) { last--; ans--; } } printf(" %d",ans); } p...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_11829/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_11829/source.c" target datalayout = "e-m:e-p270: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 s, w; scanf("%d %d", &s, &w); if (s > w) printf("safe\n"); else printf("unsafe\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118332/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118332/source.c" target datalayout = "e-m:e-p270: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<stdio.h> //小さい順にソート long long c[200002]; void merge(int i,int j,long long *s){ if(i!=j){ merge(i,(i+j)/2,s); merge((i+j)/2+1,j,s); int a=i,b=(i+j)/2+1; int d; for(d=i;d<=j;d++){ if((i+j)/2<a){ c[d]=s[b]; b++; } else if(j<b){ c[d]...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118376/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118376/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @c = dso_local local_unname...
#pragma warning(disable:4996) #include <stdio.h> #include <stdlib.h> #include <string.h> #define _USE_MATH_DEFINES #include <math.h> #include <float.h> #pragma region 定義 typedef long long ll; typedef unsigned long long ull; #define _itoa(A,N) sprintf(A, "%d", N); int i_dsort(const void* a, const void* b); int i_...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118419/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118419/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @pc = internal unnamed_addr...
#include <stdio.h> int main(){ int n, m, i, sum = 0, count = 0; scanf("%d %d", &n, &m); int a[n - 1]; for(i = 0; i < n; i++) { scanf("%d", &a[i]); sum += a[i]; } double vote = (double)sum/(4*(double)m); for(i = 0; i < n; i++) { if (a[i] >= vote) count++; } if (count >= m) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118462/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118462/source.c" target datalayout = "e-m:e-p270: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 choose; int i; scanf("%d",&a); int syurui[a]; scanf("%d",&choose); for(i=0;i<a;i++) { scanf("%d",&syurui[i]); } int max=0; int k=-1; int count=0; int j; int max1; int b[a]; for(i=0;i<a;i++) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118505/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118505/source.c" target datalayout = "e-m:e-p270: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; int n, m; int all_v = 0, count = 0; int a[100]; scanf("%d%d", &n, &m); for(i = 0; i < n; i++){ scanf("%d", &a[i]); all_v += a[i]; } for(i = 0; i < n; i++){ if(4 * m * a[i] >= all_v){ count++; } } if(count >= m){ printf("Yes\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118563/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118563/source.c" target datalayout = "e-m:e-p270: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,n, m; int sum = 0; int count = 0; scanf("%d", &n); scanf("%d", &m); int a[n]; for (i = 0; i < n;++i) { scanf("%d", &a[i]); sum += a[i]; } double b = (double)sum / (double)(4 * m); for (i = 0; i < n;++i) { if((double)a[i] >=b) { count++; } } if(count >= m)...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118606/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118606/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int n,m,a[100],i,j,sum = 0; scanf("%d %d",&n,&m); for (i = 0; i < n; i++) { scanf("%d",&a[i]); sum += a[i]; } int ans = 0; for (i = 0; i < n; i++) { if(a[i] * 4 * m >= sum) { ans++; } } if(m <=...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118664/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118664/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int n,m,i,a[101],c=0,sum=0; scanf("%d %d", &n, &m); for(i=1; i<=n; i++){ scanf("%d", &a[i]); sum+=a[i]; } for(i=1; i<=n; i++){ if(4*m*a[i] >= sum) c++; } if(c>=m) { printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118707/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118707/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int n, m, a[100], cou = 0, sum = 0; scanf("%d%d", &n, &m); for (int i = 0; i < n; i++) { scanf("%d", &a[i]); sum += a[i]; } for (int i = 0; i < n; i++) { if (a[i] >= (double)sum / (4 * m)) { cou++; } } printf("%s\n", m <= cou ? "Yes" : "No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118750/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118750/source.c" target datalayout = "e-m:e-p270: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(void) { int n, m, a[1000]; int i, j, sum = 0, result = 0; scanf("%d %d", &n, &m); for( i = 0; i < n; i++ ){ scanf("%d", &a[i]); sum += a[i]; } for( i = 0; i < n; i++ ){ if( a[i] * 4 * m >= sum ){ result++; } } if( result >...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118808/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118808/source.c" target datalayout = "e-m:e-p270: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, c = 0; scanf("%d", &n); while ( n > 1 ) { n >>= 1; ++c; } printf("%d\n", 1<<c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118851/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118851/source.c" target datalayout = "e-m:e-p270: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,d[300010],a,i; scanf("%d",&n); for(i=0;i<n;i++){ scanf("%d",&a); if(i%2==0)d[(n+i+1-n%2)/2]=a;//,printf("%d\n",(n+i+1-n%2)/2); else d[(n-i-1 )/2]=a;//,printf("%d\n",(n-i-1 )/2); } for(i=0;i<n;i++){ if(i)printf(" "); printf("%d",n%2?d[n-i-1]:d[...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118895/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118895/source.c" target datalayout = "e-m:e-p270: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 boxcount(int); int max(int,int); int count[40000]; int nimotsu[40000]; int H; int main(){ int i,n,x,y; for(i=0;i<40000;i++){ count[i]=-1; nimotsu[i]=0; } scanf("%d %d",&H,&n); for(i=0;i<n;i++){ scanf("%d %d",&x,&y); nimotsu[x+y*4]=1; } printf("%d\n",boxcount(0)); r...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118945/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118945/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @count = dso_local local_un...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <math.h> int main(void){ int n,a; long long ans=0; scanf("%d%d",&n,&a); int x[n],max=a; for (int i=0; i<n; i++){ scanf("%d",&x[i]); if (max<x[i]){ max=x[i]; } } int j...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_118996/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_118996/source.c" target datalayout = "e-m:e-p270: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 cnt=0; int A[1000000]; int G[100]; void insertionSort(int A[],int n,int g){ int i,v,j; for(i=g;i<n;i++){ v=A[i]; j=i-g; while(j>=0&&A[j]>v){ A[j+g]=A[j]; j=j-g; cnt++; } A[j+g]=v; } } void shellSort(int A[],int n){ int m,i=0,h; for(h=1;h<=n;i++...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119038/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119038/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cnt = dso_local local_unna...
#include <stdio.h> #define ASIZE 1048576 #define GSIZE 524288 int m, cnt = 0; int insertionSort(int *A, int n, int g){ int i, j, v; for (i = g; i < n; i++) { v = A[i]; j = i - g; while (j >= 0 && A[j] > v) { A[j + g] = A[j]; j -= g; cnt++; } A[j + g] = v; } return cnt; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119089/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119089/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cnt = dso_local local_unna...
#include <stdio.h> void insertion(int [], int, int); int cnt = 0; int main(){ int i, n, m = 10, A[1000000], G[] = {10000, 5000, 2500, 1000, 500, 100, 50, 10, 4, 1}, m_cnt = 0; scanf("%d", &n); for(i=0; i<n; i++) scanf("%d", &A[i]); for(i=0; i<m; i++) if(G[i] <= n){ insertion(A, n, G[i]); m...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119139/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119139/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cnt = dso_local local_unna...
#include <stdio.h> int main(){ int n, i, j, v, m, k, count=0; int a[1000000] = {0}; int g[100] = {0}; scanf("%d",&n); for(i=0; i<n; i++) scanf("%d", &a[i]); i=0; g[0]=1; while(1){ if(g[i]>n){ m=i; break; }else{ g[i+1]=3*g[i]+i; i++; } } for(i=0; i<m; i++){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119182/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119182/source.c" target datalayout = "e-m:e-p270: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...
// AOJ ALDS1_2_D Shell Sort // 2018.4.27 bal4u #include <stdio.h> #include <stdlib.h> #include <string.h> int cnt; void insertion_sort(int n, int *a, int g) { int i, j, key; for (i = g; i < n; i++) { key = a[i]; j = i-g; while (a[j] > key) { a[j+g] = a[j]; j -= g; cnt++; if (j < 0) break; } a[j...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119225/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119225/source.c" target datalayout = "e-m:e-p270: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> #include <math.h> int insertion_sort(int,int[],int,int); int shellSort(int,int[]); void printArray(int[],int); int main(int argc, char** argv) { int size; scanf("%d\n", &size); int array[size]; for(int i = 0; i < size; i++) scanf("%d", &array[i]); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119269/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119269/source.c" target datalayout = "e-m:e-p270: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 cnt; void insertionSort( int A[], int n, int g ) { int v; int j; for ( int i = g; i < n; i++ ) { v = A[i]; j = i - g; while ( j >= 0 && A[j] > v ) { A[j + g] = A[j]; j -= g; cnt++; } A...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119311/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119311/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cnt = dso_local local_unna...
#include<stdio.h> #include<stdlib.h> #include<math.h> int cnt; void insertionSort(int* a,int n,int g){ int v,j; for(int i=g;i<n;i++){ v=a[i]; j=i-g; while(j>=0&&a[j]>v){ a[j+g]=a[j]; j=j-g; cnt++; } a[j+g]=v; } } void shellSort(i...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119355/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119355/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cnt = dso_local local_unna...
#include <stdio.h> void shellSort(int*,int); void insertionSort(int*,int,int); int cnt = 0; int main(){ int i,A[1000000],n; scanf("%d",&n); for(i = 0; i < n; i++){ scanf("%d",&A[i]); } shellSort(A,n); for(i = 0; i < n; i++){ printf("%d\n",A[i]); } return 0; } void insertionSort(int*...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119399/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119399/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cnt = dso_local local_unna...
#include <stdio.h> #include <stdlib.h> #include <math.h> static int cnt; void InsertionSort(int a[], int n, int g) { int i, j, v; for (i = g; i < n; i++) { v = a[i]; j = i - g; while (j >= 0 && a[j] > v) { a[j + g] = a[j]; j = j - g; cnt++; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119441/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119441/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cnt = internal unnamed_add...
#include <stdio.h> int main(void){ int n,k; scanf("%d%d",&n,&k); n%k==0?printf("0"):printf("1"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119485/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119485/source.c" target datalayout = "e-m:e-p270: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; scanf("%d %d", &n, &k); if(n%k == 0) printf("0\n"); else printf("1\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119528/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119528/source.c" target datalayout = "e-m:e-p270: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<limits.h> #include<string.h> int main(){ int N,K; scanf("%d %d",&N,&K); if(N%K==0) printf("0"); else printf("1"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119571/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119571/source.c" target datalayout = "e-m:e-p270: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(void){ int N,K,ans=1; scanf("%d %d",&N,&K); if(N%K == 0) ans = 0; printf("%d",ans); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119621/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119621/source.c" target datalayout = "e-m:e-p270: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; scanf("%d %d", &n, &k); if (n%k == 0) printf("0\n"); else printf("1\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119665/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119665/source.c" target datalayout = "e-m:e-p270: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> int main(void) { int n,k; scanf("%d%d",&n,&k); if(n%k==0)puts("0"); else puts("1"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119708/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119708/source.c" target datalayout = "e-m:e-p270: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, k; scanf("%d %d", &n, &k); //出力 if(n % k == 0){ printf("0\n"); } else{ printf("1\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119751/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119751/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int n, m, c, s, d, ss[3]={-1,-1,-1}, ans=0; scanf("%d%d",&n,&m); for(int i=0; i<m; i++){ scanf("%d%d",&s,&c); if( ss[s-1] != -1 && ss[s-1] != c ){ printf("-1\n"); return 0; } if( ss[s-1] != -1 ){ continue; } ss[s-1] = c; if ( (s==3) || (s==2 && n==2) |...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119801/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119801/source.c" target datalayout = "e-m:e-p270: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 num[4] = { 0,-1,-1,-1 }; int N, M, s, c; scanf("%d %d", &N, &M); for (int i = 1;i <= M;i++) { scanf("%d %d", &s, &c); if (num[s] == -1 || num[s] == c) num[s] = c; else { printf("-1"); return 0; } } if (num[1] == 0) { if (N > 1) { printf("-1"); re...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119845/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119845/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.num = private...
#include <stdio.h> int main(void) { int N, M, s[100], c[100], i,t, number; int num[40] = {0}; number = 0; scanf("%d%d", &N, &M); for (i = 1; i <= M; i++){ scanf("%d%d", &s[i], &c[i]); } for (i = 1; i <= M; i++){ if (N != 1 && s[i] == 1 && c[i] == 0) number = -1...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119889/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119889/source.c" target datalayout = "e-m:e-p270: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(){ int n,m; scanf("%d%d",&n,&m); int ans=-1; int ok=1; int a[4]; for(int i=0;i<4;i++) a[i]=-1; int s,c; //矛盾ないかチェック for(int i=0;i<m;i++){ scanf("%d%d",&s,&c); if(a[s-1]>-1 && a[s-1]!=c) ok=0; //printf("%d\n",a[i]); a[s-...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_119931/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_119931/source.c" target datalayout = "e-m:e-p270: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,i; scanf("%d %d",&a,&b); i = 0; while(a<=b){ a*=3; b*=2; i++; } printf("%d\n",i); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_11999/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_11999/source.c" target datalayout = "e-m:e-p270: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> int main(){ int n; long a[100000]; long m[100000]; scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%ld",&a[i]); } long sum = 0; for(int i=0;i<n;i++){ if(i % 2 == 0){ sum += a[i]; }else{ sum -= a[i]; } } m[0] = sum; printf("%ld ",m[0]...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120030/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120030/source.c" target datalayout = "e-m:e-p270: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 <ctype.h> #include <string.h> void print_int(int n) { printf("%d\n",n); } void swap(int * a, int * b) { int t = *a; *a = *b; *b = t; } void sort(int a[], int n) { for(int i = 1; i < n; i++) { int j = i-1; while(j >= 0 && a[j+1] > a[j]) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120074/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120074/source.c" target datalayout = "e-m:e-p270: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...
// AOJ 2437 DNA // 2018.4.7 bal4u #include <stdio.h> #include <string.h> // 文字列のハッシュ関数 #define HASHSIZ 503 typedef struct { char *s; int id; } HASH; HASH hash[HASHSIZ+2], *hashend = hash + HASHSIZ; int insert(char *s, int id) { unsigned long long i; char *p; HASH *tp; i = 0, p = s; while (*p) i = (i<<5) + *p++;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120117/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120117/source.c" target datalayout = "e-m:e-p270: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.HASH = type { ptr, ...
#include<stdio.h> #include<stdlib.h> #include<math.h> #include<string.h> #include<stdbool.h> #include<assert.h> typedef long long ll; typedef long double ld; #define rep(i,l,r)for(ll i=(l);i<(r);i++) #define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k)) #define rrep(i,l,r)for(ll i=(l);i>=(r);i--) #define INF (1LL<<60) #defin...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120168/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120168/source.c" target datalayout = "e-m:e-p270: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 a,b,y=0; scanf("%d %d",&a,&b); while(a<=b) { a*=3; b*=2; y++; } printf("%d\n",y); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_12024/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_12024/source.c" target datalayout = "e-m:e-p270: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 s[3]; scanf("%s", &s); switch(s[0]){ case 'S': switch(s[1]){ case 'U': printf("7"); break; case 'A': printf("1"); break; } break; case 'M': printf("6"); break; case 'T': sw...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120283/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120283/source.c" target datalayout = "e-m:e-p270: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[4]; char day[7][4] = {"SAT", "FRI", "THU", "WED", "TUE", "MON", "SUN"}; scanf("%s", &s); for (int i=0; i<7; i++) { if (strcmp(s, day[i]) == 0) { printf("%d", i+1); return 0; } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120333/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120333/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.day = private...
#include<stdio.h> int main() { int a,b,c; char n[5]; scanf("%s",&n); if(n[0]=='M') { printf("6"); } if(n[0]=='T') { if(n[1]=='U') printf("5"); else printf("3"); } if(n[0]=='W') { printf("4"); } if(n[0]=='F') { printf("2"); } if(n[0]=='S') { if(n[1]=='U') printf("7"); else prin...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120384/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120384/source.c" target datalayout = "e-m:e-p270: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 <stdlib.h> #include <math.h> #include <stdbool.h> #define LL long long #define INF 1<<31-1 #define LNF 9223372036854775807 #define PI 3.14159265358979 #define MIN(x,y) ((x)<(y)?(x):(y)) #define MAX(x,y) ((x)<(y)?(y):(x)) #define FOR(i,a,n) for(i=a;i<n;i++) #define MOD 100...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120427/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120427/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @fac = dso_local local_unna...
#include<stdio.h> #define NUM 1000 int func(int); int main() { int score[NUM]; int i,j,n; int gap; while(1) { scanf("%d",&n); if(n==0) break; for(i=0;i<n;i++) scanf("%d",&score[i]); gap=func(score[1]-score[0]); if(gap<0) gap*=(-1); for(i=0;i<n-1;i++) { for(j=i+1;j<n;j...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120478/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120478/source.c" target datalayout = "e-m:e-p270: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; int sum = 0; int i; scanf("%d", &n); for(i=n; i!=0; i/=10) sum += i%10; if(n%sum == 0) printf("Yes"); else printf("No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120528/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120528/source.c" target datalayout = "e-m:e-p270: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,sum=0,k; scanf("%d",&n); int d = n; while(n>0) { k = n%10; sum+=k; n=n/10; } //printf("sum = %d",sum); if(d%sum== 0) printf("Yes"); else printf("No"); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120571/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120571/source.c" target datalayout = "e-m:e-p270: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> int main() { int x,a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j,sum=0 ; scanf("%d", &x); a=x%10 ; b=x%100; b=b/10; c=x%1000; c=c/100; d=x%10000; d=d/1000; e=x%100000; e=e/10000; f=x%1000000; f=f/100000; g=x%10...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120614/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120614/source.c" target datalayout = "e-m:e-p270: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 n; int ten[10]={1,10,100,1000,10000,100000,1000000,10000000,100000000}; int aaa[4]={3,5,7}; int result=0; int main(){ int a,b; int result=9999; scanf("%d",&a); b=a%10+(a/10)%10+(a/100)%10+(a/1000)%10+(a/10000)%10+(a/100000)%10+(a/1000000)%10+(a/10000000)%10+(a/100000000)%10+(a/1000000000...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120665/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120665/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ten = dso_local local_unna...
#include<stdio.h> int main() { int a,s=0,b; scanf("%d",&a); b=a; while(b!=0){ s+=b%10; b/=10; } if(a%s==0) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120708/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120708/source.c" target datalayout = "e-m:e-p270: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,j; int a=0; scanf("%d",&n); j=n; while(n>0){ a+=n%10; n/=10; } if ((j%a)==0) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120751/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120751/source.c" target datalayout = "e-m:e-p270: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, sum, dig, tmp; scanf("%d", &n); tmp = n; while(n){ sum += n % 10; n = n / 10; } if(tmp % sum == 0){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120801/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120801/source.c" target datalayout = "e-m:e-p270: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; int sum = 0; int i; scanf("%d", &n); for(i=n; i!=0; i/=10) sum += i%10; if(n%sum == 0) printf("Yes"); else printf("No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120845/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120845/source.c" target datalayout = "e-m:e-p270: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){ // Your code here! int n,m; long int k; scanf("%d %d %ld",&n,&m,&k); long int a[200000]={}; long int as[200001]={}; for(int i=0;i<n;i++) { scanf("%ld",&a[i]); if(i==0){ as[i]=0; } as[i+1]=as[i]+a[i]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120889/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120889/source.c" target datalayout = "e-m:e-p270: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 SIZE 200000 int main(void) { int i, j, max; int N, M, K; int A[SIZE], B[SIZE]; long long a[SIZE+1], b[SIZE+1]; /* A,B の上から i 冊読む時間 */ scanf("%d %d %d", &N, &M, &K); for ( i=0; i<N; ++i) scanf("%d", &A[i]); for ( i=0; i<M; ++i) scanf("%d", &B[i]); a[0] = b[0] = 0;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120953/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120953/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#define _USE_MATH_DEFINES #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <ctype.h> #include <limits.h> #define inf 100000000 #define INF 9223372036854775807 #define EPS 1e-10 #define sq(n) ((n)*(n)) #define rep(i,n) for(i=0;i<n;i++) #define rev(i,n) for(i=n-1;i>=0;i--) #define...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_120997/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_120997/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @mod = dso_local local_unna...
#include <stdio.h> int main(void) { int N; scanf("%d", &N); char S[2*N]; scanf("%s", S); int left[N], right[N]; left[0] = 0; right[N-1] = 0; for(int i = 1; i < N; i++){ left[i] = left[i-1]; if(S[i-1] == 'W') left[i]++; } for(int i = N-2; i >= 0; i--){ right[i] = right[i+1]; if...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121039/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121039/source.c" target datalayout = "e-m:e-p270: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; scanf("%d", &N); char *S = NULL; S = (char *)malloc(sizeof(char) * N); scanf("%s", S); int *cnt = NULL; cnt = (int *)malloc(sizeof(int) * N); int cnt_min; cnt[0]=0; for(int i=1; i<N; i++){ if(S[i]=='E'){ cnt[0]++; } } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121082/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121082/source.c" target datalayout = "e-m:e-p270: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> #define NEW(p,n){p=malloc((n)*sizeof(p[0]));if(p==NULL){printf("not enough memory\n");exit(1);};} //pの型の変数n個の要素分のメモリを確保し、そのアドレスをpに代入するマクロ #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define SWAP(type, x, y) do { type tmp...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121125/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121125/source.c" target datalayout = "e-m:e-p270: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> const int Mod = 998244353; int bit[21]; long long root[21], root_inv[21]; long long div_mod(long long x, long long y, long long z) { if (x % y == 0) return x / y; else return (div_mod((1 + x / y) * y - x, (z % y), y) * z + x) / y; } long long pow_mod(long long n, int k) { lo...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121169/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121169/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Mod = dso_local local_unna...
#include <stdio.h> int main(void) { char s[101]; long long int k; int t[101]; char current; int last_index_of_s; int last_index_of_t; long long int ans; int j; scanf("%s", s); scanf("%lld", &k); for(int i = 0; i < 101; i++) { t[i] = 0; } j = 0; current = s[0]; for(int i = 0; i < 10...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121211/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121211/source.c" target datalayout = "e-m:e-p270: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 <stdint.h> #include <stdbool.h> int64_t N; int64_t search(int64_t n, bool seven, bool five, bool three) { if(n > N) { return 0; } int ret0 = search(n*10 + 7, true, five, three); int ret1 = search(n*10 + 5, seven, true, three); int ret2 = search(n*10 + 3, seven, five, true);...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121255/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121255/source.c" target datalayout = "e-m:e-p270: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 i64 0...
#include <stdio.h> int main(void) { long n, ans=0, a[1000000], k=10, k1=1; long b[3]={3,5,7}; int k2=3, k3=3, c, k4=0; scanf("%ld", &n); while (k<=n) { k*=10; k1++; } if (k1>=3) { for (int i = 0; i < 3; ++i) { a[i]=b[i]; } for (int i = 1; i < k1; ++i) { for (int i = 0; i < k2; ++i) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121305/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121305/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.b = private u...
#include <stdio.h> #include <stdlib.h> int main(){ char S[5]; int d[28]={}; scanf("%s",S); for(int i=0;i<4;i++) d[S[i]-'A']++; int c=0; for(int i=0;i<26;i++) if(!(d[i]==0 || d[i]==2)){ c=1; break; } if(c==0) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121349/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121349/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<string.h> int main() { int i,count,j=0,s1=0,k; char s[5]; scanf("%s", s); for(i=j;i<3;i++) { count=0; for(k=i+1;k<4;k++) { if(s[i]==s[k])count=1; } j++; s1=s1+count; } if(s1==2)printf("Yes\n"); else pr...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121392/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121392/source.c" target datalayout = "e-m:e-p270: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<stdlib.h> int main(){ char s[5], sum = 0; int k[26] = {0}; scanf("%s", s); for(int j = 0; j < 4; ++j){ for(int i = 0; i < 26; ++i){ if(s[j] == i + 65){ if(k[i] == 0) sum++; k[i]++; } } } if(sum == 2) puts("Yes"); else puts(...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121435/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121435/source.c" target datalayout = "e-m:e-p270: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[4]; scanf("%s",s); if(s[0] == s[1] && s[2] == s[3] && s[0] != s[2]){ printf("Yes\n"); }else if(s[0] == s[2] && s[1] == s[3] && s[0] != s[1]){ printf("Yes\n"); }else if(s[0] == s[3] && s[1] == s[2] && s[0] != s[1]){ printf("Yes\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121479/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121479/source.c" target datalayout = "e-m:e-p270: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 array[4] ; char x,y; int count_x = 1, count_y = 1; scanf("%s",array); x = array[0]; // x:1文字目 if(x != array[1]){ // 1文字目と2文字目が違う y = array[1]; for(int i=0 ; i<2 ; i++){ if(x == array[i+2]) count_x++; else if(y == array[i+2]) count_y++; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121529/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121529/source.c" target datalayout = "e-m:e-p270: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,top,a,b,flag=0; scanf("%d",&n); scanf("%d",&top); while(n--) { scanf("%d%d",&a,&b); if(a==7-top || b==7-top ||a==top || b==top) flag=1; } if(flag==1) printf("NO\n"); else printf("YES\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_12158/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_12158/source.c" target datalayout = "e-m:e-p270: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> #define N 105 int a[N], b[N]; int is_in(int x, int v[], int n) { int i; for (i = 0; i < n; ++i) if (v[i] == x) return 1; return 0; } int main(void) { int i, n, x, y, z, possible, v[4]; possible = 1; scanf("%d %d", &n, &x); for (i = 0; i < n; ++i) { scanf("%d %d", &a[i], &b[i]); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_12163/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_12163/source.c" target datalayout = "e-m:e-p270: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 s[5]; scanf("%s",&s); if(s[0]==s[1]){ if(s[2]==s[3]){ if(s[0]!=s[2]){ printf("Yes\n"); }else{ printf("No\n"); } }else{ printf("No\n"); } }else if(s[0]==s[2]){ if(s[1]==s[3]){ printf("Yes\n"); }else{ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121688/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121688/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<string.h> int main(){ int n,a,b,i,j,k,m,c=0; char s[26],w[101]; scanf("%d %s",&n,s); a=strlen(s); for(i=0;i<n;i++){ scanf("%s",w); b=strlen(w); for(j=0;j<b;j++){ for(k=1;k<b;k++){ for(m=0;m<a&&m*k+j<b;m++){ if(s[m]!=w[m*k+j])break; if(m==a-1)++c,k=b,j=b; } }...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121730/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121730/source.c" target datalayout = "e-m:e-p270: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_X_Y (101) #define MATCH (1) #define NO_MATCH (-1) #define VISIT (1) #define NO_VISIT (-1) #define NO_ID (-1) typedef struct _Point{ int dst[MAX_X_Y]; int size; } Point; int bipartite_matching(Point *pair, int src, int *matches, int* is_visits) { int i, size, dst; if(src...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121774/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121774/source.c" target datalayout = "e-m:e-p270: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 { [10...
#include <stdio.h> int gcd(int a, int b); int main(void) { int a, b, q, r; while (scanf("%d", &a) != EOF){ scanf("%d", &b); printf("%d %d\n", gcd(a, b), a / gcd(a, b) * b); } return (0); } int gcd(int a, int b) { int temp; if (a <= b){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121817/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121817/source.c" target datalayout = "e-m:e-p270: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 argc, char *argv[]) { unsigned long i, j; unsigned long a[1000], b[1000]; unsigned long gcd, lcm; for (i = 0; i < 1000; i++) if (scanf("%d %d", &a[i], &b[i]) == EOF) break; for (j = 0; j < i; j++) { { unsigned int ta = a[j]; unsigned int tb = ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121860/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121860/source.c" target datalayout = "e-m:e-p270: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 i, j, GCD, LCM, t, x, y; while((scanf("%lld %lld", &i, &j))!=EOF){ x=i; y=j; if(i==0) GCD=j; else if(j==0) GCD=j; else{ while(j!=0){ t=j; j=i%j; i=t; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121903/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121903/source.c" target datalayout = "e-m:e-p270: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 GCD(int, int); int main(){ int a, b, x, y; while(scanf("%d %d", &a, &b) != EOF){ x = GCD(a, b); y = a/x*b; printf("%d %d\n", x, y); } return 0; } int GCD(int s, int t){ if(s%t == 0){ return t; }else{ return GCD(t, s%t); } }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121947/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121947/source.c" target datalayout = "e-m:e-p270: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 long int gcd(long long int a,long long int b){ if(b==0) return a; else return gcd(b,a%b); } int main() { long long int a,b; while(scanf("%lld %lld",&a,&b)!=EOF){ printf("%lld %lld\n",gcd(a,b),a/gcd(a,b)*b); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_121990/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_121990/source.c" target datalayout = "e-m:e-p270: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 l[1100000]; int min(int x,int y) { if(x<y) { return x; } return y; } int main() { int n; scanf("%d",&n); for(int i=0;i<n;i++) { scanf("%d",&l[i]); } int sum=1,k=n-1-l[n-1]; for(int i=n-2;i>=0;i--) { if(i<k) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_12204/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_12204/source.c" target datalayout = "e-m:e-p270: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 Least_Common_Multiple(int a,int b){ int result; result = a; while(result%b != 0){ result += a; } return result; } int Greatest_Common_Factor(int a, int b){ if(a > b){ return Greatest_Common_Factor(a-b,b); } else if(a < b){ return Greatest...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122083/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122083/source.c" target datalayout = "e-m:e-p270: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 a, b, c, d, tmp; while (scanf("%ld %ld", &a, &b) != EOF) { d = a * b; if(a < b) { tmp = a; a = b; b = tmp; } c = a % b; while(c != 0) { a = b; b = c; c = a % b; } printf("%ld %ld\n", b, d / b); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122126/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122126/source.c" target datalayout = "e-m:e-p270: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 gcd(long a,long b){ long i; if(a<b){ i=a; a=b; b=i; } for(i=a%b;i!=0;i=a%b){ a=b; b=i; } return b; } int main(){ long a,b,gc; while(scanf("%ld %ld",&a,&b)!=EOF){ gc=gcd(a,b); printf("%ld ",gc); if(a%gc==0) printf("%ld\n",(a/gc)*b); else if(b%gc==0) printf("%ld\n",(b/gc)*a); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122184/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122184/source.c" target datalayout = "e-m:e-p270: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 gcd(int m, int n){ int mi, ni; while(n){ mi = n; ni = m%n; m = mi; n = ni; };//m is gcd return m; } int main(){ int a, b; int found; while(scanf("%d %d", &a, &b) == 2){ if (a >= b){ found = gcd (a, b); printf("%d %d\n", found, a...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122234/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122234/source.c" target datalayout = "e-m:e-p270: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 a,b,r=100,a2,b2,i,cnt=0,s=1; long int yaku[1000]={0},bai[1000]; while(scanf("%d %d",&a,&b)!=EOF){ a2=a; b2=b; if(a>b){ r=a-b; }else{ r=b-a; } while(r!=0){//ユーグリッドの公約数 if(a...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122285/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122285/source.c" target datalayout = "e-m:e-p270: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 gcd(int x, int y) { return (y ? gcd(y, x % y) : x); } int lcm(int x, int y) { return (x / gcd(x, y) * y); } int main(void) { int x, y; while (~scanf("%d %d", &x, &y)){ if (x > y) printf("%d %d\n", gcd(x, y), lcm(x, y)); else printf("%d %d\n", gcd(y, x), lcm(y, x)); } return (0); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122335/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122335/source.c" target datalayout = "e-m:e-p270: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> unsigned long long gcd( unsigned long long a, unsigned long long b ) { unsigned long long r = 1; while ( r != 0 ) { r = a % b; a = b; b = r; } return a; } int main( void ) { unsigned long long a, b; while ( scanf( "%llu %llu", &a, &b ) != EOF ) { printf( "%llu %llu\n",...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122386/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122386/source.c" target datalayout = "e-m:e-p270: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; int tmp; int prime; int gcd, lcm; while(scanf("%d %d",&a, &b) != EOF){ /*GCDとLCMを求める処理*/ if(b > a){ tmp = a; a = b; b = tmp; } //a >= b gcd = 1; lcm = 1; prime = 2; while(prime <= b){ if(a%prime == 0 && b%prime == 0)...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122436/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122436/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a, b; scanf("%d %d", &a, &b); printf("%d %d %f", a/b, a%b, (double)a/b); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122487/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122487/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int a,b; scanf("%d %d",&a,&b); printf("%d\n",a/b); printf("%d\n",a%b); printf("%lf\n",(double)a / (double)b); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_122573/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_122573/source.c" target datalayout = "e-m:e-p270: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...