Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
#include <stdio.h> int main(void) { int R; double answer = 0; scanf("%d", &R); answer = 2*R*3.14159265359; printf("%lf", answer); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339891/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339891/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){ double R; scanf("%lf",&R); printf("%f\n",2*R*3.14); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339934/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339934/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <stdbool.h> int main(void) { int R; scanf("%d", &R); printf("%.2f\n", R * 2 * 3.14); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339978/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339978/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<stdlib.h> typedef struct node{ int key; int priority; struct node *left; struct node *right; }node; node * Delete(node **,int); node * _delete(node **,int); int find(node *t,int x){ while(t!=NULL){ if(t->key == x) return 1; else if(t->key > x) t=t->left; else t=t->right; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340019/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340019/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.node = type { i32, ...
#include <stdio.h> int main() { int i, n, k; scanf("%d%d", &n, &k); for (i = 1; i <= n; ++i) { if (k) { printf("%d %d", 2 * i, 2 * i - 1); --k; } else { printf("%d %d", 2 * i - 1, 2 * i); } if (i == n) putchar('\n'); el...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34007/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34007/source.c" target datalayout = "e-m:e-p270:32:32-p271: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<math.h> #define _USE_MATH_DEFINES #define PI 3.14159265358979323 int main(){ int a,b,angle; double s,l,h; scanf("%d %d %d",&a,&b,&angle); h=b*sin(angle*M_PI/180.0); s=a*h/2; l=a+b+sqrt((a*a+b*b-2*a*b*cos(angle*M_PI/180.0))); printf("%f\n", s); printf("%f\n", l); pri...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340112/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340112/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<math.h> #define PI 3.14159265358979 int main() { double a,b,c; double s,l,h; scanf("%lf %lf %lf",&a,&b,&c); h = b*sin(c*PI / 180.0); s = 0.50*a*h; l = a + b +sqrt(a*a+b*b-(2*a*b*cos(c*PI / 180.0))); printf("%lf %lf %lf\n",s,l,h); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340156/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340156/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, min = 100000, num[3]; int i; scanf("%d", &n); for (i = 0; i < n; i++){ scanf("%d", &num[i]); if (min > num[i]){ min = num[i]; } } for (i = 1; i <= min; i++){ if (n == 2 && num[0] % i == 0 && num[1] % i == 0){ printf("%d\n", i); } if (n == 3 && nu...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340206/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340206/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ long long int n,m,c; scanf("%lld %lld",&n,&m); if((n-2)*(m-2) < 0){ printf("%lld", (2-n)*(m-2)); }else{ printf("%lld", (n-2)*(m-2)); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340257/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340257/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int n,m,i,j,a[51][51],k=1; scanf("%d %d",&n,&m); if(n==1&&m==1) printf("1\n"); else{ for(i=1;i<=n;i++) { for(j=1;j<=m;j++) { scanf("%d",&a[i][j]); if((a[i][j]==1)&&(i==1||i==n||j==1||j==m)) k=0; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34030/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34030/source.c" target datalayout = "e-m:e-p270:32:32-p271: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() { long long a, b; scanf("%lld%lld", &a, &b); if (a == 1&&b==1) { printf("1"); } else if (a == 1 || b == 1) { printf("%lld", a*b - 2); } else { printf("%lld", (a - 2)*(b - 2)); } }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340343/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340343/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<string.h> int main(void){ int i; char s[100001]; scanf("%s",s); for(i=0;i<strlen(s);i++){ if(s[i]==s[i+1]){ printf("%d %d\n",i+1,i+2); return 0; } } for(i=0;i<strlen(s);i++){ if(s[i]==s[i+2]){ printf("%d %d\n",i+1,i+3); return 0; } } pr...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340387/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340387/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(void){ const double k = M_PI / 180; while(1){ double a, b, c, d; scanf("%lf %lf %lf %lf", &a, &b, &c, &d); if(d==-1) break; a*=k; b*=k; c*=k; d*=k; double t = ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340437/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340437/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r; scanf("%d %d %d %d %d", &W, &H, &x, &y, &r); if((x - r) >=0 && (x + r) <= W && (y - r) >= 0 && (y + r) <= H){ printf("Yes\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340480/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340480/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(x>=r&&x<=W-r){ if(y>=r&&y<=H-r){ printf("Yes\n"); }else{ printf("No\n"); } }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340523/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340523/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 w,h,x,y,r; scanf("%d %d %d %d %d",&w,&h,&x,&y,&r); if((0<=(x-r))&&((x+r)<=w)&&(0<=(y-r))&&((y+r)<=h)) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340574/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340574/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
/* * CircleinaRectangle.c * * Created on: 2015/02/12 */ #include <stdio.h> int main(void){ int W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(0 > y - r) printf("No\n"); else if(H < y + r) printf("No\n"); else if(0 > x - r) printf("No\n"); else if(W < x + r) printf("No\n"); else printf("Yes\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340617/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340617/source.c" target datalayout = "e-m:e-p270:32:32-p271:32: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 dbg(fmt,...) fprintf(stderr,fmt,__VA_ARGS__) #define dpri(x) dbg(#x ": %d\n", x) #define dprs(x) dbg(#x ": %s\n", x) #include <stdio.h> const int INF = 1e9+7; int main(int argc, char **argv) { int W, H, x, y, r; scanf("%d %d %d %d %d", &W, &H, &x, &y, &r); if (r <= x && x <= W - r && r <= y && y <= H - r) p...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340660/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340660/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INF = dso_local local_unna...
#include <stdio.h> int main(void){ int W,H; int x,y,r; scanf ("%d%d%d%d%d",&W,&H,&x,&y,&r); if(0<=x-r && 0<=y-r && x+r<=W && y+r<=H){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340703/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340703/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x ,y, r; scanf("%d %d %d %d %d", &W, &H, &x, &y ,&r); if (x - r < 0) { printf("No\n"); return 0; } if (W < x + r) { printf("No\n"); return 0; } if (y - r < 0) { printf("No\n"); return 0; } if (H < y + r) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340754/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340754/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d ",&W,&H,&x,&y,&r); if(x-r >= 0 && x+r <= W && y-r >= 0 && y+r <= H){printf("Yes\n");} else {printf("No\n");} return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340798/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340798/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d", &W); scanf("%d", &H); scanf("%d", &x); scanf("%d", &y); scanf("%d", &r); if((H-y)>=r&&(W-x)>=r&&x>=r&&y>=r){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340840/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340840/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r; scanf("%d", &W); scanf("%d", &H); scanf("%d", &x); scanf("%d", &y); scanf("%d", &r); if(x >= 0 && y >= 0){ if( x < W && y < H && x >= r && y >= r){ printf("Yes\n"); } else { printf("No\n"); } } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340884/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340884/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if((x-r)<0||(x+r)>W||(y-r)<0||(y+r)>H){ printf("No\n"); } else{ printf("Yes\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340927/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340927/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(x+r<=W && y+r<=H && x-r>=0 && y-r>=0) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340978/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340978/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int n,m,i,j=0; scanf("%d%d",&n,&m); int p=n-m; if(n==m) { printf("-1\n"); return 0; } for(i=2;i<=p;i++) printf("%d ",i); printf("1 "); for(i=p+1;i<=n;i++) printf("%d ",i); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34102/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34102/source.c" target datalayout = "e-m:e-p270:32:32-p271: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 W,H,x,y,r; scanf( "%d %d %d %d %d", &W, &H, &x, &y, &r ); if( x + r <= W && y + r <= H && x - r >= 0 && y - r >= 0 ) { printf( "Yes\n" ); } else { printf( "No\n" ); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341063/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341063/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r; scanf("%d%d%d%d%d", &W, &H, &x, &y, &r); if (r <= x&&x <= H - r&&r <= y&&y <= H - r) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341106/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341106/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,j; scanf("%d %d",&n,&k); for(i=0;i<n;i++) { for(j=0;j<n;j++) { if(i==j) printf("%d ",k); else printf("0 "); } printf("\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34115/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34115/source.c" target datalayout = "e-m:e-p270:32:32-p271: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 W,H,x,y,r,Error=0; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(x+r <= W){ if(y+r <= H){ if(x-r >= 0){ if(y-r >= 0){ printf("Yes\n"); } else{ Error = 1; } } else{ Error = 1; } } else{ Error = 1; } } else{ Error = 1; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341193/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341193/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(W>=x+r&&x-r>=0&&H>=y+r&&y-r>=0){ printf("Yes\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341243/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341243/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 comp(a,b) a<b ? 1:0 int main(void){ int w, h, x, y, r; //input scanf("%d %d %d %d %d",&w, &h, &x, &y, &r); if( w>0 && h>0 && r>0 ){ if( r<=x && x<=(w-r) ){ if( r<=y && y<=(h-r) ){ printf("Yes\n"); } else{ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341300/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341300/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if((x-r)>=0 && (x+r)<=W){ if((y-r)>=0 && (y+r)<=H){ printf("Yes\n"); return 0; } } printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341344/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341344/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W; int H; int x; int y; int r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if((x+r<=W)&&(y+r<=H)&&(x-r>=0)&&(y-r>=0)&&(x>0)&&(y>0)){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341395/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341395/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#define _CRT_SECURE_NO_WARNINGS #include <string.h> #include <stdio.h> int main(void) { int a, b, c, d, e; scanf("%d %d %d %d %d", &a, &b, &c, &d, &e); if (c < e || d < e || a - c < e || b - d < e) printf("No\n"); else printf("Yes\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341438/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341438/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(x+r<=W && y+r<=H && x-r>=0 && y-r>=0){ printf("Yes\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341496/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341496/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 = 0; int W,H,x,y,r = 0; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if (0 <= x - r && x + r <= W){ if (0 <= y - r && y + r <= H){ a = 1; } } else { a = 0; } if (a == 1){ printf("Yes\n"); } else if (a == 0){ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341546/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341546/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(0<=(x-r)&&(x+r)<=W){ if(0<=(y-r)&&(y+r)<=H){ printf("Yes\n"); }else{ printf("No\n"); } }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341597/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341597/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if((x-r)>=0&&W>=(x+r)&&(y-r)>=0&&H>=(y+r)){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341647/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341647/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d",&W); scanf("%d",&H); scanf("%d",&x); scanf("%d",&y); scanf("%d",&r); if(0 <= x-r && x+r <= W && 0 <= y-r && y+r <= H){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341690/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341690/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r, f=0; scanf("%d%d%d%d%d", &W,&H,&x,&y,&r); if(x-r<0 || W<x+r) f=1; if(y-r<0 || H<y+r) f=1; puts(f?"No":"Yes"); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341733/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341733/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H; int x, y, r; scanf("%d%d%d%d%d", &W, &H, &x, &y, &r); W -= r, H -= r; if (r <= x && x <= W && r <= y && y <= H) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341777/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341777/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int n; scanf("%d",&n); int i,a[n],count=0; for(i=0;i<n;i++) { scanf("%d",&a[i]);} if(n==1) { if(a[n-1]==1) { printf("YES\n");} else { printf("NO\n");} } else { for(i=0;i<n;i++) { if(a[i]==0) { count++; if(count==2){ break;} } } if(count==1) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34182/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34182/source.c" target datalayout = "e-m:e-p270:32:32-p271: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 w,h,x,y,r; scanf("%d%d%d%d%d",&w,&h,&x,&y,&r); if(x>=r&&y>=r&&x<=w-r&&y<=h-r) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341863/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341863/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(x+r<=W && x-r>=0 && y+r<=H && y-r>=0) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341906/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341906/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r; scanf("%d %d %d %d %d", &W, &H, &x, &y, &r); if((x + r <= W) && (x >= r) && (y + r <= H) && (y >= r)){ printf("Yes\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341993/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341993/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if(x-r>=0 && x+r<=W && y-r>=0 && y+r<=H) puts("Yes"); else puts("No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342035/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342035/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 iWide; int iHight; int iCoordX; int iCoordY; int iRadius; //変数の初期化 iWide = 0; iHight = 0; iCoordX = 0; iCoordY = 0; iRadius = 0; scanf ("%d %d %d %d %d",&iWide, & iHight, &iCoordX, &iCoord...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342079/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342079/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> void Judge(int F_W, int F_H, int F_x, int F_y, int F_r) { if( (F_x+F_r<=F_W) && (F_x-F_r>=0) && (F_y+F_r<=F_H) && (F_y-F_r>=0) ){ printf("Yes\n"); } else{ printf("No\n"); } } int main() { int W, H, x, y, r; scanf("%d", &W); scanf("%d", &H); scanf("...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342121/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342121/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str.2 = private unnamed_a...
#include <stdio.h> void check(int w, int h, int x, int y, int r) { if (x - r >= 0 && x + r <= w && y - r >= 0 && y + r <= h) printf("Yes\n"); else printf("No\n"); return; } int main(void) { int w, h, x, y, r; scanf("%d%d%d%d%d", &w, &h, &x, &y, &r); check(w, h, x, y, r); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342165/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342165/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str.2 = private unnamed_a...
#include<stdio.h> int main(void) { int W,H,x,y,r,f; // printf("W H x y r="); scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); f = 0; if(x - r < 0 || x + r > W) f = 1; if(y - r < 0 || y + r > H) f = 1; if(f == 0) printf("Yes\n"); else printf("No\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342208/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342208/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r; scanf("%d %d %d %d %d", &W, &H, &x, &y, &r); if(x >= r && x <= W-r && y >= r && y <= H-r ) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342251/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342251/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H,x,y,r; scanf("%d%d%d%d%d",&W,&H,&x,&y,&r); if(x<0||x>W||y<0||y>H||x-r<0||x+r>W||y-r<0||y+r>H) printf("No\n"); else printf("Yes\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342301/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342301/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d%d%d%d%d",&W,&H,&x,&y,&r); if((x+r)<=W && (x-r)>=0 && (y+r)<=H && (y-r)>=0){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342345/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342345/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H; int x,y,r; scanf("%d%d%d%d%d",&W,&H,&x,&y,&r); if(x>=r && (W-x)>=r && y>=r && (H-y)>=r) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342389/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342389/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d %d %d %d %d",&W,&H,&x,&y,&r); if((x<r)||(x>H-r))printf("No\n"); else if((y<r)||(H-r<y))printf("No\n"); else printf("Yes\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342439/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342439/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) { /* 長方形の座標は左下を(0,0)、右上を(w,h) 円の中心座標は(x,y)、半径をr */ int w, h, x, y, r; //scanf関数でデータを取得 scanf("%d %d %d %d %d",&w, &h, &x, &y, &r); /* x + rは右の最大の座標、x - rは左の最大の座標 y + rは上の最大の座標、y - rは下の最大の座標 */ if((x + r <= w && x - r >= 0) && (y + r <= h && y - r >= 0)){ printf("Yes\n"...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342482/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342482/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r; scanf("%d%d%d%d%d",&W,&H,&x,&y,&r); if (x-r<0 || x+r>W || y-r<0 || y+r>H){ printf("No\n"); }else{ printf("Yes\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342532/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342532/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int a,b,i; char moji[10000]={0}; while(scanf("%s",moji)!=EOF){ a=0,b=0,i=0; while(moji[i+1]!='\0'){ if(moji[i]=='J' && moji[i+1]=='O' && moji[i+2]=='I')a++; else if(moji[i]=='I' && moji[i+1]=='O' && moji[i+2]=='I')b++; i++; } printf("%d\n%d\n",a,b); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342576/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342576/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 c; int a=0,b=0,d=0,f=0; while(scanf("%c",&c)!=EOF){ if(c=='\n'){ printf("%d\n%d\n",a,b); a=0; b=0; d=0; f=0; } else{ if(c=='J'){ if(d==0){ d++; } else d=1; f=0; } else if(c=='O'){ if(d==1){ d++; } else d=0; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342619/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342619/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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* string; char str[10001]; int i; int numOfJOI; int numOfIOI; string = str; while( scanf( "%s", string ) != EOF ) { numOfJOI = 0; numOfIOI = 0; while( string[0] != '\0' ) { if( strncmp( string, "JOI", 3 ) == 0 ) { numOfJOI++; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342684/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342684/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 L; int a[100001]; int main(){ int i,j; int flag=0; scanf("%d %d",&N,&L); for(i=1;i<=N;i++)scanf("%d",&a[i]); for(i=1;i<N;i++){ if(a[i]+a[i+1]>=L)flag=1; } if(flag==0){ printf("Impossible\n"); return 0; } printf("Possible\n"); i=1; while(i<N){ if(a[i]+a...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342727/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342727/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 N 100000 int compare(const void *a, const void *b) { int ia = *(int *) a; int ib = *(int *) b; return ia - ib; } long long gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); } int main() { static int xx[N]; int n, x, i, ans; scanf("%d%d", &n, &x); for (i ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342778/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342778/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.xx = internal global ...
#include<stdio.h> #include<math.h> #include<stdlib.h> #include<string.h> int cmp(const void *a,const void *b) { return *(long int*)a - *(long int*)b; } //差の最大公約数を求める int main() { long int N,i,j,count; long int X,x[100001],dif[100000],difmin=1000000000,gcd; scanf("%ld %ld",&N,&X); for(i=0;i<N;i++){ scanf...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342828/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342828/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <math.h> #include <stdlib.h> int compare_int(const void *a, const void *b){return *(int*)a - *(int*)b;} int main(void){ int N,X,i; scanf("%d%d",&N,&X); int x[N+1]; for(i=0;i<N;i++)scanf("%d",&x[i]); x[N] = X; qsort(x, N+1, sizeof(int), compare_int); int def[N]; for(i=0;i<N;i++)def[...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342871/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342871/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, a, sum=0, x=0; for(i=0; i<4; i++){ scanf(" %d", &a); sum+=a; } while(sum>=60){ sum-=60; x++; } printf("%d\n%d\n", x, sum); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342921/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342921/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,sum,m,s; scanf("%d\n%d\n%d\n%d\n",&a,&b,&c,&d); sum = a+b+c+d; m = sum/60; s = sum%60; printf("%d\n%d\n",m,s); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342965/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342965/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,s,i; s=0; for(i=0;i<4;i++){ scanf("%d",&a); s=s+a; } printf("%d\n%d\n",s / 60,s % 60); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343014/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343014/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 sum_sec = 0; int i, sec; for (i = 0; i < 4; i++){ scanf("%d", &sec); sum_sec += sec; } printf("%d\n", sum_sec / 60); sum_sec %= 60; printf("%d\n", sum_sec); return (0); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343094/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343094/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 nyuu[4]; int ans[2]; int ta; int i; scanf("%d",&nyuu[0]); scanf("%d",&nyuu[1]); scanf("%d",&nyuu[2]); scanf("%d",&nyuu[3]); ta=nyuu[0]+nyuu[1]+nyuu[2]+nyuu[3]; ans[0]=ta/60; ans[1]=ta%60; printf("%d\n",ans[0]); printf("%d\n",ans[1]); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343137/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343137/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 array[128] = {0}; int i; int count = 0; while(scanf("%d",&i) != EOF){ array[i]++; if(array[i] > count) count = array[i]; } for(i=0;i<101;i++){ if(array[i] == count) printf("%d\n",i); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343180/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343180/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,s[102],x,i; for(i=1;i<101;i++){ s[i]=0; } while((scanf("%d",&a))!=EOF){ s[a]++; } x=-1; for(i=1;i<101;i++){ if(x<s[i]){ x=s[i]; } } for(i=1;i<101;i++){ if(x==s[i]){ printf("%d\n",i); } } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343223/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343223/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[105],i,x=0; for(i=1;i<=100;i++)a[i]=0; while(scanf("%d",&n)!=EOF){ a[n]++; if(a[n]>x)x=a[n]; } for(i=0;i<100;i++)if(a[i]==x)printf("%d\n",i); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343267/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343267/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,c[100],i,f; for(i=0;i<100;i++)c[i]=0; f=0; while(scanf("%d",&n)!=EOF){ c[n-1]++; if(f<c[n-1])f=c[n-1]; } for(i=0;i<100;i++){ if(c[i]==f)printf("%d\n",i+1); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343331/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343331/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int x[101]={0}; int y[101]={0}; int i=0,max; while(scanf("%d",&x[i])!=EOF) { y[x[i]] ++; i ++; } max = y[0]; for(i=1; i<101; i++){ if(max < y[i]) max = y[i]; } //maxは、数字のカウントの最大。つまり、何回カウントしたか。 for(i=0; i<101; i++){ if(max == y[i]) //カウント数が等しかったら、 { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343382/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343382/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,j; int count[101] = {0}; int max; int mc[100] = {0}; /*配列に1~100を格納*/ while (scanf("%d", &n) != EOF) { count[n] += 1; //printf("<%d>\n", count[n]); } /*最大値を探す*/ max = 0; for (i = 0; i < 100; i++){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343425/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343425/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,i,s=0,t=0; scanf("%d %d %d",&n,&m,&x); for(i=0;i<m;i++){ int b; scanf("%d",&b); if(b<x){s++;} else{t++;} } printf("%d",s<t?s:t); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343469/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343469/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> typedef long long int ll; void swap(ll *x,ll *y){ll temp;temp=*x;*x=*y;*y=temp;} ll asc(const void *a,const void *b){return *(ll*)a-*(ll*)b;} ll desc(const void *a,const void *b){return *(ll*)b-*(ll*)a;} ll max(ll x,ll y){return x>y?x:y;} ll min(l...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343511/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343511/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[10000],x=0,e=0,i; scanf("%d %d %d",&a,&b,&c); for(i=0;i<b;i++){ scanf("%d",&d[i]); } for(i=0;i<b;i++){ if(d[i]>c){ x++; } } for(i=0;i<b;i++){ if(d[i]<c){ e++; } } if(x>e){ x=e; } printf("%d\n",x); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343555/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343555/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a = 0; int b = 0; int c; int n, m, x; scanf("%d%d%d", &n, &m, &x); for (i = 0; i < m; i++){ scanf("%d", &c); if (x < c){ b++; }else{ a++; } } if (a < b){ printf("%d", a); }else{ printf("%d", b); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343605/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343605/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, M, X; int *A; int lcost = 0, rcost = 0; scanf("%d %d %d", &N, &M, &X); A = (int*)calloc(N+1, sizeof(int)); for (int i = 0; i < M; i++) { int t; scanf("%d", &t); A[t] = 1; } for (int i = 0; i < X; i++) { lcost += A[i]; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343649/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343649/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> int main() { int n; scanf("%d",&n); int a[n],i,b[101]; memset(b,0,101*sizeof(int)); for(i=0;i<n;i++) { scanf("%d",&a[i]); b[a[i]]++; } int ans=0,j; for(i=1;i<101;i++) { if(b[i]>=1...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_3437/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_3437/source.c" target datalayout = "e-m:e-p270:32:32-p271: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 N, count = 0, temp; scanf("%d", &N); int a[N+2], b[N+2]; for(int i=1; i<=N; i++){ scanf("%d", &a[i]); b[i] = 0; } for(int i=N; i>=1; i--){ temp = 0; for(int j=1; j*i<=N; j++){ if(b[i*j]==1) temp++; } if((a[i] == 1 && temp%2 == 0)||(a[i] ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343742/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343742/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){ if(b==c){ printf("1\n"); }else{ printf("2\n"); } }else{ if(a==c||b==c){ printf("2\n"); }else{ printf("3\n"); } } retur...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343786/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343786/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> void deer(int a, int b, int c) { int ans = 1; if (a != b) ans++; if (c != a && c != b) ans++; printf("%d\n", ans); } int main(void) { int a, b, c; scanf("%d", &a); scanf("%d", &b); scanf("%d", &c); deer(a, b, c); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343836/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343836/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> #include <time.h> #define _CRT_SECURE_NO_WARNINGS #define TLong long long int main(int argc, char const *argv[]){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a == b && b == c) printf("1\n"); else if(a == b || a == c || b == c) printf("2\n...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343922/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343922/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) puts("1"); else puts((a-b)*(b-c)*(c-a)?"3":"2"); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_343973/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_343973/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b,c,i,count=0,j; int arr[3]; scanf("%d%d%d",&a,&b,&c); arr[0]=a; arr[1]=b; arr[2]=c; for(i=0;i<3;i++) for(j=i+1;j<3;j++) if(arr[i]!=arr[j]) count++; if(count==0) count=1; printf("%d",count); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344015/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344015/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <malloc.h> int main() { #ifdef LOCAL freopen("input.txt","r", stdin); freopen("output.txt","w",stdout); #endif // LOCAL int n=0,can[105],num,i; while(~scanf("%d",&num)) { if(n==0) can[n++]=num; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344066/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344066/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> #include <time.h> typedef long long llint; typedef long double ldouble; // 小大 int compare(const void *a, const void *b){return *(llint *)a - *(llint *)b;} typedef struct{ llint aa; llint bb; }frequent; // 小大 int cmp( const void *p, cons...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344109/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344109/source.c" target datalayout = "e-m:e-p270: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.UF = type { i64, i6...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> void position(); int trait(int G,int T); char s[102]; int n,k,G,T; int main(int argc, char const *argv[]) { scanf("%d %d %s",&n,&k,s); position(); (trait(G,T))?printf("YES"):printf("NO"); return 0; } void position() { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34416/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34416/source.c" target datalayout = "e-m:e-p270:32:32-p271: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> #include <string.h> #include <math.h> #include <ctype.h> #include <limits.h> #define inf (INT_MAX-1) #define INF 9223372036854775807 #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 sort(a,n) qsort(a,n,sizeof(TYPE),cmp) #defin...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344217/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344217/source.c" target datalayout = "e-m:e-p270: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> #include <stdlib.h> int cmpint(const void *a, const void *b) { return *(int *)a - *(int *)b; } int main() { int a[3]; scanf("%d%d%d", &a[0], &a[1], &a[2]); qsort(a, 3, sizeof(int), cmpint); if ((a[0] + a[1] + a[2]) % 2 == (3 * a[2]) % 2) { printf("%d\n", (a[2] - a[0] + a[2] - a[1]) / 2); } els...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344282/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344282/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int a,b,c; int max,ans; scanf("%d%d%d",&a,&b,&c); max=a; max=(max<b)?b:max; max=(max<c)?c:max; ans=max*3-a-b-c; if(ans%2==0) printf("%d\n",ans/2); else printf("%d\n",(ans+1)/2+1); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344325/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344325/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 compare_int(const void *a, const void *b) { return *(int*)a - *(int*)b; } int min_comp(int min, int a) { } int max_comp(int max, int a) { if(max>a) return max; else return a; } int main() { int K; int A,B,C; int A...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344369/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344369/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int h, w, a, b; scanf("%d %d %d %d", &h, &w, &a, &b); for(int i=0; i<h; i++){ for(int j=0; j<w; j++) printf("%d", (i<b)^(j<a)); puts(""); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344411/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344411/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 p[100010]={0}; int d[100010]={0}; int Find(int a,int b){ int r,n; for(r=++a;p[r];r=p[r]); for(;n=p[a];a=n)p[a]=r; for(r=++b;p[r];r=p[r]); for(;n=p[b];b=n)p[b]=r; return a-b?1:0; } void Union(int a,int b){ if(Find(a,b)){ for(++a;p[a];a=p[a]); for(++b;p[b];b=p[b]); d[a]<d[b...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344462/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344462/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @p = dso_local local_unname...
#include<stdio.h> int main() { int a,b,i,j,c; c=0; scanf("%d %d",&a,&b); int k[a],sw[b]; for(i=0;i<b;++i) { sw[i]=0; } for(i=0;i<a;++i) { scanf("%d",&k[i]); int love[k[i]]; for(j=0;j<k[i];++j) { scanf("%d",&love[j]); sw[love[j]-1]++; } } for(i=0;i<b;++i) { if(sw...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344505/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344505/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,k,n=0,m[31]={},j,a,s,rac=0; scanf("%d%d",&n,&s); for(i=0;i<n;i++){ scanf("%d",&a); for(j=0;j<a;j++){ scanf("%d",&k); m[k]++; } } for(i=1;i<s+1;i++){ if(m[i] == n) rac++; } printf("%d\n",rac); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344549/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344549/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, c[30]; scanf("%d%d", &N, &M); for(int i=0; i<30; i++){ c[i] = 0; } for(int i=0; i<N; i++){ int K; scanf("%d", &K); for(int j=0; j<K; j++){ int A; scanf("%d", &A); c[A-1]++; } } int res = 0; for(int i=0; i<M; i++){ if(c[i] == N){ res ++; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_344592/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_344592/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...