Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
#define N 100
#define W 0
#define G 1
#define B 2
int n,M[N][N];
int color[N],d[N],f[N],t;
void dfs_visit(int u){
int v;
color[u] = G;
d[u] = ++t;
for(v = 0;v < n;v++){
if(M[u][v]==0) continue;
if(color[v] == W){
dfs_visit(v);
}
}
color[u] ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195376/source.c"
target datalayout = "e-m:e-p270: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 BLACK 1
#define GRAY 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_195419/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195419/source.c"
target datalayout = "e-m:e-p270: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>
#include<stdlib.h>
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int n;
scanf("%d",&n);
int a[n],i,j;
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
if(a[0]!=a[1] && a[0]!=a[2])
{
printf("1\n");
}
else if(a[n-1]!=a[n-2] && a[n-1]!=a[n-3])
{
printf("%d\n",n);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19547/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19547/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
#define N 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n,M[N][N],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);
}
}
color[u]=BLACK;
f[u]=++tt;
}
voi... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195512/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195512/source.c"
target datalayout = "e-m:e-p270: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>
int C[101][101]={0};
int d[101]={0};
int f[101]={0};
int count = 0;
int n;
void DFS(int i){
int j;
d[i] = ++count;
for(j=0; j<n; j++){
if(C[i][j] != 0 && d[j] == 0)
DFS(j);
}
f[i] = ++count;
}
int main(){
int i,j,k,v,u;
int id[101];
scanf("%d",&n);
for(i=0; i<... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195556/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195556/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@C = dso_local local_unname... |
#include<stdio.h>
void fuka(int);
int n;
int cnt=1;
int a[101][101],b[101],c[101],d[101];
int main(){
int i,j,x,y,z;
scanf("%d",&n);
b[0]=0;
for(i=0;i<n;i++){
scanf("%d%d",&x,&y);
for(j=0;j<y;j++){
scanf("%d",&z);
a[x-1][z-1]=1;
}
}
for(i=0;i<n;i++){
if(b[i]==0)fuka(i);
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195606/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195606/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cnt = dso_local local_unna... |
#include<stdio.h>
int main(void)
{
int n,m,val;
long long count=0;
scanf("%d %d",&n,&m);
if(m%n!=0)
{
printf("-1\n");
return 0;
}
val = m/n;
while(val%2==0)
{
count++;
val/=2;
}
while(val%3==0)
{
count++;
val/=3;
}
if(val==1)
printf("%lld\n",count);
else
printf("-1\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19565/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19565/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
#include <stdlib.h>
int n, m, q;
int a[55], b[55], c[55], d[55];
int A[10] = {};
int dfs(int *A, int j)
{
if (j == n)
{
int ans = 0;
for (int i = 0; i < q; i++)
{
if (A[b[i]] - A[a[i]] == c[i])
{
ans += d[i];
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195693/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195693/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A = dso_local global [10 x... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>
int main(void){
int N;
scanf("%d", &N);
int p[N+1];
for(int i = 1; i <= N; i++){
scanf("%d", &p[i]);
}
int c = 0;
for(int i = 1; i < N; i++){
if(p[i] == i){
c+... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195736/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195736/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%lld %lld", &n, &m);
if(n==m)
{
printf("0");
return 0;
}
else if(n<m)
{
if(m % n == 0)
{
long long int count = 0;
int i;
int r = m/n;
for(i=2;i<=3;i++)
{
while(r % i ==0)
{
count++;
r/=i;
if(r==1)
break... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19578/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19578/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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_195822/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195822/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_195866/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195866/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_195909/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195909/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_195952/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195952/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196001/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196001/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 x,y,z;
scanf("%d %d %d",&x,&y,&z);
if(x<y&&y<z){printf("Yes\n");
} else{printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196045/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196045/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196089/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196089/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196131/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196131/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196175/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196175/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196218/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196218/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196261/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196261/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196304/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196304/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196355/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196355/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196399/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196399/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196441/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196441/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196485/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196485/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196535/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196535/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196579/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196579/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196629/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196629/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196672/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196672/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196715/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196715/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int i,j,k;
scanf("%d",&i);
scanf("%d",&j);
scanf("%d",&k);
if(i<j && j<k)printf("Yes\n");
else printf("No\n");
return EXIT_SUCCESS;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196759/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196759/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196801/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196801/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196845/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196845/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_196896/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196896/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ara[27];
int main()
{
int n,i,sum=0,count=0;
char j;
char str[100010]={};
scanf("%d",&n);
scanf("%s",str);
if(n>26)
printf("-1\n");
else
{
for(i=0; i<n; i++)
{
j=str[i]-'a'+1;
ara[j]++;
}
for(i=1;i<=26... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19699/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19699/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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",&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_197031/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197031/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197082/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197082/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197132/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197132/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197183/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197183/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197226/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197226/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
int main(void)
{
int n,a[26],i,j,sum,count;
char s[100000];
while(scanf("%d",&n)!=EOF)
{
getchar();
memset(a,0,sizeof(a));
for(j=0;j<n;j++)
{
scanf("%c",&s[j]);
a[s[j]-'a'+0]++;
}
getchar();
sum=0;
count=0;
for(i=0;i<26;i++)
{
sum+=a[i];
if(a[i]>1... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19727/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19727/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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, h;
scanf("%d", &n);
if (n >= 190) {
n -= 190;
h = (n % 3);
n = n / 3 + 100;
switch (h) {
case 0:
n /= 100;
break;
case 1:
n %= 100;
n /= 10;
break;
case 2:
n %= 10;
break;
}
}
if (n >= 10) {
n -= 10;
if ((n & 1) == 0) {
n = (n>>... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19732/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19732/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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_197370/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197370/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197413/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197413/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197457/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197457/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,ans,num,c,x1,x2,x3;
scanf("%d",&n);
if(n>9)
{
n=n-9;
num=9;
if(n>180)
{
n=n-180;
num+=90;
num+=n/3;
//num+=1;
c=n%3;
if(c!=0)
num+=1;
x3=num%10;
num=num/10;
x2=num%10;
num=num/10;
x1=num%10;
num=num/10;
if(c==0)
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19750/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19750/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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)
puts("Yes");
else
puts("No");
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197543/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197543/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197587/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197587/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197637/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197637/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
puts(a < b && b < c ? "Yes" : "No");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197680/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197680/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a;
int b;
int c;
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_197723/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197723/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197767/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197767/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197824/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197824/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(int argc, char* argv[])
{
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if(c <= a){
printf("No\n");
}else if(c <= b){
printf("No\n");
}else if(b <= a){
printf("No\n");
}else{
printf("Yes\n");
}
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197875/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197875/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_197969/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197969/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198018/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198018/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198069/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198069/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198111/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198111/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198155/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198155/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198205/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198205/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
float a, b, c;
int main(){
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_198249/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198249/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198292/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198292/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198379/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198379/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198421/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198421/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198465/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198465/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198508/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198508/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198551/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198551/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
if (scanf("%d%d%d", &a, &b, &c) != 3) return 1;
puts(a < b && b < c ? "Yes" : "No");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198595/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198595/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_198638/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198638/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int N,a[3][110],i,j,ans=0,c;
scanf("%d",&N);
for(i=1;i<=2;i++){
for(j=1;j<=N;j++){
scanf("%d",&a[i][j]);
}
}
for(i=1;i<=N;i++){
c=0;
for(j=1;j<=i;j++){
c+=a[1][j];
}
for(j=i;j<=N;j++){
c+=a[2][j];
}
if(ans<c){
ans=c;
}
}
printf("\n%d\n",ans);
r... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198681/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198681/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n;
scanf("%d",&n);
int i,j,k;
int a[2][n];
for(i=0;i<2;i++){
for(j=0;j<n;j++){
scanf("%d",&a[i][j]);
}
}
int pt[n],ans;
for(i=0;i<n;i++){
pt[i]=0;
for(j=0;j<n;j++){
if(j<=i){
pt[i]+=a[0][j];
}
if(j>=i){
pt[i]+=a[1]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198724/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198724/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 < N; i++){
scanf("%d", &A[0][i]);
}
for (int i = 0; i < N; i++){
scanf("%d", &A[1][i]);
}
int candy = 0;
for (int i = 0; i < N; i++){
int rest1 = 0;
int rest2 = 0;
for(int j = 0; j <=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198768/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198768/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 lli long long int
typedef enum{
false,
true
}Boolean;
Boolean canBreak(lli N, lli A, lli B, lli *h, lli k){
lli i, dec = k * B, rem = 0;
for(i = 0; i < N; i++){
if(h[i] > dec){
rem += 1 + (h[i] - dec - 1) / (A - B);
}
}
if(rem <= k){
return true;
}
else... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198810/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198810/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
typedef struct mobile {
int ll;
int lr;
int il;
int ir;
int w;
} mb;
mb a[101];
int gcd(int a,int b)
{
int r = a % b;
if (r == 0) return b;
return gcd(b,r);
}
int lcm(int a,int b)
{
int g = a > b ? gcd(a,b) : gcd(b,a);
return a / g * b;
}
int weight(int i)
{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198854/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198854/source.c"
target datalayout = "e-m:e-p270: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.mobile = type { i32... |
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
// 内部定数
#define D_ON 1 // 汎用フラグ - ON
#define D_OFF 0 // 汎用フラグ - OFF
#define D_VTX_MAX 1000 // 最大頂点数
#define D_EDGE_MAX 2000 // 最大辺数
// 内部構造体 - 頂点情報
typedef struct ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198940/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198940/source.c"
target datalayout = "e-m:e-p270: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.Vtx = type { i64, i... |
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
struct vertex {
int k;
int visited;
int vlist[100][2];
};
int main(int argc, char *argv[])
{
int n, i, j;
int e;
struct vertex *adj;
int v;
int op, cost, mine, newv;
int sum;
scanf("%d", &n);
adj = (struct vertex *)malloc(sizeof(struct ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199019/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199019/source.c"
target datalayout = "e-m:e-p270: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.vertex = type { i32... |
#include<stdio.h>
static const int INFTY = (1<<21);
#define MAX 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n,v,i,M[MAX][MAX];
int prim(void);
int main(){
int j,e;
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=0;j<n;j++){
scanf("%d",&e);
M[i][j]=(e==-1)?INFTY:e;
}
}
printf("%d\n",... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199084/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199084/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 MTS(int);
int G[100];
int A[100][100];
int main(){
int i,j,n;
int sum;
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=0;j<n;j++){
scanf("%d",&A[i][j]);
}
}
sum=MTS(n);
printf("%d\n",sum);
return 0;
}
int MTS(int n){
int i,j;
int k=1;
int max,min;
int count=0;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199127/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199127/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 INF 2001
#define WHITE 0
#define BLACK 1
int n,M[N][N];
int d[N],p[N],color[N];
void prim();
int main() {
int i,j,sum = 0;
scanf("%d",&n);
for(i = 0; i < n; i++){
for(j = 0; j < n; j++){
scanf("%d",&M[i][j]);
}
}
prim();
for(i = 0; i < n; i++)
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199178/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199178/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 INFTY 2000000
#define White 0
#define Gray 1
#define Black 2
int G[MAX][MAX],n;
int prim(){
int color[MAX],d[MAX],p[MAX];
int min,u,v,sum=0;
int i;
for(i = 0; i < n; i++){
color[i] = White;
d[i] = INFTY;
p[i] = -1;
}
d[0] = 0;
p[0] = -1;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199220/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199220/source.c"
target datalayout = "e-m:e-p270: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 WHITE 1
#define BLACK 0
#define INF 1000000
#define NIL 1000000
int n;
int G[100][100];
int prim(int);
int main() {
int w=0;
int s;
int i,j;
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=0;j<n;j++){
scanf("%d",&G[i][j]);
}
}
s=0;
w=prim(s);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199264/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199264/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,u,w[100][100],color[100],d[100];
int main(){
int i,j,mincost,sum=0;
scanf("%d",&n);
for(i=0;i<n;i++) for(j=0;j<n;j++){
scanf("%d",&w[i][j]);
if(w[i][j]==-1)w[i][j]=2001;
}
for(i=0;i<n;i++){
d[i] =2001;
color[i] =0;
}
d[0]=0;
while (1){
minc... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199307/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199307/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, s, t, n, min, sum = 0;
int x[1000], y[1000], z[1000][1000];
scanf("%d", &n);
for( i = 0; i < n; i++) {
x[i] = 0;
y[i] = 1000;
for( j = 0; j < n; j++) {
scanf("%d", &z[i][j]);
}
}
y[0] = 0;
for( i = 1; i < n; i++) {
min = 1000;
for( j = 0; j < n;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199350/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199350/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 INF 2001
#define GRAY 0
#define WHITE 1
#define BLACK -1
#define N 100
void prim( int );
int n, color[N+1], d[N+1], adj[N+1][N+1], p[N+1];
int main(){
int i, j, sum = 0, m;
//input
scanf("%d", &n);
for( i=0; i<n; i++ ){
for( j=0; j<n; j++){
scanf("%d", &m);
if( ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199394/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199394/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 INFTY (1<<21)
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n,M[MAX][MAX];
int prim()
{
int u,minv,d[MAX],p[MAX],color[MAX],i,v,sum=0;
for( i=0 ; i<n ; i++ ){
d[i] = INFTY;
p[i] = -1;
color[i] = WHITE;
}
d[0] = 0;
while(1){
minv = INFTY;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199437/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199437/source.c"
target datalayout = "e-m:e-p270: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 MAX 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
#define INFTY 1000000
int n,M[MAX][MAX];
int prim(){
int u,j,i,min;
int omomi[MAX],oya[MAX],color[MAX];
for(i=0;i<n;i++){
omomi[i]=INFTY;
oya[i]=-1;
color[i]=WHITE;
}
omomi[0]=0;
while(1){
min=INFTY;
u=-... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199488/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199488/source.c"
target datalayout = "e-m:e-p270: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<limits.h>
#define N 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
int prim(void);
int n, m, sum, M[N][N];
int main()
{
int i, j, e;
scanf("%d",&n);
for(i = 0; i < n; i++)
{
for(j = 0; j < n; j++)
{
scanf("%d",&e);
if(e == -1)M[i][j] = INT_MAX;
else M[i][... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199530/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199530/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 *PAR; // 親の番号
typedef struct{
int cost;
int from;
int to;
}SIDE_T;
int Ans_pivot(SIDE_T *box, int l, int r)
{
int center;
center = (l + r) / 2;
if(box[l].cost < box[center].cost && box[center].cost < box[r].cost || box[r].cost < box[center].cost && box[center].co... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199574/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199574/source.c"
target datalayout = "e-m:e-p270: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.SIDE_T = type { i32... |
#include<stdio.h>
#define MAX 100
static const int INFTY =(1<<21);
static const int WHITE = 0;
static const int GRAY = 1;
static const int BLACK = 2;
int n, M[MAX][MAX];
int prim(){
int u, minv;
int d[MAX], p[MAX], color[MAX];
for( int i=0; i<n; i++){
d[i] = INFTY;
p[i] = -1;
color[i] ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199624/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199624/source.c"
target datalayout = "e-m:e-p270: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 MAX 101
#define WHITE 0
#define BLACK 1
#define INF 2001
#define NIL -1
int G[MAX][MAX],n,d[MAX],pi[MAX],color[MAX];
void Prim(int r){
int i;
for(i=1;i<=n;i++){
d[i]=INF;
pi[i]=NIL;
}
d[r]=0;
while(1){
int u,mincost = INF;
for(i=1;i<=n;i++){
if(color[i]!=BLACK && d[i]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199668/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199668/source.c"
target datalayout = "e-m:e-p270: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 MAX 100
#define INFTY 9999999
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n,M[MAX][MAX];
int i,v,j,e,b;
int prim(){
int u,minv;
int d[MAX],p[MAX],color[MAX];
int sum;
for(i=0;i<n;i++){
d[i]=INFTY;
p[i]=-1;
color[i]=WHITE;
}
d[0] = 0;
while(1){
minv ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199718/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199718/source.c"
target datalayout = "e-m:e-p270: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>
#define N 100
#define MAX 10000000
#define W 0
#define B 1
int n,c[N],A[N][N],X[N],Y[N];
void prim(){
int m,i,j;
for(i=0;i<n;i++){
X[i]=MAX;
Y[i]=-1;
c[i]=W;
}
X[0]=0;
while(1){
m=MAX;
for(i=0;i<n;i++){
if(c[i]!=B && X[i]<m){
m=X[i];
j=i;
}
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199761/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199761/source.c"
target datalayout = "e-m:e-p270: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 500
static const int INFTY = (1<<21);
int main(){
int t,i,j,f,l,q,sum,minv;
int A[N][N],d[N],h[N],w[N];
scanf("%d",&t);
for(i=0;i<t;i++){
for(j=0;j<t;j++){
scanf("%d", &q);
A[i][j] = (q==-1)?INFTY:q; }
}
for(i=0; i<t; i++){
d[i]=INFTY;
h[i]=-1;
w[i]=0;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199804/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199804/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 INFTY 1000000
#define WHITE 0
#define GRAY 1
#define BLACK 2
int prim();
int n,M[100][100];
int main(void){
int i,j,e;
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=0;j<n;j++){
scanf("%d",&e);
M[i][j]=(e==-1) ? INFTY :e;
}
}
printf("%d\n",prim());
return 0;
}
int pr... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199855/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199855/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W 0
#define G 1
#define B 2
int INFTY = 1<<21;
int n,A[MAX][MAX];
int prim(){
int i,v,u,min;
int d[MAX],p[MAX],color[MAX];
for(i=0;i<n;i++){
d[i]=INFTY;
p[i]=-1;
color[i]=W;
}
d[0]=0;
while(1){
min = INFTY;
u=-1;
for(i=0;i<n;i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199899/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199899/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INFTY = dso_local local_un... |
#include<stdio.h>
int main(void)
{
int n,m;
scanf("%d%d",&n,&m);
printf("%d\n",(n - 1) * (m - 1));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199941/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199941/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int n,m;
scanf("%d %d", &n, &m);
int block=(n-1)*(m-1);
printf("%d", block);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_199985/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_199985/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n,m;
scanf("%d%d",&n,&m);
printf("%d",(n-1)*(m-1));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200025/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200025/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n, m, ans;
scanf("%d%d", &n, &m);
ans = (n - 1) * (m - 1);
printf("%d", ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_200076/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_200076/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.