Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include <stdio.h>
int main(void) {
// your code goes here
int time, h, m, s;
scanf("%d\n", &time);
if(time < 0 || time >= 86400) {
return 0;
}
s = time % 60;
m = (time / 60) % 60;
h = time / 3600;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239793/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239793/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 hour, minute, second;
hour = minute = 0;
scanf("%d", &second);
while(second >= 60) {
second -= 60;
minute += 1;
}
while(minute >= 60) {
minute -= 60;
hour += 1;
}
printf("%d:%d:%d\n", hour, minute, second);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239836/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239836/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int t; scanf("%d",&t);
while(t--) {
int n;
scanf("%d",&n);
long long a[n],ans=0;
scanf("%lld%lld",&a[0],&a[1]);
ans=a[0]*a[1];
for(int i=2; i<n; i++) {
scanf("%lld",&a[i]);
if(a[i]*a[i-1]>ans) ans=a[i]*a[i-1];
}
printf("%lld\n",ans);
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_23988/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_23988/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
int h;
int m;
int s;
scanf("%d",&S);
h = S/(60*60);
m = (S-h*60*60)/60;
s = S-h*60*60-m*60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239922/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239922/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <math.h>
int main(){
int t, h, m, s;
scanf("%d", &t);
h = floor(t / 3600);
m = floor(t / 60) - 60 * h;
s = t - (3600 * h + 60 * m);
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239966/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239966/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,m=0,h=0,n=0;
while(scanf("%d",&a)!=EOF)
{
n=a%60;
h=a/3600;
m=(a-h*3600)/60;
printf("%d:%d:%d\n",h,m,n);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240007/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240007/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%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_240050/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240050/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,n,ha;
scanf("%d",&n);
h=n/3600;
ha=n%3600;
m=ha/60;
s=ha%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240094/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240094/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 hours, minutes, seconds, total_sec;
scanf("%d", &total_sec);
minutes = total_sec/60;
hours = minutes/60;
seconds = total_sec%60;
minutes = minutes%60;
printf("%d:%d:%d\n",hours,minutes,seconds);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240137/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240137/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, h, m, s;
scanf("%d", &a);
h = a / 3600;
a %= 3600;
m = a / 60;
s = a % 60;
printf("%d:%d:%d\n", h, m, s);
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240180/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240180/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 tmp,h,m,s;
scanf("%d",&tmp);
h=tmp/3600;
tmp=tmp%3600;
m=tmp/60;
tmp=tmp%60;
s=tmp;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240230/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240230/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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/(60*60);
m = (S%(60*60))/60;
s = (S%(60*60))%60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240274/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240274/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,c,d,e;
d=e=c=0;
0<=a<=86400;
scanf("%d",&a);
if(a>=3600){
d=a/3600;
a=a%3600;
}
if(a>=60){
e=a/60;
a=a%60;
}
if(a>=1) c=a;
else{
c=0;
}
printf("%d:%d:%d\n",d,e,c);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240324/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240324/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ss,h,m,s;
scanf("%d",&ss);
m=ss/60;
m=m%60;
s=ss%60;
h=ss/3600;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240368/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240368/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,h,m,s;
scanf("%d",&x);
h=x/3600;
m=(x%3600)/60;
s=(x%3600)%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240410/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240410/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
S=S-h*3600;
m=S/60;
s=S-m*60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240454/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240454/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 sn,h,m,s;
scanf("%d",&sn);
h = sn/3600;
m = (sn-(h*3600))/60;
s = sn-h*3600-m*60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240504/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240504/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b,c,d,e;
scanf("%d",&a);
b=a%60;
c=a/60;
d=c/60;
e=c%60;
printf("%d:%d:%d\n",d,e,b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240548/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240548/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
S = S - h * 3600;
m = S / 60;
s = S - m *60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240591/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240591/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
do{
scanf("%d", &S);
}while(S<0||S>=86400);
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_240634/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240634/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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; // input, [s]
int h, m, s; // output, [hour, min, sec]
scanf("%d", &S);
h = S/3600;
S = S%3600;
m = S/60;
s = S%60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240678/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240678/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%60;
s=S%60;
printf("%d:%d:%d\n", h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240720/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240720/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 sec,h,m,s;
scanf("%d", &sec);
h = sec / 3600;
m = (sec % 3600) / 60;
s = (sec % 3600) % 60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240771/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240771/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, h, m, s;
scanf("%d", &n);
h = n / 3600;
n = n % 3600;
m = n / 60;
s = n % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240821/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240821/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,time,min,sec;
scanf("%d",&i);
time = i / 3600;
min = i % 3600;
sec = min % 60;
printf("%d:%d:%d\n",time,min/60,sec);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240865/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240865/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,m,h;
scanf("%d",&s);
m = s/60;
s = s%60;
h = m/60;
m = m%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240915/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240915/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240959/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240959/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, a;
scanf("%d", &S);
h = S / 3600;
a = S % 3600;
m = a / 60;
s = a % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241000/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241000/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%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_241059/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241059/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,s,m,h;
scanf("%d",&x);
h=x/3600;
m=(x-h*3600)/60;
s=x-h*3600-m*60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241101/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241101/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*test7.c*/
#include<stdio.h>
int main(void){
int s,m,h;
scanf("%d",&s);
h=s/3600;
m=s/60;
if(h>=1){
m=m-h*60;
}
s=s-3600*h-60*m;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241145/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241145/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int h,m,s;
scanf("%d",&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_241189/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241189/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 s1,s2,m,h;
scanf("%d",&s1);
h = s1 / 3600;
m = (s1 % 3600) / 60;
s2 = (s1 % 3600 % 60) % 60;
printf("%d:%d:%d\n",h,m,s2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241231/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241231/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int num,h,m,s;
scanf("%d",&num);
s = num % 60;
num = num / 60;
m = num % 60;
h = num / 60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241275/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241275/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,h,m,s;
scanf("%d",&a);
h=a/3600;
a=a-h*3600;
m=a/60;
s=a-m*60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241318/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241318/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
m = (S - 3600*h)/60;
s = S - (3600 * h + 60 * m);
printf("%d:%d:%d\n",h,m,s);
return(0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241361/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241361/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,m,h;
scanf("%d",&s);
h=s/3600;
s-=3600*h;
m=s/60;
s-=60*m;
printf("%d:%d:%d\n",h,m,s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241404/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241404/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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[]) {
// insert code here...
int sec;
int h,m,s;
scanf("%d",&sec);
h = sec / 3600;
m = (sec % 3600) / 60;
s = sec % 60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241448/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241448/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 seconds;
scanf("%d", &seconds);
int hours = seconds / 3600;
int minutes = (seconds % 3600) / 60;
seconds %= 60;
printf("%d:%d:%d\n", hours, minutes, seconds);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241491/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241491/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_241541/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241541/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
typedef long long ll;
int max(int a, int b){
if(a > b) return a;
else return b;
}
int min(int a, int b){
if(a < b) return a;
else return b;
}
int sort(const void *a ,const void *b){
return *(int*)a - *(int*)b;
}
int f(int a){
int c... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241585/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241585/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,h,m,s;
scanf("%d",&a);
h=a/(60*60);
m=(a-h*60*60)/60;
s=a-(h*60*60+m*60);
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241628/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241628/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int temp;
int S;
h = 0;
m = 0;
s = 0;
temp = 0;
S = 0;
// 数値入力
scanf("%d", &S);
// 計算
// 時
h = S / 3600;
temp = S % 3600;
// 分
m = temp / 60;
// 秒
s = temp % 60;
// 結果出力
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241686/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241686/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d", &s);
m = s / 60;
s -= m * 60;
h = m / 60;
m -= h * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241729/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241729/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,m,h;
scanf("%d", &s);
m = s / 60;
s = s % 60;
h = m / 60;
m = m % 60;
printf("%d:%d:%d\n", h, m, s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241772/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241772/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d", &S);
printf("%d:%d:%d\n", S/3600,S%3600/60,S%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241822/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241822/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int h, m, s;
scanf("%d", &S);
h = S / (60 * 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_241866/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241866/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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=0;
int h, m, s;
scanf("%d", &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_241909/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241909/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
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_241952/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241952/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d",&S);
printf("%d:%d:%d\n",S/3600,(S%3600)/60,S%60);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242001/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242001/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
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_242052/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242052/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 input, h, m, tmp;
scanf("%d", &input);
h = input/(60*60);
input -= h*(60*60);
m = input/60;
input -= m*60;
printf("%d:%d:%d\n", h, m, input);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242096/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242096/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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/60%60,S%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242139/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242139/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_242182/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242182/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, se, M, H;
scanf("%d", &S);
H = S / 3600;
M = (S - H * 3600) / 60;
se = S - H * 3600 - M * 60;
printf("%d:%d:%d\n", H, M, se);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242225/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242225/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%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_242269/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242269/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d:%d:%d\n", sec / 3600, (sec % 3600) / 60, sec % 60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242311/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242311/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n,m,i,a[10]={0},j,k,
ans[10]={0},
at[11]={10,2,5,5,4,5,6,3,7,6},
aj[11]={0,1,7,4,3,2,9,5,6,8};
scanf("%d%d",&n,&m);
for(i=0;i<m;i++){
int ab;
scanf("%d",&ab);
a[ab]=1;
}
int min1[10],c=0;
for(i=1;i<10;i++){
//if(c==2)break;
if(a[i]==1){
min1[c]=i;
c++;
}
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242355/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242355/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.at = private ... |
#include <stdio.h>
#include <string.h>
#define MAXN 200000
int main() {
char s[MAXN+1];
long ct[26];
while (scanf("%s", s)==1) {
memset(ct, 0, sizeof(ct));
for (int i=0; s[i]; i++)
ct[s[i]-'a']++;
long r = 1;
for (int i=0; i<26; i++)
for (int j=i+1; j<26; j++)
r += ct[i] * ct[j];
printf("%ld\n"... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242399/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242399/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*
AOJ - ITP11_1_b
Date: 20181023
Author: Mikoron * ♡mikoiwate351♡
*/
#include<stdio.h>
#include<string.h>
#define CMAX 101
#define TOP 1
#define FRONT 2
#define RIGHT 3
#define LEFT 4
#define BACK 5
#define BOTTOM 6
typedef struct {
short suf[7];
} dice_state_t;
void show_state(dice_state_t *dice, shor... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242463/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242463/source.c"
target datalayout = "e-m:e-p270: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_state_t = type... |
#include<stdio.h>
int main(void)
{
int D[7],i,j,n,t,f,T,F;
for(i=1;i<=6;i++){scanf("%d",&D[i]);}
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d %d",&T,&F);
for(j=1;j<=6;j++){if(T==D[j])t=j;}
for(j=1;j<=6;j++){if(F==D[j])f=j;}
switch(t){
case 1:switch(f){
case 2:printf("%d\n",D[3]);break;
case 3:pr... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242506/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242506/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 d[6],n,i,j,blank,ue,mae;
for(i = 0; i < 6; i++){
scanf("%d",&d[i]);
}
scanf("%d",&n);
for(j = 0; j < n; j++){
scanf("%d %d",&ue,&mae);
for(i = 0; d[1] != mae && i < 3; i++){
//3S
blank=d[0];
d[0]=d[4];
d[4]=d... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242557/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242557/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(){
int dice[6],side[]={2,3,5,4,2};
int a,b,i,j,k,l,n;
char move[]={"00NWESn"};
for(i=1; i<=6; i++) scanf("%d",&dice[i]);
scanf("%d",&n);
for(i=0; i<n; i++){
scanf("%d %d",&a,&b);
for(j=1; dice[j]!=a; j++);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242643/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242643/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.side = privat... |
#include<stdio.h>
#include<math.h>
#include<string.h>
typedef struct dice{
int e[7]; /*Dice Eyes 1~6、0の目=swapの退避用*/
}dice_t;
typedef struct question{
int top;
int fro;
}que_t;
/*ダイス奥回転*/
void DiceRoteN(dice_t* pDice){
pDice->e[0] = pDice->e[1];
pDice->e[1] = pDice->e[2];
pDice->e[2] = pDice->e[6];
pDice->e[6]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242687/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242687/source.c"
target datalayout = "e-m:e-p270: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 { [7 x ... |
#include<stdio.h>
typedef long long unsigned llu;
typedef unsigned u;
u G[1111][1111],Gi[1111],V[1111],S[1111];
u D(u n)
{
if(V[n])return 0;u i,j=V[n]=1;
for(i=Gi[n];i--;)j+=D(G[n][i]);
return j;
}
int main()
{
u n,q,x,i=-1,j,k,e=0;
for(scanf("%u%u%u",&n,&q,&x);++i<x;)scanf("%u",S+i);
for(i=-1;++i<q;)
{
scanf(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24273/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24273/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@V = dso_local local_unnamed_... |
#include <stdio.h>
int face[7][7][4] = {
{{0},{0},{0},{0},{0},{0},{0}},
{{0},{0},{0,1,2,3},{0,1,3,5},{0,1,4,2},{0,1,5,4},{0}},
{{0},{0,2,1,4},{0},{0,2,3,1},{0,2,4,6},{0},{0,2,6,3}},
{{0},{0,3,1,2},{0,3,2,6},{0},{0},{0,3,5,1},{0,3,6,5}},
{{0},{0,4,1,5},{0,4,2,1},{0},{0},{0,4,5,6},{0,4,6,2}},
{{0},{0,5,1,3},{0},{0,5,3,6... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242773/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242773/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@face = dso_local local_unn... |
#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_242838/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242838/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_242881/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242881/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a=0,b=0;
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_242924/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242924/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_242968/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242968/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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[]) {
// insert code here...
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_243017/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243017/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 = 0;
int b = 0;
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_243060/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243060/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243103/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243103/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(int argc, const char * argv[]){
int a,b;
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_243161/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243161/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243219/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243219/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243262/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243262/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243305/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243305/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243349/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243349/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243442/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243442/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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",a,b);
}else if(a > b){
printf("a > b\n",a,b);
}else if(a == b){
printf("a == b\n",a,b);
}
return 0 ;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243486/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243486/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243529/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243529/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ab, cd;
scanf("%d %d", &ab, &cd);
if(ab < cd)
{
printf("a < b\n");
}
if(ab > cd)
{
printf("a > b\n");
}
if(ab == cd)
{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243572/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243572/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define INF 1000000000
int nums[10000];
char in[10000];
int compare (const void * a, const void * b)
{
return ( *(int*)a - *(int*)b );
}
int main(){
int i, n;
scanf("%s", in);
char * pch = strtok (in, "+");
while (pch != ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24363/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24363/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
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_243673/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243673/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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");
}
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_243716/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243716/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdlib.h>
#include <stdio.h>
#define LARGE 131072
int powers[] = {1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072};
int n;
int tree[18][LARGE];
void buildTree(int level, int count) {
int total = count / 2;
// printf("total : %d\n", total);
int i;
int mode = level % 2;
f... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24376/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@powers = dso_local local_unn... |
#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_243802/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243802/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243846/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243846/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243897/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243897/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243954/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243954/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_244025/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244025/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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");
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_244069/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244069/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_244111/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244111/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_244155/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244155/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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){
// Here your code !
int a=0,b=0;
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_244205/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244205/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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",&a,&b);
c=a-b;
if(c<0)
{
printf("a < b\n");
}
else if(c==0)
{
printf("a == b\n");
}
else
{
printf("a > b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244249/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244249/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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",&a);
scanf("%d",&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_244292/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244292/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_244342/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244342/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_244386/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244386/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a=0,b=0;
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_244436/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244436/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.