Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include <stdio.h>
#include <stdbool.h>
int main() {
int t;
scanf("%d", &t);
while(t--){
int n, x[60];
scanf("%d", &n);
for(int i = 0; i < n; i++) scanf("%d", x+i);
bool area_times_2[60];
for(int i = 0; i < 60; i++) area_times_2[i] = false;
for(int i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_33452/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_33452/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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, a, b, sum = 0;
scanf("%d%d%d", &n, &a, &b);
for (int i = 0, s; i <= n; i++) {
s = 0;
for (int j = i; j > 0; j /= 10)
s += j % 10;
if (s >= a && s <= b)
sum += i;
}
printf("%d", sum);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334563/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334563/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int N,A,B,n,n5,n4,n3,n2,n1,X,count;
scanf("%d %d %d",&N,&A,&B);
count=0;
for(n=1;n<N+1;n++)
{
n5=n/10000;
n4=(n-n5*10000)/1000;
n3=(n-n5*10000-n4*1000)/100;
n2=(n-n5*10000-n4*1000-n3*100)/10;
n1=n-n5*10000-n4*1000-n3*100-n2*10;
X=n1+n2+n3+n4+n5... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334613/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334613/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int N,A,B,i,j,k,l,sum=0;
scanf("%d%d%d",&N,&A,&B);
for(i=0;i<10;i++){
for(j=0;j<10;j++){
for(k=0;k<10;k++){
for(l=0;l<10;l++){
if(1000*i+100*j+10*k+l<=N&&A<=i+j+k+l&&i+j+k+l<=B){
sum=sum+1000*i+100*j+10*k+l;
}
}
}
}
}
if(N==10000){
sum=s... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334657/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334657/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n,a,b,tmp,hoge,ans=0,i;
scanf("%d%d%d",&n,&a,&b);
for(i=1;i<=n;i++){
tmp=i;
hoge=0;
while(tmp>0){
hoge+=tmp%10;
tmp/=10;
}
if(a<=hoge && hoge<=b)
ans+=i;
}
printf("%d\n",ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334707/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334707/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int n,a,b,tmp,sum=0,tmp2nd;
scanf("%d %d %d",&n,&a,&b);
for(int i = 1; i<=n; i++)
{
tmp = i;
tmp2nd = tmp/10000 + (tmp%10000)/1000 + (tmp%1000)/100 + (tmp%100)/10 + tmp%10;
if(tmp2nd >= a && tmp2nd <= b)
{
sum += tmp;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334750/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334750/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, a, b;
scanf("%d%d%d", &n, &a, &b);
int i;
long c = 0;
for (i = 1; i <= n; i++) {
int sum = (i / 10000) + (i % 10000 / 1000) + (i % 1000 / 100) + (i % 100 / 10) + (i % 10);
if ((a <= sum) && (sum <= b)) {
c += i;
}
}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334794/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334794/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b,c;
scanf("%d",&a);
getchar();
scanf("%d",&b);
if(a==1 && b==2){
printf("3");
}
else if(a==1 && b==3){
printf("2");
}
else if(a==2 && b==3){
printf("1");
}
else if(a==2 && b==1){
printf("3");
}
else if(a==3 &&b==1){
printf("2");
}
else if(a==3 && b==2){
printf("1");
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334837/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334837/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d",6-A-B);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334880/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334880/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 == 1 && b == 2){
printf("3\n");
}
else if(a == 1 && b == 3){
printf("2\n");
}
else if(a == 2 && b == 3){
printf("1\n");
}
else if(a == 2 && b == 1){
printf("3\n");
}
else if... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334923/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334923/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a,b,c;
scanf("%d\n%d\n",&a,&b);
if (a == 1 && b == 2) printf("3\n");
if (a == 2 && b == 1) printf("3\n");
if (a == 2 && b == 3) printf("1\n");
if (a == 3 && b == 2) printf("1\n");
if (a == 3 && b == 1) printf("2\n");
if (a == 1 && b == 3) printf("2\n");
return 0... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_334967/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_334967/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d", &a);
scanf("%d", &b);
int c = 6;
printf("%d\n", c - (a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335009/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335009/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);//a,b should be 1,2 or 3 and each are different
if((a==1&&b==2)||(a==2&&b==1))
{printf("3\n");}
else if((a==3&&b==2)||(a==2&&b==3))
{printf("1\n");}
else{printf("2\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335052/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335052/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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==1&&b==2) printf("%d",3);
if(a==1&&b==3) printf("%d",2);
if(a==2&&b==1) printf("%d",3);
if(a==3&&b==1) printf("%d",2);
if(a==2&&b==3) printf("%d",1);
if(a==3&&b==2) printf("%d",1);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335096/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335096/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
if(a==1&&b==2)
c=3;
else if(a==2&&b==1)
c=3;
else if(a==1&&b==3)
c=2;
else if(a==3&&b==1)
c=2;
else if(a==2&&b==3)
c=1;
else c=1;
printf("%d\n",c);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335197/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335197/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/* Pradyumna Newalkar*/
#include <stdio.h>
#define ll long long int
int main(void) {
int n;
scanf("%d", &n);
char a[2*n];
ll key[26] = {0}, door[26] = {0};
int count = 0;
scanf("%s", a);
ll i, j, k;
for(i = 0; a[i] != '\0'; i++) {
if(i & 1) {
if(key[a[i] - 'A']... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_33524/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_33524/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main() {
int s, t;
scanf("%d%d",&s,&t);
if (s!=1&&t!=1) {
printf("1");
}
else if(s != 2 && t != 2){
printf("2");
}
else if(s != 3 && t != 3){
printf("3");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335283/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335283/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d\n", 6-a-b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335326/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335326/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
while(1){
int c, r, i, j, k;
int field[10][10000], res = 0;
scanf("%d%d", &c, &r);
if(c == 0 && r == 0){
return 0;
}
for(i = 0;i < c;i++){
for(j = 0;j < r;j++){
scanf("%d", field[i] + j);
}
}
for(i = 0;i < 1 << c;i ++){
int sum = ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335377/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335377/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#include<stdlib.h>
int main()
{
int n,v,i,count,a[500005],l;
char s[500005];
scanf("%d",&n);
scanf("%s",s);
l=strlen(s);
memset(a,0,sizeof(a));
count=0;
for(i=0;i<l;i++)
{
if(i%2==0)
{
v=s[i];
//printf("v=%d\n",v);
v=v-'a';
//printf("v=%d\n",v);
a[v]++;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_33542/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_33542/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#define lop(i, n) for(i=0; i<n; i++)
int main()
{
int s;
scanf("%d", &s);
int L=s/100, R=s%100;
if(1<=L&&L<=12){
if(1<=R&&R<=12)printf("AMBIGUOUS\n");
else printf("MMYY\n");
}else{
if(1<=R&&R<=12)printf("YYMM\n");
else pri... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335463/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335463/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int is_mm(int d){
return (d >= 1 && d <= 12);
}
int main(){
int input;
scanf("%d", &input);
int t = input/100;
int b = input%100;
if(is_mm(t)){
if(is_mm(b)) printf("AMBIGUOUS");
else printf("MMYY");
}else{
if(is_mm(b)) printf("YYMM");
else printf("NA");
}
retu... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335506/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335506/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#include <time.h>
#define isMonth(x) ( 1 <= x && x <= 12 )
int main(int argc, char const *argv[])
{
int num, t, b;
scanf("%d", &num);
t = num / 100;
b = num % 100;
if( isMonth(t) && isMonth(b) )
puts("AMBIGUOUS");
else if( isMonth(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335564/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335564/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
int upper, lower;
upper = S / 100;
lower = S % 100;
if((0 < upper && upper <= 12) && (0 < lower && lower <= 12)){
printf("AMBIGUOUS\n");
}else if (!(0 < upper && upper <= 12) && (0 < lower && lower <= 12))
{
prin... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335607/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335607/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d", &num);
int i = 0;
int n = 0;
int keta[4];
keta[0] = num/1000;
n = num%1000;
keta[1] = n/100;
n=n%100;
keta[2] = n/10;
n=n%10;
keta[3] = n;
int pair1 = 0;
int pair2 = 0;
pair1 = keta[0]*10+keta[1];
pair2 = keta[2]*10+keta[3];
int y... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335650/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335650/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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=0;
char s[4][20]={{"NA"},{"MMYY"},{"YYMM"},{"AMBIGUOUS"}};
scanf("%2d%2d",&a,&b);
if(0<a&&a<=12)c+=1;
if(0<b&&b<=12)c+=2;
printf("%s\n",s[c]);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335737/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335737/source.c"
target datalayout = "e-m:e-p270: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.s = private u... |
#include <stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
if(a==b){
printf("Draw");
return 0;
} else if(a==1){
printf("Alice");
return 0;
} else if(b==1){
printf("Bob");
return 0;
}
if(a<b){
printf("Bob");
} else {
printf("Alice");
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335788/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335788/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
1<=A<=13;
1<=B<=13;
scanf("%d %d",&A,&B);
if(A!=1 && B!=1)
{
if(A>B)
printf("Alice");
else if(A<B)
printf("Bob");
else
printf("Draw");
}
else if(A==1 && B!=1)
printf("Alice");
else if(B==1 && A!=1)
printf("Bob");
else
printf("Draw");
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335830/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335830/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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>=2&&a<=13&&b>=2&&b<=13)
{
if(a>b)
printf("Alice");
else if(b>a)
printf("Bob");
else
printf("Draw");
}
else if(a==1&&b==1)
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335874/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335874/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))
int main(){
ll a,b;
scanf("%lld%lld",&a,&b);
if(a==1||b==1){
if(a==1&&b==1)puts("Draw");
else puts(a==1?"Alice":"Bob");
}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335917/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335917/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b;
scanf("%d",&a);
scanf("%d",&b);
if(a>b && b!=1||a==1 && b!=a)
printf("Alice");
else if(b>a && a!=1 || b==1 && a!=b)
printf("Bob");
else
printf("Draw");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_335960/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_335960/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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("Draw");
} else if(a==1){
printf("Alice");
} else if(b==1){
printf("Bob");
} else if(a>b){
printf("Alice");
} else {
printf("Bob");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336002/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336002/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
a+=11;
a%=13;
b+=11;
b%=13;
if(a==b) puts("Draw");
else puts(a<b?"Bob":"Alice");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336046/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336046/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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 Volume 0 Problem 0065
#include <stdio.h>
#include <string.h>
typedef struct {
int costomer;
int no;
} DATA;
int main(void)
{
char in_str[81];
DATA data[1000];
int costomer_no;
int costomer;
int day;
int i, j;
DATA tmp;
memset(data, 0, sizeof(data));
costomer_no = 0;
while (1){
fgets(in_str... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336097/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336097/source.c"
target datalayout = "e-m:e-p270: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.DATA = type { i32, ... |
#include <stdio.h>
int main() {
int a[4] = {0};
int i,b,n;
for(i=0;i<4;i++) {
scanf("%d %d", &b,&n);
if(b == 1) a[i] = 6000 * n;
else if(b ==2)a[i] = 4000 * n;
else if(b == 3) a[i] = 3000 * n;
else if(b == 4) a[i] = 2000 * n;
}
for(i=0;i<4;i++) printf("%d\n",a[i]);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336154/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336154/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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[4], n[4], i, co;
for(i = 0; i < 4; i++){
scanf("%d%d", &t[i], &n[i]);
}
for(i = 0; i < 4; i++){
if(t[i] == 1) co = 6000;
if(t[i] == 2) co = 4000;
if(t[i] == 3) co = 3000;
if(t[i] == 4) co = 2000;
printf("%d\n", n[i] * co);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336198/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336198/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, n;
int price[] = {6000, 4000, 3000, 2000};
while (scanf("%d%d\n", &t, &n) != EOF) {
printf("%d\n", price[t-1] * n);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336248/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336248/source.c"
target datalayout = "e-m:e-p270: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.price = priva... |
//set many funcs template
//Ver.20181228
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#include<time.h>
#define inf 1072114514
#define llinf 4154118101919364364
#define mod 1000000007
#define pi 3.1415926535897932384
int max(int a,int b){if(a>b){return a;}return b;}
int min(int a,int b){i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336305/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336305/source.c"
target datalayout = "e-m:e-p270: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.sd = type { i32, i3... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
//孤立した'#'がなければ描ける
int main(void) {
int i, j;
int H, W;
char **s;
int possibility;
int loneliness;
char buf[128], *ch;
fgets(buf, sizeof(buf), stdin);
ch = strtok(buf, " ");
H = atoi(ch);
ch = strtok(NULL, " ");
W = atoi(ch);
s = (char **)calloc(H, s... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336349/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336349/source.c"
target datalayout = "e-m:e-p270: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 H,W,i,j,a[55][55]={0};
char s[55][55];
scanf("%d %d",&H,&W);
for(i=1;i<=H;i++){
scanf("%s",s[i]);
}
for(i=1;i<=H;i++){
for(j=0;j<W;j++){
if(s[i][j]=='#'){
a[i][j+1]++;
}
}
}
for(i=1;i<=H;i++){
for(j=1;j<=W;j++){
if(a[i][j]==1){
if(a[i-1][... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336392/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336392/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 H,W,count=0;
char cs[55][55]={"."};
scanf("%d %d",&H,&W);
for(int l=0;l<H;l++){ scanf("%s",cs[l]);}
for(int l=0;l<H;l++){
for(int l2=0;l2<W;l2++){
if(cs[l][l2]=='#' && cs[l-1][l2]!='#' && cs[l+1][l2]!='#' && cs[l][l2-1]!='#' && cs[l][l2+1]!='#'){... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336435/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336435/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
char mark[50][50];
int main(void) {
uint32_t h, w;
bool isolatedCellsExist = false;
scanf("%"PRIu32" %"PRIu32"\n", &h, &w);
for (uint32_t row = 0; row < h; row++) {
for (uint32_t col = 0; ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336479/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336479/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 grading(void)
{
int pm, pe, pj;
scanf("%d %d %d", &pm, &pe, &pj);
if (pm == 100 || pe == 100 || pj == 100 || (pm + pe) >=180 || (pm + pe + pj) >= 240) printf("A\n");
else if ((pm + pe + pj) >= 210 || (( pm + pe + pj) >= 150 && (pm >= 80 || pe >= 80))) printf("B\n");
else printf("C\n");
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336521/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336521/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 a1,k,i,ak;
int t,min,max,digit;
scanf("%d",&t);
while(t--){
scanf("%lli %lli",&a1,&k);
for(i=1;i<k;i++){
ak=a1;
min=a1%10;
max=min;
a1/=10;
while(a1>0){
digit=a1%10;
if(digit>max) max=digit... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_33658/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_33658/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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(){
long long int t,a,k;
scanf("%lld",&t);
for(int i=1;i<=t;i++){
scanf("%lld%lld",&a,&k);
for(int j=1;j<k;j++){
int min=10,max=0,b=0;
long long int s=a;
while(s){
b=s%10;
if(b>=max){
max=b;
}
if(b<=min){
min=b;
}
if(min==0){
break;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_33663/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_33663/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 ... |
//set many funcs template
//Ver.20190820
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#include<time.h>
#include<assert.h>
#define inf 1072114514
#define llinf 4154118101919364364
#define mod 1000000007
#define pi 3.1415926535897932384
int max(int a,int b){if(a>b){return a;}return b;}
int... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336673/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336673/source.c"
target datalayout = "e-m:e-p270: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.sd = type { i32, i3... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <limits.h>
#include <string.h>
#define ll long long int
int main()
{
int N;
scanf("%d",&N);
int idx = 0;
int array[N];
int max = 0;
for (int i = 0;i<N;i++)
{
scanf("%d",&array[i]);
if (max<array[i])
{
max=array... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336716/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336716/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, p[10], max = 0;
int sum = 0;
scanf("%d", &n);
for (i = 0; i < n; i++) {
scanf("%d", &p[i]);
if (p[i] >= max) max = p[i];
sum += p[i];
}
printf("%d\n", sum - max / 2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336781/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336781/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, k, max = 0, sum = 0;
int List[n];
scanf("%d", &n);
for (i = 0; i < n; i++){
scanf("%d", &List[i]);
}
for (j = 0; j < n; j++){
if (List[j] > max){
max = List[j];
}
}
for (k = 0; k < n; k++){
sum = ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336824/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336824/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 NMAX 10
int main () {
int N;
int ptmp;
int pmax = 100;
int sum = 0;
scanf ("%d", &N);
for (int i=0; i<N; i++) {
scanf ("%d", &ptmp);
if (ptmp > pmax)
pmax = ptmp;
sum += ptmp;
}
printf ("%d\n", sum - pmax/2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336868/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336868/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i, p[10], memory, answer;
scanf("%d", &N);
scanf("%d", &p[0]);
answer += p[0];
memory = p[0];
for(i = 1; i < N; i ++){
scanf("%d", &p[i]);
answer += p[i];
if(p[i] > memory){
memory = p[i];
}
}
printf("%d", answer - memory / 2);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336910/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336910/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,m,s,p;
scanf("%d",&n);
for (s=i=0;i<n;i++) {
scanf("%d",&p);
if (i==0) m=p;
else if (m<p) m=p;
s+=p;
}
printf("%d\n",s-m/2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336954/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336954/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 Prime 1000000007
int main(void){
int n,i,j;
int cnt;
char c[202][20];
long long dp[202][202]={{1}};
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%s",&c[i]);
cnt=0;
for(i=0;i<n;i++){
if(c[i][0]=='-')cnt++;
for(j=0;j<n+1;j++){
if(c[i][0]=='D'){
dp[i-cnt+1][j-cnt]+=dp[i-c... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_336998/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_336998/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n",a*b,2*a+2*b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337054/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337054/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n", a*b, a+a+b+b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337098/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337098/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n",a*b,2*(a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337140/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337140/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n",a*b,2*(a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337184/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337184/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n",a*b,2*a+2*b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337234/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337234/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d %d",&a,&b);
c=a*b;
d=(a*2)+(b*2);
printf("%d %d\n",c,d);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337278/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337278/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a, b, c, d;
scanf("%d%d",&a,&b);
c = a * b;
d = a*2 + b*2;
printf("%d %d\n",c,d);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337328/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337328/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int x,y,a,b;
scanf("%d %d" ,&x,&y);
a=x*y;
b=2*x+2*y;
printf("%d %d\n",a,b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337386/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337386/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int length, area;
scanf("%d %d", &a, &b);
length = 2*a + 2*b;
area = a*b;
printf("%d %d\n", area, length);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337429/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337429/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int s, l;
scanf("%d", &a);
scanf("%d", &b);
s = a * b;
l = a * 2 + b * 2;
printf("%d %d\n", s, l);
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337472/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337472/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,ans1,ans2,temp;
scanf("%d",&n);
ans1=2*(n/7);
ans2=2*(n/7);
temp=n%7;
if(temp>1)
{
ans2+=2;
}
else
{
ans2+=temp;
}
if(temp>5)
{
ans1+=temp-5;
}
printf("%d %d\n",ans1,ans2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_33753/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_33753/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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);
printf("%d %d\n",a*b,a+a+b+b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337573/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337573/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n", a*b, 2*(a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337623/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337623/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 >=24){
printf("%d",(a+b)-24);
}
else{
printf("%d",a+b);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337667/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337667/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,ans;
scanf("%d %d",&A,&B);
ans = A + B;
if(ans >= 24){
ans -= 24;
}
printf("%d",ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337717/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337717/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d\n", (a+b)%24);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337775/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337775/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b,c,d;
scanf("%d %d",&a,&b);
c=a+b;
if (c>=24)
{
d=c-24;
printf("%d\n",d);
}else
{
printf("%d\n",c);
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337818/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337818/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,ans;
scanf("%d%d",&a,&b);
ans=a+b;
ans%=24;
printf("%d\n",ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337861/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337861/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int n;
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a+b>=24){
printf("%d\n",a+b-24);
}else{
printf("%d\n",a+b);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337904/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337904/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
double z(double a){
if(a>0)return a;
else return -a;
}
int main(void){
int i;
int N;
double T,A;
scanf("%d\n",&N);
scanf("%lf %lf",&T,&A);
int h[N+1];
for(i=0;i<N;i++){
scanf("%d",&h[i]);
}
double m=z(A-T+h[0]*0.006);
int ans=0;
for(i=1;i<N;i++){
if(m... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337948/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337948/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,T,A,i,h,num=0;
double t,td,min=9999;
scanf("%d%d%d",&N,&T,&A);
for(i=0;i<N;i++)
{scanf("%d",&h);
t=T-h*0.006;
td=A-t;
if(td<0)td=-td;
if(td<=min){min=td;num=i;
}
}
printf("%d\n",num+1);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_337991/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_337991/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 N, H[1000], T, A, i, tem = 1000000000, ans;
scanf("%d", &N);
scanf("%d %d", &T, &A);
for (i = 0; i < N; i++) {
scanf("%d", &H[i]);
if (tem > abs(A * 1000 - (T * 1000 - H[i] * 6))) {
tem = abs(A * 1000 - (T * 1000 - H[i] * 6));
ans = i + 1;
}
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338033/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338033/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,t,a;
scanf("%d%d%d",&n,&t,&a);
int tmp[n],i;
for(i=0;i<n;i++){
scanf("%d",&tmp[i]);
tmp[i]=abs(a*1000-(t*1000-(tmp[i]*6)));
}
int min=tmp[0];
int ans=0;
for(i=1;i<n;i++){
if(min>tmp[i]){min=tmp[i];ans=i;}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338084/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338084/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
typedef struct{
double t;
int num;
} hight;
int main()
{
int n, i;
scanf("%d\n", &n);
hight h[n];
double t, a, tempar;
scanf("%lf%lf", &t, &a);
for(i = 0; i < n; ++i){
h[i].num = i+1;
scanf("%lf", &h[i].t);
tempar = t - h[i].t * 0.006;
h[i].t = a - tempar;
if(h[i]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338127/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338127/source.c"
target datalayout = "e-m:e-p270: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.hight = type { doub... |
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
typedef long long int ll;
#define mod 1000000007
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define m0(x) memset(x,0,sizeof(x))
int main(void){
int n,t,a;
scanf("%d",&n);
scanf("%d %d",&t,&a);
double h[n],ans... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338170/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338170/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//ALDS1_3_D
#include <stdio.h>
#include <string.h>
#define STR_MAX_LEN 20000
int main(void)
{
char buf[STR_MAX_LEN];
unsigned int length[STR_MAX_LEN] = {}, depth;
unsigned int ii, jj, kk, field_len, floos[STR_MAX_LEN] = {};
unsigned int valley = 1, hill[STR_MAX_LEN] = {};
uns... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338213/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338213/source.c"
target datalayout = "e-m:e-p270: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> // printf(), scanf()
#include <stdlib.h> // exit()
#include <stdbool.h>
#define STACK_SIZE1 20000
#define STACK_SIZE2 10000
typedef struct stack2_tbl
{
int i;
int j;
} stack2_t;
const char NUL = '\0';
int stack1[STACK_SIZE1];
stack2_t stack2[STACK_SIZE2];
int sp1;
int sp2;
void... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338264/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338264/source.c"
target datalayout = "e-m:e-p270: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.stack2_tbl = type {... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define N 20000
#define pi M_PI
typedef struct Data{
int area,pos;
}D;
D t[N];
int u[N],n,i,T,U,ans,A;
char str[N+1];
D X,Y;
void Dpush(D data){
t[T++]=data;
}
D Dpop(){
return t[--T];
}
void push(int x){
u[U++]=x;
}
int pop... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338314/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338314/source.c"
target datalayout = "e-m:e-p270: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.Data = type { i32, ... |
#include<stdio.h>
#define LEN 20001
#define AREA 10001
typedef struct Distritc{
int j;
int s;
}distritc;
int main(void){
int i, j = 0, k = 0, s, sum = 0;
char slash;
int s1[LEN];
distritc s2[AREA];
for(i = 0; scanf("%c", &slash) != EOF; i++){
if(slash == '\\') s1[j++] = i;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338358/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338358/source.c"
target datalayout = "e-m:e-p270: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.Distritc = type { i... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct{
int fir; //first
int sec; //second
}w;
int s[20000], sizes = 0, sizet = 0;
w t[20000];
void push_s(int x)
{
s[sizes++] = x;
}
int pop_s()
{
sizes--;
return s[sizes];
}
void push_t(int fir, int sec)
{
w x;
x.fir ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338400/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338400/source.c"
target datalayout = "e-m:e-p270: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.w = type { i32, i32... |
#include <stdio.h>
#include <string.h>
int main(void)
{
char after[32][9] = {
"100101", "10011010", "0101", "0001", "110", "01001",
"10011011", "010000", "0111", "10011000", "0110", "00100",
"10011001", "10011110", "00101", "111", "10011111", "1000",
"00110", "00111", "10011100", "10011101", "000010",
"100... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338451/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338451/source.c"
target datalayout = "e-m:e-p270: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.after = priva... |
#include <stdio.h>
int isDefined( int n, int n1, int n2, int sw[ 2 ][ 10000 ] ){
int i, j, k;
int care[ 2 ];
care[ 0 ] = n1;
care[ 1 ] = n2;
for( j = 0; j < 2; j++ ){
for( i = 0; i < n; i++ ){
if( sw[ j ][ i ] == 0 ){
sw[ j ][ i ] = -1;
care[ j ]--;
return( isDefined( n, c... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338509/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338509/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 N;
int nextNum[114514];
int* nexts[114514];
int* henIndice[114514];
int answer[114514];
void asumikana(int idx, int pidx, int pcolor) {
int i;
int nextColor = 1;
for (i = 0; i < nextNum[idx]; i++) {
if (nexts[idx][i] == pidx) continue;
int color;
if (nextColor == p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338567/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338567/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@nextNum = dso_local local_... |
#include <stdio.h>
int main(void) {
long long N, A[200005], B[10], X, K, i, j;
scanf("%lld", &N);
for (i=1; i<=N; i++) scanf("%lld", &A[i]);
for (i=1; i<=3; i++) B[i]=0;
X=1;
for (i=1; i<=N; i++) {
K=0;
for (j=1; j<=3; j++) {
if (B[j]==A[i]) {
if (K==... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338631/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338631/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[10000];
int main()
{
int n, i, m, x;
char c;
scanf("%d%c", &n, &c);
scanf("%c", &c);
for(i=1; i<n; i++)
{
m=(c-'A')*30;
scanf("%c", &c);
m+=(c-'A');
a[m]++;
}
m=0;
x=0;
for(i=0; i<1000; i++)
{... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_33869/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_33869/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
void swap(int *a, int *b)
{
int temp;
temp=*a;
*a=*b;
*b=temp;
}
int main(void)
{
int n;
int i,j;
int a[210]={};
scanf("%d", &n);
for(i=0;i<2*n;i++)
scanf("%d",&a[i]);
for(i=0;i<2*n;i++)
for(j=i+1;j<2*n;j++)
if(a[i]<a[j])
swap(&a[i],&a[j]);
int sum=0;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338732/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338732/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 R;
scanf ("%d",&R);
printf ("%f",R*2*(3.14159));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338798/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338798/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 PI 3.14159265359
void main(){
int r;
scanf("%d",&r);
printf("%lf\n",2*r*PI);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338840/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338840/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 r;
scanf("%d",&r);
printf("%.20lf", r * 2 * 3.14159265358979323846);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338884/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338884/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(){
double r;
scanf("%lf",&r);
printf("%lf\n",M_PI*r*2.0);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_338970/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_338970/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main(void)
{
int r;
double l;
scanf("%d", &r);
l = 2 * M_PI * r;
printf("%f\n", l);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339012/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339012/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
float r;
scanf("%f",&r);
printf("%f",r*2*3.141592653582);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339063/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339063/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 r;
scanf("%d",&r);
double c=2*3.1415926535*r;
printf("%lf\n",c);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339113/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339113/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(void) {
int r;
scanf("%d",&r);
printf("%f",2*r*M_PI);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339164/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339164/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 r;
double c;
scanf("%d",&r);
c=3.1415926*2.0*r;
printf("%.2lf\n",c);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339214/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339214/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 PI 3.1415926
int main(){
double r,c;
while(~scanf("%lf",&r))
{
c=2*PI*r;
printf("%.6f\n",c);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339258/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339258/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 r;
scanf("%d", &r);
double c = (2 * r * 3.141592);
printf("%lf", c);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339300/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339300/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.