Source_Code
stringlengths
69
484k
IR_Original
stringlengths
2.05k
17.9M
#include <stdio.h> #define N 101 int M[N][N]; int n; int d[N], v[N], visited[N], time; void DFS(); void visit(int); int main(){ int i, j, x, y, z; for(i = 0; i < N; i++){ for(j = 0; j < N; j++){ M[i][j] = 0; } } scanf("%d", &n); for(i = 0; i < n; i++){ scanf("%d %d", &x, &y); for...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194790/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194790/source.c" target datalayout = "e-m:e-p270: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 M 100 #define WHITE 1 #define BLACK 0 #define GRAY 2 void dfs(void); void visit(int); int n,time; int tyouten[M][M],color[M],d[M],f[M]; int main(){ int i,j,k,u,v; scanf("%d",&n); for(i=0;i<n;i++){ for(j=0;j<n;j++) tyouten[i][j]=0; } for(i=0;i<n;i++){ scanf("%d%...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194848/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194848/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 101 void def(int); int array[N][N]; int farray[N],darray[N]; int coarray[N],time,n; int main(){ int i,j,v,v2,k; scanf("%d",&n); for(i = 0;i < n;i++){ coarray[i] = 0; for(j = 0;j < n;j++){ array[i][j] = 0; } } time = 0; for(i = 0;i < n;i++){ s...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194905/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194905/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> //============================================================================ #define pred(x) ((x)-1) #define succ(x) ((x)+1) #define True 1 #define False 0 //#define max(x,y) (((x)<(y))?y:x) //=======================...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194949/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194949/source.c" target datalayout = "e-m:e-p270: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 { i8, ...
#include<stdio.h> #define N 100 #define WHITE 0 #define GRAY 1 #define BLUE 2 void dfs(void); void visit(int); int time,d[N],f[N],G[N][N],color[N],n; int main(){ int i,j,u,k,v; scanf("%d",&n); for(i = 0;i < n;i++){ for(j = 0;j < n;j++){ G[i][j]=0; } } for(i = 0;i < n;i++){ scanf("%d%d",...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194992/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194992/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 void dfs(void); void visit(int); int G[N][N],n; int d[N],f[N],color[N],time; int main(){ int i,j,k,u,v; scanf("%d",&n); for(i = 0; i < n; i++){ for(j = 0; j < n; j++){ G[i][j] = 0; } } for(i = 0; i < n; i++){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195041/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195041/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 u) { int v; color[u] = GRAY; d[u] = ++tt; for (v=0; v<n; v++){ if (M[u][v]==0) continue; if (color[v]==WHITE) dfs_visit(v); } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195092/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195092/source.c" target datalayout = "e-m:e-p270: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 105 #define WHITE 0 #define GRAY 1 #define BLACK 2 int n; int AM[N][N]; int color[N], d[N], f[N], time; void DFS(void); void DFS_visit(int); int main(){ int i, j, u, k, v; scanf("%d",&n); for(i = 0 ; i < n ; i++){ for(j = 0 ; j < n ; j++){ AM[i][j] = 0; } } for...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195142/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195142/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 S 0 #define G 1 #define K 2 int kazu,Max[N][N]; int d[N],f[N]; int temp; int data[N]; void visit(int x){ int i; data[x]=G; d[x]=++temp; for(i=0;i <kazu; i++){ if(Max[x][i]==0){ continue;} if(data[i]==S){ visit(i); } } data[x]=K; f[x]...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195186/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195186/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @data = dso_local local_unn...
#include<stdio.h> #define N 100 #define WHITE 0 #define GRAY 1 #define BLACK 2 void dfs_init(int,int,int*,int*,int*); void dfs(int,int,int*,int*,int*); int M[N][N]; int time; int main(void){ int n,maxval=0,color[N],d[N],f[N]; int u,k,v; int i,j; scanf(" %d",&n); for(i = 0; i < n; i++){ for(j = 0; j ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195229/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195229/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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; int AM[100][100]; int color[100], d[100], f[100], time; void DFS(); void DFS_visit(int); int main(){ int i, j, u, k, v; scanf("%d",&n); for(i = 0 ; i < n ; i++){ for(j = 0 ; j < n ; j++){ AM[i][j] = 0; } } for(i=0;i<n;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195272/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195272/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 void DFS(void); void DFS_visit(int); int n, A[N][N], d[N], f[N], color[N], time; int main() { int i, j, u, k, v; scanf("%d",&n); for(i = 0; i < n; i++) { scanf("%d%d",&u,&k); u--; for(j = 0; j < k; j++) { ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195315/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195315/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 NIL 0 #define FIRST 1 #define SECOND 2 #define MAX 101 //NILで未訪問(houmon[データの上限最大]に0を代入)と、矢印が伸びていないところを示す(M[][]に0を代入) //FIRST SECOND はそれぞれ訪問回数。 int datanum,M[MAX][MAX];//Mは1、0のマトリックスであり、1がそこに矢印が伸びている、0は伸びていない int houmon[MAX],check[MAX],end[MAX],timestamp;//houmonに訪問した回数。checkに1度目に訪れた時間、endに2度目に...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195359/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195359/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @houmon = dso_local local_u...
#include<stdio.h> #define WHITE 0 #define GRAY 1 #define BLACK 2 int color[101]; int A[101][101]; int d[101]; int f[101]; int time, n; void visit(int u) { int i; color[u] = GRAY; d[u] = ++time; for (i = 1; i <= n; i++) { if (A[u][i] == 1) { if (color[i] == WHITE) visit(i); } } color[u] = BLACK; f[u] = ++...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195401/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195401/source.c" target datalayout = "e-m:e-p270: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 101 int num,M[N][N]; int color[N],d[N],f[N],T; void visit(int); int main(){ int i,j,v,next,k; scanf("%d",&num); for(i=0;i<num;i++){ color[i] = 0; for(j=0;j<num;j++){ M[i][j] = 0;; } } for(i = 0;i<num;i++){ scanf("%d %d",&v,&k); for(j=0;...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195445/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195445/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 NOT -1 int u[100][100];//u[id][k v] int time = 0; int d[100]; int f[100]; void search(int a){ int i,k,q; time++; d[a] = time; k = u[a][0]; if(k > 0){ for(i=1;i<=k;i++){ q = u[a][i]; if(d[q]==NOT){ search(q); } } } time++; f[a]=time; } int ma...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195489/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195489/source.c" target datalayout = "e-m:e-p270: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> #define WHITE 0 #define GRAY 1 #define BLACK 2 int d[101],f[101],M[101][101],tt,color[101]; int n; void visit(int u){ int v; color[u]=GRAY; d[u]=++tt; for(v=0;v<n;v++){ if(M[u][v]==0)continue; if(color[v]==WHITE)visit(v); } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195531/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195531/source.c" target datalayout = "e-m:e-p270: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...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.c * Author: Ivan * * Created on July 27, 2018, 9:30 AM */ #include <stdio.h> #include <stdlib.h> #define MAX ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195575/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195575/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 = 0; void dfs_visit(int u){ int v; color[u] = GRAY; d[u] = ++tt; for(v = 0 ; v < n ; v++){ if(M[u][v] == 0)continue; if(color[v] == WHITE){ dfs_visit(v); } } color[u] =...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195632/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195632/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @tt = dso_local local_unnam...
#include <stdio.h> int max(int a, int b){ if(a>b)return a; else return b; } int a[50][4]; int n,m,q; int ans=0; int dfs(int res[], int pt, int max_res){ if(max_res>m)return 0; if(pt==n){//終了条件 int tmp=0; for(int j = 0; j<q; j++){//得点を数える if(res[a[j][1]-1]-res[a[j][0]-1]==a[j][2])tmp+=a[j][3]; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195676/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195676/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ans = dso_local local_unna...
#include<stdio.h> #include<stdlib.h> #include<math.h> #include<string.h> #include<stdbool.h> #include<assert.h> typedef long long ll; typedef long double ld; #define rep(i,l,r)for(ll i=(l);i<(r);i++) #define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k)) #define rrep(i,l,r)for(ll i=(l);i>=(r);i--) #define INF (1LL<<60) #defin...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195719/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195719/source.c" target datalayout = "e-m:e-p270: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.WUF = type { i64, i...
/* Coached by rainboy */ #include <stdio.h> int main() { int n, i, k, ans; scanf("%d", &n); ans = k = 0; for (i = 0; i < n; i++) { int p; scanf("%d", &p); if (p == i + 1) k++; else ans += (k + 1) / 2, k = 0; } ans += (k + 1) / 2; printf("%d\n", ans); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195762/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195762/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
/* cat <<EOF >mistaken-paste */ #pragma GCC diagnostic ignored "-Wincompatible-pointer-types" #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <math.h> #define BIG 2000000007 #define VERYBIG 200000000000007LL #define MOD 1000000007 typedef uint64_t ull; ty...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195805/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195805/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.hw = type { i32, i3...
#include<stdio.h> int main(void) { int 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_195863/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195863/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,b=0,c=0; scanf("%d %d %d\n",&a,&b,&c); if((a<b)&&(b<c)&&(a<c)) { printf("Yes\n"); }else { printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195913/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195913/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_195957/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195957/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196006/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196006/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> int main() { int t,p; scanf("%d",&t); for(p=0;p<t;p++) { int a[110]; int i,j,n,k; scanf("%d",&n); for(i=0;i<=100;i++)a[i]=0; for(i=0;i<n;i++) { scanf("%d",&k); a[k]++; } for(i=0;i<=100;i++) if(a[i]>0) { printf("%d ",i); a[i]--; } for(i=0;i<=100;i++) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19605/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19605/source.c" target datalayout = "e-m:e-p270:32:32-p271: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_196093/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196093/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196150/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196150/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196194/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196194/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 { printf("Yes\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196237/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196237/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196280/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196280/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196330/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196330/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196374/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196374/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196417/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196417/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 = 0; int b = 0; int c = 0; scanf("%d", &a); scanf("%d", &b); scanf("%d", &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_196475/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196475/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196518/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196518/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int a; int b; int 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_196561/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196561/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){ 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_196604/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196604/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(b-a > 0 && c-b > 0) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196648/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196648/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196691/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196691/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196734/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196734/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(a<b&&b<c){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196778/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196778/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196820/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196820/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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&&a<c){ printf("Yes\n"); } else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196893/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196893/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196943/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196943/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196994/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196994/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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&&a<c&&b<c) printf("Yes\n"); else printf("No\n"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197036/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197036/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> typedef long long ll; #ifdef __linux__ #define LLD "%lld" #else #define LLD "%I64d" #endif char inp[1000006]; int freq[128]; int main() { int i, n; char c; int ans = 0; ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19708/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19708/source.c" target datalayout = "e-m:e-p270:32:32-p271: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_197122/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197122/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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=-1,b,c; while(a<0 || 100<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_197166/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197166/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>=0 && a<b && b<c && c<=100 ) puts("Yes"); else puts("No"); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197209/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197209/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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; while(scanf("%d",&n)!=EOF) { if(n<10) printf("%d\n",n); else if(n>=10&&n<190) { m=(n-8)/2+9; if(n%2==0) printf("%d\n",m/10); else printf("%d\n",m%10); } else { m=(n-187)/3+99; if(n%3==0) printf("%d\n",m%10); else if(n%3==1) ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19726/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19726/source.c" target datalayout = "e-m:e-p270:32:32-p271: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_197302/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197302/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197346/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197346/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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); char ch[n]; scanf("%s",ch); int i,j,k,l,count=0; for(i=0;i<n;i++) { for(j=i+1;j<n;j++) { if(ch[j]==ch[i]) { count++; break; } } } l=n-count; if(count<=26-l) printf("%d",count); else printf("-1"); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19739/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19739/source.c" target datalayout = "e-m:e-p270:32:32-p271: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 <stdbool.h> int main(void) { int n; fscanf(stdin, "%d", &n); if (n < 10) { printf("%d", n); return 0; } else if (n < 190) { int temp = (n - 10) / 2; int final = 10; for (int i = 0; i < temp; i++) { final++; } if (n % 2 == 1) { printf("%d", ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19744/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19744/source.c" target datalayout = "e-m:e-p270: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_unnam...
#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_197483/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197483/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197533/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197533/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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"); }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197584/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197584/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197634/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197634/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197685/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197685/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(int argc, const char * argv[]) { int 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_197728/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197728/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197771/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197771/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void){ int a; int b; int c; scanf("%d %d %d",&a,&b,&c); if(a < b && b < c){ printf("Yes\n"); } else{ printf("No\n"); } }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197814/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197814/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){ 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_197865/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197865/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h>//3つの整数a, b, cを読み込み、それらが a < b < cの条件を満たすならば"Yes"を、満たさないならば"No"を出力するプログラム 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_197908/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197908/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #include <stdlib.h> int main() { int a, b, 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_198008/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198008/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
//3つの整数a, b, cを読み込み、それらが a < b < cの条件を満たすならば"Yes"を、満たさないならば"No"を出力するプログラム #include <stdio.h> int main(void) { //変数定義 int iInputA; int iInputB; int iInputC; //変数の初期化 iInputA = 0; iInputB = 0; iInputC = 0; scanf ("%d %d %d",&iInputA,&iInputB,&iInputC); if ((iInputA < iInputB) &&...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198051/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198051/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(0<=a<=100 && 0<=b<=100 && 0<=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_198101/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198101/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198145/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198145/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198189/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198189/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> char s[1000],t[1000]; int main(){ int flag = 0; scanf("%s%s",s,t); if(strlen(s)!=strlen(t)){ printf("No"); return 0; } for(int i=0;s[i]!='\0';++i){ if((s[i]=='a'||s[i]=='e'||s[i]=='i'||s[i]=='o'||s[i]=='u') && (t[i]!='a'&&t[i]!='e'&&t[i]!='i'&&t[i]!='o'&&t[i]!='u')){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19829/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19829/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include <stdio.h> #include <string.h> int main (void) { char s[1001], t[1001]; int i, m, k = 0; scanf("%s %s", s, t); m = strlen(s); if (m != strlen (t)) puts("No"); else { for (i = 0; i < m; i++) { if (((s[i] != 'a') && (s[i] != 'e') && (s[i] != 'i') &&...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19834/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19834/source.c" target datalayout = "e-m:e-p270:32:32-p271: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_198390/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198390/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 flag=0; scanf("%d %d %d",&a,&b,&c); if(a<b){ if(b<c){ flag++; } } if(flag==1){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198440/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198440/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<stdlib.h> int main() { int a,b,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_198484/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198484/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) { 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_198527/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198527/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198578/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198578/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198620/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198620/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> int main(void) { int n; scanf("%d", &n); int a[2][n]; for (int i = 0; i < 2; i++) { for (int j = 0; j < n; j++) { scanf("%d", &a[i][j]); } } int sum[2][n]; sum[0][0] = a[0][0]; for (int i = 1; i < n; i++) { sum[0][i] = sum[0][i-1]+a[0][i]; } int max; sum[1][0...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198664/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198664/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) { int n, a1[101], a2[101], ans = -1, kari = 0; if(scanf("%d", &n) == 1); for(int i = 0; i < n; i++) { scanf("%d", &a1[i]); } for(int i = 0; i < n; i++) { scanf("%d", &a2[i]); } for(int i = 0; i < n; i++) { for(int j = 0...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198707/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198707/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[4][102]={0},n,i,j; scanf("%d",&n); for(i=1;i<=2;i++) for(j=1;j<=n;j++) { scanf("%d",&a[i][j]); if(a[i-1][j]>=a[i][j-1]) a[i][j]+=a[i-1][j]; else a[i][j]+=a[i][j-1]; } printf("%d\n",a[2][n]); return 0; }
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198750/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198750/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #include<stdlib.h> typedef long long int int64; int can(int k,int a,int b,int *h,int n){ int64 cnt=0; int i; for(i=0;i<n;i++){ if((int64)k*b>=h[i]) continue; int v=h[i]-k*b; int d=a-b; cnt+=(v+d-1)/d; } return cnt<=k; } void run(void){ int n,a,b; scanf("%d%d%d",&n,&a,&...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198800/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198800/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 getchar getchar_unlocked #define INIT_CAP 10 #define INF 1000000000 inline int nextInt(void) { int ch; int minus, x; do { ch = getchar(); } while (ch < '-'); if (ch == '-') { minus = 1; ch = getchar(); } else minus = 0; x = 0; while (ch >= '0' && ch <...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198844/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198844/source.c" target datalayout = "e-m:e-p270: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.VecInt = type { ptr...
#include <stdio.h> int sum=0,o,cal[1000000]; int y(int start,int end){ int de,ysum=0; for(de=1,ysum+=cal[start];start!=end;start++){ de*=10; ysum+=(cal[start+1])*de; } return ysum; } void x(void){ int i,sum1,sum2,max=-1; for(i=1;i<o;i++){ sum1=y(1,i); sum2=y(i+1,o);...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198888/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198888/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @sum = dso_local local_unna...
#include<stdio.h> #define INF 100000000000000000 #define NMAX 1000 #define MMAX 2000 int a[MMAX], b[MMAX], c[MMAX]; long long int dist[NMAX]; long long int Bellman(int n, int m); int main(void) { int i, n, m; long long int res; scanf("%d %d", &n, &m); for (i = 0; i < m; i++) { scanf("%d %d %d", &a[i], &b[i]...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198930/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198930/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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> static const int MAX = 500; static const int INFTY = (1<<21); int main(){ int i, j, n, e; int d[MAX], M[MAX][MAX], ans=0, v, p[MAX]; scanf("%d", &n); for ( i = 1; i<= n; i++ ){ for ( j = 1; j <= n; j++ ){ scanf("%d", &e); M[i][j] = (e==-1)?INFTY:e; } ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198981/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198981/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 BLACK 1 #define INFTY 100000 int n,m[N][N]; int prim(){ int color[N],d[N],p[N],i,j,min,u,sum=0; for(i=0;i<n;i++){ d[i] = 2001; p[i] = -1; color[i] = WHITE; } d[0] =0; while(1){ min = 2001; for(i=0;i<n;i++){ if(min>d[i] && c...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199045/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199045/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @n = dso_local global i32 0...
#include <stdio.h> int main(){ int n,a,b,t,p,x=0,y=0; scanf("%d%d%d",&n,&a,&b); while((n%b!=0)&&(n-a>=0)){ n-=a; x++; } if(n==0){ printf("YES\n"); printf("%d %d\n",x,y); } else if(n%b==0){ y=n/b; printf("YES\n"); printf("%d %d\n",x,y); ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19911/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19911/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr ...
#include<stdio.h> #define WHITE 0 #define BLACK 1 #define NIL -1 #define INF 2000000000 void prim(int, int ); int graph[101][101]; int d[101]; int pi[101]; int color[101]; int x = 0; int main(){ int sumnode,i,j; scanf("%d",&sumnode); for(i = 1; i <= sumnode; i++){ for(j = 1; j <= sumnode; j++){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199175/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199175/source.c" target datalayout = "e-m:e-p270: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> #define N 101 #define NIL -1 #define INF 10000 int G[N][N]; int n; int prim(int r) { int i,u,ans=0; int d[N]; int pi[N]; int mincost; char color[N]; for(i=1;i<=n;i++){ d[i] = INF; pi[i] = NIL; color[i] = 'W'; } d[r] = 0; while(1) { mincost = INF; for (i=1;i<=n;i++) { if (co...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199232/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199232/source.c" target datalayout = "e-m:e-p270: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> #include<stdlib.h> #define WHITE 0 #define BLACK 1 #define inf 2001 int main(){ int n, mincost, sum=0; int A[101][101]={}, color[101], d[101], pi[101]; int i, j, u, v; scanf("%d", &n); if(n < 0 || 100 < n) exit(1); for(i = 0; i < n; i++){ for(j = 0; j < n; j++){ scanf("%d...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199276/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199276/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include <stdio.h> #define MAX 100 #define WHITE 0 #define GRAY 1 #define BLACK 2 static const int INFTY = (1<<21); int A[MAX][MAX],n,v,i; int prim(){ int u,m,sum=0; int d[MAX],p[MAX],color[MAX]; for(i=0; i<n; i++){ d[i]=INFTY; p[i]=-1; color[i]=WHITE; } d[0]=0; while(1){ m=IN...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199319/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199319/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @i = dso_local local_unname...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #define INFINITE 100000000 // Maximum number of nodes #define NODENUM 1000 // 隣接行列 int dist[NODENUM][NODENUM]; int cost[NODENUM]; int nearest[NODENUM]; int prim(int n) { int i; int totalWeight = 0; bool visited[NODENUM]; for (i = 0; i < NODEN...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199362/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199362/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dist = dso_local global [1...
#include <stdio.h> #define N 100 #define A 0 #define B 1 #define C 2 #define INF 1000000 int G[N][N]; int n; int prim(int v){ int sum = 0,mincost,i,j; int color[N],cost[N]; for(i = 0 ; i < n ; i++){ cost[i] = INF; color[i] = A; } cost[0] = 0; color[0] = B; while(1){ int ver = -1; min...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199405/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199405/source.c" target datalayout = "e-m:e-p270: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 100 #define INF (1<<21) #define WHITE 0 #define GRAY 1 #define BLACK 2 int n, M[N][N]; int color[N], d[N], p[N]; int prim(); int main(){ int i, j; int weight; scanf("%d", &n); for( i = 0; i < n; i++ ){ for( j = 0; j < n; j++ ){ scanf("%d", &weight); M[i][j] = ( w...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199449/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199449/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_add...
#include<stdio.h> #define MAX 2001 #define W 0 #define G 1 #define B 2 int n, M[MAX][MAX]; int prim(void){ int i,v, u, minv,sum=0; int d[MAX],p[MAX],color[MAX]; for(i=0;i<n;i++){ d[i] = MAX; p[i] = -1; color[i] = W; } d[0] = 0; while(1){ minv = MAX; u = -1; for(i=0;i<n;i++){ ...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199492/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199492/source.c" target datalayout = "e-m:e-p270: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 MAXN 101 #define NIL -1 #define INF 2001 #define WHITE 0 #define BLACK 1 int pass[MAXN][MAXN]; int MST(int num){ int i,j,min=INF,mini,minj,TotalCost=0,end=1; int color[MAXN]; for(i=0; i<num; i++)color[i]=WHITE; color[0]=BLACK; while(1){ for(i=0; i<num; i++){ if(color[i...
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199535/source.c' source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199535/source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @pass = dso_local global [1...