Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include <stdio.h>
struct Dice {
int face[6];
};
void Rotate(struct Dice *d, char *comm)
{
int i, t;
for (i = 0; comm[i] != '\n' && comm[i] != '\0'; i++) {
switch (comm[i]) {
case 'N':
t = d->face[0];
d->face[0] = d->face[1];
d->face[1] = d->face[5];
d->face[5] = d->face[4];
d->face[4] = t;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242604/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242604/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.Dice = type { [6 x ... |
#include<stdio.h>
int main(){
int i,j,n,m;
int top,front,top_num,front_num;
int num[6];
for(i=0;i<6;i++){
scanf("%d",&num[i]);
}
scanf("%c %d",&i,&i);
for(j=0;j<i;j++){
scanf("%d %d",&top,&front);
for(n=1;num[0]!=top;n++){
if(n%4==0){
m=num... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242655/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242655/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 D[6];
int i, t, f, q, e, tp, fp, t1, t2, f1, f2;
for (i = 0; i < 6; i++) scanf("%d", &D[i]);
scanf("%d", &q);
for (i = 0; i < q; i++)
{
scanf("%d", &t);
tp = 0;
while (D[tp] != t)
{
tp++;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242699/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242699/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*
* ITP1_11_B: Rolling the dice II
*/
#include <stdio.h>
// rolling relations by index (N, S, E, W, clockwise, anti-clockwise)
int T[6][1 + 6] = {{0, 2, 6, 3, 4, 1, 5},
{0, 5, 1, 3, 4, 6, 2},
{0, 4, 2, 1, 6, 5, 3},
{0, 3, 2, 6, 1, 5, 4},
{... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242741/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242741/source.c"
target datalayout = "e-m:e-p270: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 = dso_local local_unname... |
// AOJ 0120: Patisserie
// 2017.8.21 bal4u@uu
// 201711.20
#include <stdio.h>
#include <string.h>
#include <math.h>
#define R 100000
int r[13];
int d[13][13]; // ???????????±???????????????????°´????????¢
int dp[13][4100]; // ?°´????????¢, ??´?????????????????±??????????±\??´?????????
char buf[50], *p;
int ge... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242792/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242792/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@p = dso_local local_unname... |
#include<stdio.h>
int main () {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
if ( a < b ) {
printf("a < b\n");
} else if ( a == b ) {
printf("a == b\n");
} else {
printf("a > b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242842/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242842/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
if(a>b) printf("a > b\n");
else if(a==b) printf("a == b\n");
else printf("a < b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242886/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242886/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a < b){
printf("a < b\n");
}
else if(a > b){
printf("a > b\n");
}
else{
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242936/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242936/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int a,b;
scanf("%d %d",&a,&b);
if (a > b) {
printf("a > b\n");
} else if (a < b) {
printf("a < b\n");
} else {
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_242987/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_242987/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a, b;
scanf("%d %d", &a, &b);
if (a == b){
printf("a == b\n");
}
else if (a < b){
printf("a < b\n");
}
else printf("a > b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243029/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243029/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int b[100001];
int main() {
int n,x,y;
int k,check;
int i;
scanf("%d %d %d",&n,&x,&y);
for(i=0;i<n;i++) {
scanf("%d",&k);
b[i]=k;
}
for(i=0;i<n;i++) {
check=0;
for(int j=1;j<=x;j++) {
if(i>=j){
if(b[i]>b[i-j]) check=1;
}
}
for(int j=1;j<=y;j+... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24308/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24308/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main(){
int a, b;
scanf("%d%d", &a, &b);
if(a < b) printf("a < b\n");
if(a > b) printf("a > b\n");
if(a == b) printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243122/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243122/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}else if(a>b){
printf("a > b\n");
}else if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243166/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243166/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main( )
{
int a,b;
scanf("%d%d",&a,&b);
if(a < b)printf("a < b\n");
else if(a > b)printf("a > b\n");
else printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243209/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243209/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a>b){
printf("a > b\n");
}else if(a<b){
printf("a < b\n");
}else
{printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243252/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243252/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a > b)
printf("a > b\n");
else if(a < b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243296/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243296/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}
if(a>b){
printf("a > b\n");
}
if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243339/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243339/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
if(a<b)
printf("a < b\n");
else if(a>b)
printf("a > b\n");
else if(a==b)
printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243382/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243382/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}
if(a>b){
printf("a > b\n");
}
if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243425/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243425/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d%d",&a,&b);
if(a<b){
printf("a < b\n");
}else if(a>b){
printf("a > b\n");
}else{
printf("a == b\n");
}
return 0 ;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243476/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243476/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a;
int b;
scanf("%d%d",&a,&b);
if(a == b){
printf("a == b\n");
}
else if(a > b){
printf("a > b\n");
}
else{
printf("a < b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243519/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243519/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d\n",&a,&b);
if(a==b)
{
printf("a == b\n");
}else if(a < b){
printf("a < b\n");
}else{
printf("a > b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243562/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243562/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
if ( a < b){
printf("a < b\n", a, b);
}else if ( a > b){
printf("a > b\n", a, b);
}else {
printf("a == b\n", a, b);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243612/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243612/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a < b){
printf("a < b\n");
}
else if(a > b){
printf("a > b\n");
}
else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243656/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243656/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
if (a > b) {
printf("a > b\n");
} else if (a < b) {
printf("a < b\n");
} else {
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243742/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243742/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
printf("");
scanf("%d %d",&a,&b);
while(1){
if(a>=-1000 && a<=1000 && b>=-1000 && b<=1000){
break;
}else{
printf("");
scanf("%d %d",&a,&b);
continue;
}
}
if(a<b){
printf("a < b\n");
}else if(a>b){
printf("a > b\n");
}else if(a==b){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243786/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243786/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str.1 = private unnamed_a... |
#include<stdio.h>
int main(void)
{
int a, b ;
scanf("%d" , &a);
scanf("%d" , &b);
if(a<b){
printf("a < b\n");
}
else if(a>b){
printf("a > b\n");
}
else if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243829/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243829/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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){
printf("a > b\n");
}
if(a<b){
printf("a < b\n");
}
if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243872/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243872/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d",&a);
scanf("%d",&b);
if(a<b){
printf("a < b\n");
}
else{
if(a>b){
printf("a > b\n");
}
else{
printf("a == b\n");
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243915/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243915/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d%d",&a,&b);
if(a < b){
printf("a < b\n");
}
else if(a > b){
printf("a > b\n");
}
else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_243959/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_243959/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d",&a);
scanf("%d",&b);
if(a<b){
printf("a < b\n");
}else if(a>b){
printf("a > b\n");
}else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244008/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244008/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
if(a<b)printf("a < b\n");
if(a>b)printf("a > b\n");
if(a==b)printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244059/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244059/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 < -1000 || 1000 < a){
return -1;
}else{
if( b < -1000 || 1000 < b){
return -1;
}else{
if( a < b ){
printf("a < b\n");
}else if( a >... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244101/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244101/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d %d", &a,&b);
if(a < b){
printf("a < b\n");
}else if(a > b){
printf("a > b\n");
}else if(a == b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244145/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244145/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b)printf("a < b\n");
else if(a>b)printf("a > b\n");
else if(a==b)printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244196/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244196/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a , b ;
scanf("%d %d",&a,&b);
if(a>b){
printf("a > b\n");
}else if(a<b){
printf("a < b\n");
}else{printf("a == b\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244239/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244239/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d%d",&a,&b);
if( a > b)
printf("a > b\n");
else if( a < b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244282/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244282/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 >= -1000 && b <= 1000){
if(a < b) {
printf("a < b\n");
}
if(a > b) {
printf("a > b\n");
}
if(a == b) {
printf("a == b\n");
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244332/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244332/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a < b){
printf("a < b\n");
}else if (a > b){
printf("a > b\n");
}else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244383/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244383/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int a,b;
scanf("%d",&a);
scanf("%d",&b);
if(a<b) {
printf("a < b\n");
}else if(a>b){
printf("a > b\n");
}else if(a==b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244426/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244426/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a, b;
scanf("%d %d", &a, &b);
if (a<b) {
printf("a < b\n");
}
else if (a==b) {
printf("a == b\n");
}
else {
printf("a > b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244491/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244491/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a, b;
scanf("%d", &a);
scanf("%d", &b);
if(a > b){
printf("a > b\n");
}
else if(a < b){
printf("a < b\n");
}
else{
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244541/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244541/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a, b;
scanf("%d %d", &a, &b);
if(a < b){
printf("a < b\n");
}else if(a > b){
printf("a > b\n");
} else if(a == b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244585/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244585/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d %d", &n, &m);
if(n<m){
printf("a < b\n");
}else if(n==m){
printf("a == b\n");
}else{
printf("a > b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244628/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244628/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(int argc, char *argv[]){
int a,b;
scanf("%d %d", &a, &b);
switch( (a<b) + 2*(a>b) ){
case 0 : printf("a == b\n"); break;
case 1 : printf("a < b\n"); break;
case 2 : printf("a > b\n"); break;
default : printf("Error\n"); break;
}
return(0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244671/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244671/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 c,d;
char a,b;
scanf("%d %d", &c,&d);
if(c < d) {
printf("a < b\n");
}
if(c > d) {
printf("a > b\n");
}
if(c == d) {
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244714/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244714/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
if(a>b)
printf("a > b\n");
else if(a<b)
printf("a < b\n");
else if(a==b)
printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244758/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244758/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a,&b);
if(a<b)
printf("a < b\n");
else if ( a>b)
printf("a > b\n");
else if ( a==b)
printf("a == b\n");
else
printf("none\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244815/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244815/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//
// main.c
// aoj_05
//
// Created by k16031kk on 2018/05/17.
// Copyright © 2018年 AIT. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char * argv[]) {
// insert code here...
int a,b;
scanf("%d %d",&a, &b);
if(a < b){
printf("a < b\n");
} else if(a > b){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244859/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244859/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d", &a,&b);
if (a<b)
printf ("a < b\n");
else if (a>b)
printf ("a > b\n");
else if (a==b)
printf ("a == b\n");
else
printf ("none\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244901/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244901/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a, b;
scanf("%d %d",&a,&b);
if(a>b) printf("a > b\n");
else if(a<b) printf("a < b\n");
else printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_244945/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_244945/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a, b;
scanf("%d", &a) ;
scanf("%d", &b) ;
if( a < b ) printf("a < b\n") ;
if( a > b ) printf("a > b\n") ;
if( a == b ) printf("a == b\n") ;
return 0 ;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245001/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245001/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a < b){
printf("a < b\n");
}else if(a > b){
printf("a > b\n");
}else if(a == b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245045/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245045/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b;
scanf( "%d %d",&a,&b );
if( a < b )printf( "a < b" );
else if( a > b ) printf( "a > b" );
else printf( "a == b" );
printf( "\n" );
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245089/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245089/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b ;
scanf("%d %d",&a,&b);
if(a < b)
printf("a < b\n");
else if(a > b)
printf("a > b\n");
else if(a == b)
printf("a == b\n");
return 0 ;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245131/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245131/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main ()
{
int a;
int b;
scanf("%d %d",&a,&b);
if (a<b){
printf ("a < b\n");
}else if (a > b){
printf ("a > b\n");
}else{
printf ("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245182/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245182/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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) puts("a == b");
if(a > b) puts("a > b");
if(a < b) puts("a < b");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245225/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245225/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
if(a < b) {
printf("a < b\n");
}
else if(a > b) {
printf("a > b\n");
}
else {
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245269/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245269/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{ int a,b;
scanf("%d%d",&a,&b);
if(a>b){
printf("a > b\n");}
else if(a<b){
printf("a < b\n");}
else{
printf("a == b\n");}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245311/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245311/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int input_a, input_b;
scanf("%d %d", &input_a, &input_b);
if(input_a < input_b) {
printf("a < b\n");
}
else if(input_a > input_b) {
printf("a > b\n");
}
else{
printf("a == b\n");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245362/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245362/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
if(a>b)
{
printf("a > b\n");
}
else if(a<b)
{
printf("a < b\n");
}
else
{
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245470/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245470/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a, b;
scanf("%d%d",&a, &b);
if (a == b) {
printf("a == b\n");
} else if (a < b) {
printf("a < b\n");
} else {
printf("a > b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245513/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245513/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a, b;
scanf("%d %d", &a, &b);
if (a < b)
{
printf("a < b\n");
}
if (a > b)
{
printf("a > b\n");
}
if (a == b)
{
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245557/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245557/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}else if(a==b){
printf("a == b\n");
}else{
printf("a > b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245607/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245607/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*
* 2つの整数a,bを読み込み、a,bの大小関係を出力するプログラム
*
* Input
* a b
*
* Constraints
* -1000<=a,b<=1000
*/
#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d", &a, &b);
if (a > b)
printf("a > b\n");
else if(a < b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245650/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245650/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main (){
int a=0,b=0;
scanf("%d %d",&a,&b);
if(a>b)
printf("a > b\n");
else if(a<b)
printf("a < b\n");
else
printf("a == b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245708/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245708/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a,b;
scanf("%d ",&a);
scanf("%d",&b);
if(a<b){
printf("a < b\n");
}
else if(a>b){
printf("a > b\n");
}
else{
printf("a == b\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245751/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245751/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
if(a==b)
printf("a == b\n");
else if(a<b)
printf("a < b\n");
else
printf("a > b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245795/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245795/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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("a ");
if(a > b)
printf(">");
if(a < b)
printf("<");
if(a == b)
printf("==");
printf(" b\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245838/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245838/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
int n;
int c1(const void *v1,const void *v2){
return strcmp((char *)v2,(char *)v1);
}
int c2(const void *v1,const void *v2){
return strcmp((char *)v1,(char *)v2);
}
int central(int number){
char line[8],line1[8];
int large,small,i;
int n1=sp... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245889/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245889/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#define M 1046527
#define NIL (-1)
#define L 14
char H[M][L];
int getChar(char ch) {
if (ch == 'A') return 1;
else if (ch == 'C') return 2;
else if (ch == 'G') return 3;
else if (ch == 'T') return 4;
else return 0;
}
long long getKey(char str[]) {
long lo... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245939/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245939/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [1046... |
#include <stdio.h>
#include <string.h>
char dict[30600000];
long encode(const char *key){
int n=strlen(key),i;
long sum=0;
long keta=1;
for(i=0;i<n;i++){
if (key[i]=='A') sum = sum + keta;
else if (key[i]=='C') sum = sum + (keta << 1);
else if (key[i]=='G') sum = sum + (keta << 1) + keta;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_245982/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_245982/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dict = dso_local local_unn... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static const int kHashSize = 244140624;
static const size_t kP[] = {
1,
5,
25,
125,
625,
3125,
15625,
78125,
390625,
1953125,
9765625,
48828125,
244140625,
};
static int Id(char c) {
switch (c) {
case 'A':
return 1;
c... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246024/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246024/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 c[13];
int H[10000000];
int num;
/*????????????????????£?¨?*/
int ghash(void);
int gchar(char);
void insert(void);
void find(void);
/*main??¢??°*/
int main(){
char str[7];
int i;
/*????????????*/
scanf("%d",&num);
for(i=0;i<num;i++){
scanf("%s %s",str,c... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246068/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246068/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 LEN 2<<24
int dic[LEN];
int hash(char *str){
char *p = str;
int ans = 0;
int mul = 1;
while(*p != '\0'){
if(*p == 'A'){
ans = ans + mul*1;
}
else if(*p == 'C'){
ans = ans + mul*2;
}
else if(*p == 'G'){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246110/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246110/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dic = dso_local local_unna... |
#include <stdio.h>
#include <string.h>
#define L 14
#define M 1000000
char H[M][L];
int getChar(char m){
if(m=='A')
return 1;
else if(m=='C')
return 2;
else if(m=='G')
return 3;
else if(m=='T')
return 4;
else
return 0;
}
int h1(int key){
return key%M;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246154/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246154/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [1000... |
#include <stdio.h>
#include <string.h>
#define N 1500000
#define L 13
char moji[N][L], order[7];
int h1(int key){
return key % N;
}
int h2(int key){
return 1 + (key % (N-1));
}
int ctoi(char str){
if(str == 'A') return 1;
else if(str == 'C') return 2;
else if(str == 'G') return 3... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246198/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246198/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@moji = dso_local global [1... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define N_MAX 1000003
#define LENGTH 16
int get_key(char entry[LENGTH]){
int times = 1, value, key, i;
key = 0;
for(i=0; i<strlen(entry); ++i){
if ('A' == entry[i]){
key += 1*times;
}else if('C' == entry[i]){
key += 2*times;
}else if('T' == e... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246248/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246248/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <stdbool.h>
#define M 1046527
#define NIL (-1)
#define L 14
static char H[M][L];
static int getChar(char ch)
{
if (ch == 'A') {
return 1;
} else if (ch == 'C') {
return 2;
} else if (ch == 'G') {
return 3;
} else if (ch == 'T') {... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246291/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246291/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#define MAX 1000040
const int m = 1000033;
const int m2= 1000003;
//7069 - 60
char stack[MAX][15];
int h1(long long);
int h2(long long);
int insert(long long,int);
long long sti(char *);
int main(){
int val,i,j,n,dic=0,dicc=MAX,index2=0,vall;
char op[15],s... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246363/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246363/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@m = dso_local local_unname... |
/* わたしのプログラムみても何も良い事ないですよ? */
/* すっごくさむい。トランプしたいな。おこめたべたい */
#include<stdio.h>
#include<string.h>
#define M 999997/* ちがうきがする */
#define L 14
char H[M][L]; /* hashed potato */
int getChar(char ch){
if ( ch == 'A') return 1;
else if ( ch == 'C') return 2;
else if ( ch == 'G') return 3;
else if ( ch == 'T') re... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246406/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246406/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [9999... |
#include<stdio.h>
typedef unsigned u;
char I[2222],O[2222];
int main()
{
u i,k,l;
while(getchar()!='\n');
for(l=-1;(I[++l]=getchar())>' ';);
k=l;i=-1u;
while(++i<=--k)
{
O[k]=I[--l];
if(i!=k)O[i]=I[--l];
else break;
}
printf("%s\n",O);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_24645/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_24645/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@I = dso_local local_unnamed_... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define D 4
struct LIST{
char data[13];
struct LIST *left,*right;
};
int convert(char s){
if(s=='A'){
return 0;
}else if(s=='C'){
return 1;
}else if(s=='G'){
return 2;
}else{
return 3;
}
}
int show(struct LIST *L){
if(L==... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246493/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246493/source.c"
target datalayout = "e-m:e-p270: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.LIST = type { [13 x... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define HASHSIZE 5000
typedef struct word{
char *str;
struct word *next;
}Word;
Word *hashtable[HASHSIZE]={0};
int hash(char *key){
unsigned int hash=0;
int length = strlen(key);
int i;
for(i=0; i< length; i++){
hash += key[i] *... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246536/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246536/source.c"
target datalayout = "e-m:e-p270: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.word = type { ptr, ... |
#include<stdio.h>
#include<string.h>
#define M 1046527
#define NIL (-1)
#define L 14
char H[M][L];
int getChar(char);
long long getKey(char *);
int h1(int);
int h2(int);
int find(char *);
int insert(char *);
int main() {
int i,n,h;
char str[L],com[9];
for(i=0;i<M;i++) H[i][0] = '\0';
scanf("%d",&n);
for... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246587/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246587/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [1046... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define N 1000000
char S[N][13];
int m=999983; //素数
void insert(char *);
int find(char *);
int getnum(char); //文字列から数字を得る
int getkey(char *); //文字列からkeyを得る
int h1(int);
int h2(int);
int main()
{
int n,i;
char command[7],array[13];
scanf("%d",&n);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246637/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246637/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@m = dso_local local_unname... |
#include<stdio.h>
#include<string.h>
#define M 1046527
#define NIL (-1)
#define L 14
char H[M][L];
//文字から数値に変換
int getChar (char ch){
if( ch == 'A') return 1;
else if( ch == 'C' ) return 2;
else if( ch == 'G' ) return 3;
else if( ch == 'T' ) return 4;
else return 0;
}
//文字列から数値へ変換してkeyを生成する
long long getKey(ch... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246680/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246680/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [1046... |
#include<stdio.h>
#include<string.h>
#define M 1000000
#define NIL -1
#define L 14
char H[M][L];
int getChar(char ch)
{
if(ch=='A') return 1;
else if(ch=='C') return 2;
else if (ch=='G') return 3;
else if(ch=='T') return 4;
else return 0;
}
long long getKey(char str[])
{
long long sum=0,p=1,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246723/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246723/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [1000... |
#include<stdio.h>
#include<string.h>
#define M 1046527
#define NIL (-1)
#define L 14
char H[M][L];
int getChar(char ch){
if(ch == 'A') return 1;
else if(ch == 'C') return 2;
else if(ch == 'G') return 3;
else if(ch == 'T') return 4;
else return 0;
}
long long getKey(char str[]){
long long sum = 0,p = 1, i;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246774/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246774/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [1046... |
#include<stdio.h>
#include<string.h>
#define M (1<<21)/* your task*/
#define L 14
char H[M][L]; /* Hash Table */
int getChar(char ch){
if ( ch == 'A') return 1;
else if ( ch == 'C') return 2;
else if ( ch == 'G') return 3;
else if ( ch == 'T') return 4;
else return 0;
}
/* convert a string into an integer... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246824/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246824/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [2097... |
#include<stdio.h>
#include<string.h>
char ha[1<<21],k[256];
int main(int argc,char *argv[]){
int flg;
int val,s,t;
char c;
k['T'] = 1;
k['G'] = 2;
k['C'] = 3;
k['A'] = 4;
scanf("%d", &val);
getchar();
while (val--) {
s = 0;
t = 1;
flg = ( c = getchar() ) == 'i';
while ( ( c = g... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246868/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246868/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@k = dso_local local_unname... |
#include<stdio.h>
#include<string.h>
#define M 1000000/* your task*/
#define L 14
char H[M][L]; /* Hash Table */
int getChar(char);
long long getKey(char []);
int h1(int);
int h2(int);
int find(char []);
int insert(char []);
int main(){
int i, n, h;
char str[L], com[9];
for ( i = 0; i < M; i++ )... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246910/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246910/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@H = dso_local global [1000... |
#include <stdio.h>
#include <string.h>
int c[20000001];
char ch[20],a[20];
int C(char x) {
if(x=='A') return 1;
if(x=='C') return 2;
if(x=='G') return 3;
return 4;
}
int search(int k, int x, int y, int t) {
if(k==strlen(a)) {
if(!t) c[x]=1;
return c[x];
}
return search(k+1,x+C(a[k])*y,y*4,t);
}
i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_246961/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_246961/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@a = dso_local global [20 x... |
#include <stdio.h>
int main(void){
int n;
while(1){
scanf("%d",&n);
if(n==0)
break;
int a[7]={0};
int i,num;
for(i=0;i<n;i++){
scanf("%d",&num);
if(num>=70)
a[6]++;
else
a[num/10]++;
}
for(i=0;i<7;i++){
printf("%d\n",a[i]);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247003/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247003/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[9]={0},n,t;
int main()
{
for(;scanf("%d",&n),n;memset(a,0,36))
{
for(;n--;t/10>6?a[6]++:a[t/10]++)
scanf("%d",&t);
for(n=0;n<7;n++)
printf("%d\n",a[n]);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247061/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247061/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@a = dso_local local_unname... |
#include<stdio.h>
#include<stdlib.h>
typedef long long ll;
int max(int a, int b){
if(a > b) return a;
else return b;
}
int min(int a, int b){
if(a < b) return a;
else return b;
}
int sort(const void*a, const void* b){
return *(int*)a - *(int*)b;
}
int main(){
int n;
scanf("%d",&n);
int a[100000];
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247104/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247104/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
int compare(const void *a,const void *b){
return *(int*)a-*(int*)b;
}
int main(){
int N,i,ans=0,k,count;
long long int A[100010],j;
scanf("%d",&N);
for(i=0;i<N;i++){
scanf("%lld",&A[i]);
}
qsort(A,N,sizeof(long long int),compare);
i=0;
while(i<N){
coun... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247148/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247148/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[100001] = {0};
int cmp(const void *a, const void *b){
return( *((int *)a) - *((int *)b) ) ;
}
int main(void){
int i, s = 0;
scanf("%d", &n);
for ( i = 0; i < n; i++)
scanf("%d", &a[i]);
qsort(a, n, sizeof(int), cmp);
for(i = 0; i < ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247191/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247191/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@a = dso_local global [1000... |
#include <stdio.h>
int main(void)
{
int n, m, sum, hit, i;
while (scanf("%d", &n), n != 0){
sum = 0;
for (i = 0; i < n / 4; i++){
scanf("%d", &hit);
sum += hit;
}
printf("%d\n", sum);
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247241/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247241/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define FOR(n) for(int i=0;i<n;i++)
#define FORJ(n) for(int j=0;j<n;j++)
#define PRN(n) printf("%d\n",n)
#define PRF(n) printf("%lf\n",n)
#define PRL(n) printf("%lld\n",n)
#define PRS(s) printf("%s\n",s)
#define PRC(c) printf("%c",c)
#define INF 1... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_247320/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_247320/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.