Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include <stdio.h>
int main(void)
{
int s, a, b, c;
scanf("%d", &s);
a = s / 3600;
b = (s % 3600) / 60;
c = (s % 3600) % 60;
printf("%d:%d:%d\n", a, b, c);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241070/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241070/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S / 60) - (h * 60);
s = S - (m * 60) - (h * 3600);
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241113/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241113/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 secondsIn;
scanf("%d", &secondsIn);
int hours = secondsIn / 3600;
int minutes = (secondsIn - (hours * 3600)) / 60;
int seconds = secondsIn % 60;
printf("%d:%d:%d\n", hours, minutes, seconds);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241164/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241164/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int i;
scanf("%d", &i);
printf("%d:%d:%d\n", i/60/60, i/60%60, i%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241214/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241214/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
int main()
{
int S;
int h, m, s;
scanf("%d", &S);
if (S < 0 || 86400 < S) {
fprintf(stderr, "invalid input\n");
exit(1);
}
h = S / (60 * 60);
m = (S - (h * 60 * 60)) / 60;
s = S - (h * 60 * 60) - (m * 60);
printf("%d:%d:%d\n", h, m,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241258/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241258/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 S;
int h,m,s;
scanf("%d",&S);
h = S / 3600;
m = (S-h*3600) / 60;
s = S - (h*3600 + m*60);
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241300/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241300/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d", &a);
int s = a % 60;
int m = (a-s)/60%60;
int h = (a-m*60-s)/3600;
printf("%d:%d:%d\n", h, m, s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241344/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241344/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include<stdbool.h>
int main(void){
int x;
int h,m,s,a,b;
scanf("%d",&x);
h=x/3600;
a=x-(h*3600);
m=a/60;
b=x-(h*3600+m*60);
s=b/1;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241388/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241388/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 sec;
scanf("%d", &sec);
int h = sec / 3600;
sec -= h * 3600;
int m = sec / 60;
sec -= m * 60;
printf("%d:%d:%d\n", h, m, sec);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241430/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241430/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int S, h, m, s;
scanf("%d",&S);
if(S <= 86400){
s = S % 60;
h = ((S - s) / 60) / 60;
m = ((S - s) / 60) % 60;
}
else{
return 0;
}
printf("%d:%d:%d\n",h, m, s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241474/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241474/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int S,h,m,s;
scanf("%d",&S);
h=(S/3600)%60,m=(S/60)%60;s=S%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241517/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241517/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int s ;
scanf( "%d" , &s);
printf("%d:%d:%d\n" ,s/3600 ,s%3600/60 ,s%3600%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241560/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241560/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 h, m, s;
scanf("%d", &s);
h = s / 3600;
m = (s % 3600) / 60;
s = s % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241603/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241603/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int x,h,m,s;
scanf("%d",&x);
h=x/3600;
m=(x%3600)/60;
s=x%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241647/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241647/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S % 3600 / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241690/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241690/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int h,m,s;
scanf("%d",&s);
h=s/3600;
m=(s%3600)/60;
s=s%60;
printf("%d:%d:%d\n",h,m,s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241733/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241733/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 time;
scanf("%d", &time);
int hours = time / 3600;
int minutes = (time % 3600) / 60;
int seconds = (time % 3600) % 60;
printf("%d:%d:%d\n", hours, minutes, seconds);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241777/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241777/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
int main()
{
long long int n,m,i,j,k,a[200009],q=0;
scanf("%lld",&n);
for(i=0;i<n;i++)
scanf("%lld",&a[i]);
m=0;
j=0;
for(i=0;i<n;i++)
{
if(a[i]>m){
m=a[i];
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24182/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24182/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 s;
scanf("%d", &s);
printf("%d:%d:%d\n", s/3600,(s%3600)/60,(s%3600)%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241863/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241863/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int S;
int h,m,s;
scanf("%d",&S);
h=S/3600;
S=S-h*3600;
m=S/60;
S=S-m*60;
s=S;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241906/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241906/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S - h * 3600) / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241957/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241957/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 count,entry=1,n,m,lw,rw,rs,ls;
scanf("%d%d",&n,&m);
lw=1;
rw=2;
rs=(2*n)+2;
ls=(2*n)+1;
for(count=1;count<=m;count++)
{ if(entry==1){
if(ls<=m)
{ printf("%d ",ls);
ls+=2;
}
else
{ entry++;
}
}
if(entry==2... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_2420/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_2420/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr co... |
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
int S;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, S / 60 % 60, S % 60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242042/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242042/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 input;
scanf("%d",&input);
printf("%d:%d:%d\n",input/3600, input/60%60, input%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242086/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242086/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b,c,d,e,f,g;
scanf("%d",&a);
b=a/60;
c=b/60;
d=a-b*60;
e=b-c*60;
printf("%d:%d:%d\n",c,e,d);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242136/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242136/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<math.h>
double a,d,n,x,y,ctr,td;
int main()
{
int i,j,k;
scanf("%lf %lf",&a,&td);
scanf("%lf",&n);
d = td;
k = 1;
ctr = td;
while(ctr <= n*td+0.5)
{
d = fmodl(td*k,4*a);
if(fmodl(d,a) == d)
{
x = d;
y = 0;
}
else if(fmodl(d,a*2) == d)
{
x = a;
y = d - a;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24218/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24218/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 main()
{
double a,d,res,lc,tem,temp=0.0;
int fl,n,m;
scanf("%lf %lf",&a,&d);
scanf("%d",&n);
//tem = a*4.0;
//lc = lcm(tem,d);
tem = n;
res=0.0;fl=0;
while(tem--)
{
res+=d;
if(res>a)
{... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24223/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24223/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 S,h,m,s;
scanf("%d",&S);
h=S/3600;
m=S%3600/60;
s=S%3600-m*60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242273/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242273/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int h,m,s;
int S;
scanf("%d\n",&S);
h = S/3600;
m = S%3600/60;
s = S%3600%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242316/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242316/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int is_cross(char s[][301], int n)
{
int i, j;
char x, y;
x = s[0][0];
y = s[0][1];
if (x == y)
{
return 0;
}
for (i = 0; i < n; ++i)
{
for (j = 0; j < n; ++j)
{
if (i == j || i + j == n-1)
{
if (s[i][j] != x)
{
return 0;
}
}
else
{
if (s[i][j] !... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24236/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24236/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
typedef long long ll;
int main()
{
ll ans;
ll len;
char str[200005];
int cnt[256] = {};
scanf("%s", str);
len = strlen(str);
// length - 1までの総和 n(n + 1)/2じゃないよ
ans = len;
ans = ans * (ans - 1) / 2 + 1;
for (int i = 0; i < len; i++) ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242402/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242402/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
//関数プロトタイプ宣言
void moving_north(int *top, int *bottom, int *front, int *back);
void moving_south(int *top, int *bottom, int *front, int *back);
void moving_east(int *top, int *bottom, int *right_side, int *left_side);
void moving_west(int *top, int *bottom, int *right_side, int *left_side);
//ダイスの構造... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242468/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242468/source.c"
target datalayout = "e-m:e-p270: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.Dice = type { i32, ... |
#include<stdio.h>
#include<string.h>
void N(int dice[]);
void E(int dice[]);
void S(int dice[]);
void W(int dice[]);
int main(void){
int dice1[6];
int n,a,b,i,j,ans;
scanf("%d %d %d %d %d %d",&dice1[0],&dice1[1],&dice1[2],&dice1[3],&dice1[4],&dice1[5]);
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%d %d",&a,&b);
f... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242510/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242510/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,ex1,ex2,ex3,ex4,a,b,q;
int dice[7];
int command;
for(i = 1;i <= 6;i++){
scanf("%d",&dice[i]);
}
scanf("%d",&q);
for(i = 0;i < q;i++){
scanf("%d%d",&a,&b);
while(1){
command = rand() % 4;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242554/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242554/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int zero[4] = {1, 2, 4, 3};
int one[4] = {0, 3, 5, 2};
int two[4] = {0, 1, 5, 4};
// chooseIndex chooses to search zero, one, or two.
int chooseIndex(int top, int front)
{
int i;
int indices[3] = {};
indices[front <= 2 ? front : 5 - front] = 1;
indices[top <= 2 ? top : 5 - top] = 1;
for... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242598/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242598/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@zero = dso_local local_unn... |
#include <stdio.h>
#include <string.h>
//structure definition
typedef struct{
int top;
int front;
int right;
int left;
int back;
int under;
} DICE;
#define TOP Dice.top
#define FRONT Dice.front
#define RIGHT Dice.right
#define LEFT Dice.left
#define BACK Dice.back
#define UNDER Dice.under
//prototype... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242648/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242648/source.c"
target datalayout = "e-m:e-p270: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.DICE = type { i32, ... |
#include <stdio.h>
#include <string.h>
typedef struct{
int a, b, c, d, e, f;
}Dice;
int main(void)
{
Dice dice;
int i, temp, q, n, m;
scanf("%d %d %d %d %d %d", &dice.a, &dice.b, &dice.c, &dice.d, &dice.e, &dice.f);
scanf("%d", &q);
for(i=0;i<q;i++){
scanf("%d %d", &n, &m);
if((dice.a==n&&dice.b==m)||... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242691/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242691/source.c"
target datalayout = "e-m:e-p270: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.Dice = type { i32, ... |
#include <stdio.h>
#include <string.h>
struct dice {
int face1;
int face2;
int face3;
int face4;
int face5;
int face6;
};
struct dice move_W(struct dice d);
struct dice move_S(struct dice d);
struct dice move_E(struct dice d);
struct dice move_N(struct dice d);
int main() {
struct dice d;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242734/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242734/source.c"
target datalayout = "e-m:e-p270: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.dice = type { i32, ... |
// Aizu Vol-1 0120: Patisserie
// 2017.8.21 bal4u@uu
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <math.h>
char *gets(char *);
char buf[200], *p;
int getInt(void)
{
int n = 0;
while (isspace(*p)) p++;
if (!*p) return -1;
while (isdigit(*p)) n = 10 * n + (*p++ - '0');
return n;
}
typedef s... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242785/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242785/source.c"
target datalayout = "e-m:e-p270: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.T = type { i32, i32... |
#include <stdio.h>
int main(){
int a, b;
scanf("%d%d", &a, &b);
if(a > b) puts("a > b");
if(a < b) puts("a < b");
if(a == b) puts("a == b");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242835/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242835/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a < b){
printf("a < b\n");
}
else if(a > b){
printf("a > b\n");
}
else{
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242879/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242879/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d",&a);
scanf("%d",&b);
if(a>b)
printf("a > b\n");
else if(a==b)
printf("a == b\n");
else
printf("a < b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242929/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242929/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
long long int n, p, m, m1, m2, k, t, i, j, K, k, q, l, la, lb, x[1000000][2], y[300000], g, w, e, c, d, a, b;
char s[1000];
int war(const void* aa, const void* bb)
{
return(*(long long*)aa-*(long long*)bb);
}
/*
long long bins(long long p, long long k, l... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24298/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24298/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
scanf("%d %d", &a, &b);
if(a > b)
printf("a > b\n");
else if(a < b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243021/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243021/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
if(a == b)printf("a == b\n");
else if(a < b)printf("a < b\n");
else if(a > b)printf("a > b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243072/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243072/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if (a<b){
printf("a < b\n");
}else if (a>b){
printf("a > b\n");
}else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243115/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243115/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}else if(a>b){
printf("a > b\n");
}else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243159/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243159/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
if (a<b) {
printf("a < b\n");
} else if (a>b) {
printf("a > b\n");
} else if (a==b) {
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243201/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243201/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
if(a<b)printf("a < b\n");
if(a>b)printf("a > b\n");
if(a==b)printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243245/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243245/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d %d",&a,&b);
if(a<b)
{
printf("a < b\n");
}
else if(a>b)
{
printf("a > b\n");
}
else if(a==b)
{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243289/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243289/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d %d", &a, &b);
if(a >= b) {
if(a == b) {
printf("a == b\n");
return 0;
}
printf("a > b\n");
return 0;
}
printf("a < b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243331/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243331/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main () {
int a,b;
scanf("%d%d",&a,&b);
if(a<b) {printf("a < b\n");}
if(a>b){printf("a > b\n");}
if(a==b){printf("a == b\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243375/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243375/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}
else{
if(a>b){
printf("a > b\n");
}
else{
printf("a == b\n");
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243418/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243418/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf ( "%d%d", &a, &b );
if ( a < b ) {
printf ( "a < b\n" );
} else if ( b < a ) {
printf ( "a > b\n" );
} else {
printf ( "a == b\n" );
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243469/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243469/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if (a<b)
{
printf("a < b\n");
}
else if(a>b)
{
printf("a > b\n");
}
else if(a==b)
{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243511/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243511/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
if (a < b) {
printf("a < b\n");
} else if (a == b) {
printf("a == b\n");
} else {
printf("a > b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243555/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243555/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
if(a > b){
printf("a > b\n");
}else if(a < b){
printf("a < b\n");
}else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243605/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243605/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a, b;
scanf("%d %d", &a, &b);
if(a < b) printf("a < b\n");
else if(a > b) printf("a > b\n");
else printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243649/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243649/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a>b) printf("a > b\n");
else if(a<b) printf("a < b\n");
if(a==b) printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243692/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243692/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}
if(a>b){
printf("a > b\n");
}
if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243735/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243735/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a, b;
scanf("%d %d", &a, &b);
if(a < b){
printf("a < b\n");
} else if (a > b) {
printf("a > b\n");
} else {
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243779/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243779/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a, b;
scanf("%d %d",&a,&b);
if (a==b) printf("a == b\n");
else if (a<b) printf("a < b\n");
else if (a>b) printf("a > b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243821/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243821/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d",&i);
scanf("%d",&j);
if(i>j)printf("a > b\n");
if(i<j)printf("a < b\n");
if(i==j)printf("a == b\n");
return EXIT_SUCCESS;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243865/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243865/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
char s;
scanf("%d%d", &a, &b);
if (a < b){
printf("a < b\n");
}
if (a > b){
printf("a > b\n");
}
if (a == b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243908/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243908/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a, b;
scanf("%d%d", &a, &b);
if(a > b){
printf("a > b\n");
}else if(a < b){
printf("a < b\n");
}else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243951/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243951/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}
else if(a>b){
printf("a > b\n");
}
else printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244000/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244000/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
if (a < b) {
printf("a < b\n");
} else if (a > b) {
printf("a > b\n");
} else if (a == b) {
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244051/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244051/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a, b;
scanf("%d %d\n", &a, &b);
if(a > b){
printf("a > b\n");
}
else if(a < b){
printf("a < b\n");
}
else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244095/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244095/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main (){
int a,b;
scanf("%d %d",&a,&b);
if(a>b){
printf("a > b\n");
}else if(a<b){
printf("a < b\n");
}else {
printf("a == b\n");
} return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244138/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244138/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a, b;
scanf("%d %d", &a, &b);
if(a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else
printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244189/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244189/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a, b;
scanf("%d %d", &a, &b);
if (a < b){
printf("a < b\n");
} else if (a > b) {
printf("a > b\n");
} else if (a == b) {
printf("a == b\n");
}
return 0;
}; | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244231/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244231/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}
else if(a>b){
printf("a > b\n");
}
else if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244275/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244275/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
if(a*b >= -1000000 && a*b <= 1000000){
if(a < b)
printf("a < b\n");
else if(a > b)
printf("a > b\n");
else
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244325/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244325/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
if(a>b){printf("a > b\n");}
else if(a<b){printf("a < b\n");}
else {printf("a == b\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244376/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a < b) printf("a < b\n");
if(a > b) printf("a > b\n");
if(a == b) printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244419/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244419/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}else if(a>b){
printf("a > b\n");
}else if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244484/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244484/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a < b){
printf("a < b\n");
}else if(a > b){
printf("a > b\n");
}else if(a == b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244534/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244534/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a, b;
scanf("%d %d", &a, &b);
if(a > b){
printf("a > b\n");
}else if(a < b){
printf("a < b\n");
}else{
printf("a == b\n");
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244578/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244578/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,max;
scanf("%d %d",&a,&b);
max=a;
if(max<b){
max=b;
printf("a < b\n");
}else if(max==b){
printf("a == b\n");
}else{
printf("a > b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244620/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244620/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d",&a);
scanf("%d",&b);
if(a>b)
printf("a > b\n");
else if(a<b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244664/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244664/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a, b;
scanf("%d", &a);
scanf("%d", &b);
if(a > b){
printf("a > b\n");
}
if(a < b){
printf("a < b\n");
}
if(a == b){
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244707/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244707/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if (a>b)
printf("a > b\n");
else if (a<b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244750/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244750/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d",&a,&b);
if(a > b)
printf("a > b\n");
else if(a < b)
printf("a < b\n");
else if(a == b)
printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244808/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244808/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf( "%d%d", &a, &b);
if( a < b)
printf( "a < b\n");
else if( a > b )
printf( "a > b\n" );
else
printf( "a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244851/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244851/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d ",&a,&b);
if(a>b){
printf("a > b\n");
}
if(a<b){
printf("a < b\n");
}
if(a==b){
printf("a == b\n");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244895/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244895/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a, b;
scanf("%d", &a);
scanf("%d", &b);
if ( a - b < 0 )
puts("a < b");
else if ( a - b > 0)
puts("a > b");
else
puts("a == b");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244938/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244938/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
if (a < b) printf("a < b\n");
else if (a > b) printf("a > b\n");
else if (a == b) printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244989/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244989/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a<b)
printf("a < b\n");
if(a>b)
printf("a > b\n");
if(a==b)
printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245038/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245038/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
if (a < b) {
printf("a < b\n");
} else if(a > b) {
printf("a > b\n");
} else {
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245081/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245081/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <stdint.h>
int main() {
int32_t a, b;
scanf("%d%d", &a, &b);
printf("a %s b\n", (a == b) ? "==" : (a > b) ? ">" : "<");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245124/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245124/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
while(scanf("%d %d", &a, &b) == 2){
if(a<b)printf("a < b\n");
else if(a>b)printf("a > b\n");
else printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245175/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245175/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int a,b;
scanf("%d %d",&a,&b);
if(a==b)printf("a == b\n");
else if(a>b)printf("a > b\n");
else printf("a < b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245218/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245218/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a < b){
printf("a < b\n");
}
else if(a > b){
printf("a > b\n");
}
else {
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245261/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245261/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d",&a,&b);
if (a<b)
{
printf("a < b\n");
}
else if (a>b)
{
printf("a > b\n");
}
else if (a==b)
{
printf("a == b\n");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245304/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245304/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b;
scanf("%d%d",&a,&b);
if(a>b)
printf("a > b\n");
else if(a<b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245355/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245355/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b;
scanf("%d%d",&a,&b);
if(a>b)
{
printf("a > b\n");
}
else if(a<b)
{
printf("a < b\n");
}
else
{
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245405/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245405/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
if(a>b)
{
printf("a > b\n");
}
else if(a<b)
{
printf("a < b\n");
}
else
{
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245463/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245463/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
if(a<b)
printf("a < b\n");
else if(a==b)
printf("a == b\n");
else
printf("a > b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245506/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245506/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n, i;
long long x, y, a, b;
scanf("%d", &n);
long long res[n];
for(i = 0; i < n; i++){
scanf("%lld %lld %lld %lld", &x, &y, &a, &b);
if((y-x)%(a+b) == 0){
res[i] = (y-x)/(a+b);
}
else {
res[i] = -1;
}
}
for(i = 0; i < n; i++){
printf("%lld\n", res[i]);
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24555/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24555/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 x,y,a,b,t;
scanf("%d",&t);
while(t--){
scanf("%d%d%d%d",&x,&y,&a,&b);
int s=y-x;
if(s%(a+b)==0)
printf("%d\n",s/(a+b));
else printf("-1\n");}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24560/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24560/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.