Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int main(){
int x;
int y;
scanf("%d", &x);
scanf("%d", &y);
printf("%d ", x*y);
printf("%d\n", 2*x+2*y);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308881/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308881/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int x, y;
scanf("%d %d", &x, &y);
printf("%d %d\n", x * y, 2 * (x + y));
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308975/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308975/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,f;
scanf("%d %d", &a, &b);
f = 2*a +2*b;
s = a*b;
printf("%d %d\n",s, f);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309017/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309017/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,(a*2+b*2));
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309060/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309060/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,m;
scanf("%d %d",&n,&m);
printf("%d %d\n",n*m,n+m+n+m);
return 0;// Your code here!
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309110/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309110/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_309161/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309161/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_309211/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309211/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,s,l;
scanf("%d %d", &a, &b);
s=a*b;
l=2*a+2*b;
printf("%d %d\n",s,l);
return(0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309255/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309255/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_309299/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309299/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n",a*b,2*(a+b));
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309341/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309341/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
printf("%d %d\n", a*b, 2*a+2*b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309385/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309385/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, a * 2 + b * 2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309428/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309428/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, a * 2 + b * 2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309471/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309471/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,a+a+b+b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309514/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309514/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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[4];
scanf("%d%d%d",&a[0],&a[1],&a[2]);
a[1] *= -1;
if (a[1] + a[2] <= 0)
printf("delicious");
else if (a[1] + a[2] > a[0])
printf("dangerous");
else
printf("safe");
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309558/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309558/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int X,A,B;
scanf("%d%d%d",&X,&A,&B);
if(A>=B)printf("delicious");
else if((A+X)>=B)printf("safe");
else printf("dangerous");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309600/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309600/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int x=0,a=0,b=0;
scanf("%d %d %d",&x,&a,&b);
if(0-a+b > x){
printf("dangerous\n");
}else if(0-a+b >0){
printf("safe\n");
}else{
printf("delicious\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309651/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309651/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,a,b;
scanf("%d %d %d",&x,&a,&b);
if((a-b)>=0){
printf("delicious\n");
}else if((a+x)>=b){
printf("safe\n");
}else{
printf("dangerous\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309695/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309695/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 x,a,b;
scanf("%d %d %d",&x,&a,&b);
if(a>=b){
printf("delicious\n");
}else if((b-a)<=x){
printf("safe\n");
}else{
printf("dangerous\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309738/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309738/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, a, b;
scanf("%d %d %d\n",&x,&a,&b);
if (b <= a) printf("delicious\n");
else if (b <= a + x) printf("safe\n");
else printf("dangerous\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309781/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309781/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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*)b - *(int*)a;
}
int main(void)
{
int n, i, j, k;
int ans=0;
int a[100];
scanf("%d", &n);
for(i=0; i<n; i++){
scanf("%d", &a[i]);
}
qsort(a, n, sizeof(int), cmp);
for(i=0; i<n; i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309824/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309824/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,l[100];
int i,j,k,tmp;
int count=0;
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%d",&l[i]);
}
for(i=0;i<n;++i){
for(j=i+1;j<n;++j){
if(l[i]>l[j]){
tmp = l[i];
l[i]=l[j];
l[j]=tmp;
}
}
}
//for(i=0;i<n;i++) printf... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309875/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309875/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//B - Making Triangle
//Hiia
#include <stdio.h>
#include <stdlib.h>//rannsuu, zettaichi(absolute)
#include <time.h>
//srand((unsigned int) time(0));
#include <math.h>//koudona keisann
#include <string.h>//hairetsu
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))
typedef long long ll;
//#define N 9982... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_309969/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_309969/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main () {
int t = 0;
char s[7] = "";
int res = 0;
res = scanf("%d", &t);
while (t > 0) {
int rk = 0;
int gk = 0;
int bk = 0;
int is_ok = 1;
res = scanf("%s", s);
for (int i = 0; i < 6; i++) {
if (s[i] == 'r') {
rk++;
} else if (s[i] == ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31001/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31001/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main()
{
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (b - a == c - b) printf("YES\n");
else printf("NO\n");
fflush(stdout);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310053/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310053/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
b-a==c-b||a-b==b-c?printf("YES"):printf("NO");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310097/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310097/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
void solve()
{
int n;
scanf("%d",&n);
int i=0;int arr[n];int n1=n;
for (i;i<n;i++)
{
arr[i]=n1;n1--;
}i--;int i1=0;
for (i1=0;i1<n;i1++)printf("%d ",arr[i1]);printf("\n");
while(arr[0]!=1)
{
int temp=arr[i];
arr[i]=arr[i-1];
arr[i-1]=temp;
i--;
for (i1=0;i1... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31014/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31014/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main()
{
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (b - a == c - b)
printf("YES\n");
else
printf("NO\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310183/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310183/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a - b == b - c){
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310226/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310226/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%s\n", b-a==c-b?"YES":"NO");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310277/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310277/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int arr[55]={3,1,2};
int main(){
int t,n,i,j,k,cnt;
for(i=3;i<55;i++){
arr[i]=i+1;
}
scanf("%d", &t);
while(t--){
scanf("%d", &n);
if(n>3){
for(i=0;i<n;i++){
for(j=i;j<n;j++){
printf("%d ", arr[j]);
}
for(k=0;k<i;k++){
printf("%d ", arr[k]);
}
printf("\n");
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31032/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31032/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@arr = dso_local local_unname... |
#include <stdio.h>
#include <stdlib.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)
#define W 700
typedef struct tuple{int x,y;}T;
int qidx[500010];
T query[500010];//[x,y)
int qcmp(const void*p,const void*q){
if(query[*(int*)p].x/W<query[*(int*)q].x/W)return -1;
if(query[*(int*)p].x/W>query[*(int*)q].x/W)return 1;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310363/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310363/source.c"
target datalayout = "e-m:e-p270: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.tuple = type { i32,... |
#include <stdio.h>
int main(){
int A;
int B;
int C;
scanf ("%d %d %d",&A,&B,&C);
if (A==B && A==C && C==B){
printf ("No");
}
else if (A==B && A!=C){
printf ("Yes");
}
else if (A==C && A!=B){
printf ("Yes");
}
else if (B==C && B!=A){
printf ("Yes");
}
else if (A!=B && A!=C && B!=C){
printf ("No")... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310406/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310406/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int n,m,o;
scanf("%d",&n);
scanf("%d",&m);
scanf("%d",&o);
if(n==m && m==o)
{
printf("No");
}
else if(n!=m && m!=o && n!=o)
{
printf("No");
}
else
{
printf("Yes");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310457/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310457/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int flag=0;
scanf("%d",&a); scanf("%d",&b); scanf("%d",&c);
if(a==b)
flag+=1;
if(b==c)
flag+=1;
if(c==a)
flag+=1;
if(flag==1)
puts("Yes");
else
puts("No");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310543/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310543/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main() {
int A,B,C;
scanf("%d %d %d",&A,&B,&C);
if((A==B)&&A!=C)
{
printf("Yes\n");
}
else if((B==C)&&A!=C)
{
printf("Yes\n");
}
else if((A==C)&&A!=B)
{
printf("Yes\n");
} else{
print... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310587/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310587/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a,b,c;
scanf("%d %d %d", &a, &b, &c);
if (a == b && b==c)
{
printf("No");
return(0);
}
if (a!=b&&a!=c&&b!=c)
{
printf("No");
return(0);
}
printf("Yes");
return(0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310637/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310637/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int mode = 0;
scanf("%d %d %d", &a, &b, &c);
if( a == b && b != c && c != a ){
mode = 1;
}
if( a != b && b == c && c != a ){
mode = 1;
}
if( a != b && b != c && c == a ){
mode = 1;
}
if( mode == 1 ){
printf("Yes\n");
} else {
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310680/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310680/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a==b && b!=c){
printf("Yes");
}else if(c==b && b!=a){
printf("Yes");
}else if(c==a && b!=a){
printf("Yes");
}else{
printf("No");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310730/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310730/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
int ispoor = 0;
if (a == b && b != c) ispoor = 1;
if (b == c && c != a) ispoor = 1;
if (c == a && a != b) ispoor = 1;
if (ispoor) {
puts("Yes");
} else {
puts("No");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310789/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310789/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
char s[101];
char *kawaisou = "No";
// スペース区切りの整数の入力
scanf("%d %d %d",&a,&b,&c);
if(a == b){
if(a != c){
kawaisou = "Yes";
}
}
else if(b == c){
if(a != b){
kawaisou = "Yes";
}
}
els... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310839/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310839/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a==b&&a!=c)
printf("Yes");
else if(a==c&&a!=b)
printf("Yes");
else if(b==c&&a!=b)
printf("Yes");
else
printf("No");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310882/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310882/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a==b&&a!=c)
printf("Yes");
else if(a==c&&a!=b)
printf("Yes");
else if(b==c&&b!=a)
printf("Yes");
else
printf("No");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310925/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310925/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int A, B, C;
scanf("%d %d %d", &A, &B, &C);
if ((A == B && C != A) ||
(B == C && A != B) ||
(C == A && B != C))
{
printf("Yes");
}
else
{
printf("No");
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_310969/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_310969/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <string.h>
int main(void){
int i,j = 0;
char w[11], t[1001];
scanf("%s", w);
do{
scanf("%s",t);
if(!strcmp(t,"END_OF_TEXT")) break;
for(i=0;t[i]!='\0';i++)
if(t[i]<91) t[i] += 32;
if( !strcmp(w,t) ) j++;
}while(1);
printf("%d\n",j);
return 0;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311018/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311018/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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<ctype.h>
#include<string.h>
int main(void)
{
char W[11],T[1001];
int count=0,i;
scanf("%s",&W);
fflush(stdin);
for(i=0;i<11;i++ )
{
W[i] = tolower(W[i]);
if(W[i] == '\0'){break;}
}
for( ; ; ){
scanf("%s",&T);
if(!strcmp(T,"END_OF_TEXT")){break;}
ffl... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311061/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311061/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
char lowerCaseChar(char ch)
{
char ret;
if (ch >= 0x41 && ch <= 0x5a) {
ret = ch + 0x20;
}
else {
ret = ch;
}
return ret;
}
void lowerCase(char *str)
{
int i;
for (i = 0; str[i] != '\0'; i++) {
str[i] = lowerCaseChar(str[i]);
}
}
int main(int argc, char *argv[])
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311119/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311119/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
typedef unsigned u;
typedef struct S
{
char problem;
u go;
struct S *nx;
}v;
char vis[100000];
u ans[100000];
v *D[100000],*R[100000];
int main()
{
u n,i,a,b,c;
v *t;
scanf("%u",&n);
for(i=n;--i;)
{
scanf("%u%u%u",&a,&b,&c);
a--;b--;
t=(v*)malloc(sizeof(v));
t->go=b;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31117/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31117/source.c"
target datalayout = "e-m:e-p270: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.S = type { i8, i32, p... |
#include <stdio.h>
#include <string.h>
#include <ctype.h>
int main(){
char moji[1001];
char word[10];
int i,a=0;
scanf("%s",&word);
for(i=0;i<10;i++){
word[i]=tolower(word[i]);
}
while(1){
scanf("%s",&moji);
if(strcmp(moji,"END_OF_TEXT")==0){break;}
for(i=0;i<1001;i++){
moji[i]=tolower(moji[i]);
}
if(strc... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311212/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311212/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <ctype.h>
#include <stdio.h>
#include <string.h>
static char w[11], t[1001];
static int sum;
void fn(void) {
int i;
for (i = 0; t[i]; ++i) t[i] = tolower(t[i]);
}
int main(void) {
scanf("%s", w);
while (1) {
scanf("%s", t);
if (!strcmp(t, "END_OF_TEXT")) break;
fn();
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311256/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311256/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@t = internal global [1001 ... |
#include<stdio.h>
#define WORD_MAX 11
#define SENT_MAX 1000
#define FRAG_ON 1
#define FRAG_OFF 0
#define CONVERT_SMALL 0x60
#define LOOP 1
#define COUNT_RESET 0
#define LOOP_RESET 0
#define ARRAY_RESET 0
#define RETURN 0
void array_reset(unsigned char * array, unsigned short size);
unsigned short macth_word(unsigned c... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311306/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311306/source.c"
target datalayout = "e-m:e-p270: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.ubW_D_sentenc... |
#include <stdio.h>
#include <ctype.h>
#include <string.h>
int main(){
char search[21], word[21];
int count=0;
int i;
scanf("%s", search);
while(1){
scanf(" %s", word);
if(strcmp(word, "END_OF_TEXT")==0)break;
for(i=0;word[i]!='\0';i++){
word[i]=tolower(word[i]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311357/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311357/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i,j,k,t,n,m,l,r,sall,sk,sk1,k1,min,a[1005];
scanf("%lld%lld%lld%lld%lld%lld",&n,&k,&l,&r,&sall,&sk);
sk1=sk;
k1=k;
min=r;
for(i=1;i<=k;i++)
{
t=sk1/k1;
a[i]=t;
sk1=sk1-t;
k1--;
}
k1=n-k;
sk1=sall-sk;
fo... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31140/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31140/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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<ctype.h>
#include<string.h>
#include<stdbool.h>
#define limit 1000
#define limit_word 10
//#define DEBUG_BUILD
#ifdef DEBUG_BUILD
# define DEBUG_PRINT(fmt, ...) printf(fmt, ## __VA_ARGS__)
#else
# define DEBUG_PRINT(fmt, ...)
#endif
int serachWord(char W[], char T[]);
int main(void) {
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311443/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311443/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.count = internal unna... |
#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main(){
char mihon[11], input[1001], eot[]="END_OF_TEXT";
int i, count=0;
scanf("%s",mihon);
while(1){
scanf("%s",input);
if(strcmp(input,eot)==0) break;
for(i=0;input[i]!='\0';i++) input[i]=tolower(input[i]);
if(strcmp(input,miho... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311487/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311487/source.c"
target datalayout = "e-m:e-p270: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.eot = private... |
#include <stdio.h>
#include <string.h>
//問題文より、英文と英単語のそれぞれの最大の文字数
#define TEXT_MAXLENGTH 1000
#define WORD_MAXLENGTH 10
//単語が一致しているか判別する関数
int word_match(char *word1, char *word2, int word1_length, int word2_length);
int main(void)
{
//word_countは文章Tに含まれる単語の数を格納
int i, word_count, match_count, word_length;
char w... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311537/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311537/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 rep(i,n) for(int i=0;(i)<(n);(i)++)
#define max 31
typedef long long ll;
int main(void){
int n,m;
while(1){
scanf("%d",&n);
if(n==0) break;
//dp[i番目の人][j日]の地図(bit)
ll dp[51][max]={0};
int is_ok[51][max]={0};
int f;
rep(i,n){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311616/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311616/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int n, m, k;
int i;
int a;
int wash = 0;
scanf("%d %d %d", &n, &m, &k);
for (i = 0; i < n; i++) {
scanf("%d", &a);
if (a == 1) {
if (m > 0)
m--;
else
wash++;
} else {
if (k > 0)
k--;
else
if (m > 0)
m--;
else
wash++;
}
}
print... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31171/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31171/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
int main(void){
int n,a,ans;
ans=0;
scanf("%d",&n);
for(int i=1;i<n+1;i++){
scanf("%d",&a);
if(i%2==1){
if(a%2==1){
ans++;
}
}
}
printf("%d",ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311760/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311760/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int n;
scanf("%d", &n);
int vec[n];
int cont = 0;
for(int i = 0; i < n; ++i)
scanf("%d", &vec[i]);
for (int i = 0; i < n; ++i){
if (((i+1)%2 != 0) && (vec[i]%2 != 0))
cont += 1;
}
printf("%d\n", cont);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311803/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311803/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int n[100];
int count=0;
scanf("%d",&N);
for(int i=0;i<N;i++){
scanf("%d",&n[i]);
}
for(int i=0;i<N;i+=2){
if(n[i]%2==1){
count++;
}
}
printf("%d",count);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311847/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311847/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int a[101];
int count=0;
scanf("%d",&N);
for(int i=1; i<=N; i++){
scanf("%d",&a[i]);
}
for(int i=1; i<=N; i++){
if(a[i]%2==1 && i%2==1){
count++;
}
}
printf("%d",count);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311890/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311890/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int a[102];
int i;
int cnt;
scanf("%d\n", &n);
for(i=0; i<n; i++)
{
scanf("%d", &a[i]);
}
cnt = 0;
for(i=0; i<n; i++)
{
if (i % 2 == 0 && a[i] % 2 == 1)
cnt++;
}
printf("%d", cnt);
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311933/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311933/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
#define rep(i,begin,end) for(int i=begin; i<end; i++)
int cmp(const void* a, const void* b){
long long int x = *(long long int*)a, y = *(long long int*)b;
if(x<y){
return 1;
}
if(y<x){
return -1;
}
return 0;
}
int main(){
int x, y, z, k... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_311984/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_311984/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 min(int x, int y)
{
if (x <= y)
return x;
else
return y;
}
int gt(const void *p, const void *q)
{
if (*(long long*)q < *(long long*)p)
return -1;
else if (*(long long*)q == *(long long*)p)
return 0;
else
return 1;
}
int main(void)
{
int i, j,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312026/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312026/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.as = internal global ... |
#include <stdio.h>
#include <string.h>
#define MAX 50
int main()
{
char s[MAX];
int k;
scanf("%s", s);
k = strlen(s);
if (k > 3)
s[3] = '\0';
printf("%s", s);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312077/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312077/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
long long F[24];
long long C;
void initial()
{
long long t;
F[0] = 1;
for (C = 1; F[C - 1] <= 1000000000000; C++)
{
F[C] = C * F[C - 1];
}
C--;
}
int main()
{
int T;
int i;
long long a;
long long t;
long long n;
int temp;
long long d;
long long V;
long long tN;
long long S;
int R;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31212/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31212/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F = dso_local local_unnamed_... |
#include<stdio.h>
int main(){
char s[21];
scanf("%s",s);
printf("%c%c%c\n",s[0],s[1],s[2]);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312170/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312170/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 n,h,N,sum=0;
double w;
while(scanf("%lld",&N)!=EOF)
{
sum=0;
for(h=1 ; h<=3500 ; h++)
{
for(n=1 ; n<=3500 ; n++)
{
if(4*h*n-N*n-N*h==0)
continue;
w=1.0*(N*h*n)/(4*... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312220/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312220/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int i, j;
int n;
scanf("%d", &n);
float x[4], y[4];
float slope1, slope2;
for (i = 0; i < n; i++) {
for (j = 0; j < 4; j++) {
scanf("%f %f", &x[j], &y[j]);
}
slope1 = (y[1] - y[0]) / (x[1] - x[0]);
slope2 = (y[3]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312271/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312271/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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)
{
float x[4];
float y[4];
float slope1, slope2;
int dataset;
int i;
scanf("%d", &dataset);
while (dataset> 0){
dataset--;
for (i = 0; i < 4; i++){
scanf("%f %f", &x[i], &y[i]);
}
slope1 = (y[1] - y[0]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312314/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312314/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 t,n,s;
scanf("%lld",&t);
while(t--)
{
scanf("%lld%lld",&n,&s);
printf("%d\n",(s/(n*n)));
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31238/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31238/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 main()
{
int t;
scanf("%d",&t);
while(t--)
{
long long int n,s1,c=0;
scanf("%lld %lld",&n,&s1);
if(s1>=n*n)
{
c=s1/(n*n);
}
printf("%lld\n",c);
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_31243/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_31243/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 n,i;
float x1,y1,x2,y2,x3,y3,x4,y4;
scanf("%d",&n);
for(i=0;i<n;i++) {
scanf("%f %f %f %f %f %f %f %f",&x1,&y1,&x2,&y2,&x3,&y3,&x4,&y4);
if ((y2-y1)*(x4-x3)-(x2-x1)*(y4-y3)==0) {
printf("YES\n");
} else {
printf("NO\n... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312473/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312473/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, map[1001][5], mp, mq, mr, mc, i, f;
while(scanf("%d", &n) && n){
for(i = 0; i < n; ++i){
scanf("%d%d%d%d", &map[i][0], &map[i][1], &map[i][2], &map[i][3]);
map[i][4] = map[i][1] * 4 + map[i][2] * 9 + map[i][3] * 4;
}
scanf("%d%d%d%d", &mp, &mq, &mr, &m... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312523/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312523/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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<stdbool.h>
#include<limits.h>
bool contain(char *s, int start, int end, char c){
for(int i=start; i<=end; i++){
if(s[i] == c) return true;
}
return false;
}
int both(char *s, int dev, int n){
int ans = 0;
for(int i=0; i<26; i++){
if(contain(s, 0, dev, 'a' + i) &&... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312567/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312567/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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))
ll l[26],r[26];
char s[110];
int main(){
rep(i,0,26){
l[i]=1000;
r[i]=-1;
}
ll n;
scanf("%lld%s",&n,s);
rep(i,0,n){
i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312617/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312617/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@l = dso_local local_unname... |
#include<stdio.h>
int main()
{
char s[100];
int N;
scanf("%d",&N);
scanf("%s",s);
int alpha[1000];
int i,j,k,count=0,count_max=0;;
for(i=1;i<N;i++){
count=0;
for(j=0;j<1000;j++){
alpha[j]=0;
}
for(j=i;j<N;j++){ //後半(iから)
for(k=0;k<i;k++){ //前半(iまで)
if(s[j]==s[k] && ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312660/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312660/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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() {
long long int n, a, b, memo;
char s[105][105];
scanf("%lld%lld",&a,&b);
printf("100 100\n");
for (int i = 1; i <= 50; i++) {
for (int j = 1; j <= 100; j++) {
s[i][j] = '.';
}
}
for (int i = 51; i <= 100; i++) {
for (int j = 1; j <= 10... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312703/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312703/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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)
{
//nとdを入力
int n,d;
scanf("%d%d",&n,&d);
//n個の座標をforで入力
int i,j,k;
int x[n][d];
for(i=0;i<n;i++)
for(k=0;k<d;k++)
scanf("%d",&x[i][k]);
//計算開始
float dist;
int cnt=0;
//i,jを決める
for(i=0;i<n;i++)
for(j=i+1;j<n;j++){
//点iと点jの距... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312747/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312747/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 sum, ans=0,n,d;
double m,p;
scanf("%d",&n);
scanf("%d", &d);
int x[n][d];
for (int i = 0;i < n;i++)
for (int j = 0;j < d;j++)
scanf("%d",&x[i][j]);
for (int a = 0... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312790/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312790/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int dis(int (*A)[30], int a, int b, int D);//a番目とb番目の距離
int sq(int s);//平方数の判定
int main(void){
int N, D, i, j, x[30][30], ans=0;
scanf("%d %d", &N, &D);
for(i=1; i<=N; i++){
for(j=1; j<=D; j++){
scanf("%d", &x[i][j]);
}
}
for(i=1; i<N; i++){
for(j=i+1; j<=N; j++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312833/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312833/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 square(double x){
double a=sqrt(x);
if((a-(int)a)==0)
return 1;
else
return 0;
}
int main(){
int n,d;
scanf("%d%d",&n,&d);
int x[30][30];
int i,j,k;
for(i=0;i<n;i++){
for(j=0;j<d;j++){
scanf("%d",&x[i][j]);
}
}
int a[30],ans=0,count;
for(i=0;i<n;i++){
f... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312877/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312877/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,d;
int x[10][10];
float k=0.0;
int c=0;
int sei;
int i,j,p=1;
int s;
scanf("%d %d",&n,&d);
for(i=0;i<n;i++){
for(j=0;j<d;j++){
scanf("%d",&x[i][j]);
}
}
for(i=0;i<n;i++){
for(p=i+1;p<n;p++){
for(j=0;j<d;j++){
k+=(x[i][j]-x[p][j... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312927/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312927/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 N, D, i, j, ans = 0;
scanf("%d %d", &N, &D);
int X[N][D];
for(i=0; i<N; i++){
for(j=0; j<D; j++){
scanf("%d", &X[i][j]);
}
}
double tmp;
for(i=0; i<N; i++){
for(j=0; j<N; j++){
tmp = 0.0;
if (i != j){
for(int k=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_312970/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_312970/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <stdbool.h>
#include <math.h>
long long max(long long A,long long B){
return A>B?A:B;
}
long long min(long long A,long long B){
return A<B?A:B;
}
long long roundup(long long A,long long B){
return (A+B-1)/B;
}
int main(void){
int n,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313012/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313012/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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("%d\n",a-1);
else
printf("%d\n",a);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313070/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313070/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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("%d",a);
}else{
printf("%d",a-1);
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313120/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313120/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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("%d",a);
else printf("%d",a-1);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313164/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313164/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, i;
scanf("%d%d", &a, &b);
if(a<=b){
i = a;
}
else{
i = a-1;
}
printf("%d\n", i);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313229/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313229/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a = 0;
int b = 0;
int ans = 0;
scanf("%d%d", &a, &b);
if (a > b){
ans = a - 1;
}
else{
ans = a;
}
printf("%d", ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313272/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313272/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
//for
#define REP(i,n) for(int i=0,i##_len=(int)(n);i<i##_len;i++)
#define REPS(i,n) for(int i=1,i##_len=(int)(n);i<=i##_len;i++)
#define RREP(i,n) for(int i=(int)(n)-1;i>=0;i--)
#define RREPS(i,n) for(int i=(int)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313315/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313315/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@diff = dso_local local_unn... |
#include <stdio.h>
int main(){
int n;
scanf("%d", &n);
char s[10];
int ac=0, wa=0, tle=0, re=0;
for(int i=0;i<n;i++){
scanf("%s", s);
if('A' == s[0]){
ac++;
}else if('W' == s[0]){
wa++;
}else if('T' == s[0]){
tle++;
}else{... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313359/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313359/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int n;
scanf("%d", &n);
int ans[4] = {0};
char c[4];
while (n--) {
scanf("%s", c);
switch (c[0]) {
case 'A':
ans[0]++;
break;
case 'W':
ans[1]++;
break;
case 'T':
ans[2]++;
break;
case 'R':
ans[3]++;
break;
}
}
printf("AC x %d\n", ans[0... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313409/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313409/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include<string.h>
int main(void) {
int i,num,ac,wa,tle,re;
char AC,WA,TLE,RE;
char str = 'a';
i = 0;
num = 0;
ac = 0;
wa = 0;
tle = 0;
re = 0;
while(1){
char buf[128];
fgets(buf, 128, stdin);
sscanf(buf, "%d", &num);
while(i<num){
int a;
char line[256... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313452/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313452/source.c"
target datalayout = "e-m:e-p270: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 n, l[4] = {0};
char a[4];
scanf("%d", &n);
for (int i = 0; i < n; i++)
{
scanf("%s", a);
if (a[0] == 'A' && a[1] == 'C')
l[0]++;
if (a[0] == 'W' && a[1] == 'A')
l[1]++;
if (a[0] == 'T' && a[1] == 'L' && a[2] ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313502/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313502/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <string.h>
int main(void){
int n;
char s[5];
int i;
int a=0, b=0, c=0, d=0;
scanf("%d", &n);
for(i=1; i<n+1; i++){
scanf("%s", s);
if(strcmp(s, "AC")==0){
a++;
}else if(strcmp(s,"WA")==0){
b++;
}else if(strcmp(s,"TLE")==0){
c++;
}else if(str... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313546/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313546/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(){
long int n, a=0, b=0, c=0, d=0;
char s[100000][4];
scanf("%ld", &n);
for(int i=0; i<n; i++){
scanf("%s", s[i]);
}
for(int i=0; i<n; i++){
if(strcmp(s[i],"AC") == 0) a++;
if(strcmp(s[i],"WA") == 0) b++;
if(strcmp(s[i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313597/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313597/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <math.h>
#include <stdlib.h>
#include <limits.h>
#include <stdbool.h>
#define rep(i, n) for(int i=0; i<(n); ++i)
#define max 200001
//qsort(str, n, sizeof(int), up_comp);
int up_comp(const void *a, const void *b){return *(int*)a - *(int*)b;}
int down_comp(const void *a... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313661/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313661/source.c"
target datalayout = "e-m:e-p270: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.ac = private ... |
#include <stdio.h>
#include <string.h>
int main(void)
{
int n;
scanf("%d",&n);
char s[n][4];
int i,c[4];
for(i=0;i<4;i++){
c[i]=0;
}
for(i=0;i<n;i++){
scanf("%s",s[i]);
if (!strcmp(s[i],"AC"))
{
c[0]++;
}
else if (!strcmp(s[i], "WA"... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_313704/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_313704/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.