Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
char s[100];
int count,flg=0,counthoji;
char tmp;
char ans[]="KIHBR";
scanf("%s",s);
for(count=0;s[count]!='\0';count++){
if(s[count]=='A'&&s[count+1]=='A'){
printf("NO");
return 0;
}
if(s[count-1]=='I'&&s[count]=='A'&&s[count+1]=='H')... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239094/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239094/source.c"
target datalayout = "e-m:e-p270: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.ans = private... |
#include <stdio.h>
#include <math.h>
double area(double a,double b, double c);
int main(){
int i,n = 0;
double x[20];
double y[20];
double a,b,c,s = 0;
while(scanf("%lf,%lf",&x[n],&y[n])!=EOF){
n++;
}
for(i=1;i<n-1;i++){
a = sqrt( (x[0]-x[i])*(x[0]-x[i]) + (y[0]-y[i])*(y[0]-y[i]) );
b = sqrt( (x[0]-x[i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239151/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239151/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int i,n;
double dx[21],dy[21];
double x,y,sum=0;
for(n=0;~scanf("%lf,%lf",&dx[n],&dy[n]);n++);
dx[n]=dx[0];
dy[n]=dy[0];
for (i=0;i<n;i++)
sum+=(dx[i]-dx[i+1])*(dy[i]+dy[i+1]);
printf("%f\n",sum/2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239209/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239209/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,x;
scanf("%d%d",&n,&x);
int sum=0,num,i;
for(i=0;i<n;i++){
scanf("%d",&num);
sum=sum+num;
}
if((sum+n-1)!=x){
printf("NO\n");
}
else
{
printf("YES\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_23926/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_23926/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main()
{
int n,t,i;
scanf("%d %d",&n,&t);
int a[n];
for(i=0;i<n;i++){
scanf("%d",&a[i]);
}
int count=0;
for(i=1;i<=n;i++){
count+=86400-a[i-1];
if(count>=t){
printf("%d\n",i);
return 0;
}
}
printf("%d\n",n... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_23931/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_23931/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
#define M 100000000
int main(){
int n,m,i,j,k,l;
int d[21][21];
scanf("%d %d",&n,&m);
for(i=0;i<21*21;i++)d[i/21][i%21]=M;
while(m--){
scanf("%d,%d,%d,%d",&i,&j,&k,&l);
d[i][j]=k;
d[j][i]=l;
d[i][i]=d[j][j]=0;
}
for(k=1;k<=n;k++){
for(j=1;j<=n;j++){
for(i=1;i<=n... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239353/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239353/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 max(int a, int b){
return a >= b ? a : b;
}
int next(int R, int *es, int *emaxs){
int i;
for(i = 0; i < R; i++){
if(es[i] < emaxs[i]){
es[i]++;
return 1;
}
else{
es[i] = 0;
}
}
return 0;
}
int is_covered(int R, int *m_facts, int *es){
int i;
for(i = ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239410/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239410/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = 0,h = 0;
scanf("%d",&s);
while(s>=3600) {
s -= 3600;
h++;
}
while(s>=60) {
s -= 60;
m++;
}
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239454/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239454/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
s=S%60;
S/=60;
m=S%60;
h=S/60;
printf("%d:%d:%d\n",h,m,s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239498/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239498/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_239548/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239548/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%60);
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239591/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239591/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 * 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_239634/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239634/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 allSec;
int hour , min , sec;
scanf("%d" , &allSec);
hour = allSec / 3600;
allSec = allSec % 3600;
min = allSec / 60;
sec = allSec % 60;
printf("%d:%d:%d\n" , hour , min , sec);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239678/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239678/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 h=0,m=0,s=0;
scanf("%d",&a);
while(a>=3600) a-=3600,h++;
while(a>=60) a-=60,m++;
s=a;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239720/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239720/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_239764/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239764/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 / (60 * 60);
m = s / 60 - h * 60;
s -= ((m * 60) + (h * 60 * 60));
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239807/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239807/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%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_239850/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239850/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 / 60;
s = S % 3600 % 60;
printf("%d:%d:%d\n", h, m, s);
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239894/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239894/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 t, h, m ;
int a;
scanf("%d", &t);
h = t / 3600;
t = t-h*3600;
m = t / 60;
t = t - m * 60;
printf("%d:%d:%d\n", h,m,t);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_239937/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239937/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int m;
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_239980/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_239980/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,h,m,s2;
scanf("%d",&s1);
h = (int)(s1/3600);
m = (int)((s1%3600)/60);
s2 = s1-3600*h-m*60;
printf("%d:%d:%d\n",h,m,s2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240021/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240021/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,resH,resM,resS=0;
scanf("%d",&S);
resH=S/3600;
resM=(S%3600)/60;
resS=(S%3600)%60;
printf("%d:%d:%d\n",resH,resM,resS);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240065/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240065/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, 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_240108/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240108/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 main(){
int S, h, m, s;
scanf("%d", &S);
h=S/3600; /*????????????*/
m=(S-h*3600)/60; /*(S??????h????????£????????????????§???°????????????)/???????????????\
?±????????????????60??§?????£??????*/
s=S-h*3600-m*60; /*?????£????§?*/
printf("%d:%d:%d\n", h, m, s);
ret... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240151/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240151/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,input;
scanf("%d",&input);
hour = input/3600;
minute = (input - hour*3600) / 60;
second = input - hour*3600 - minute*60;
printf("%d:%d:%d\n",hour,minute,second);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240195/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240195/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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-h*3600-m*60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240245/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240245/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int S, Oo, h, m, s;
int main(){
scanf("%d", &S);
h = S / 3600;
m = S / 60 - h * 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_240289/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240289/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 % 3600) % 60;
printf("%d:%d:%d\n", h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240339/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240339/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 % 3600) % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240382/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240382/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 -= 3600*h;
m = S/60;
S -= 60*m;
s = S;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240425/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240425/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, S;
scanf("%d\n",&S);
h = S / 3600;
m = (S - h * 3600) / 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_240469/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240469/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,hour,minute,second;
scanf("%d",&Seconds);
second = (Seconds%3600) %60;
Seconds = Seconds - second;
minute = (Seconds%3600) / 60;
Seconds = Seconds - 60*minute;
hour = Seconds / 3600;
printf("%d:%d:%d\n",hour,minute,second);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240519/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240519/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 - 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_240562/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240562/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,s;
scanf("%d",&s);
h=s/3600;
s%=3600;
printf("%d:%d:%d\n",h,s/60,s%60);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240605/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240605/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%3600%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240649/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240649/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 % 3600 % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240692/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240692/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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-((h*3600)+(m*60));
printf("%d:%d:%d\n",h,m,s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240735/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240735/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,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_240793/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240793/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
m = a % 3600 / 60;
s = a % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_240836/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240836/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 main(){
int t;
scanf("%d",&t);
while(t--){
unsigned long long int x;
scanf("%llu",&x);
if(x&1==0){
x = x/2;
printf("%llu %llu\n",x,x);
}
else{
x = x-1;
printf("%d %llu\n",1,x);
}
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24088/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24088/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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<math.h>
//#include<string.h>
//#include <stdlib.h>
//int cmp(const void *a,const void *b)
//{
// return *(int *)a-*(int *)b;
//���Ǵ�С�����������ǴӴ�С�ijɣ� return *(int *)b-*(int *)a;
//}
//qsort(op,a,sizeof(op[0]),cmp);
//(���飬��Ҫ��������ָ���������������ռ�ڴ��С���ȽϺ�����
int main()
{
in... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24093/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24093/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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(void) {
int S,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_240973/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_240973/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#define BUFMAX 10
#define DAYSEC 86400
#define HOURSEC 3600
#define MINSEC 60
int main(){
char buf[BUFMAX];
int t,h,m,s;
fgets(buf,BUFMAX,stdin);
buf[BUFMAX-1] = '\0';
sscanf(buf,"%d", &t);
h = t / HOURSEC;
m = (t % HOURSEC) / MINSEC;
s = t % MINSEC;
printf("%d:%... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241022/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241022/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = external local_unn... |
#include<stdio.h>
int main(){
int second;
scanf("%d",&second);
printf("%d:%d:%d\n",second/60/60,(second%3600)/60,(second%3600)%60);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241073/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241073/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
if(S>=0 && S<=86400){
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_241116/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241116/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 cmp(const void *a,const void *b)
{
return *(int *)a-*(int *)b;
}
int main()
{
int t;
scanf("%d",&t);
while(t--){
int a[100005]={0};
int i,n,cnt;
scanf("%d",&n);
cnt=n;
for(i=0;i<n;i++){
scanf("%d",a+i);
}
qsort(a,n,sizeof(int),cmp);
for(i=0;i<n-1;i++)
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24116/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24116/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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) % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241202/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241202/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241246/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241246/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 t,n;
scanf("%d",&t);
for(int i=0;i<t;i++){
scanf("%d",&n);
int h=n-1;
printf("%d %d\n",1,h); }
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24129/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24129/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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-(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_241332/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241332/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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-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_241376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241376/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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){
// Your code here!
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_241419/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241419/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int S, s, h, m;
int main(){
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_241462/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241462/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 h;
int m;
int mm;
int s;
scanf("%d",&a);
h = a / 3600;
mm = a - 3600 * h;
m = mm / 60;
s = a - 3600 * h - 60 * m;
printf("%d:%d:%d\n",h,m,s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241505/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241505/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#ifdef DEBUG
#include<conio.h>
#endif // DEBUG
int main () {
#ifdef DEBUG
freopen("input.txt", "r", stdin);
#endif // DEBUG
int a;
scanf("%d", &a);
int sec, minu, hour;
sec = a % 60;
a = a / 60;
minu = a % 60;
hour = a / 60;
printf("%d:%d:%d\n", hour, minu, s... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241556/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241556/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 min(int a,int b)
{
if(a<=b)
return a;
else
return b;
}
int main()
{
int n,m;
scanf("%d %d",&n,&m);
int x=2*n+1;
int a[4*n+2];
int cu=0,i;
for(i=0;i<=4*n+1;i++)
a[i]=0;
for(i=x;i<=min(4*n,m);i++)
{
a[cu]=i;
cu+=2;
}
int y=cu-2;
a[cu]=0;
cu=1;
for(i=1;i<=min(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_2416/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_2416/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr co... |
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
#include<stdbool.h>
#include<assert.h>
typedef long long ll;
typedef long double ld;
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define rrep(i,l,r)for(ll i=(l);i>=(r);i--)
#define INF (1LL<<60)
#defin... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241642/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241642/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 compare(const void * a, const void * b)
{
return ( *(int*)a - *(int*)b );
}
int main()
{
long n,k,dif,i;
scanf("%ld %ld",&n,&k);
long a[n],b[n-1];
for (i=0;i<n;i++){
scanf("%ld",&a[i]);
if (i>0){
b[i-1]=a[i]-a[i-1];
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24170/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24170/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 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_241743/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241743/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241794/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241794/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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*h))/60;
s = (S -(3600*h)-(m*60));
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241837/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241837/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d:%d:%d\n", a/3600, (a%3600)/60, (a%3600)%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241880/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241880/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n, h, m, s;
scanf("%d",&n);
h = n/3600;
m = n%3600/60;
s = n%60;
printf("%d:%d:%d\n", h, m, s );
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_241923/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241923/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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%=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_241967/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_241967/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,h,m,s;
scanf ("%d",&N);
h=(N/3600);
m=(N%3600/60);
s=(N%60);
printf ("%d:%d:%d\n",h,m,s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242016/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242016/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,x;
scanf("%d",&S);
h=S/3600;
x=S%3600;
m=x/60;
s=x%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242067/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242067/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 second, hour, minute;
scanf("%d", &second);
minute = second / 60;
second %= 60;
hour = minute / 60;
minute %= 60;
printf("%d:%d:%d\n", hour, minute, second);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242153/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242153/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
s=S%60;
S/=60;
m=S%60;
S/=60;
h=S;
printf("%d:%d:%d\n",h,m,s);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242197/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242197/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,j;
scanf("%d",&n);
char a[500][500];
for(i=0;i<n;++i)
scanf("%s",&a[i]);
int ch=0;
char x=a[0][0];
for(i=0;i<n;++i)
{
if(a[i][i]!=x)
{
ch=1;
}
}
for(i=0;i<n;++i)
{
for(j... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24224/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24224/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 h,m,s,S;
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_242283/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242283/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 no = 0;
scanf("%d", &no);
printf("%d:%d:%d\n", no/3600, no/60%60, no%60);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242326/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242326/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,j,flag1,flag2;
scanf("%d",&n);
getchar();
char str[n+1][n+1],chd,cho;
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
scanf("%c",&str[i][j]);
}
getchar();
}
chd=str[1][1];
cho=str[1][2];
//printf("%c %c\n"... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24237/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24237/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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(){
char x[350][350];
char t,d,nd;
int i,j,n,check=0;
scanf("%d",&n);
getchar();
for (i=0;i<n;i++){
for (j=0;j<n;j++){
t=getchar();
x[i][j]=t;
}
getchar();
}
d=x[0][0];
nd=x[0][1];
if (d==nd) check=1;
for (i=0;i<n;i++){
for (j=0;j<n;j++){
if ((i==j)||(i+j==n-1... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24242/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24242/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 i,j,k,n,a,b,dice[7],
side[5] = {2,3,5,4,2};
char order[7][3] = {"","","N","W","E","S","NN"};
for(i=1;i<7;i++)
scanf("%d", &dice[i]);
scanf("%d", &n);
//上面を合わせる
for(i=0;i<n;i++){
scanf("%d%d",&a,&b);
for(j=1... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242478/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242478/source.c"
target datalayout = "e-m:e-p270: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>
int main(){
int dice[6],q,i;
char c;
for(i=0;i<6;i++){
scanf("%d",&dice[i]);
}
scanf("%d",&q);
for(i=0;i<q;i++){
int x,y;
scanf("%d %d",&x,&y);
if((x==dice[5] && y==dice[4])||(x==dice[4] && y==dice[0])||(x==dice[0] && y==dice[1])||(x==... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242528/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242528/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_242571/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242571/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 E[6] = {3,0,-2,2,0,-3};
int N[6] = {1,4,0,0,-4,-1};
int lsp[6] = {0,1,2,-2,-1,0};
void DICE(int a,int d[]){
int d2[6];
int i;
if(a == 0){
for(i = 0;i < 6; i++){
d2[i] = d[i + E[i]];
}
}
if(a == 1){
for(i = 0;i < 6; i++){... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242614/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242614/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@E = dso_local local_unname... |
#include<stdio.h>
#include<string.h>
int dice(int *me,int ue,int mae){
int migi,i=0;
if(ue==me[0]){
if(mae==me[1])migi=me[2];
if(mae==me[2])migi=me[4];
if(mae==me[4])migi=me[3];
if(mae==me[3])migi=me[1];
}else if(ue==me[1]){
if(mae==me[0])migi=me[3];
if(mae==me[3... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242658/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242658/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#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,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242700/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242700/source.c"
target datalayout = "e-m:e-p270: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 num[6];
int top=0,front=1,right=2,left=3,back=4,bottom=5;
int i,j,n;
int x,y;
int rep;
int aftertop,afterfront;
for(i=0;i<6;i++) scanf("%d",&num[i]);
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d%d",&x,&y);
for(j=0;j<6;j++)
{
if(x==num[j])
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242744/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242744/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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 0120: Patisserie
// 2017.9.28 bal4u@uu
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#define EQ(a,b) (fabs(a-b)<= 1e-7)
int r[13];
char buf[202], *p;
double d[13][13]; // ???????????±???????????????????°´????????¢
double dp[13][4100]; // ?°´????????¢, ?... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242788/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242788/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@d = dso_local local_unname... |
#include <stdio.h>
#include <stdlib.h>
#include <string.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_242852/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242852/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_242896/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242896/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_242939/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242939/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(a > b){
printf("a > b\n");
}
else {
printf("a == b\n");
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242982/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242982/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(int argc, char *argv[])
{
int a, b;
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_243031/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243031/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243075/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243075/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243118/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243118/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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");}
else{if(a==b){printf("a == b");}
else{printf("a > b");}
}
printf("\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243183/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243183/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 if (a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243233/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243233/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243277/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243277/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
long long int n,x,y;
scanf("%lld %lld %lld",&n,&x,&y);
long long int arr[n+1][3];
for(int i = 1; i <= n; i++)
{
arr[i][0] = 0;
arr[i][2] = 1;
arr[i][1] = 1;
}
for(int i = 1; i <= n; i++)
{
scanf("%lld",&arr[i][0]);
for(int j = 1; j <= x;j++)
{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24332/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24332/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 if (a == b) {
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243363/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243363/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243413/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243413/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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");
}
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_243457/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243457/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,x,y,day=0,b,i;
scanf("%d%d%d",&n,&x,&y);
int a[n+5];
for (int i=1;i<=n;i++) scanf("%d",&a[i]);
for (int i=1;i<=n;i++){
int kt=0;
if ((i-x)<=0) b =1;
else b= i-x;
for (int j=i;j>=b;j--) if (a[i]<a[j]&&i!=j||i==j) kt=1;
else {kt=0; break;}
if (kt==1){
if (... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24350/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24350/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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_243543/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243543/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243600/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243600/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243644/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243644/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_243688/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243688/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.