Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
#include<stdio.h> int main(){ int p,n,flag=0,i,ans; scanf("%d%d",&p,&n); int a[305]={0}; long long int b; for(i=0;i<n;i++) { scanf("%I64d",&b); if(flag==0){ if(a[b%p]==0) a[b%p]++; else{ flag=1; ans=i; } } }...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_20070/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_20070/source.c" target datalayout = "e-m:e-p270:32:32-p271: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(void){ int i,trial,judge,tpoint=0,hpoint=0; char taro[110],hanako[110]; scanf("%d",&trial); for(i=0;i<trial;i++){ scanf("%s",taro); scanf("%s",hanako); judge=strcmp(taro,hanako); if(judge>0) tpoint+=3; else if(judge<0) hpoint+=3; else { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200743/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200743/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <string.h> int main() { int a, n, t=0, h=0; char c1[101], c2[101]; scanf("%d", &n); for (;n>0;n--) { scanf("%s %s", c1, c2); a=strcmp(c1, c2); if (a == 0) { t++; h++; } else if (a > 0) t+=3; else h+=3; } printf("%d %d\n", t, h); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200787/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200787/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 argc, const char * argv[]){ int n, i, tp = 0, hp = 0; char taro[1001], hana[1001]; scanf("%d",&n); for( i = 0 ; i < n ; i++ ) { scanf("%s %s", taro, hana); if( strcmp(taro,hana) == 0 ) { tp += 1; hp += 1; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200844/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200844/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 compare(char *s1, char *s2){ while(*s1 == *s2){ if(*s1 == '\0'){ return 0; } s1++; s2++; } return(*s1 - *s2); } int main(){ int n,judge; int taro_score = 0; int hanako_score = 0; char taro_card[1001]; char hanako_card[1001]; scanf("%d", &n); for(int i...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200895/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200895/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 s1[10], s2[10]; int a=0,b=0,cnt=0,n; scanf("%d",&n); while(cnt<n){ scanf("%s %s", s1, s2); if ( strcmp(s1, s2) == 0 ) {a+=1;b+=1;} else if ( strcmp(s1, s2) > 0 ) a+=3; else if ( strcmp(s1, s2) < 0 ) b+=3; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200938/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200938/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 cp(int x,int y){ return x<y?x:y; } int main(){ int i=0,n,tarou=0,hanako=0; char str1[101],str2[101]; scanf("%d",&n); while(i<n){ scanf("%s",str1); scanf("%s",str2);; if(strcmp(str1,str2)>0){ tarou+=3; }else if(strcm...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200989/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200989/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> #include<stdbool.h> #define limit_char_count (100) //#define DEBUG_BUILD #ifdef DEBUG_BUILD # define DEBUG_PRINT(fmt, ...) printf(fmt, ## __VA_ARGS__) # define DEBUG_F_PRINT(fp,fmt, ...) fprintf(fp,fmt, ## __VA_ARGS__) #else # define DEBUG_PRINT(fmt, ...) # de...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201030/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201030/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 taro[101], hanako[101]; int count, taro_s=0, hanako_s=0, i; scanf("%d",&count); for(i=0;i<count;i++){ scanf("%s %s",taro,hanako); if(strcmp(taro,hanako)>0) taro_s+=3; else if(strcmp(taro,hanako)<0) hanako_s+=3; else { taro_s+=1; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201074/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201074/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 s1[101], s2[101]; int i, n; int taro = 0, hanako = 0; scanf("%d", &n); for (i = 0; i < n; i++) { scanf("%s %s", &s1, &s2); if (strcmp(s1, s2) == 0) { taro++, hanako++; } else if (strc...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201117/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201117/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, t=0, h=0, i; char ta[100], ha[100]; scanf("%d", &n); for(i=0;i<n;i++){ scanf("%s %s", ta, ha); if(strcmp(ta, ha)>0) t+=3; else if(strcmp(ta, ha)<0) h+=3; else{ t++; h++; } } printf("%d %d\n", t, h); return 0; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201168/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201168/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <math.h> #define N 100001 #define M 1000000007 typedef long long LL; int n, m, a[33]; LL f[N], invf[N], ans = 0; LL qpow(LL x, int y) { if(!y) return 1; LL t = qpow(x, y >> 1); t = t * t % M; if(y & 1) t = t * x % M; return t; } LL C(int x, int y) { return f[x] * invf[y] % M * invf[...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201247/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201247/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ans = dso_local local_unna...
#include <stdio.h> #define MAX(x,y) ((x)>(y)?(x):(y)) int main(){ int k,n,max=0,a[200000+1]={0}; scanf("%d%d",&k,&n); for(int i=0; i<n; i++){ scanf("%d",&a[i]); if(i){ max = MAX( max, (a[i] - a[i-1]) ); } } max = MAX( max, (k-a[n-1]+a[0]) ); printf("%d", k-max); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201304/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201304/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 house_number; int cir_lake; int dis_house[200000]; int dis[200000]; int i, max; scanf("%d %d", &cir_lake, &house_number); for(i = 0; i < house_number; i++) { scanf("%d", &dis_house[i]); } for(i = 0; i < house_number - 1; i++) { dis[i] = dis_house[i + ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201348/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201348/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 compare_int(const void *a, const void *b) { return *(int*)a - *(int*)b; } int main(){ int N,K; scanf("%d %d",&K,&N); int A[N]; int i; for(i=0;i<N;i++){ scanf("%d",&A[i]); } int len[N]; for(i=0;i<N-1;i++){ len[i] = -A[i] ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201412/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201412/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,n; scanf("%d%d",&k,&n); int a[n]; for(int i=0;n>i;++i){ scanf("%d",&a[i]); } /*入力*/ int b[n-1]; for(int i=0;n-1>i;++i){ b[i]=a[i+1]-a[i]; } int max=b[0]; for(int i=1;n-1>i;++i){ max=max>b[i]?max:b[i]; } int...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201456/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201456/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,e; int a[100050]; scanf("%d%d",&n,&k); // for(i=1;i<=n;i++) // a[i]=i; // e=a[n-k]; // for(i=n;i>(n-k);i--) // { // a[i]=a[i-1]; // } // a[n-k]=n; if(n==1)printf("1\n"); else{ for(i=1;i<n-k;i++) { if(i==1) pri...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_2015/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_2015/source.c" target datalayout = "e-m:e-p270:32:32-p271: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> #define ll long long int main(){ ll k,n,i; scanf("%lld%lld",&k,&n); ll a[n]; for(i=0;i<n;i++) scanf("%lld",&a[i]); ll b[n+1]; b[n]=k-a[n-1]+a[0]; for(i=1;i<n;i++) b[i]=a[i]-a[i-1]; ll p=1; ll m=b[1]; for(i=1;i<n+1;i++) if(m<b[i]){ m=b[i]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201542/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201542/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 k, n, t, max = 0; scanf("%lld%lld", &k, &n); long long a[n]; for(t = 0; t < n; t++) scanf("%lld", &a[t]); max = a[1] - a[0]; for(t = 0; t < n - 1; t++) if(max <= a[t + 1] - a[t]) max = a[t + 1] - a[t]; if(max <= k + a[0] - a[n - 1]) max = k + a[0] - a[n ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201586/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201586/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int A,B,C; scanf("%d%d", &A, &B); if( A % 3 == 0 || B % 3 == 0 || (A+B) % 3 == 0) printf("Possible\n"); else printf("Impossible\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201629/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201629/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 %d",&A,&B); if(A%3==0 || B%3==0 || (A+B)%3==0){ printf("Possible\n"); }else{ printf("Impossible\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201672/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201672/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 int x,y,i; scanf("%ld%ld",&x,&y); if((x+y)%3==0 || x%3==0 || y%3==0 ) { printf("Possible"); }else{ printf("Impossible"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201722/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201722/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b,c; scanf("%d %d", &a,&b); if(a==3 || b==3) printf("Possible\n"); else if(a<3 && b<3) { c=a+b; if(c%3==0) printf("Possible\n"); else printf("Impossible\n"); } else if(a>3 || b>3) { if(a%3==0) printf("Possible\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201773/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201773/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b; scanf("%d %d",&a,&b); if(a%3==0) printf("Possible"); else if(b%3==0) printf("Possible"); else if((a+b)%3==0) printf("Possible"); else printf("Impossible"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201823/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201823/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int A,B; scanf("%d %d",&A,&B); printf((A%3==0 || B%3==0 || (A+B)%3==0) ? "Possible" : "Impossible"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201867/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201867/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 _10e5 100000 int ascending(const void *pa, const void *pb) { const int *a = pa; const int *b = pb; if(a[0] == b[0]) return a[1] - b[1]; else return a[0] - b[0]; } void testcase(); int sorted[_10e5][2]; int main() { int t; scan...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_20191/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_20191/source.c" target datalayout = "e-m:e-p270:32:32-p271: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 ...
/* * ID: 0630 * Problem: Microwave */ #include <stdio.h> int main(void) { int initial, final; int t1, t2, t3; scanf("%d", &initial); scanf("%d", &final); scanf("%d", &t1); scanf("%d", &t2); scanf("%d", &t3); int cooking = 0; if (initial * final < 0) cooking += t2; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201953/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201953/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a,b,c,d,e,t; scanf("%d",&a);scanf("%d",&b);scanf("%d",&c);scanf("%d",&d);scanf("%d",&e); t=0; if(a<0){ t=-a*c+d; a=0; } t+=(b-a)*e; printf("%d\n",t); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_201997/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_201997/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 s; int n; int sk; while (scanf("%d", &n) != EOF) { sk = n % 39; if (sk == 0) { printf("3C39\n"); } else if (sk < 10) { printf("3C0%d\n", sk); } else { printf("3C%d\n", sk); } } return (0); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202046/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202046/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i; while(scanf("%d",&n)!=EOF){ if(n>39)n=n%39; if(n==0){ printf("3C39\n"); } for(i=1;i<40;i++){ if(i==n){ if(i>9)printf("3C%d\n",i); else printf("3C0%d\n",i); break; } } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202103/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202103/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#if 0 cat <<EOF >mistaken-paste #endif // thx Ebi-chan! #pragma GCC diagnostic ignored "-Wincompatible-pointer-types" #define _USE_MATH_DEFINES #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <math.h> #include <time.h> #define BIG 2000000007 #define VERYBI...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202190/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202190/source.c" target datalayout = "e-m:e-p270: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.hwll = type { i64, ...
#include <stdio.h> int main(){ int a,b,c,d,e,k; scanf("%d%d%d%d%d%d",&a, &b, &c, &d, &e, &k); if( (e-a > k) || (e-b > k) || (e-c > k) || (e-d > k) ){ printf(":(\n"); } else { printf("Yay!\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202240/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202240/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[6]; int i = 0; while (i < 6) { scanf("%d",&N[i]); i++; } i = 0; while (i < 5) { //printf("%d",N[i]-N[0]); if (N[i] - N[0] > N[5]) { printf(":("); return (0); } i++; } printf("Yay!"); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202284/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202284/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main (int argc, char* argv[]) { int a[5], k; for (int i = 0; i < 5; i++) { scanf("%d", &a[i]); } scanf("%d", &k); for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { if (i == j) continue; if (a[j] - a[i] > k) { printf(":(\n"); return 0; } } } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202327/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202327/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a,b,c,d,e,k; scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&k); if(e-a>k){ printf(":(\n"); }else{ printf("Yay!\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202370/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202370/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b,c,d,e,k; scanf("%d",&a); scanf("%d",&b); scanf("%d",&c); scanf("%d",&d); scanf("%d",&e); scanf("%d",&k); if((b-a>k)||(c-b>k)||(d-c>k)||(e-d>k)||(c-a>k)||(d-b>k)||(e-c>k)||(d-a>k)||(e-b>k)||(e-a>k)){ printf(":("); } else{ printf("Yay!"); } getchar();...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202413/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202413/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 compare_int(const void *a, const void *b) { return *(int*)a - *(int*)b; } int main() { int a[5]; for (int i = 0; i < 5; i++) { scanf("%d",&a[i]); } qsort(a,5,sizeof(int),compare_int); int k; scanf("%d",&k); int dif = a[4] - a[0]; if (dif <= k) printf("Yay!\n");...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202457/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202457/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,c,d,e,k; scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&k); if(fabs(a-b)>k){printf(":(");return 0;} if(fabs(a-c)>k){printf(":(");return 0;} if(fabs(a-d)>k){printf(":(");return 0;} if(fabs(a-e)>k){printf(":(");return 0;} if(fabs(b-c)>k){printf(":(...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202514/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202514/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 name[5]; int k; int i; for(i=0;i<5;i++){ scanf("%d", &name[i]); } scanf("%d", &k); int ans[12]; ans[0] = name[1] - name[0]; ans[1] = name[2] - name[0]; ans[2] = name[3] - name[0]; ans[3] = name[4] - name[0]; ans[4] = name[2] - name[1]; ans[5] = name...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202558/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202558/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 array[5]; int i,k,p,j; p=0; for(i=0;i<5;i++){ scanf("%d",&array[i]); } scanf("%d",&k); for(i=0;i<5;i++){ for(j=i;j<5;j++){ if(k<array[j]-array[i]){ p+=1; } } } if(p==0){ printf("Yay!\n"); }else{ printf(":(\n"); } }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202608/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202608/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[5],k,i,j,flag = 1; for(i = 0;i < 5;i++){ scanf("%d",&a[i]); }scanf("%d",&k); for(i = 1;i < 5;i++){ for(j = 0;j < i;j++){ if(a[i]-a[j] > k||a[j]-a[i] > k){flag = 0;} } }if(flag){printf("Yay!\n");} else{printf(":(\n");} return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202651/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202651/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> #define N_MAX 3000 typedef struct { int x; int y; }Point; int N; int K; Point P[N_MAX]; Point T[N_MAX]; int compX(const void *a, const void *b) { if(((Point *)a)->x == ((Point *)b)->x) { return ((Point *)a)->y - ((Point *)b)->y; }...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202709/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202709/source.c" target datalayout = "e-m:e-p270: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 { i32,...
#include<stdio.h> int main(void){ int a,b,c; scanf("%d %d",&a,&b); while(a!=0){ if(a>2 && a<=8){ if(a%2==0){ c=a/2*31+(a/2-1)*30+b-1; } else{ c=a/2*61+b-1; } } if(a>8){ if(a%2==0){ c=a/2*31+(a/2-1)*30+b-1; } else{ c=(a/2+1)*31+(a/2-1)*30+b-1; } } if(a==2)c=a/2*31+b; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202774/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202774/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> enum { Wed, Thu, Fri, Sat, Sun, Mon, Tue }; int main(void) { int month_ld[12] = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; while (1){ int now_month; int now_day; int day = 0; int i; scanf("%d %d", &now_month, &now_day); if (now_month == 0) break; for (i = 1; i < now_m...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202846/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202846/source.c" target datalayout = "e-m:e-p270: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.month_ld = pr...
#include<stdio.h> int main(void) { int m; int a = 1,b = 4,c,d,e = 6; int y = 2004; int ans; while(1){ scanf("%d %d",&m,&d); if(m == 0 && d == 0) break; if(m == 1 || m == 10) c = 1; else if(m == 2 || m == 3 || m == 11) c = 4; else if(m == 4 || m == 7) c = 0; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202897/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202897/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 Mon[13]={0,31,29,31,30,31,30,31,31,30,31,30,31}; int month,day; for(;;){ scanf("%d%d" ,&month ,&day); if( month == 0 && day == 0 ) break; while( month != 1 ) day += Mon[--month]; switch(day%7){ case 0: printf("Wednesday\n"); break; ca...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_202947/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_202947/source.c" target datalayout = "e-m:e-p270: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.Mon = private...
#include <stdio.h> void youbi(int x) { if(x%7==0) printf("Thursday\n"); else if(x%7==1) printf("Friday\n"); else if(x%7==2) printf("Saturday\n"); else if(x%7==3) printf("Sunday\n"); else if(x%7==4) printf("Monday\n"); else if(x%7==5) printf("Tuesday\n"); else printf("Wednesday\n"); } int main(void) { int d[...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203003/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203003/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str.7 = private unnamed_a...
#include<stdio.h> long gcd(long m,long n) { if(n==0) return m; //printf("%ld %ld\n",n,m%n); return gcd(n,m%n); } int main() { long a,b,gCommon,i,j,k,cnt=1; scanf("%ld%ld",&a,&b); gCommon = gcd(a,b); //printf("%ld\n",gCommon); for(i=2; gCommon>1 && gCommon>=i*i ; ) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203047/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203047/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) { long a, b; scanf("%ld %ld", &a, &b); long gcd; long m = a, d = b; while (d > 0){ long temp = d; d = m % d; m = temp; } gcd = m; if (gcd == 1){ printf("%d\n", 1); return 0; } long count = 0; for (long i = 2; i <= sq...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203090/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203090/source.c" target datalayout = "e-m:e-p270:32:32-p271:32: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 0270: Modular Query // 2017.8.24 bal4u@uu // 2019.1.19 #include <stdio.h> char tbl[300005]; //#define getchar_unlocked() getchar() int in() { int n = 0; int c = getchar_unlocked(); do n = (n<<3)+(n<<1) + (c & 0xf), c = getchar_unlocked(); while (c >= '0'); return n; } int main() { int N, Q, i, k, q, m...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203133/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203133/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct._IO_FILE = type { i...
#include<stdio.h> int main(void) { int h1, h2,hp, k1, k2,kp, a, b, c, d; scanf("%d%d", &h1, &h2); scanf("%d%d", &k1, &k2); scanf("%d%d%d%d", &a, &b, &c, &d); hp = h1*a + h2*b + h1 / 10 * c + h2 / 20 * d; kp = k1*a + k2*b + k1 / 10 * c + k2 / 20 * d; if (hp == kp) { printf("even\n"); } else if (hp>kp) { pri...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203177/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203177/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[100100]; int intcmp(const void *a, const void *b) { return *(int *)a - *(int *)b; } int main(void) { int tc; scanf("%d", &tc); while (tc-- > 0) { int n; scanf("%d", &n); int nonpositive = 0; int minpositive = 1234567890; for (int i = 0; i < n; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_20322/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_20322/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include <stdio.h> int main(void){ int a, b, c; int n, i; scanf("%d %d", &n,&i); for(i=0; i<n; i++){ scanf("%d %d %d", &a,&b,&c); a*=a, b*=b, c*=c; if(a == b+c || b == a+c || c == a+b){ printf("YES\n"); }else{ printf("NO\n"); } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203278/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203278/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a, b, c; int i; int big, mi ,mu; scanf("%d", &n); for (i = 0; i < n; i++){ scanf("%d %d %d", &a, &b, &c); if (a > b && a> c){ big = a; mi = b; mu = c; } else if (b > a && b > c){ big = b; mi = a; mu = c; } else { big = c; mi = b; mu = a;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203328/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203328/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(){ int a[3],f=0,n,i,j; scanf("%d",&n); for(j=0;j<n;j++){ for(i=0;i<3;i++)scanf("%d",&a[i]); for(i=0;i<3;i++){ if(a[i%3]*a[i%3]+a[(i+1)%3]*a[(i+1)%3]==a[(i+2)%3]*a[(i+2)%3])f=1; } if(f==0)printf("NO\n"); else printf("YES\n"); f=0; } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203371/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203371/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 i; int a[1000], b[1000], c[1000]; int hozon[1000] = {0}; scanf("%d", &N); for (i = 0; i < N; i++){ scanf("%d %d %d", &a[i], &b[i], &c[i]); } for (i = 0; i < N; i++){ if (a[i] * a[i] == b[i] * b[i] + c[i] * c[i]){ hozon[i] = 1; } else if (b[i] * b[...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203429/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203429/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, i; scanf("%d", &n); for (i = 0; i < n; i++) { int a, b, c; int s; scanf("%d %d %d", &a, &b, &c); a *= a; b *= b; c *= c; s = a + b + c; if (s == 2 * a || s == 2 * b || s == 2 * c) { printf("YES\n"); } else { printf("...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203472/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203472/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a,b,c,n,i; scanf("%d",&n); for(i=0;i<n;i++){ scanf("%d %d %d",&a,&b,&c); if(a*a+b*b==c*c||a*a+c*c==b*b||b*b+c*c==a*a) printf("YES\n"); else printf("NO\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203515/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203515/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> // printf(), scanf() #define swap(a, b) { int t; t = a; a = b; b = t; } int main(int argc, char** argv) { int a, b, c; int n, i; scanf("%d", &n); for (i = 0; i < n; ++i) { scanf("%d %d %d", &a, &b, &c); if (a > c) swap(a, c); if (b > c) swap(b, c); if (a * a + b * b ==...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203559/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203559/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int n, i; scanf("%d", &n); for (i=0; i<n; i++){ int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a*a + b*b == c*c || b*b + c*c == a*a || c*c + a*a == b*b) puts("YES"); else puts("NO"); } retu...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203601/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203601/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { unsigned int i; int data_set; int a[3]; scanf("%d",&data_set); for(i=0;i<data_set;i++) { scanf("%d%d%d",&a[0],&a[1],&a[2]); if(a[0]*a[0] == a[1]*a[1] + a[2]*a[2]) { printf("YES\n"); } else...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203645/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203645/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 int IsRightTriangle( int a, int b,int c); int main( void ) { int i,cnt,a,b,c; scanf("%d",&cnt); for(i=0;i<cnt;i++){ scanf("%d %d %d",&a,&b,&c); if( 1 == IsRightTriangle(a,b,c) ){ printf("YES\n"); }else{ printf("NO\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203696/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203696/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b,c,i; scanf("%d",&N); for(i=0;i<N;i++){ scanf("%d %d %d",&a,&b,&c); if(a*a+b*b==c*c || b*b+c*c==a*a || c*c+a*a==b*b){ printf("YES\n"); } else{ printf("NO\n"); } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203746/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203746/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b,c,i; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d %d %d",&a,&b,&c); if((a*a+b*b==c*c)||(a*a+c*c==b*b)||(b*b+c*c==a*a)){ printf("YES\n"); } else{ printf("NO\n"); } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203810/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203810/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 returnMax(int a,int b,int c); int main(void){ int datanum; scanf("%d",&datanum); int num[3]; int i,j; int temp; while(datanum !=0){ scanf("%d %d %d",&num[0],&num[1],&num[2]); for(i=0;i<3;i++){ for(j=i;j<3;j++){ if(num[i] < num[j]){ temp = num[i]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203869/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203869/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b,c,i,j; int a1[1000]; int b1[1000]; int c1[1000]; scanf("%d",&N); for(i=0;i<N;i++) { scanf("%d %d %d",&a,&b,&c); a1[i]=a;b1[i]=b;c1[i]=c; } for(i=0;i<N;i++) { if((a1[i]*a1[i])+(b1[i]*b1[i])==(c1[i]*c1[i])) { printf("YES"); } else if((b1[i]*b1[i])+(c1[i]*c...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203919/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203919/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int i,j,n,side[3]; scanf("%d",&n); while(n) { scanf("%d %d %d",&side[0],&side[1],&side[2]); for(i=0;i<3;i++) { for(j=i+1;j<3;j++) { if(side[i]<side[j]) { int tmp=side[i]; side[i]=side[j]; side[j]=tmp; } } } if(side[0]*4==side[1]*5&&side[0]*3=...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_203962/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_203962/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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; int b; int c; int d; int i; scanf("%d", &d); for(i = 0; i < d; i++){ scanf("%d", &a); scanf("%d", &b); scanf("%d", &c); if(a * a == b * b + c * c){ printf("YES\n"); }else if(b * b == a * a + c * c){ printf("YES\n"); }else if(c * c == a * a + b * b){ prin...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204019/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204019/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 isRight(int x,int y,int z){ if(x*x==(y*y+z*z))return -1; return 0; } int main(){ int a,b,c,d,e; scanf("%d",&a); for(b=1;b<=a;b++){ scanf("%d %d %d",&c,&d,&e); if(isRight(c,d,e) || isRight(d,c,e) || isRight(e,c,d)) printf("YES\n"); else printf("NO\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204062/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204062/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 isTriangle(int a, int b, int c) { if (a * a + b * b == c * c || b * b + c * c == a * a || c * c + a * a == b * b) return 1; else return 0; } int main(void) { int n, a, b, c; scanf("%d", &n); while (n) { scanf("%d %d %d", &a, &b, &c); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204112/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204112/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, a, b, c, aa, bb, cc; scanf("%d", &n); for(i=0;i<n;i++) { scanf("%d %d %d", &a, &b, &c); aa = a * a; bb = b * b; cc = c * c; if(aa+bb-cc==0 || bb+cc-aa==0 || cc+aa-bb==0) { printf("YES\n"); } else { printf("NO\n"); } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204156/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204156/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b,c,i; scanf("%d",&n); for(i=0;i<n;i++){ scanf("%d %d %d",&a,&b,&c); if(a*a==b*b+c*c){ printf("YES\n"); } else if(b*b==a*a+c*c){ printf("YES\n"); } else if(c*c==a*a+b*b){ printf("YES\n"); } else{ printf("NO\n"); } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204206/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204206/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 per(i,n) for((i)=(n)-1;(i)>=0;(i)...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204257/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204257/source.c" target datalayout = "e-m:e-p270: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> double bmidist(double h, double w); int main() { int i,n,id,h,w,bestid; double d; while(1){ scanf("%d",&n); if(n==0) break; double best=100; for(i=0;i<n;i++){ scanf("%d %d %d",&id,&h,&w); d = bmidist(h,w); if(best > d){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204350/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204350/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <string.h> #define MOD (1000000007) int main(void) { char s[100001]; scanf("%s", &s); int len = strlen(s); unsigned long long dp[len][13]; if (s[len-1] == '?') { for (int i = 0; i < 13; i++) { dp[len-1][i] = i < 10; } } else { for...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204394/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204394/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <ctype.h> #define max(a, b) (((a) > (b)) ? (a) : (b)) /* 2個の値の最大値 */ #define min(a, b) (((a) < (b)) ? (a) : (b)) /* 2個の値の最小値 */ #define ENTER printf("\n") /* 改行プリント */ /****************************************************************************...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204437/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204437/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEBUG = dso_local local_un...
/* ex4_1 riverstone*/ #include<stdio.h> #include<math.h> //math.h を include する。 int main(void){ //りんごの個数と監視の幅を入力 double apple,range; scanf("%lf %lf",&apple,&range); //1人の監視員は(監視の幅)×2+1のりんごを監視できるので、りんごの数をそれで割ったあと切り上げる int num_watchmen = ceil(apple / (range*2 + 1)); printf("%d",num_wa...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204488/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204488/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
/* ex4_1 terakura */ #include <stdio.h> #include <math.h> int main(void){ double trees, distance; scanf("%lf %lf", &trees, &distance); int range = distance * 2 + 1; //1人で監視できる範囲 int min = ceil(trees / range); //最小の人数 printf("%d\n", min); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204530/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204530/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,d; scanf("%d%d",&n,&d); printf("%d\n",(n+2*d)/(2*d+1)); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204581/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204581/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ret, N, D; int num, range; ret = scanf("%d %d", &N, &D); range = D*2+1; num = N / range; if ( N%range != 0 ) num++; printf("%d\n", num); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204624/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204624/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, D; scanf("%d %d",&N,&D); int ans = (N/(2*D+1)); if((N%(2*D+1))!=0) ans++; printf("%d\n", ans); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204668/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204668/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, D, a; scanf("%d%d", &N, &D); a = (N + D * 2) / (D * 2 + 1); printf("%d\n", a); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204710/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204710/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
/* submission # - User: herp_sy https://atcoder.jp/contests/ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <stdbool.h> #define _CRT_SECURE_NO_WARNINGS #define TLong long long #define TBMod 1000000007 int main(int argc, char const *argv[]) { int n,d; scanf("%d%d",&n,&d);...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204754/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204754/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,sum,avg; scanf("%d %d",&n,&d); sum = n / (d * 2 + 1); avg = n % (d * 2 + 1); if(avg > 0) { sum++; } printf("%d",sum); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204798/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204798/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,D,x,i,j; scanf("%d",&N); scanf("%d",&D); if(N%(2*D+1) != 0) x = N / (2*D+1) + 1; else x = N / (2*D+1); printf("%d",x); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204840/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204840/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, a, c = 0; scanf("%d %d", &n, &a); while(n > 2 * a * c + c){ c++; } printf("%d\n", c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204884/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204884/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(int argc, char const *argv[]) { int N, D,A; scanf("%d %d\n",&N,&D ); if(N%(2*D+1)==0){ printf("%d\n",N/(2*D+1)); }else{ printf("%d\n",N/(2*D+1)+1 ); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204927/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204927/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,A,x; scanf("%d %d",&N,&A); x=(N%500); if(x==0) { printf("Yes"); } else if(x<=A) { printf("Yes"); } else { printf("No"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_204970/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_204970/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a; scanf("%d%d",&n,&a); int i=n/500; if(n-500*i<=a){ printf("Yes"); }else{ printf("No"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205012/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205012/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,n; scanf("%d",&n); scanf("%d",&a); if((n%500)<=a) printf("Yes"); else printf("No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205056/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205056/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int i,j; int n; while(~scanf("%d",&n)){ if(1==n || 2==n){ printf("-1\n"); continue; } printf("%d %d",n,n+1); for(i=2;i<n;i++) printf(" 1"); printf("\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_2051/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_2051/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr co...
#include <stdio.h> int main(void) { int x,y,z,a,b,c,n; scanf("%d %d",&n,&a); x = n%500; if (x-a<=0) printf("Yes"); else printf("No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205157/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205157/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[n]; int i; float sum = 0; for(i = 0;i<n;i++){ float temp = 100.00; scanf("%d",&a[i]); sum += (a[i]/temp); } printf("%.12f\n",sum*100.0/n); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_20520/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_20520/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include<stdio.h> int main(){ int A, N; scanf("%d",&N); scanf("%d",&A); if((N%500)<=A){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205258/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205258/source.c" target datalayout = "e-m:e-p270:32:32-p271:32: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 #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){if(a<b){return a...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205308/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205308/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> #define FOR(n) for(int i = 0;i < n;i++) #define PRN(n) printf("%d\n",n) #define PRS(s) printf("%s",s) #define PRC(s) printf("%c",s) int main(void){ int n,cnt=0,a=0; scanf("%d",&n); char s[n+1]; scanf("%s",s); FOR(strlen(s)){ if(!cnt&&s[i]==')'){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205351/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205351/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <ctype.h> #include <math.h> #define MOD 1000000007 #define ll long long #define MAX 10001 int cmpfunc(const void *a, const void *b){ return (*(int*)a - *(int*)b); } int main(void){ int n,i,j; scanf("%d",&n); char s1[n]; scanf("%s"...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205395/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205395/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b,c; // スペース区切りの整数の入力 scanf("%d %d %d",&a,&b,&c); // 出力 if(a==b&&b==c){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205438/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205438/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b,c; while(~scanf("%d %d %d",&a,&b,&c)) { if(a==b&&b==c) { printf("Yes\n"); } else { printf("No\n"); } } }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205481/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205481/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main (void) { int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a==b && b==c) printf("Yes"); else printf("No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_205524/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_205524/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...