Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
/* ABC156_B Stuartyg */ #include <stdio.h> #include <string.h> #include <math.h> #include <stdbool.h> int main(void){ int n,base_num; double ans = 0; scanf("%d %d",&n,&base_num); ans = log(n)/log(base_num); printf("%d",(int)ans+1); /*型キャスト*/ return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193093/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193093/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
/* ex3_2 Graku */ #include <stdio.h> #include <math.h> int main(void) { int n, k; //declaration scanf("%d %d", &n, &k); /* write n in k base, and divide n by k. this operation mean remove ones place. */ int count = 0; //initialized do { count++; } while (n /= k); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193150/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193150/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(){ int n; int r; int cnt = 0; scanf("%d %d", &n, &r); while(n){ cnt++; n /= r; } printf("%d\n", cnt); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193194/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193194/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int n, k; int i; scanf("%d %d", &n, &k); for( i = 0; n > 0; i++ ){ n /= k; } printf("%d\n", i); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193237/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193237/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int N, K, i = 1, count = 0; scanf("%d %d", &N, &K); while (i <= N) { i *= K; count++; } printf("%d", count); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193280/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193280/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) { long long ans=1; long long temp; long long n; int k; scanf("%lld%d", &n, &k); temp = k; while ( temp <= n ) { temp *= k; ans++; } printf("%lld\n", ans); return EXIT_SUCCESS; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193323/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193323/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<stdlib.h> #include<string.h> int main(){ double N,K; scanf("%lf %lf",&N,&K); int cnt=0; if(N < K){ printf("1"); }else{ while(N >= 1){ cnt++; N /= K; } printf("%d",cnt); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193367/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193367/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int i,j,n; scanf("%d",&n); int ans[n]; int count=0; int arr[n][n]; for(i=0;i<n;i++) { ans[i]=1; for(j=0;j<n;j++) { scanf("%d",&arr[i][j]); if(arr[i][j]==1) { ans[i]=0; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19341/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19341/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include<stdio.h> int main(){ int n, k; long long pow = 1; int cnt = 0; scanf("%d %d", &n, &k); while(1){ cnt++; pow *= k; if((long long)n < pow){ break; } } printf("%d", cnt); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193453/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193453/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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<b || a==b) { int x = 1; printf("%d",x); } if(b<=a && a%b>0) { printf("%d",(a/b)+1); } if(a%b == 0 && a!=b) { printf("%d",a/b); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193497/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193497/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { long long int n,m,r,t=0; scanf("%lld %lld",&n,&m); while(n>0) { n = n - m; t++; } printf("%d",t); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193554/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193554/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int h,a,i,count; scanf("%d %d",&h,&a); count=0; while(1){ h=h-a; count+=1; if(h<=0){ break; } } printf("%d",count); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193598/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193598/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void) { int H,A,b; scanf("%d%d",&H,&A); b=H/A; if(H%A!=0)b++; printf("%d",b); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193640/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193640/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int H, A, num; scanf("%d%d", &H, &A); for(num = 0; H > 0; num++) { H -= A; } printf("%d", num); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193684/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193684/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,i; scanf("%d %d",&h,&a); while(1){ h-=a; i++; if(h<=0){ break; } } printf("%d\n",i); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193734/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193734/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,i; scanf("%d %d",&h,&a); for(i=1;h>0;i++) { h=h-a; } printf("%d",i-1); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193778/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193778/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int H,A; scanf("%d%d",&H,&A); int count = 0; while(0 < H){ H = H - A; count += 1; } printf("%d\n",count); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193828/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193828/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int a,b,i,count=0; scanf("%d%d",&a,&b); for(i=0;;i++) { count++; a=a-b; if(a<0 || a==0) { break; } } printf("%d",count); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193871/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193871/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <string.h> int main() { int i, j, k; long long int l = 0; int m, g, n, q; long long int f; int h; int a; scanf("%d %d", &h, &a); m = h / a; if (h%a == 0) { } else { m = m + 1; } printf("%d", m); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193921/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193921/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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; int a; int cnt; scanf("%d %d", &h, &a); cnt = h/a; if(h%a!=0){ cnt++; } printf("%d", cnt); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193965/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193965/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main() { int a,b,i=0; scanf("%d %d",&a,&b); while(a>0) { a=a-b; i++; } printf("%d",i); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194007/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194007/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,m,i,j,l=0; scanf("%d %d",&n,&k); m=((n-1)*(n-2)/2); if(k>m)printf("-1"); else { printf("%d\n",(n-1+m-k)); for(i=1;i<n;i++) { printf("%d %d\n",i,n); } for(i=1;i<n;i++) { for(j=i+1;j<n;j++) { k++; if(l<=(m-k))printf("%d %d\n",i,j); } } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194094/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194094/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> int main(void){ int n,min,max,answer; scanf("%d",&n); int w[n],ans[n-1]; for(int i=0;n>i;++i) scanf("%d",&w[i]); for(int t=1;n>t;++t){ min=0;max=0; for(int i=0;n>i;++i){ if(i<=t) min...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194144/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194144/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,sa1,sa2; int w[101]; int s1=0,s2=0; scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%d",&w[i]); s2+=w[i]; } for(int i=0;i<n;i++){ if(s1<s2){ sa1=s2-s1; s1+=w[i]; s2-=w[i]; }else{ sa2=s1-s2; break; } } printf("%d",(...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194201/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194201/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, w[100]; int i, min = 100, t, s1, s2, add, mint; scanf("%d", &n); for(i=0; i<n; i++) scanf("%d", &w[i]); for(t=0; t<n-1; t++){ s1 = 0; s2 = 0; for(i=0; i<=t; i++){ s1 += w[i]; } for(i=t+1; i<n; i++...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194245/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194245/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,t[100],i,j,k[100],s1[100],s2[100],x; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d",&t[i]); } for(i=0;i<n-1;i++) { s1[i] = 0; s2[i] = 0; for(j=0;j<i+1;j++) { s1[i] += t[j]; } for(j=i+1;j<n;j++) { s2[i] += t[j]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194296/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194296/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,j,k; scanf("%d",&n); int w[n]; for(i=0;i<n;i++){ scanf("%d",&w[i]); } int s1,s2,min; s1=0; s2=0; min=1000000000; for(i=0;i<n;i++){ for(j=0;j<i;j++){ s1+=w[j]; } for(j=i;j<n;j++){ s2+=w[j]; } if(s1>=s2&&min>s1-s2){ mi...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194339/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194339/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <limits.h> #define ABS(a) ((a>0) ? a : (-a)) int main(void) { int N; scanf("%d", &N); int W[100]; for(int i = 0; i < N; i++) { scanf("%d", &W[i]); } int minS = 100000; for(int T = 1; T < N; T++) { int lp = 0; int left = 0; int right = 0; while((lp <= T) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194382/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194382/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 graph_edge_sub graph_edge; typedef struct { int num; int next_num; graph_edge *next; int prev_num; }graph_vertex_sub; struct graph_edge_sub{ graph_vertex_sub *v; graph_edge *next; }; typedef struct graph_v_sub graph_vertex; struct graph_v_sub{ int num; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194425/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194425/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.graph = type { i32,...
#include <stdio.h> #define MAX 11 int main() { unsigned int line[MAX][MAX] = {}; unsigned int number, answer, i, j; while ( scanf( "%d", &number) == 1 ) { if ( number == 0 ) { break; } for ( i = 0 ; i < number ; i++ ) { for ( j = 0 ; j < number ; j++ ) { scanf( "%d", &line[i][j] ); line[i][number...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194483/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194483/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[100][100]; int n; int i, j, k, l; int kami = 0; int kami2[100]; scanf("%d", &n); while (n != 0) { for (i = 0; i < 50; i++) { kami2[i] = 0; kami = 0; } for (j = 0; j < 10; j++) { for (i = 0; i < 10; i++) { a[i][j] = 0; } } for (j = 0; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194526/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194526/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 num,i,j,data[11][11]={0}; while(scanf("%d",&num),num){ for(i=0;i<num;i++){ switch(num){ case 1: scanf("%d",&data[i][0]); break; case 2: scanf("%d %d",&data[i][0],&data[i][1]); break; case 3: scanf("%d %d %d",&data[i][0],&data[i][1]...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194584/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194584/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <string.h> #include <ctype.h> int main(void) { int n; while(1) { int a[11][11] ={}; int i, j; scanf("%d", &n); if(n==0) break; for(i=0; i<n; i++) { for(j=0; j<n; j++) { scanf("%d", &a[i][j]); a[i][n]+=a[i][j]; } a[n][n]+=a[i][n]; } for...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194634/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194634/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #define WHITE 0 #define GRAY 1 #define BLACK 2 int n,G[100][100]; int color[100],d[100],f[100],tt; void DFS_visit(int v){ int i; color[v]=GRAY; d[v]=++tt; for(i=0;i<n;i++){ if(G[v][i]==0)continue; if(color[i]==WHITE){ DFS_visit(i); } } color[v]=BLACK; f[v]=++tt; } vo...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194678/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194678/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @color = dso_local local_un...
#include<stdio.h> #define WHITE 0 #define GRAY 1 #define BLACK 2 #define N 200 int n, time = 0; int color[N], d[N], f[N], A[N][N]; void DFSVisit(int u){ int v; color[u] = GRAY; d[u] = ++time; for(v=1; v <= n; v++){ if((color[v]== WHITE) && (A[u][v] == 1)) DFSVisit(v); } color[u] = BLACK; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194735/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194735/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @time = dso_local local_unn...
#include<stdio.h> void visit(int); int map[101][101]; int f[101],d[101],color[101],time,n; void visit(int u) { int i; color[u]=1; d[u]=++time; for(i=0;i<n;i++){ if(map[u][i]==1){ if(color[i]==0)visit(i); } } color[u]=2; f[u]=++time; } int main() { int i,j,v,v2,m; scanf("%d",&...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194779/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194779/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @color = dso_local local_un...
#include<stdio.h> #define N 100 #define White 0 #define Gray 1 #define Black 2 void dfs_init(void); void dfs(int); int tops(void); void push(int); void pop(void); int next(int); int n, M[N][N]; int color[N],d[N],f[N],co,rem[N]; int S[N*N],top=-1; int main(){ int i,j,u,k,v; for(i = 0; i < N; i++){ for(j = 0; j...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194843/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194843/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @top = dso_local local_unna...
#include<stdio.h> #define MAX 105 #define WHITE 0 #define GRAY 1 #define BLACK 2 void dfs(void); void visit(int); int m[MAX][MAX]; int d[MAX]; int f[MAX]; int color[MAX]; int n; int time; int main(){ int i,j,u,k,ne; scanf("%d",&n); for(i = 1; i <= n; i++){ for(j = 1; j <= n; j++){ m[i][j] ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194887/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194887/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, G[110][110], d[110], f[110], c[110]; int t = 0; void visit(int u){ int i, j, v; c[u] = 1; d[u] = ++t; for(i = 1; i <= n; i++) if(G[u][i] == 1 && c[i] == 0) visit(i); c[u] = 2; f[u] = ++t; } int main(){ int i, j, k, u, v; scanf("%d", &n);...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194973/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194973/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @t = dso_local local_unname...
#include<stdio.h> #define N 100 #define DISCOVERY 0 #define FINISHING 1 int n, k, l, t; int A[N][N]; int B[N][2]; int cnt; int searchYet() { int i; for ( i = 0; i < n; i++) { if(B[i][DISCOVERY] == 0) return i; } return -1; } void dfs(int v) { int i, j; B[v][DISCOVERY] = ++cnt; for...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195015/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195015/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @n = dso_local global i32 0...
#include <stdio.h> #define N 1000 int t,n,d[N],f[N],M[N][N] = {}; char c[N]; void visit(int); void depth(); int main(){ int a,b,c,i,j; scanf("%d", &n); for (i=1;i<=n;i++) { scanf("%d%d",&a,&b); for (j=1;j<=b;j++) { scanf("%d",&c); M[a][c] = 1; } } depth(); for (i=1;i<=n;i...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195059/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195059/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M = dso_local local_unname...
#include <stdio.h> #define N 100 #define WHITE 0 #define GRAY 1 #define BLACK 2 static int n; static int M[N][N]; static int color[N]; static int start[N]; static int end[N]; static int t; static void dfs_visit(int u) { color[u] = GRAY; start[u] = ++t; for (int v = 0; v < n; v++) { if (M[u][...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195109/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195109/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #define N 100 #define WHITE 0 #define GRAY 1 #define BLACK 2 int n,M[N][N]; int color[N],d[N],f[N],tt; void dfs_visit(int i) { int j; color[i]=GRAY; d[i]=++tt; for(j=0;j<n;j++) { if(M[i][j]==0)continue; if(color[j]==WHITE) { dfs_visit(j); } } color[i]=BLACK; f...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195152/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195152/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @color = dso_local local_un...
#include <stdio.h> #define N 100 void dep(int); int G[N+1][N+1],s[N+1],de[N+1],f[N+1],n,w=1; int main(){ int i, j, u, v; scanf("%d", &n); for(i=1;i<=n;i++){ de[i]=0; f[i] = 0; scanf("%d", &u); scanf("%d", &s[u]); for(j=1;j<=s[u];j++) scanf("%d", &G[u][j]); } for(i=1;i<=n;i++) { if(!de...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195196/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195196/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @w = dso_local local_unname...
#include <stdio.h> #define N 100 int a[N+1][N+1], b[N+1], c[N+1], d[N+1], n, t; void kansu(int x){ int i; c[x] = t++; for(i=1;i<=b[x];i++) if(!c[a[x][i]]) kansu(a[x][i]); d[x] = t++; } int main(){ int i, j, r, v; scanf("%d", &n); t=1; for(i=1;i<=n;i++){ c[i] = d[i] = 0; scanf("%d", &r); s...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195239/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195239/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @t = dso_local local_unname...
#include <stdio.h> int n,A[100][100],cnt[100],d[100],f[100],t=0; void dfs(int); int main(){ int u,v,k,i,j; scanf("%d",&n); for(i=0;i<n;i++){ cnt[i]=0; for(j=0;j<n;j++){ A[i][j]=0; } } for(i=0;i<n;i++){ scanf("%d%d",&u,&k); u--; for(j=0;j<k;j++){ scanf("%d",&v); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195282/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195282/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @t = dso_local local_unname...
#include <stdio.h> int graph[101][101], d[101], f[101], n, color[101], timee; void visit(int u) { int i; color[u] = 0; d[u] = ++timee; for (i = 1; i <= n; i++) { if (graph[u][i] == 1) { if (color[i] == 1) visit(i); } } color[u] = -1; f[u] = ++timee; } void dfs(...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195325/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195325/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @color = dso_local local_un...
#include<stdio.h> #define N 100 int n,a[N][N]; int x=0,y=1,z=2; int b[N],c[N],d[N],time; void visit(int u){ int v; b[u]=y; time++; c[u]=time; for(v=0;v<n;v++){ if(a[u][v]==0) continue; if(b[v]==x){ visit(v); } } b[u]=z; d[u]=++time; } void dfs(){ int i,u; for(i=0;i<n;i++){ b...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195369/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195369/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @x = dso_local local_unname...
#include<stdio.h> #include<stdlib.h> void visit(int**,int*,int*,int*,int,int); int t = 0; int main(){ int i,j,n,u,k,v,*d,*f,*color,**G; scanf("%d",&n); G = malloc((n+1) * sizeof(int *)); d = malloc((n+1) * sizeof(int)); f = malloc((n+1) * sizeof(int)); color = malloc((n+1) * sizeof(int)); for(i=1;i<=n;i...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195411/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195411/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @t = dso_local local_unname...
#include <stdio.h> #define N 100 #define WHITE 0 #define GRAY 1 #define BLACK 2 int n, M[N][N], color[N], d[N], f[N], tt; void dfs(); void dfs_visit(int); void dfs_print(); int main(){ int u, v, k, i, j; scanf("%d",&n); for(i=0;i<n;i++){ for(j=0;j<n;j++) M[i][j] = 0; } for(i=0;i<n;i++){ scanf(...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195462/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195462/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 102 #define white 0 #define gray 1 #define black 2 int n,color[N],d[N],f[N],S[N],top=0,t=0,nt[N],a[N][N]; void push(int x){ if(top==N){ printf("Stack overflow!\n"); exit(2); } S[++top]=x; } int pop(void){ if(top==0){ printf("Stack is empty!\n"); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195505/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195505/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @top = dso_local local_unna...
#include<stdio.h> #define max 100 #define White 0 #define Gray 1 #define Brack 2 int color[max],d[max],Dep[max][max]={0}; int tt,g[max]; int n; void visit(int u){ int i; color[u]=Gray; d[u] = ++tt; for(i=0;i<n;i++){ if(Dep[u][i]==0)continue; if(color[i]==White){ visit(i); } } color[u] = ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195549/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195549/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Dep = dso_local local_unna...
#include<stdio.h> int main(void) { int r1,r2,c1,c2,d1,d2,a,b,c,d,status=0; scanf("%d%d%d%d%d%d",&r1,&r2,&c1,&c2,&d1,&d2); for(a=1;a<=9 && status==0;a++) for(b=1;b<=9 && status==0;b++) for(c=1;c<=9 && status==0;c++) for(d=1;d<=9 && status==0;d++) if(a!=b && a!=c && a!=d && b!=c && b!=d &&...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_1956/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_1956/source.c" target datalayout = "e-m:e-p270:32:32-p271: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 N 100 #define W 0 #define G 1 #define B 2 int n,m[N][N]; int c[N],d[N],f[N],g; void in(){ int a,b,c,i,j; scanf("%d",&n); for(i=0;i<n;i++){ for(j=0;j<n;j++){ m[i][j]=0; } } for(i=0;i<n;i++){ scanf("%d%d",&a,&b); a--; for(j=0;j<b;j++){ scanf("%d",&c); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195642/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195642/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <stdint.h> // uint64_t #define max(a,b) ((a) > (b) ? (a) : (b)) #define min(a,b) ((a) > (b) ? (b) : (a)) #define BUF_SIZE 30 #define DIVISOR 1000000007 int get_int3(int *a1, int *a2, int *a3) { #ifdef BUF_SIZE char line[BUF_SIZE]; if(!fgets(line...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195686/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195686/source.c" target datalayout = "e-m:e-p270: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.query = type { i32,...
#include <stdio.h> #include <string.h> int next_seq(int *seq, const int len, const int m) { int carry = 0, last, last_value; for (int i = len - 1; i >= 0; i--) { if (seq[i] >= m && i > 0) { seq[i] = seq[i - 1] + 1; } else if (seq[i] >= m) { ca...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195729/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195729/source.c" target datalayout = "e-m:e-p270: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.seq = private...
#include <stdio.h> int main(void) { //変数の宣言 int n; int p[100010]; int i; int count=0; //データの読み込み scanf("%d",&n); for(i=1;i<n+1;i++){ scanf("%d",&p[i]); } // printf("nは%dです\n", n); // printf("データの読み込み終了\n"); //実際の処理 i=1; while(i<n+1){ if(p[i]==i){ count++; i++; } i++; } // prin...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195772/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195772/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else { printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195815/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195815/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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",&a); scanf("%d",&b); scanf("%d",&c); if(a<b&&b<c) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195859/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195859/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n", &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_195901/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195901/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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",&a); scanf("%d",&b); scanf("%d",&c); if(0<=a&&a<=100){ if(0<=b&&b<=100){ if(0<=c&&c<=100){ if(a<b&&b<c){ printf("Yes\n"); } else{ printf("...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195945/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195945/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195996/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195996/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196038/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196038/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196081/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196081/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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("Yes\n"); } else{ printf("No\n"); } } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196124/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196124/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 no_a, no_b,no_c; scanf("%d %d %d", &no_a, &no_b,&no_c); if (no_a < no_b&&no_b<no_c) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196168/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196168/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196210/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196210/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 i,k,a,b,c; char number[3][100]; i = 0; k = 0; while((c = getchar()) != EOF) { if(c == ' ') { k++; i = 0; }else{ number[k][i] = c; i++; } } a = atoi(number[0]); b = atoi(number[1]); c = atoi(number[2]); if(a ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196254/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196254/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = external local_unn...
#include <stdio.h> int main(void) { int a; int b; int 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_196298/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196298/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else { printf ("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196348/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196348/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196391/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196391/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){ printf("No\n"); }else if(b>=c){ printf("No\n"); }else if(a>=c){ printf("No\n"); }else{ printf("Yes\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196434/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196434/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main(void){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<b&&a<c&&b<c){ printf("Yes\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196478/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196478/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196520/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196520/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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("Yes\n"); else printf("No\n"); } else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196571/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196571/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else if(a >= b || b >= c){ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196614/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196614/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196665/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196665/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 b=0; int c=0; printf(""); scanf("%d %d %d",&a,&b,&c); while(1){ if(a>=0 && a<=100 && b>=0 && b<=100 && c>=0 && c<=100){ break; }else{ printf(""); scanf("%d %d",&a,&b); continue; } } if(a<b && b<c){ printf("Yes\n"); }else{ printf("No\n...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196708/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196708/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str.1 = private unnamed_a...
#include<stdio.h> int main(){ int a,b,c; scanf("%d",&a); scanf("%d",&b); scanf("%d",&c); if(a>=b){ printf("No\n"); }else if(b>=c){ printf("No\n"); }else{ printf("Yes\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196751/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196751/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 \n",&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_196795/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196795/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196838/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196838/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196889/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196889/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196931/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196931/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196982/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196982/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197024/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197024/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197075/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197075/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197125/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197125/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>=0 && b>=0 && c>=0 && a<=100 && b<=100 && c<=100) { if(a<b && b<c)printf("Yes\n"); else printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197176/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197176/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197219/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197219/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197262/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197262/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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("Yes\n"); }else{ printf("No\n"); }}else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197305/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197305/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, hantei; hantei = 1; scanf("%d %d %d", &a, &b, &c); if ( (a >= b) || (b >= c) || (a >= c) ) { hantei = 0; } if (hantei == 1) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197363/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197363/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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)puts("Yes"); else puts("No"); return 0;}
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197406/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197406/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,b; scanf("%d",&n); if(n<10) b=n; else if(n>=10&&n<=189) { n-=9; if(n%2) { b=n/20+1; } else b=(n/2-1)%10; } else { n-=189; if(n%3==0) b=(n/3-1)%10; else if(n%3==1) b=n/300+1; else b=n/30%10; } printf("%d",b); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19745/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19745/source.c" target datalayout = "e-m:e-p270:32:32-p271: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,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_197493/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197493/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197536/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197536/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n,i,j,k,l=0; scanf("%d",&n); if(n<10) { printf("%d\n",(n%10)); } else if((n>=10)&&(n<190)) { k=n-9; // printf("k is %d\n",k); if(k%2==1) { l=(k/2)+1; } else { l=k/2; } if(n%2==0) { printf("%d\n",((9+l)/10)); } el...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19758/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19758/source.c" target datalayout = "e-m:e-p270:32:32-p271: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> #define pi 3.1415926 int main() { //int p = 1000; //int s, n; //for (s=1;s<p;++s) //{ // n = s; int n; scanf("%d", &n); int i, k, remain, results; if (n<10) { printf("%d",n); //continue; retu...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19763/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19763/source.c" target datalayout = "e-m:e-p270:32:32-p271: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; 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_197673/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197673/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197716/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197716/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...