Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int main(void){
int h,x,i,j;
while(1){
scanf("%d" "%d",&h,&x);
if(h==0&&x==0){
break;
}else{
for(i=0;i<h;i++){
for(j=0;j<x;j++){
putchar('#');
}
putchar('\n');
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134225/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134225/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int main() {
int h; int w;
scanf("%d %d", &h,&w);
while (h!=0&&w!=0){
for(int i=0;i<h;i++){
for(int j=0;j<w;j++){
printf("#");
}
puts("");
}
puts("");
scanf("%d %d", &h,&w);
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134269/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134269/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
int h, w;
while(1){
scanf("%d %d", &h, &w);
if(h == 0 && w == 0) break;
for(i = 0; i < h; i++){
for(j = 0; j < w; j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134319/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134319/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int h, w;
int i, j;
while (scanf("%d %d", &h, &w), h || w) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
putchar('#');
}
puts("");
}
puts("");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134362/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134362/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int h,w;
int i,j;
while(1){
scanf("%d %d",&h,&w);
if(h==0 && w==0) break;
for(i=0;i<h;i++){
for(j=0;j<w;j++){
printf("#");
}
printf("\n");
} printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134405/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134405/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int h,m,l,t;
scanf("%d %d",&h,&m);
while(h!=0 && m!=0){
for( l = 0; l < h; l++){
for( t = 0; t < m; t++){
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d",&h,&m);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134456/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134456/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
int main()
{
int n,i,a=0,b,c=0,d,g[2000000];
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&g[i]);
}
for(;n!=0;n--)
{
if(a!=1)
{
if(g[n-1]==1)
{
a=1;
b=n;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_1345/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_1345/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr co... |
#include<stdio.h>
int main(void){
int h,w,i,j;
while(1){
scanf("%d%d",&h,&w);
if(h==0&&w==0) break;
for(i=0;i<h;i++){
for(j=0;j<w;j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134557/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134557/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int gcd (int a, int b)
{
int r;
while (b > 0)
{
r = a % b;
a = b;
b = r;
}
return a;
}
int main() {
int i;
int n, k, a, tmp, nsol;
scanf("%d %d", &n, &k);
scanf("%d", &a);
for (i = 1; i < n; i++) {
scanf("%d", &tmp);
a = gcd(a, tmp);
}
a = gcd(a, k);
nsol = k/a;
tmp = ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13460/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13460/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main() {
int h, w;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) { break; }
for (int i=0; i<h; ++i) {
for (int j=0; j<w; ++j) {
printf("#");
}
printf("\n");
}
printf("\n");
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134643/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134643/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 w,h;
while(1){
scanf("%d %d", &h, &w);
if(h == 0 && w == 0){
break;
}
for(int i = 0; i < h; i++){
for(int j = 0; j < w; j++){
printf("#");
}
printf("\n");
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134687/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134687/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,h,w;
while(1){
scanf("%d %d",&h,&w);
if(h==0 && w==0) break;
for(i=0;i<h;i++){
for(j=0;j<w;j++){
printf("#");
}puts("");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134744/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134744/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int H,W,i,j;
while(1){
scanf("%d %d",&H,&W);
if(H==0 && W==0) break;
for(i=0;i<H;i++){
for(j=0;j<W;j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134788/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134788/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int x,y;
while(1){
scanf("%d %d",&x,&y);
if(x == 0 && y == 0) break;
for(int i = 0; i < x; i++){ //横のループ
for(int j = 0; j < y; j++){ //縦のループ
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134830/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134830/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int h,w,i,j;
while(1){
scanf("%d %d",&h,&w);
if(h==0 && w==0)break;
for(i=0;i<h;i++){
for(j=0;j<w;j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134874/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134874/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
// AOJ ITP2_11_B Enumeration of Subsets II
// 2019.3.9 bal4u
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#if 1
#define gc() getchar_unlocked()
#define pc(c) putchar_unlocked(c)
#else
#define gc() getchar()
#define pc(c) putchar(c)
#endif
int in()
{
int n = 0, c = gc();
do n = 10 * n + (c & 0xf), c = g... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134917/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134917/source.c"
target datalayout = "e-m:e-p270: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._IO_FILE = type { i... |
#include <stdio.h>
int main(){
int N;
char S[500000];
int W[500000],E[500000],w=0,e=0;
int min=500000;
scanf("%d",&N);
scanf("%s",S);
for(int i=0;i<N;i++)
if(S[i]=='W')
W[i]=w++;
else
W[i]=w;
for(int i=N-1;i>=0;i--)
if(S[i]=='E')
E[i]=e++;
else
E[i]=e;
fo... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134968/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134968/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 yakusimaruhiroko(const void* x, const void* y) {
int a = *(const int*)x, b = *(const int*)y;
return a < b ? -1 : a > b;
}
int N, M;
int X[114514];
int yosinagasayuri[114514];
int main(void) {
int i;
if (scanf("%d%d", &N, &M) != 2) return 1;
for (i = 0; i < M; i++) {
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135017/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135017/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//#include "pch.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
//#include <set>
//#include <map>
//#include <iostream>
#define ll long long
#define fri(n) for(i=0;i<(n);i++)
#define frj(n) for(j=0;j<(n);i++)
#define min(p,q) ((p)<(q)?(p):(q))
#define max(p,q) ((p)>(q)?(p):(q))
#define... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135060/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135060/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 int_comp(const void *a, const void *b)
{
return (*(int *)a) - (*(int *)b);
}
int main()
{
int N;
int M;
int X[100000];
int diff[100000];
int i;
int sum;
int ret;
scanf("%d %d", &N, &M);
for(i = 0; i < M; i++) {
scanf("%d", &X[... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135103/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135103/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
enum {WEST=1,NORTH=2,EAST=4,SOUTH=8};
int vx[]={-1,0,1,0};
int vy[]={0,-1,0,1};
int w,h;
int map[30][30];
int cost[30][30];
struct Pos{
int y,x;
}que[900];
int head,tail;
int main(){
int tmp;
int i,j;
struct Pos a,b;
while(scanf("%d%d",&w,&h)==2&&(w|h)){
memset(cost,-1,size... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135154/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135154/source.c"
target datalayout = "e-m:e-p270: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.Pos = type { i32, i... |
#include<stdio.h>
int Det(int S[6],int T[6])
{
int i,j,k,d,C[6];
int Dice[6][6]={{1,2,3,5,4,6},
{2,6,3,1,4,5},
{3,6,5,1,2,4},
{4,6,2,1,5,3},
{5,6,4,1,3,2},
{6,5,3,2,4,1}};
for(i=0;i<6;i++)
{
for(j=0;j<4;j++)
{
for(k=0;k<4;k++){C[k+1]=T[Dice[i][(j+k)%4+1]-1];}
C[0]=T[Dice[i][0]-1];... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135198/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135198/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.Det.Dice = private... |
#include <stdio.h>
//#define DEBUG
typedef struct dice{
int TOP ;
int FRONT ;
int RIGHT ;
int LEFT ;
int BACK ;
int BOTTOM ;
}DICE;
void dicescan(DICE *); //?????????????????????????????????
void rotateN(DICE *); //N?????¢
void rotateS(DICE *); //S?????¢
void rotateE(DICE *); //E?????¢
void rotateW(D... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135240/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135240/source.c"
target datalayout = "e-m:e-p270: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 { i32, ... |
//
// main.c
// ITP1_11_D
//
// Created by k16031kk on 2018/06/03.
// Copyright © 2018年 AIT. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, const char * argv[]) {
// insert code here...
int area[100][6];
int n;
scanf("%d", &n);
for(int i=0... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135291/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135291/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define next(a) ( ((a)+1)%SIZE )
#define ABS(x) ( (x)>0 ? x : -(x) )
#define MIN(x,y) ( (x) < (y) ? (x) : (y) )
#define MAX(x,y) ( (x) > (y) ? (x) : (y) )
#define INF 1000000000
#define SIZE 100000
typedef struct qu... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135334/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135334/source.c"
target datalayout = "e-m:e-p270: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.queue = type { i32,... |
// AOJ ITP1_11_D Dice IV
// 2018.5.2 bal4u
#include <stdio.h>
#include <string.h>
#if 1
#define gc() getchar_unlocked()
#else
#define gc() getchar()
#endif
int in()
{
int n = 0, c = gc();
do n = 10*n + (c & 0xf), c = gc(); while (c >= '0');
return n;
}
int rot[24][7] = {
{ 0,1,2,3,4,5,6 },{ 0,1,3,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135378/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135378/source.c"
target datalayout = "e-m:e-p270: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._IO_FILE = type { i... |
#include<stdio.h>
void spin_w(int x[]){
int sai1[6],i;
for(i=0;i<6;i++){
sai1[i]=x[i];
}
sai1[0]=x[2];
sai1[2]=x[5];
sai1[3]=x[0];
sai1[5]=x[3];
for(i=0;i<6;i++){
x[i]=sai1[i];
}
}
void spin_side(int x[]){
int sai1[6],i;
for(i=0;i<6;i++){
sai1[i]=x[i];
}
sai1[1]=x[2];
sai1[2]=x[4];
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135420/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135420/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 num=0,i,x,n,k;
scanf("%d %d",&n,&k);
for (i=1;i<=n;i++)
{
scanf("%d",&x);
if (5-x>=k) num++;
}
printf("%d",num/3);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13550/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13550/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
#include<stdlib.h>
int main()
{
int N,X,T,z;
scanf("%d%d%d",&N,&X,&T);
z=(N+X-1)/X*T;
printf("%d",z);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135543/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135543/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,x,y,t,s;
scanf("%d %d %d",&n,&x,&t);
y=n/x;
s=n%x;
if(s!=0){
y++;
}
printf("%d\n",y*t);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135587/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135587/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,X,T;
scanf("%d %d %d",&N,&X,&T);
if (N <= X){
printf("%d",T);
}else if(N%X == 0){
printf("%d",N/X*T);
}else{
printf("%d",(N/X+1)*T);
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135637/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135637/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,t,count,time;
scanf("%d %d %d",&n,&x,&t);
if(n%x==0)
{
count = n/x;
time = count*t;
}
else
{
count = n/x + 1;
time = count*t;
}
printf("%d",time);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135680/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135680/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,X,T,ans=0;
//input
scanf("%d %d %d",&N,&X,&T);
//control
if(N%X==0){
ans = (N/X)*T;
}else{
ans = (N/X+1)*T;
}
//output
printf("%d",ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135730/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135730/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,t,i;
scanf("%d %d %d", &n,&x,&t);
for(i=0;n>0;i++){
n-=x;
}
printf("%d",i*t);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135774/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135774/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
int main() {
int n, x, t;
scanf("%d %d %d", &n, &x, &t);
if (n%x==0) {
printf("%d\n", (n/x)*t);
} else {
printf("%d\n", ((n/x)+1)*t);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135824/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135824/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int x,t,n;
int ans;
scanf("%d %d %d",&n,&x,&t);
if(n % x != 0){
ans = n/x;
ans++;
}else{
ans = n/x;
}
ans *= t;
printf("%d\n",ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135868/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135868/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,b;
scanf("%d%d%d",&m,&f,&b);
if(m<b){
m = b-m;
//printf("%d\n",m);
if(m<=f){
printf("%d\n",m);
}
else printf("NA\n");
}
else printf("0\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135910/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135910/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,b;
scanf("%d %d %d",&m,&f,&b);
if(b<=m) printf("0\n");
else if(b<=m+f) printf("%d\n",b-m);
else printf("NA\n");
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135954/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135954/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n;
scanf("%d", &n);
for(int i=1; i<=9; i++){
for(int j=1; j<=9; j++){
if(i*j==n){
printf("Yes");
return 0;
}
}
}
printf("No");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136003/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136003/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*ex3_4
takafumi_ueki*/
#include <stdio.h>
int main(void){
int x,i;
int flag = 0;
scanf("%d",&x);
/*例えば,xを2で割った余りが0(2で割り切れる)かつ
2で割った商が10未満だったら一桁の整数同士の掛け算で表せるということなので、それを3,4,5,,,,と調べる。*/
for(i = 1; i <= 9; i++){
if((x%i == 0)&&(x/i)<10){
printf("Yes\n");
flag =... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136047/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136047/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/* ex3-4
kas056 */
#include <stdio.h>
int main(void){
//積cross,フラグflagの設定
int N,cross,flag;
scanf("%d",&N);
//flagの初期値設定
flag = 0;
/*1<=i<=9の範囲内のiと、1<=j<=9の範囲内のjで
九九を全て表すことが出来る。ループを用いて積を出す。*/
for(int i = 1; i < 10 ; i ++){
for (int j = 1; j<10; j++){
cross = i * ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136090/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136090/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*Kadai3_4
saitomo*/
#include<stdio.h>
int main(void){
int num,judge=0;//judgeを使って判定をする
scanf("%d",&num);
for(int i=1;i<10;i++){//1から9まででnumを割っていきあまりが0かつ商が10未満ならばjudgeに1を足す
if(num%i==0 && num/i<10){
judge+=1;
}
}
if (judge!=0){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136133/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136133/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d",&n);
for(i=1;i<=9;i++){
if((n%i==0)&(n/i<=9)) break;
}
if(i==10){
printf("No");
}else{
printf("Yes");
}
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136177/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136177/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,k,i,count=0;
scanf("%d",&n);
scanf("%d",&k);
int a[n];
for(i=0;i<n;i++)
scanf("%d",&a[i]);
for(i=0;i<n;i++)
{
if(5-a[i]>=k)
count++;
}
count = count/3;
printf("%d\n",count);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13622/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13622/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
#include <string.h>
int main(){
int n,cnt;
cnt=0;
scanf("%d",&n);
for(int i=1;i<10;i++){
if(n%i==0&&0<n/i&&n/i<10){
cnt=1;
}
}
if(cnt==1){
printf("Yes");
}else{
printf("No");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136263/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136263/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n;
scanf("%d",&n);
for(int a=1;a<=9;a++)for(int b=1;b<=9;b++){
if(a*b==n){
puts("Yes");
return 0;
}
}
puts("No");
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136306/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136306/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
/*inline void Scan_f(int a)
{
char c = 0;
while(c<33)
//c = fgetc_unlocked(stdin);
c = getc(stdin);
a = 0;
while(c>33)
{
a = a*10 + c - '0';
//c = fgetc_unlocked(stdin);
c = getc(stdin);
}
}
*/
int main()
{
int n,i;
int k;
int y[2000];
int count =0,ans =0;
//scan... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13635/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13635/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
scanf("%d",&a);
if(a==1||a==2||a==3||a==4||a==5||a==6||a==7||a==8||a==9||a==10||a==12||a==14||a==16||a==18||a==15||a==21||a==24||a==27||a==20||a==28||a==32||a==36||a==25||a==30||a==35||a==40||a==45||a==42||a==48||a==54||a==56||a==63||a==49||a==64||a==72||a==81)
printf("Yes");... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136393/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136393/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#include <stddef.h>
#include <ctype.h>
int main(int argc, char *argv[])
{
int a1, a2, k1, k2, n, ans1, ans2;
scanf("%d%d%d%d%d", &a1, &a2, &k1, &k2, &n);
int d = (k1 - 1) * a1 + (k2 - 1) * a2;
if (d >= n) {
ans1 = 0;
} else {
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13648/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13648/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
for (int i = 1;i<10;i++) {
for (int j = 1; j< 10; j++) {
if (i*j==n) {
printf("Yes\n"); return 0;
}
}
}
printf("No\n"); return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136522/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136522/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int n;
scanf("%d\n", &n);
for (int i = 9; i > 0; i--)
{
if ( (n % i == 0) && (n / i <= 9) )
{
printf("Yes\n");
return(0);
}
}
printf("No\n");
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136573/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136573/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 MIN(a,b) a<b?a:b
#define MAX(a,b) a>b?a:b
int main()
{
int t1,t2,c1,c2,tc,r1,r2,ans1,ans2,c;
scanf("%d%d%d%d%d",&t1,&t2,&c1,&c2,&tc);
r1=(t1*c1)-t1;
r2=(t2*c2)-t2;
ans1=MIN(r1+r2,tc);
printf("%d",MIN(tc-ans1,t1+t2));
ans1=MIN(tc/c1,t1);
c=tc-(ans1*c1);
ans2=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13666/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13666/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
#include<stdlib.h>
int main(){
int* s;
int n,i,sum=0,min=100;
scanf("%d",&n);
s=(int *)malloc(sizeof(int)*n);
for(i=0;i<n;i++){
scanf("%d",&s[i]);
}
for(i=0;i<n;i++){
sum+=s[i];
if(s[i]%10!=0&&min>s[i]){
min=s[i];
}
}
if(sum%10==0){
if(min!=100) sum-=min;
else sum=0;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136724/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136724/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define inf 1072114514
#define llinf 4154118101919364364
#define mod 1000000007
int max(int a,int b){if(a>b){return a;}return b;}
int min(int a,int b){if(a<b){return a;}return b;}
int zt(int a,int b){return max(a,b)-min(a,b);}
int round(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136768/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136768/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[11],b[11],c[11];
scanf("%s",a);
getchar();
scanf("%s",b);
getchar();
scanf("%s",c);
getchar();
if((a[strlen(a)-1]==b[0])&&(b[strlen(b)-1]==c[0]))
{
printf("YES\n");
return 0;
}
else
printf("NO\n"... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136810/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136810/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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)
{
char A[11],B[11],C[11];
scanf("%s%s%s",A,B,C);
if((A[strlen(A)-1]==B[0])&&(B[strlen(B)-1]==C[0])) printf("YES\n");
else printf("NO\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136854/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136854/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 a[101], b[101], c[101];
int na,nb;
for(int i = 0;i<101;++i){
scanf("%c", &a[i]);
if(a[i] == *" "){
na = i-1;
break;
}
}
for(int i = 0;i<101;++i){
scanf("%c", &b[i]);
if(b[i] == *" "){
nb =... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136898/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136898/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 A[11],B[11],C[11];
int a,b,i;
scanf("%s%s%s",A,B,C);
for(i=1;i<11;i++){
if(A[i]=='\0'){
a=i-1;
break;
}
}
for(i=1;i<11;i++){
if(B[i]=='\0'){
b=i-1;
break;
}
}
/*printf("%d\n%d\n",a,b);*/
if(A[a]==B[0]&&B[b]==C[... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136940/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136940/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[20], b[20], c[20];
int main(void) {
int lena, lenb, lenc;
scanf("%s", a);
scanf("%s", b);
scanf("%s", c);
lena = strlen(a);
lenb = strlen(b);
lenc = strlen(c);
if (a[lena - 1] == b[0] && b[lenb - 1] == c[0]) {
printf("YES\n");
}
else {
printf("NO\n");
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136984/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136984/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 s1lenth, s2lenth;
char s1[10], s2[10], s3[10];
scanf("%s%s%s", s1, s2, s3);
for (s1lenth = 0; s1[s1lenth] != '\0'; s1lenth++);
for (s2lenth = 0; s2[s2lenth] != '\0'; s2lenth++);
if (s1[s1lenth - 1] == s2[0] && s2[s2lenth - 1] == s3[0]) printf("YES");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137026/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137026/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int array[51][51];
int check(int x, int y, int n) {
int k;
for (int i = 0; i < n; i++)
if (i != x) {
k = array[x][y] - array[i][y];
for (int j = 0; j < n; j++)
if (j != y && array[x][j] == k)
return 1;
}
return ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13707/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13707/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@array = dso_local global [51... |
#include<stdio.h>
#define MAXN 300010
struct data
{
int l,r;
}a[MAXN];
char s[10];
int main()
{
int n,i,top,ans,max,now,x;
top = ans = max = 0;
now = 1;
scanf("%d",&n);
for(i=0;i<2*n;i++)
{
scanf("%s",s);
if(s[0]=='a')
{
scanf("%d",&x);
a[t... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13712/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13712/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.data = type { i32, i3... |
#include<stdio.h>
#include<stdlib.h>
typedef long long int int64;
void run(void){
int n,q;
scanf("%d%d",&n,&q);
int *a=(int *)calloc(n,sizeof(int));
int i;
for(i=0;i<n;i++) scanf("%d",a+i);
if(n==2){
while(q--) printf("%d\n",a[1]);
return;
}
int *y=(int *)calloc(n,sizeof(int));
int64 *ans=(i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137163/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137163/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//question name-bananas
#include<stdio.h>
#include<stdlib.h>
int main()
{
long long int m,b,x,y;
scanf("%I64d %I64d",&m,&b);
long long int ans=0,max=0;
for(y=0;y<=b;y++)
{
x=m*b-m*y;
ans=((x+1)*(y+1)*(x+y))/2;
if(ans>max)
max=ans;
}
printf("%I64d",max);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13725/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13725/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
#include <stdlib.h>
int main(){
long long int m,b;
scanf("%lld %lld",&m,&b);
long long int x_int = m*b;
long long int y_int = b;
long long int fin_tot=0;
long long int i;
for(i=y_int-1;i>=0;i--){
long long int cor = m*(b-i);
long long int tot = 0;
long long int plus = i + cor;
long lo... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13730/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13730/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 a[50][50];
int main() {
int x, y, s, t, n, ok = 1;
scanf("%d", &n);
for (x = 0; x < n; x++)
for (y = 0; y < n; y++)
scanf("%d", &a[x][y]);
for (x = 0; x < n; x++)
for (y = 0; y < n; y++)
if (a[x][y] != 1) {
int flag = 0;
for (s = 0; s < n; s++)
for (t = 0; t < n; t+... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13743/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13743/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 <math.h>
#include <stdlib.h>
#include <limits.h>
#include <stdbool.h>
#define rep(i, n) for(int i=0; i<(n); ++i)
#define max 200001
//qsort(str, n, sizeof(int), up_comp);
int up_comp(const void *a, const void *b){return *(int*)a - *(int*)b;}
int down_comp(const void *a... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137480/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137480/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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;
scanf("%d%d", &N, &i);
printf("%d", N - i + 1);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137530/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137530/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int N, i;
scanf("%d%d", &N, &i);
printf("%d", N - i + 1);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137574/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137574/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int n,i;
scanf("%d%d",&n,&i);
printf("%d\n",n-i+1);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137617/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137617/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 total, front;
scanf("%d%d", &total, &front);
printf("%d", total - front + 1);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137660/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137660/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 max;
int cur;
int res;
scanf("%d", &max);
scanf("%d", &cur);
res = max - cur + 1;
printf("%d", res);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137710/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137710/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int N,i,t;
scanf("%d",&N);
scanf("%d",&i);
t=N-i+1;
printf("%d",t);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137754/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137754/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int N,i;
scanf("%d %d",&N,&i);
printf("%d\n",N-i+1);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137798/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137798/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int n,i,j;
char abc[3][101];
scanf("%d",&n);
for (i = 0; i < 3; i++)
{
scanf("%s",abc[i]);
}
int buf = 0,ans = 0;
for (i = 0; i < n; i++)
{
if(abc[0][i] != abc[1][i] && abc[1][i] != abc[2][i] && abc[2][i] != abc[0][i])
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137840/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137840/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,count=0;
char a[101],b[101],c[101];
scanf("%d",&n);
scanf("%s",a);
scanf("%s",b);
scanf("%s",c);
for(int i=0;i<n;i++){
if((a[i]-b[i])*(b[i]-c[i])*(c[i]-a[i])!=0){
count+=2;
}else if(a[i]-b[i]==0 && b[i]-c[i]==0){
}else{
count++;
}
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137884/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137884/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
typedef long long int int64;
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a) ((a)>(0)?(a):-(a))
void run(void){
int n;
scanf("%d",&n);
char a[101],b[101],c[101];
scanf("%s",a);
scanf("%s",b);
scanf("%s",c);
int c... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137927/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137927/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ft_swap(int *a, int *b)
{
int tmp;
tmp = *a;
*a = *b;
*b = tmp;
}
void ft_qsort(int *tab, int left, int right)
{
int Left = left;
int Right = right;
int pivot = tab[(left + right) / 2];
while (1)
{
while (tab[Left] < pivot)
Left++;
while (tab[Right] > pivot)
Right--;
if... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137970/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137970/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#include<stdlib.h>
#include<string.h>
#define FOR(i,a,b) for(i=(a);i<(b);i++)
#define MIN(x,y) y ^ ((x^y) & -(x<y))
#define MAX(x,y) x ^ ((x^y) & -(x<y))
#define MOD 1000000007
typedef long long ll;
typedef unsigned long long ull;
int main(){
ll k,m,x,y,z,n,ans;
scanf("%I64d%I6... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13802/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13802/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
void swap (int *x, int *y) {
int temp;
temp = *x;
*x = *y;
*y = temp;
}
int partition (int array[], int left, int right) {
int i, j, pivot;
i = left;
j = right + 1;
pivot = left;
do {
do { i++; } while (array[i] < array[pivot]);
do { j--; } while (array[pivot] < array... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138063/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138063/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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,i,b,k,d;
float sum=0.0;
int c[100];
scanf("%d",&a);
for(i=0;i<a;i++)
{
scanf("%d",&c[i]);
}
for(i=0;i<a-1;i++)
{
for(b=i+1;b<a;b++)
{
if(c[i]>c[b])
{
k=c[i];
c[i]=c[b];
c[b]=k;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138106/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138106/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
long long int x,y,n,i,j,k,div3,div2,ans,answer,dove;
scanf("%I64d%I64d",&x,&y);
scanf("%I64d",&n);
if(n%3==0)
div3=n/3;
else
div3=n/3 + 1;
div2 = div3%2;
dove = n%3;
if(div2==1)
{
if(dove==1)
{
ans=x;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13815/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13815/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))
#define bit(n,m)(((n)>>(m))&1)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138193/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138193/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>
#define rep(i,begin,end) for(int i=begin; i<end; i++)
int main(){
int n, m;
scanf("%d %d", &n, &m);
int a[n], b[n], c[m+1], d[m+1];
int ans[n];
rep(i, 0, n){
scanf("%d %d", &a[i], &b[i]);
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138236/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138236/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#include <stdbool.h>
#define inf (INT_MAX-1)
#define INF 9223372036854775807
#define PI 3.14159265358979323846;
#define EPS 1e-10
#define sq(n) ((n)*(n))
#define rep(i,n) for(i=0;i<n;i++)
#de... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138287/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138287/source.c"
target datalayout = "e-m:e-p270: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>
int main(void) {
// your code goes here
int n,i,k,j,m;
int array[100];
scanf("%d%d",&n,&m);
for(i=0;i<n;i++)scanf("%d",&array[i]);
k=n;
while(k)
{
for(i=0;i<n;i++)
{
if(array[i]>0)
{
array[i]=array[i]-m;
if(array[i]<=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13833/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13833/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 <ctype.h>
#include <math.h>
#include <stdlib.h>
#define INF 1000000000;
int main(void){
int n,m;
scanf("%d %d",&n,&m);
int a[n],b[n],c[m],d[m];
int i,j;
for(i=0;i<n;i++){
scanf("%d %d",&a[i],&b[i]);
}
for(i=0;i<m;i++){
scanf("%d %d",&c[i],&d[i]);
}
int l;
i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138373/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138373/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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; /*���ia�F�̗� b�F�U���́j*/
int c,d; /*�ic�F�̗� d�F�U���́j*/
int i=0;
do{
scanf("%d%d%d%d",&a,&b,&c,&d);
}while(a<1||a>100||b<1||b>100||c<1||c>100||d<1||d>100);
while(a>0&&c>0){
if(i%2==1)
a=a-d;
if(i%2==0)
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138416/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138416/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 n1=n+1;
int a[n1];
int p[n1];
int i,j;
for(i=1;i<=n;i++)
{p[i]=0;
scanf("%d",&a[i]);
}
for(i=1;i<=n;i++)
{
while(a[i]>0)
{
a[i]=a[i]-m;
p[i]=p[i]+1;
}
//printf("%d ",p[i]);
}
int max=0;int me;
for(i=1;i<=n;i++)
{
if(p[i]>=max)
{
max=p[i]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13846/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13846/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,D;
scanf("%d %d %d %d",&A,&B,&C,&D);
do{
C=C-B;
A=A-D;}while(C>0&&A>0);
if(C<=0&&A>0)
puts("Yes");
if(A<=0&&C>0)
puts("No");
if(A<=0&&C<=0)
puts("Yes");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138502/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138502/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int a, b, c, d, i;
scanf("%d %d %d %d", &a, &b, &c, &d);
while(1){
c = c - b;
if(c <= 0){
printf("Yes");
break;
}
a = a - d;
if(a <= 0){
printf("No");
break;
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138553/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138553/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
void main() {
int a, b, c, d;
int t_hp, a_hp;
scanf("%d %d %d %d", &a, &b, &c, &d);
a_hp = c;
t_hp = a;
while(1){
//Takahashi attack
a_hp -= b;
if(a_hp <= 0){
printf("Yes\n");break;
}
//Aoki attack
t_hp -= d;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138597/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138597/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b,c,d;
scanf("%d %d %d %d",&a,&b,&c,&d);
//c-b,a-d
while(a>0 && c>0){
c = c-b;
a = a-d;
}
if((c<=0 && a<=0)||(c<=0 && a>0)){
printf("Yes\n");
return 0;
}
else if(c>0 && a<=0){
printf("No\n");
return 0;
}
else{
printf("違うで");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138647/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138647/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b,c,d;
scanf("%d%d%d%d",&a,&b,&c,&d);
int i=1;
while(1)
{
c=c-b;
a=a-d;
if(c<=0){printf("Yes");
break;}
else if(a<=0){printf("No");
break;}
i++;
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138690/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138690/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
int main(){
int A,B,C,D;
scanf("%d %d %d %d",&A,&B,&C,&D);
while(1){
C-=B;
if(C<1){
printf("Yes\n");
break;
}
A-=D;
if(A<1){
printf("No\n");
b... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138733/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138733/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a, b, c, d;
scanf("%d %d %d %d", &a, &b, &c, &d);
while (1) {
c = c - b;
if (c <= 0) {
printf("Yes\n");
return 0;
}
a = a - d;
if (a <= 0) {
printf("No\n");
return 0;
}
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138777/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138777/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int n,i,j;
scanf("%d", &n);
char w ='W';
char b = 'B';
char temp;
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
printf("%c", w);
j++;
if(j<n)
printf("%c", b);
}
temp = b;
b = w;
w = temp;
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13882/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13882/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main(){
int a, b, c, d;
scanf("%d %d %d %d", &a, &b, &c, &d);
for(int i=0;i<100;++i){
c=c-b;
if(c<1){
printf("Yes");
break;
}
a=a-d;
if(a<1){
printf("No");
break;
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138863/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138863/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main() {
int A,B,C,D;
scanf("%d %d %d %d",&A,&B,&C,&D);
while(A > 0 && C > 0) {
C = C-B;
if(C <= 0) {
printf("Yes\n");
break;
}
A = A-D;
if(A <= 0) {
printf("No\n");
break;
}
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138906/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138906/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b,c,d;
scanf("%d %d %d %d",&a,&b,&c,&d);
for(int i=0;; i++){
c = c-b;
if( c <= 0){
printf("Yes");
return 0;
}
a = a-d;
if( a <= 0){
printf("No");
return 0;
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_138957/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_138957/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.