Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int main(void){
double g=9.8;
double high;
double time;
double speed;
double n;
while(scanf("%lf",&speed)!=EOF){
time = speed / g;
high = time * time * g / 2.0;
n = (5 + high) / 5;
if((int)n != n)n++;
printf("%d\n",(int)n);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_370807/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_370807/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
float v,t,y;
while(scanf("%f",&v)!=EOF){
t=v/9.8;
y=4.9*t*t;
for(n=1;;n++)if((5*n-5)>=y)break;
printf("%d\n",n);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_370858/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_370858/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
// v = 9.8t
// y = 4.9t^2
// sp <= vになればok, sp <= 9.8t → sp/9.8 <= tになればok?
//
int main(void){
double t;
double y;
double n;
double sp;
while(scanf("%lf", &sp) != EOF){
t = sp/9.8;
y = 4.9*t*t;
n = ceil((y+5)/5);
printf("%d\n", (int)n);
}
return... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_370908/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_370908/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(){
char s[101],t[101];
scanf("%s %s",s,t);
int i,j,len;
len=strlen(s);
for(i=0;i<len;i++){
if(strcmp(s,t)==0){
puts("Yes");
return 0;
}
else{
char a=s[len-1];
for(j=len-1;j>0;j--)
s[j]=s[j-1];
s[0]=a;
}
}
p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_370966/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_370966/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
void rotate(char *str) {
int iterator;
char temp = str[0];
for(iterator = 1; iterator < strlen(str); iterator++) {
str[iterator-1] = str[iterator];
}
str[iterator-1] = temp;
return;
}
int main() {
int i;
char str_a[101], str_b[101];
scanf("%s", str_a);
sc... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371022/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371022/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
void rotate(char S1[101]);
int countstring(char S[101]);
int main(void){
//S1,Tを読み込み
char S1[101];
char T[101];
scanf("%s",S1);
scanf("%s",T);
//S1の文字数をカウントする:n
int n;
n = countstring(S1);
//初期S1とTを比較する
int judge = 0;
if(strncmp(S1,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371066/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371066/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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()
{
char s[101];
char t[101];
char stmp;
int slen;
int i ,j;
int yn = 0;
scanf("%s", s);
scanf("%s", t);
slen = strlen(s)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371138/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371138/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 LEN 100
void lft(char *s);
int main(void){
char s[LEN], t[LEN];
int k;
int len;
int f = 0;
scanf("%s %s", s, t);
len = strlen(s);
for(k = 0; k <= len; k++){
if(!(strcmp(s, t))){
f++;
break;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371189/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371189/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <inttypes.h>
uint64_t solve(int32_t n, const int32_t* a) {
int32_t i;
uint64_t cost = 0;
int64_t value = 0;
int64_t target = 1;
for (i = 0; i < n; i++) {
value += a[i];
if (value == 0 || (value > 0) != (target > 0)) {
int64_t diff = value - target;
if (dif... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371239/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371239/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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=0,j=0,c=0,count=0;
scanf("%d",&N);
for(int i=1;i<=N;i++)
{ j=i;
while(j!=0)
{
j=j/10;
++c;
}
if(c%2!=0)
{
count++;
}
c=0;
}
printf("%d",count);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371282/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371282/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,x,A[6];
char s[7];
scanf("%d",&n);
for(i=1;i<=n;i++){
snprintf(s,7,"%d",i);
if(strlen(s)%2==1) x++;
}
printf("%d",x);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371332/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371332/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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() {
char check[1000000] = "";
long N;
int len = 0;
long ans = 0;
scanf("%ld", &N);
for (int i = 1; i <= N; i++) {
sprintf(check, "%d", i);
len = strlen(check);
if (len % 2 != 0) {
ans += 1;
}
}
printf("%ld", ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371376/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,s=0;
scanf("%d",&n);
for(int i=1;i<=n;i++)
if((int)(log10(i))%2==0)
s++;
printf("%d\n",s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371419/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371419/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int m = scanf("%d",&N);
if (m == EOF) {
printf("scan error!\n");
return 0;
}
int ten = 1;
int ten_num = 1;
int ten_max = 6;
for (int i = 0; i < ten_max; i++) {
if (N < ten) {
ten_num--;
break;
}
else if (i == (ten_max-1)) {
brea... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371462/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371462/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int digits(int n){
int an = 0;
while(n){
n = n / 10;
++an;
}
return an;
}
int main(){
int n;
scanf(" %d",&n);
int dp[3];
dp[0] = 9;
dp[1] = 999-100;
++dp[1];
dp[2] = 99999-10000;
++dp[2];
int d = digits(n);
//printf("%d\n",d);
int ans = 0;
if(d & 1){
int le = 1;
for(int i = 0... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371505/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371505/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int idx;
scanf("%d\n",&N);
if(N>=10000 && N<100000){
printf("%d\n",N-10000+909+1);
}else if(N>=1000 && N<10000){
printf("909\n");
}else if(N>=100 && N<1000){
printf("%d\n",N-100+9+1);
}else if(N>=10 && N<100){
printf("9\n");
}else if(N==100000){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371549/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371549/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#include <stdint.h>
#include <stdlib.h>
int max(const void *a, const void *b){return *(int*)b - *(int*)a;}
int main(void)
{
int n;
scanf("%d",&n);
if(n == 100000)
{
printf("%d\n", 9+ 900+ 90000);
}else if( n >= 10000)
{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371592/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371592/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*
cat <<EOF >mistaken-paste
*/
#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
#include <time.h>
#define BIG 2000000007
#define VERYBIG 200000000000007LL
#de... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371635/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371635/source.c"
target datalayout = "e-m:e-p270: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.hwll = type { i64, ... |
#include<stdio.h>
int main(void){
int m,f,r;
while(1){
scanf("%d %d %d",&m,&f,&r);
if(m==(-1) || f==(-1)){
if((m==-1 && f==-1) && (f==-1 && r==-1))
break;
else
printf("F\n");
}
else if((m+f)>=80)
printf("A\n");
else if((m+f)>=65 && (m+f)<80)
printf("B\n");
else if((... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371679/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371679/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 m, f, r, p;
while (1) {
scanf("%d %d %d", &m, &f, &r);
if (m == -1 && f == -1 && r == -1) {
break;
}
p = m + f;
if (m == -1 || f == -1) {
printf("F\n");
}
else if (p >= 80) {
printf("A\n");
}
else if (p >= 65 && p < 80) {
printf("B\... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371736/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371736/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 m,f,r;
while(1){
scanf("%d %d %d",&m,&f,&r);
if(m==-1 && f==-1 && r==-1) break;
if(m==-1 || f==-1){
printf("F\n");
}else if(m+f>=80){
printf("A\n");
}else if(m+f>=65){
printf("B\n");
}else if(m+f>=50){
printf("C\n");
}else if(m+f>=30){
if(r>=50){
p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371787/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371787/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 m,d;
int i,j,k,l;
int test;
// scanf("%d",&test);
// while(test--){
scanf("%d %d",&m,&d);
if(m==2)
{
if(d==1){
printf("4\n");
// return 0;
}
else
printf("5\n");
}
else if(m==4||m==6||m==9||m==11)
{
if(d==7)
printf("6\n");
else
printf("... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37183/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37183/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main(void){
int a,b,c;
while(1)
{
scanf("%d %d %d",&a,&b,&c);
if(a==-1&&b==-1&&c==-1)break;
if(a==-1||b==-1)printf("F\n");
else if(a+b>=80)printf("A\n");
else if(a+b>=65 && a+b<80)printf("B\n");
else if(a+b>=50 && a+b<65)printf("C\n");
else if(a+b>=30 && a+b<50){
if (c>=50)printf("C\n");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371873/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371873/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <stdint.h>
int main() {
int n, i, a[200000], l, r;
uint64_t sum = 0, cnt = 0;
scanf("%d", &n);
for (i = 0; i < n; i++) scanf("%d", &a[i]);
l = r = 0;
while (l < n) {
while (r < n && (sum & a[r]) == 0) {
sum += a[r++];
cnt += r - l;
}
sum -= a[l++];
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_371923/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_371923/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
typedef struct{
int sum_v;
int sum_w;
}tre;
int max_w, n, v[1000], w[1000];
int sum_w;
tre memo[1001][1001];
tre dp(int i, int j);
int main(void){
int num = 1;
int i, j;
tre treasure;
while(1){
scanf("%d", &max_w);
if(max_w == 0) break;
scanf("%d", &n);
for(i=0; i<n; i++){
scanf... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372023/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372023/source.c"
target datalayout = "e-m:e-p270: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.tre = type { i32, i... |
#include <stdio.h>
int main(){
long A,B,V,W,T;
scanf("%ld %ld", &A, &V);
scanf("%ld %ld", &B, &W);
scanf("%ld", &T);
if(A<B){
if (A+V*T>=B+W*T){
printf("YES");
}
else{
printf("NO");
}
}
if(A>B){
if (A-V*T<=B-W*T){
printf("YES");
}
else{
p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372081/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372081/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
typedef struct {
int permit;
char from_addr[12];
char to_addr[12];
} rule_t;
typedef struct {
char from_addr[12];
char to_addr[12];
char message[52];
int allowed;
} packet_t;
int rule_num;
rule_t rules[1024];
int packet_num;
packet_t packets[1024];
int is_match(const char* addr,const char*... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372139/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372139/source.c"
target datalayout = "e-m:e-p270: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.rule_t = type { i32... |
#include<stdio.h>
int main()
{
int m,d;
scanf("%d%d",&m,&d);
if(m==2)
{
if(d==1)
printf("4");
else
printf("5");
}
else if(m==4 || m==6 || m==9 || m==11)
{
if(d==7)
printf("6");
else
printf("5");
}
else
{
if((d==6) || (d==7))
printf("6");
else
printf("5");
}
printf("\n");
r... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37219/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37219/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 m,d;
scanf("%d %d",&m,&d);
getchar();
int ans[13]={31,28,31,30,31,30,31,31,30,31,30,31};
if(m==2&&d==1)
printf("4");
else if(ans[m-1]-(8-d)>28)
printf("6");
else
printf("5");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37224/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37224/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
#include <math.h>
int main(){
double xa,ya,ra,xb,yb,rb;
int num,i;
double d;
int result;
scanf("%d",&num);
for(i=0;i<num;i++){
scanf("%lf %lf %lf %lf %lf %lf",&xa,&ya,&ra,&xb,&yb,&rb);
d=hypot((double)(xa-xb),(double)(ya-yb));
if(d>ra+rb){
result=0;
}else if(d+rb<ra){
result=2... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372290/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372290/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#define sqr(x) ((x) * (x))
double distance(double x1, double y1, double x2, double y2) {
return sqrt(sqr(x1 - x2) + sqr(y1 - y2));
}
int main() {
double xa, ya, ra, xb, yb, rb;
int n;
double dis;
int i;
scanf("%d", &n);
for(i = 0; i < n; i++) {
scanf("%lf %lf %lf %lf ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372355/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372355/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n, i;
int ans;
double xa, ya, ra,
xb, yb, rb;
double x, y, len, tmp;
scanf("%d", &n);
for (i = 0; i < n; i++){
scanf("%lf %lf %lf %lf %lf %lf", &xa, &ya, &ra, &xb, &yb, &rb);
x = xb - xa;
y = yb - ya;
len = sqrt... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372399/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372399/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
char S[4];
int a;
scanf("%s", S);
if (S[0] == 'R' && S[1] == 'R' && S[2] == 'R') {
a = 3;
}
else if (S[1] == 'R' && (S[0] == 'R' || S[2] == 'R')) {
a = 2;
}
else if (S[0] == 'S' && S[1] == 'S' && S[2] == 'S') {
a = 0;
}
else {
a = 1;
}
printf("%d", a);
return 0;
}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372492/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372492/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
char s[3]={};
int i,k;
scanf("%s",s);
if(s[0]=='R'&&s[1]=='R'&&s[2]=='R'){
k=3;}
else if(s[0]=='R'&&s[1]=='R'&&s[2]=='S'){
k=2;}
else if(s[0]=='S'&&s[1]=='R'&&s[2]=='R'){
k=2;}
else if(s[0]=='S'&&s[1]=='S'&&s[2]=='S'){
k=0;}
else{
k=1;}
printf("%d",k)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372542/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372542/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
char str[3];
int count = 0;
scanf("%s", str);
if(str[0] == 'R'){
count++;
if(str[1] == 'R'){
count++;
if(str[2] == 'R'){
count++;
}
}
}else{
if(str[1] == 'R'){
coun... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372586/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372586/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
void main(void){
int n;
char s[3];
scanf("%s",s);
if(s[0]=='R'){
if(s[1]=='R'){
if(s[2]=='R')n=3;
else n=2;
}
else n=1;
}
else{
if(s[1]=='R'){
if(s[2]=='R')n=2;
else n=1;
}
else{
if(s[2]=='R')n=1;
else n=0;
}
}
pri... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372636/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372636/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
void da(int a,int b,int c);
int main ()
{
int t,i;
int a,b,c;
int x,y,z;
scanf("%d",&t);
for(i=0;i<t;i++)
{
scanf("%d%d%d",&a,&b,&c);
da(a,b,c);
da(b,a,c);
da(c,b,a);
}
return 0;
}
void da(int a,int b,int c)
{
if(a>b&&a>c)
printf("0 ");
else if(a>=b&&a<=c)
printf("%... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37268/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37268/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#define PI 3.141592653589793
#define MOD 1000000007
//#define DEBUG
//qsort用、昇順
int compare_int(const void *a, const void *b)
{
return *(int*)a-*(int*)b;
}
//qsort(array, 10, sizeof(int), compare_int)
int main(){
char str[8];
int ren=0, max... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372722/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372722/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
float x[4],y[4];
while(scanf("%f %f %f %f %f %f %f %f",&x[0],&y[0],&x[1],&y[1],&x[2],&y[2],&x[3],&y[3]) != EOF){
if((((x[3] <= x[1]) && (x[3] >= x[0])) || ((x[1] <= x[3]) && (x[1] >= x[2]))) && (((y[3] <= y[1]) && (y[3] >= y[0])) || ((y[1] <= y[3]) && (y[1] >= y[2])))) puts("YES");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372766/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372766/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 S[11];
int main(){
scanf("%s", S);
int l = strlen(S);
long sum = 0;
for(int i=0; i<(1<<l-1); i++){
long k=1;
sum += S[l-1] - 48;
for(int j=0; j<l-1; j++){
if((i>>j)&1){
k *= 10;
}else {
k = 1;
}
sum += (S[l-2-j]-48) * k;
}
}
printf("%ld\n", sum... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372823/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372823/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
char s[11] = {'\0'};
void split(char *ptr, char* ptr2, int factor, int length){ /*ptrはコピー先、ptr2は切り取りコピーの素配列、factorは開始位置、lengthは切り出し個数。*/
int num = 0;
for(int a = factor; a < factor+length; a++) ptr[num++] = ptr2[a];
}
long long int add(ch... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372881/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372881/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@s = dso_local global [11 x... |
#include <stdio.h>
#include <string.h>
int main()
{
int n;
int i;
int taro=0, hanako=0;
char x[101], y[101];
scanf("%d", &n);
for(i=0; i<n; i++){
scanf("%s %s", x, y);
if(strcmp(x, y) == 0){
taro++;
hanako++;
}
else if(strcmp(x, y) < 0)
hanako += 3;
else
t... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372939/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372939/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
int main(){
int n,i,a,hp=0,tp=0;
char t[101]={0},h[101]={0};
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%s",t);
scanf("%s",h);
a=strcmp(t,h);
if(a>=1){
tp+=3;
}else if(a<=-1){
hp+=3;
}else{
tp++;
hp++;
}
}
printf("%d %d\... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_372982/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_372982/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
int main(){
int turn;
char cards_t[101];
char cards_h[101];
int point_h
,point_t;
int i;
i=0;
point_h =0; point_t =0;
scanf("%d",&turn);
while(1){
scanf("%s %s",&cards_t,cards_h);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373024/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373024/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
char *P[]={"Impossible","Possible"};
char c;
char h, w, a;
int main(void){
h=getchar()-'0';
getchar();
w=getchar()-'0';
getchar();
while((c=getchar())!=EOF){
if(c=='#'){a++;}
}
puts(P[h+w==a+1]);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373068/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373068/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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)
{
unsigned int N;
int count;
scanf("%d", &N);
count = 0;
while (N > 3){
switch (N % 3){
case 0:
N /= 3;
break;
case 1:
case 2:
N = N / 3 + 1;
break;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373110/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373110/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//set many funcs template
//Ver.20180715
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#include<time.h>
#define inf 1072114514
#define llinf 4154118101919364364
#define mod 1000000007
#define pi 3.1415926535897932384
int max(int a,int b){if(a>b){return a;}return b;}
int min(int a,int b){i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373161/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373161/source.c"
target datalayout = "e-m:e-p270: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.rs = type { i64, i6... |
#include<stdio.h>
int main(void){
int a,b,k,tmp,i,j,num[100],cnt=0,l=0;
scanf("%d %d %d",&a,&b,&k);
if(a>b){
tmp=a;
a=b;
b=tmp;
}
for(i=a;i>0;i--){
if(a%i==0){
num[cnt]=i;
cnt++;
}
}
for(i=0;i<cnt;i++){
if(b%num[i]==0){
l++;
}
if(l==k){
break;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373204/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373204/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,i,j,n[100],k=0;
scanf("%d%d%d",&a,&b,&c);
if(a<b){
j=b;
}else{
j=a;
}
for(i=1;i<=j;i++){
if(a%i==0&&b%i==0){
n[k]=i;
k++;
}
}
c=k-c;
printf("%d\n", n[c]);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373248/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373248/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int max1(int a, int b) { return a > b ? a : b; }
int main(){
int a,b,k,counter=0;
int ans[1000]={0};
scanf("%d %d %d",&a,&b,&k);
for(int i=1;i<=max1(a,b);i++){
if(a%i==0&&b%i==0){
ans[counter++] = i;
}
}
printf("%d\n",ans[counter-k]);
return 0;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373291/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373291/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
// Ver19.03
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define INF (1 << 29) * 2
#define LLINF 4545454545454545454
#define MOD 1000000007
#define ll long long
#define ull unsigned long long
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
int upll(con... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373334/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373334/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, k = 0, r, tmp, cnt=0;
scanf("%d%d%d", &a, &b, &c);
/* 自然数 a > b を確認・入替 */
if(a<b){
tmp = a;
a = b;
b = tmp;
}
/* ユークリッドの互除法 */
r = a % b;
while(r!=0){
a = b;
b = r;
r = a % b;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373378/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373378/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 NEW(p,n){p=malloc((n)*sizeof(p[0]));if(p==NULL){printf("not enough memory\n");exit(1);};}
//pの型の変数n個の要素分のメモリを確保し、そのアドレスをpに代入するマクロ
#define INFTY 999999
int gd(int n,int m){
int a;
int b;
if(n<m){
a=m;
b=n;
}
else{
a=n;
b... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373420/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373420/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,k,i;
scanf("%d %d %d",&a,&b,&k);
if (a>b) i=b;
else i=a;
for (;k>0;k--,i--)
while (a%i!=0 || b%i!=0) i--;
printf("%d\n",i+1);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373464/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373464/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 MOD 1000000007
#define modml(a,b) ((long)(1ll * (a) * (b) % MOD))
#define modadd(a,b) (((a)+(b)) % MOD)
static inline long modpow(long num,long ind){
unsigned long cnt = ind;
long res = 1;
while(cnt){
if(cnt & 1ul)res = modml(res,num);
num = modml(num,num);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373507/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373507/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fact = dso_local local_unn... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
long long mod=1000000007;
long long Fermat(long long A,long long B){
if (B==0){
return 1;
} else if (B==1){
return A%mod ;
} else if (B%2==0){
return (Fermat(A,B/2)*Fermat(A,B/2))%mod;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373550/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373550/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@mod = dso_local local_unna... |
#include <stdio.h>
//WA
int main() {
long int a, b, ans = 0, s;
scanf("%ld%ld", &a, &b);
if (a%2) {
s = b-a;
if (s%2) {
ans = a ^ b ^ ((s/2)%2);
} else {
ans = a ^ ((s/2)%2);
}
} else {
s = b-a+1;
if (s%2) {
ans = b ^ ((s/2)%2);
} else {
ans = ((s/2)%2);
}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373594/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373594/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <limits.h>
#include <math.h>
long long xorsum(long long x)
{
long long a;
long long xorsum;
xorsum = x & ~0x03LL;
for (a = xorsum; a < x; a++) {
xorsum ^= (a + 1);
}
return xorsum;
}
int main(int argc, char *argv[])
{... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373637/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373637/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int max(int a, int b){
return a >= b ? a : b;
}
int main(){
int H, W, N, sr, sc, i, j;
scanf("%d%d%d", &H, &W, &N);
scanf("%d%d", &sr, &sc);
char *S = (char *)malloc(sizeof(char) * (N + 1));
scanf("%s", S);
char *T = (char *)malloc(sizeof(char) * (N + 1));
scanf("%s", T)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373701/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373701/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 i, j;
int flag;
int n;
int m;
int atari;
int d;
char amida[31][11];
int temp[10], keep[10];
int check_amida(void){
int k, l;
for (k = 0; k < d; k++){
for (l = 0; l < n - 1; l++){
if (amida[k][l] == '1'){
temp[l] += temp[l + 1];
temp[l + 1] = temp[l] - temp[l +... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373767/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373767/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@d = dso_local global i32 0... |
#include<stdio.h>
int main(void){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373860/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373860/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373918/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373918/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_373961/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_373961/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for(i=1;i<10;i++) {
for(j=1;j<10;j++) {
printf("%dx%d=%d\n",i,j,i*j);
}
}
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374003/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374003/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for(a = 1; a <= 9; a++)
{
for(b = 1; b <= 9; b++)
{
printf("%dx%d=%d\n", a, b, a*b);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374054/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374054/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int i, j;
for (i = 1; i < 10; i++)
for (j = 1; j < 10; j++)
printf("%dx%d=%d\n", i, j, i * j);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374098/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374098/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a,b;
for(a=1;a<=9;a=a+1){
for(b=1;b<=9;b=b+1){
printf("%dx%d=%d\n",a,b,a*b);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374140/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374140/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int i, j;
for(i = 1; i < 10; i++)
for(j = 1; j < 10; j++)
printf("%dx%d=%d\n",i,j,i*j);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374184/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374184/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int i,j;
for(j=1;j<=9;j++){
for(i=1;i<=9;i++){
printf("%dx%d=%d\n",j,i,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374227/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374227/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ans,n,m;
for(n=1;n<=9;n++){
for(m=1;m<=9;m++){
ans=n*m;
printf("%dx%d=%d\n",n,m,ans);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374270/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374270/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374313/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374313/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for (i = 1; i <= 9; i++){
for (j = 1; j <= 9; j++){
printf("%dx%d=%d\n", i, j, i * j);
}
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374357/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374357/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
int main()
{
int n,stt=0;scanf("%d",&n);
while(n--)
{
int a,b;scanf("%d%d",&a,&b);
if((2*b-a)%3==0&&(2*b-a)>=0&&(2*a-b)>=0&&(2*a-b)%3==0)printf("YES\n");
else printf("NO\n");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37440/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37440/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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> // printf()
int
main(int argc, char** argv)
{
int i, j;
for (i = 1; i <= 9; ++i)
{
for (j = 1; j <= 9; ++j)
printf("%dx%d=%d\n", i, j, i * j);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374443/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374443/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 dan, kazu;
for( dan = 1 ; dan < 10 ; dan ++ )
{
for( kazu = 1 ; kazu < 10 ; kazu ++ )
{
printf("%dx%d=%d\n", dan, kazu, dan*kazu );
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374487/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374487/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main() {
int T;
scanf("%d", &T);
while (T--) {
int c, sum;
scanf("%d%d", &c, &sum);
int pj = sum / c;
int y = sum % c;
long long int sum_ = 0;
for (int i = 0; i < c; i++) {
if (i < y) {
sum_ += (pj + 1) * (pj + 1);
}
else {
sum_ += pj * pj;
}
}
printf("%lld\n... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37453/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37453/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 kuku[9][9];
int i, j;
for(i = 1; i <= 9; i++){
for(j = 1; j <= 9; j++){
kuku[i - 1][j - 1] = i * j;
printf("%dx%d=%d\n", i, j, kuku[i - 1][j - 1]);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374573/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374573/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int i, j;
for(i=1;i<=9;i++){
for(j=1;j<=9;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374616/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374616/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int n,i,r,q,f;
scanf("%d",&n);
int c[n],s[n];
for(i=0;i<n;i++)
scanf("%d%d",&c[i],&s[i]);
for(i=0;i<n;i++)
{
f=0;
if(c[i]>=s[i])
printf("%d\n",s[i]);
else
{
r=s[i]/c[i];
q=s[i]%c[i];
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37466/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37466/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main(void){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374768/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374768/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int i,j;
for(i=1;i<10;i++)
for(j=1;j<10;j++)
printf("%dx%d=%d\n",i,j,i*j);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374810/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374810/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int i, j;
for (i = 1; i <= 9; i++) {
for (j = 1; j <= 9; j++) {
printf("%dx%d=%d\n", i, j, i*j);
}
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374861/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374861/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for(a=1;a<=9;a++) {
for(b=1;b<=9;b++) {
printf("%dx%d=%d\n",a,b,a*b);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_374955/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_374955/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for(i = 1; i <= 9 ; i++){
for(j = 1; j<= 9 ; j++){
printf("%dx%d=%d\n", i, j, i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375048/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375048/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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);
int i;
int u[300005], v[300005];
long long int d[300005];
for (i = 0; i < m; i++)
{
scanf("%d %d %lld", &u[i], &v[i], &d[i]);
u[i]--;
v[i]--;
}
long long int r[100005];
for (i = 0; i < n; i++)
r[i] = 0;
for (i = 0; i < m; i++)
{
r[u[... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37512/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37512/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 i ,j;
for(i = 1;i <= 9 ;i++){
for( j = 1 ; j <= 9 ; j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375170/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375170/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 j,k;
for(j=1; j<=9;j++){
for(k=1;k<=9;k++){
printf("%dx%d=%d\n", j, k, j*k);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375213/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375213/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
# include<stdio.h>
int main()
{
int i,j;
for(i=1;i<=9;i++)
for(j=1;j<=9;j++)
printf("%dx%d=%d\n",i,j,i*j);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375264/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375264/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%dx%d=%d\n",i,j,i*j);}
;}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375314/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375314/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int i, j;
for (i = 1; i <= 9; i++){
for (j = 1; j <= 9; j++){
printf("%dx%d=%d\n", i, j, i * j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375365/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375365/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for(i = 1; i <= 9; i++){
for(j = 1; j <= 9; j++){
printf("%dx%d=%d\n", i, j, i * j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375408/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375408/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i2;
for (i = 1; i < 10; i++){
for (i2 = 1; i2 < 10; i2++){
printf("%dx%d=%d\n", i, i2, i*i2);
}
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375451/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375451/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int i,j;
for (i=1;i<=9;i++) {
for (j=1;j<=9;j++) {
printf("%dx%d=%d\n", i,j,i*j);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375523/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375523/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for(a=1;a<=9;a++){
for(b=1;b<=9;b++){
printf("%dx%d=%d\n",a,b,a*b);
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375567/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375567/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
long long int n,a,mod,i;
int main(){
scanf("%lld",&n);
for(i=0; i<n; i++){
scanf("%lld",&a);
mod=a%14;
if(mod==0 || mod>6 || a<14){
printf("NO\n");
}
else{
printf("YES\n");
}
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_37561/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_37561/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main(void)
{
int i, j;
for (i = 0; i < 9; i++){
for (j = 0; j < 9; j++){
printf("%dx%d=%d\n", i+1, j+1, (i+1)*(j+1));
}
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375653/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375653/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int i,j;
for(i=1;i<=9;i++)
for(j=1;j<=9;j++)
printf("%dx%d=%d\n",i,j,i*j);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375697/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375697/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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){
for (int i=1; i<=9; i++) {
for (int j=1; j<=9; j++) {
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375754/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375754/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,ans =0;
for(int a=0; a<9; a++){
for(int b=0; b<9; b++){
ans = (a+1)*(b+1);
printf("%dx%d=%d\n",a+1,b+1,ans);
}
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375798/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375798/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
for(a=1;a<=9;a++)for(b=1;b<=9;b++)printf("%dx%d=%d\n",a,b,a*b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_375840/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_375840/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.