Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int main(){
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.0000 * a / b;
printf("%d %d %f\n", d, r, f);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_131955/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_131955/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a, b;
int d, r;
double f;
scanf("%d %d\n", &a, &b);
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %.5f\n", d, r, f);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132004/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132004/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a,b;
scanf( "%d %d",&a, &b);
printf( "%d %d %lf\n",a/b ,a%b, (double)a/b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132048/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132048/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a;
int b;
scanf("%d%d", &a, &b);
int d = a/b;
int r = a%b;
double f = (double)a/b;
printf("%d %d %.8lf\n", d, r, f);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132091/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132091/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d\n",&a,&b);
int d = a / b;
int r = a % b;
double f = (double)a / b;
printf("%d %d %f\n",d,r,f);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132134/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132134/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,d,r;
double fx,fy;
double f;
scanf("%d",&x);
scanf("%d",&y);
d = x/y;
r = x%y;
fx = x;
fy = y;
f = fx/fy;
printf("%d"" ""%d"" ""%lf\n",d,r,f);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132178/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132178/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,d,r;
double f;
scanf("%d%d",&a,&b) ;
d = a/b;
r = a%b;
f =(double)a/(double)b;
printf("%d %d %.5lf\n",d,r,f);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132228/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132228/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*氏名:保坂優介, 学籍番号:200441141
概要:整数を計算する*/
#include<stdio.h>
int main(void)
{
int a, b, d, r; //変数の宣言
double f;
scanf("%d %d", &a, &b); //入力
d = a / b; //計算
r = a % b;
f = (double)a / (double)b;
printf("%d %d %f", d, r, f); //表示
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132271/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132271/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//2つの整数 a と b を読み込んで、以下の値を計算するプログラム
//a ÷ b : d (整数)
// a ÷ b の余り : r (整数)
// a ÷ b : f (浮動小数点数)
#include <stdio.h>
int main(void)
{
//変数定義
int iInputA;
int iInputB;
int iDivisionResult;
int iSurplus;
// float fDivisionResult;
double fDivisionResult;
//変数の初期化
iInputA = 0;
iIn... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132321/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132321/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,d,r;
double f;
scanf("%d %d",&a,&b);
d=a/b;
r=a%b;
f=a*1.0/b;
printf("%d %d %f\n",d,r,f);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132365/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132365/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a/b, a%b, (double)a/b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132408/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132408/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b;
scanf( "%d %d", &a, &b );
printf("%d %d %f\n" , a / b , a % b , (double)a / b );
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132451/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132451/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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() {
double a, b;
scanf("%lf %lf",&a,&b);
int x=a;
int y=b;
printf("%d %d %.5f\n",x/y,x%y,a/b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132495/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132495/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
// ITP1_4_A: A / B Problem
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a, b;
scanf("%d%d", &a, &b);
printf("%d %d %lf\n", a/b, a%b, (double)a/b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132545/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132545/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
double c,d;
scanf("%d%d",&a,&b);
c = a;
d = b;
printf("%d %d %f\n",a/b,a%b,c/d);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132596/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132596/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,d,r;
double f;
scanf("%d %d",&a,&b);
d=a/b;
r=a-b*d;
f=d+1.0*r/b;
printf("%d %d %f\n",d,r,f);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132639/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132639/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132682/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132682/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
double kakuritu_table[21];
double memo[100010][21];
char visited[100010][21];
double tansaku(int rest,int renzoku) {
double result=0;
if(rest<=0)return 0;
if(visited[rest][renzoku])return memo[rest][renzoku];
if(renzoku<20)result+=(1+tansaku(rest-1,renzoku+1))*kakuritu_table[renzoku];
result+=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132725/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132725/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@visited = dso_local local_... |
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
bool wall[10000][10000][4];
char str[10001];
const int U = 0;
const int R = 1;
const int D = 2;
const int L = 3;
char dirchar[] = "URDL" ;
int righthand(int x) {return (x+1)%4;}
int lefthand(int x) {return (x+3)%4;}
int dx[] = {0, 1, 0, -1};
int dy[] = {-1,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132776/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132776/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@U = dso_local local_unname... |
// AOJ 0247: Ice Maze
// 2018.3.20 bal4u
#include <stdio.h>
#include <string.h>
typedef unsigned char uchar;
// [library]
/* priority queue library for C */
#define QMAX 1000
typedef struct { char r, c; uchar t; } QUE;
QUE que[QMAX]; int qsize;
#define PARENT(i) ((i)>>1)
#define LEFT(i) ((i)<<1)
#define RIGHT(i)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132833/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132833/source.c"
target datalayout = "e-m:e-p270: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.QUE = type { i8, i8... |
/*
cat <<EOF >mistaken-paste
*/
#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
#define BIG 2000000007
#define VERYBIG 200000000000007LL
#define MOD 1000000007
typedef uint64_t ull;
ty... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132884/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132884/source.c"
target datalayout = "e-m:e-p270: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.hw = type { i32, i3... |
#include <stdio.h>
#define rep(i,n) for(int i=0; i<(int)(n); i++)
int main(){
int h,w;scanf("%d%d",&h,&w);
char c[105][105],ans[105][105],dh[105],dw[105];
rep(i,h) scanf("%s",&c[i]);
rep(i,h){
dh[i]=1;
rep(j,w){
if(c[i][j]=='#'){
dh[i]=0;
brea... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132941/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132941/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/* ex7_3
suzuto */
#include <stdio.h>
#include <stdlib.h>
int main(void){
char **grid_ptr, ins; /*変数の宣言*/
int *height_ptr, *width_ptr, height, width, i, j;
scanf("%d %d", &height, &width); /*縦横の長さを入力*/
height_ptr = (int*)calloc(height, sizeof(int)); /*圧縮後に残る行を記憶*/
if(height_ptr == NULL){ /... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132985/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132985/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//ex7_3
//TKC001
#include<stdio.h>
#include<stdlib.h>
int main(void){
//row_memo[i] = 1のときptr[i][]を消さない。col_memo[j] = 1のときptr[][j]を消さない
int height, width, i, j, *row_memo, *col_memo;
char **ptr;
scanf("%d %d", &height, &width);
//row_memoの動的確保
row_memo = (int*)calloc(height, sizeof(int));
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133027/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133027/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/* ex 7_3
KKOO */
#include <stdio.h>
#include <stdlib.h>
int main(void){
int i, j, row, column;
char **ptr;
int remain_row[100]={}, remain_column[100]={};
scanf("%d %d\n", &row, &column);
//各行の配列へのポインタ分のメモリ領域を確保
ptr = (char**)calloc(row, sizeof(char*));
if(ptr == NULL){
fprint... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133070/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133070/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 SIZE 100
int main(void){
int table_height,table_width;
char table[SIZE][SIZE];
int i,j,k,l,m,n,x,y;
int count = 0;
scanf("%d %d",&table_height,&table_width);
for(i=0;i<table_height;i++){
for(j=0;j<table_width;j++){
scanf(" %c",&table[i][j]);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133113/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133113/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/* ex5_3
Tarara */
#include <stdio.h>
// height, widthの最大長+5
#define MAX_LENGTH 100 + 5
int height, width; // 場の横幅, 高さ
char field[MAX_LENGTH][MAX_LENGTH]; // 場の状態
int exsitsBlackCellinRow(int row);
int exsitsBlackCellinCol(int col);
int main(void)
{
int is_whites_rows[MAX_LENGTH];... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133157/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133157/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 N 10000
int main()
{
int a,b,c;
while(~scanf("%d%d%d",&a,&b,&c))
{
int i,j,flag=0;
for(i=0;i<N;i++)
{
for(j=0;j<N;j++)
{
if(i*a+j*b==c) flag=1;
}
}
if(flag==1) printf("Yes");
else ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13320/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13320/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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<stdbool.h>
int main(){
int h, w;
char *c, *c_org;
bool *bh, *bw;
scanf("%d %d\n", &h, &w);
c = (char*)calloc(sizeof(char), h*w);
c_org = c;
bh = (bool*)calloc(sizeof(bool), h);
bw = (bool*)calloc(sizeof(bool), w);
for(int i=0; i<h; i++){
scanf("%s\n", c);
c+=w... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133243/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133243/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.02
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define INF 1 << 29
#define LLINF 4545454545454545454
#define MOD 1000000007
#define ll long long
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
int upll(const void *a, const void *b) { return *... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133287/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133287/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
int main(){
int a,b,c,x,y,v,u=0;
scanf("%d%d%d",&a,&b,&c);
for(x=0;x<=c;x++){
for(y=c;y>=0;y--){
v=(a*x)+(b*y);
if(v==c){
u=u+1;
}
}
}
if(u==0){
printf("No");}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13333/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13333/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 ... |
// Aizu 1046: Ghost Buster!
// 2017.9.6 bal4u@uu
#include <stdio.h>
#include <string.h>
#define QMAX 100000
typedef struct { int t, ax, ay, bx, by; } Q;
Q q[QMAX+3], *top, *end, *qend = q + QMAX;
int gm[9][2] = { {0},{0},{1,0},{0},{0,-1},{0,0},{0,1},{0},{-1,0} };
int m[4][2] = { {1,0},{-1,0},{0,1},{0,-1} };
char ma... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133401/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133401/source.c"
target datalayout = "e-m:e-p270: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.Q = type { i32, i32... |
#include<stdio.h>
int main(void)
{
int h,w;
do{
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");
}while(1);
return 0;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133445/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133445/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[10000],m[10000];
int h,i,j,k;
h=0;
do{
h++;
scanf("%d %d",&n[h],&m[h]);
}while(n[h]!=0&&m[h]!=0);
k=1;
while(k<h){
if(k==h)break;
else
for(i=1;i<=n[k];i++){
for(j=1;j<=m[k];j++)printf("#");
printf("\n");
}
printf("\n");
k++;
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133489/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133489/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
for(;;){
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_133539/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133539/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, counth, countw;
while(1){
scanf("%d %d", &h, &w);
if(h == 0 && w == 0) break;
for(counth = 0; counth < h; counth ++){
for(countw = 0; countw < w; countw ++){
printf("#");
}
printf("\n");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133582/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133582/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b;
while(1){
scanf("%d %d",&W,&H);
if(H==0 && W==0)
break;
for(a=1; a<=W; a++){
for(b=1; b<=H; b++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133625/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133625/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d",&h,&w);
while (w!=0&&h!=0){
for (i = 0; i < h; i++){
for (j = 0; j < w; j++){
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d", &h, &w);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133669/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133669/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b,c;
for(;;) { scanf("%d%d",&H,&W);
if(H==0&&W==0) break;
for(b=1;H>=b;b++){
for(a=1;W>=a;a++){
printf("#");
if(a==W) printf("\n");
}
if(b==H) printf("\n");
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133719/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133719/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 vertical, horizonal, work;
fscanf(stdin, "%d %d", &vertical, &horizonal);
while (vertical && horizonal) {
while (0 < vertical--) {
work = horizonal;
while (0 < work--) fputc('#', stdout);
fputc('\n', stdout);
}
fputc('\n', stdout);
fscanf(stdin, "%d %d", &verti... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133762/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133762/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = external local_unn... |
#include <stdio.h>
int main( void )
{
int H, W, H_Cou, W_Cou;
while(1)
{
scanf( "%d %d", &H, &W );
if( H == 0 && W == 0 )
{
break;
}
else
{
for( H_Cou = 0; H_Cou < H; H_Cou++ )
{
for( W_Cou = 0; W_Cou < W; W_Cou++ )
{
printf( "#" );
}
printf( "\n" );
}
p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133812/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133812/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,j;
while(1){
scanf("%d %d",&H,&W);
if(H==0&&W==0)break;
for(j=1;j<=H;j++){
for(i=1;i<=W;i++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133856/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133856/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,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_133942/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133942/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 N 100
int main(){
int H[N],W[N];
int i,j,k,l;
for(i=0;i<N;i++){
scanf("%d %d",&H[i],&W[i]);
if((H[i]==0)&&(W[i]==0)){break;}
}
for(j=0;j<i;j++){
for(k=0;k<H[j];k++){
for(l=0;l<W[j];l++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133993/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133993/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 MAX 300
#define MIN 1
int main()
{
int i, j, H, W;
while (1)
{
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
else if (MIN <= H, W&&H, W <= MAX)
{
for (i = 1; i <= H; i++){
for (j = 1; j <= W; j++){
putchar('#');
}
printf("\n");
}
printf("\n");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134035/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134035/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
do
{
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)break;
for (i = 0; i < H; i++)
{
for (j = 0; j < W; j++)
printf("#");
putchar('\n');
}
putchar('\n');
} while (!(H == 0 && W == 0));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134079/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134079/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 Height, Width;
int i, j;
do{
scanf("%d%d",&Height,&Width);
if(Height==0&&Width==0)break;
for(i=0;i<Height;i++){
for(j=0;j<Width;j++){
putchar('#');
}
putchar('\n');
}
putchar('\n');
}while(1);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134121/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134121/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
}else{
for(int i = 1;i <= x;i++){
for(int k = 1;k <= y;k++){
printf("#");
}
printf("\n");
}
printf("\n");
}
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134172/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134172/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d\n", &h, &w);
while((h!=0) && (w!=0)){
for (j=0;j<h;j++){
for(i=0;i<w;i++){
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d\n", &h, &w);... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134215/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134215/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b;
while (1)
{
scanf("%d %d\n",&a,&b);
if (a==0) {
break;
}
for (j = 0; j < a; j++)
{
for (i = 0; i < b; i++)
{
printf("#");
}
printf("\n");
}
printf("\n" );
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134259/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134259/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_134301/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134301/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
while(scanf("%d%d", &h,&w)){
if(h == 0 && w == 0)
break;
int i,c;
for(i =0; h > i; i++){
for(c = 0; w > c; c++){
printf("#");
}
printf("\n");
}
printf("\n");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134345/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134345/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(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_134396/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134396/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, k;
for(i=0;;i++){
scanf("%d %d ", &h, &w);
if(h==0&&w==0)break;
for(j=0;j<h;j++){
for(k=0;k<w;k++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134439/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134439/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 c[105];
int main() {
int a, i, j, n, m, ans = 0;
scanf("%d%d", &n, &m);
for (i = 0; i < m; i++) {
scanf("%d", &a);
c[a]++;
}
for (i = 1; i <= 12345; i++) {
int num = 0;
for (j = 1; j <= 100; j++)
num +... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13449/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13449/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 h,w,i,j;
while(1){
scanf("%d %d",&h,&w);
if( h==0 && w==0)
break;
for(i=1; i<=h; i++){
for(j=1; j<=w; j++){
printf("#");
}printf("\n");
}printf("\n");
}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134532/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134532/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,j;
while(1){
scanf("%d %d",&W,&H);
if(W==0 && H==0)break;
for(i=0;i<W;i++){
for(j=0;j<H;j++)
{
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134576/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134576/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,w;
scanf("%d %d", &h, &w);
while(h != 0 && w != 0){
for(int i = 0 ; i < h ;i++){
for(int k = 0 ; k < w ; k++){
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d", &h, &w);
}
return 0 ;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134619/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134619/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,j;
while(1){
scanf("%d%d",&a,&b);
if(a==0 && b==0)
break;
for(i=0;i<a;i++)
{
for(j=0;j<b;j++)
{
printf("#");
}
printf("\n");
}
printf("\n");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134662/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134662/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int x,y;
int i,j;
while(1){
scanf("%d %d",&y,&x);
if(x == 0 && y == 0){
break;
}
for(j = 0; j < y;j++){
for(i = 0;i < x;i++){
putchar('#');
}
putchar('\n');
}
putchar('\n');
}
return(0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134712/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134712/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(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_134763/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134763/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int i, j;
int H, W;
do{
scanf("%d %d", &H, &W);
if(H == 0 && W == 0) break;
for(i = 0; i < H; i++){
for(j = 0; j < W; j++){
printf("#");
}
putchar('\n');
}
putchar('\n');
} w... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134806/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134806/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,h,w;
n=1;
while(n=1){
scanf("%d",&h);
scanf("%d",&w);
if(h==0 && w==0) break;
for(i=0;i<h;i++){
for(j=0; j< w;j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134857/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134857/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 max(a,b) ((a)>(b)?(a):(b))
#define min(a,b) ((a)>(b)?(b):(a))
int main() {
int t;
scanf("%d", &t);
while(t--) {
int a, b, c, r;
scanf("%d %d %d %d", &a, &b, &c, &r);
if(a > b) {
int t = a;
a = b;
b = t;
}
printf("%d\n", (b - a) - max(min(b, c + r) - max(a, c - r), 0));
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13490/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13490/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 <math.h>
int main()
{
int w=0,e=0,N=0;
char S[500000];
scanf("%d",&N);
scanf("%s",S);
int i;
int min = N;
for(i=0;i<N;i++){
if(S[i]=='W'){w++;}
else{e++;}
}
int Lw=0,Re=e;
for(i=0;i<N;i++){
if(S[i]=='W'){
if(Lw+Re<min){
min = Lw + Re;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134943/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134943/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <inttypes.h>
int main(void) {
uint64_t t;
uint64_t current = 1;
int depth = 0;
uint64_t skipped = 0;
uint64_t elapsed = 0;
if (scanf("%" PRIu64, &t) != 1) return 1;
if (t == 0) {
puts("0");
return 0;
}
for (;;) {
if (skipped + current * 4 <= t) {
depth++;
skipped += cur... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134987/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134987/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <math.h>
#define MAX(X, Y) (((X) > (Y))? (X) : (Y))
#define MIN(X, Y) (((X) < (Y))? (X) : (Y))
int compare_int(const void *a, const void *b){
return *(int*)b - *(int*)a; // 大きい順
}
// min
int main(void){
long int n, m;
long int x[100001] = {0};
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135029/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135029/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//(最大座標)-(最小座標)を駒を動かす。
//その中から訪れないところを引く
//訪れないところは訪れる座標の間のうち大きい順にN-1個
#include<stdio.h>
#include<stdlib.h>
int compare(const void *a, const void *b){
return *(int*)a - *(int*)b;
}
int main(void){
int N, M;
scanf("%d %d",&N, &M);
int X[M];
for(int i = 0; i < M; i++){
scanf("%d",&X[i]);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135072/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135072/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 asc(const void *a, const void *b) {
return *(int *)a - *(int *)b;
}
int main(){
int i,n,m,x[100001],w[100001];
long s;
scanf("%d %d",&n,&m);
for (i=0;i<m;i++)
scanf("%d",&x[i]);
if (m<=n) {
puts("0");
return 0;
}
qsort(x,m, sizeo... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135115/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135115/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#include<stdbool.h>
#include<assert.h>
typedef long long ll;
typedef long double ld;
#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 rrep(i,l,r)for(ll i=(l);i>=(r);i--)
#define INF (1LL<<60)
#defin... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135159/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135159/source.c"
target datalayout = "e-m:e-p270: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 { i64,... |
#include<stdio.h>
#include<string.h>
#define NUM 6
void N(int dice[][NUM],int k);
void E(int dice[][NUM],int k);
void S(int dice[][NUM],int k);
void W(int dice[][NUM],int k);
void turn(int dice[][NUM],int k);
void sort(int dice[][NUM],int k);
int main(void){
int a,i,j,k,flag=0;
char ans[4]="Yes";
scanf("%d",&a);
in... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135201/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135201/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 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]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135245/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135245/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 argc, const char * argv[]){
int i,j,k,ex1,ex2,ex3,ex4,n,a;
int dice[101][7];
int w;
scanf("%d",&n);
for(i = 1;i <= n;i++)
for(j = 1;j <= 6;j++)
scanf("%d",&dice[i][j]);
for(i = 1;i <= n;i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135289/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135289/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <stdbool.h>
static const int alternatives[24][6] = {
{0, 1, 2, 3, 4, 5},
{0, 2, 4, 1, 3, 5},
{0, 3, 1, 4, 2, 5},
{0, 4, 3, 2, 1, 5},
{1, 0, 3, 2, 5, 4},
{1, 2, 0, 5, 3, 4},
{1, 3, 5, 0, 2, 4},
{1, 5, 2, 3, 0, 4},
{2, 0, 1, 4, 5, 3},
{2, 1, 5, 0, 4, 3}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135339/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135339/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@alternatives = internal un... |
#include <stdio.h>
#include <string.h>
typedef int DICE[6];
int cmp_dice(DICE a, DICE b)
{
DICE c;
memcpy(c, b, sizeof(int)*6);
for (int i=0; i<4; i++) {
c[0] = b[1];
c[4] = b[0];
c[5] = b[4];
c[1] = b[5];
memcpy(b, c, sizeof(int)*6);
for (int j=0; j<4; j++) {
c[1] = b[3];
c[... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135382/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135382/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = external local_unn... |
#include <stdio.h>
struct dice {
int area[6];
};
void diceroll(const char order, struct dice *dice)
{
int temp;
if (order == 'N') {
temp = dice->area[0];
dice->area[0] = dice->area[1];
dice->area[1] = dice->area[5];
dice->area[5] = dice->area[4];
dice->area[4] = temp;
}
else if (order == 'W') {
temp... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135425/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135425/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dice = type { [6 x ... |
#include <stdio.h>
#include <stdlib.h>
#define int long long
#define lust_valtype int
#define inf (int)(1e18)
lust_valtype max(lust_valtype a, lust_valtype b){
if(a > b){
return a;
}
else{
return b;
}
}
lust_valtype sum(lust_valtype a, lust_valtype b){
if(a <= -inf || b <= -inf){
return -inf;
}
else{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135476/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135476/source.c"
target datalayout = "e-m:e-p270: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.segment_tree = type... |
#include <stdio.h>
#include <string.h>
int main() {
int n, x, t; scanf("%d %d %d", &n, &x, &t);
int need = (n + x - 1) / x * t;
printf("%d\n", need);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135540/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135540/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int cnt;
scanf("%d%d%d", &n, &x, &t);
cnt = n / x + 1;
if (n % x == 0)
cnt--;
printf("%d\n", cnt * t);
return (0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135584/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135584/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 max(int a, int b) {return a>b? a : b;}
int main()
{
int n, x, t;
t = 0;
scanf ("%d%d%d", &n, &x, &t);
if (x >= n) //return t;
{printf("%d", t);return 0;}
int cnt = 1;
cnt = (n / x);
if (n - n/x*x > 0)
cnt++;//, printf("n = %d\tn/x*x = %d\n", n, n/x*x);... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135627/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135627/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>
typedef long long LL;
#define FOR(i,a,b) for(int i=(a); i<(b); i++)
#define REP(i,n) FOR(i,0,n)
#define max(l,r) ((l)>(r)?l:r)
#define min(l,r) ((l)<(r)?l:r)
const int MAX = 500000;
const int LIM = 100000000;
const LL M... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135670/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135670/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAX = dso_local local_unna... |
#include <stdio.h>
int main(){
int n,x,t;
int alltime = 0;
scanf("%d %d %d",&n,&x,&t);
alltime = (n + x - 1) / x;
printf("%d",alltime * t);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135713/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135713/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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==0) printf("%d", (n/x)*t);
else printf("%d", (n/x+1)*t);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135757/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135757/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d%d",&n,&k);
int a[n];
int i=0;int count=0;
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
a[i]=a[i]+k;
if(a[i]<=5)
{count=count+1;}
}
printf("%d\n",count/3);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13580/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13580/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,x,t;
scanf("%d %d %d",&n,&x,&t);
if(n%x==0)n-=1;
printf("%d",t*((n/x)+1));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135850/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135850/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 mine,friend,pay;
int sa;
scanf("%d%d%d",&mine,&friend,&pay);
if(mine<pay){
if(pay>mine+friend)
printf("NA\n");
else
printf("%d\n",pay-mine);
}
else
printf("0\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135894/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135894/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>f){
printf("NA\n");
}else if(b-m<0){
printf("0\n");
}else{
printf("%d\n",b-m);
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135944/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135944/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d",&N);
for(int i=1;i<10;i++){
if(N%i==0&&N/i<10){
printf("Yes\n");
break;
}else if(i==9){
printf("No\n");
}
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135988/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135988/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d%d", &n, &k);
int a[n], c=0;
for(i = 0; i < n; i++)
{
scanf("%d", &a[i]);
a[i] = 5 - a[i];
if(a[i] >= k)
c++;
}
printf("%d\n", c/3);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13603/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13603/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 ... |
/* ex3_4
moka223711 */
#include <stdio.h>
int main(void){
int num, d = 0;
scanf("%d", &num);
// numを1から9で割って、余りが0かつ商が9以下になっているものを探す
// 割れるものが見つかったらdを1に変える
for(int i = 1; i <= 9; i++){
if(num % i == 0 && num / i <= 9){
d = 1;
break;
}
}
// 上のfor文で1から9で割り切れるものが見つかったときd == 1となっているため
// if文が実行される、... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136073/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136073/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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
kohei_suzuki */
#include <stdio.h>
int main(void){
int n, m=9 ; //割られる整数nと割る整数m
scanf("%d",&n); //nを入力
int l = n / m; //nをmで割った整数l
while(n % m != 0){ //9から順に1ずつ割っていき、割り切れるまで繰り返す
m -= 1;
l = n / m;
}
if(l < 10){ //割り切れてかつlが10より小さければyes
printf("Yes\n");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136116/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136116/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 partition(int *a,int p,int r)
{
int x,i,j,temp;
x=a[r];
j=p-1;
for(i=p;i<=r-1;i++)
{
if(a[i]<=x)
{
j=j+1;
temp=a[i];
a[i]=a[j];
a[j]=temp;
}
}
temp=a[j+1];
a[j+1]=a[r];... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13616/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13616/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main(void)
{
int n,i;
scanf("%d",&n);
for(i=9;i>0;i--)
if((n%i==0)&&(n/i<10)){
printf("Yes\n");
return 0;}
printf("No\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136202/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136202/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_136246/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136246/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 MANY 2001
int students[MANY];
// int candidates[MANY];
int main(void)
{
int n, k;
scanf("%d", &n);
scanf("%d", &k);
int i;
for (i = 0; i < n; i++)
scanf("%d", &students[i]);
int m = 0;
for (i = 0; i < n; i++)
if (students[i] + k <= 5)
m++; // candidates[m++] = students[i]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13629/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13629/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 a;
scanf("%d",&a);
int i;
int judge = 0;
for(i=1;i<=a;i++)
{
if(a%i==0)
{
if((a/i)<10 && i<10)
{
judge = 1;
printf("Yes");
i=a+1;
break;
}
}
}
if(judge == 0)
printf("No");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136332/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136332/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,count=0;
scanf("%d",&N);
for(i=2;i<=9;i++)
{
if(((N%i)==0)&&((N/i)==1||(N/i)==2||(N/i)==3||(N/i)==4||(N/i)==5||(N/i)==6||(N/i)==7||(N/i)==8||(N/i)==9))
count++;
}
if(count>0||N==1)
printf("Yes");
else
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136376/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
int main() {
int n;
scanf("%d", &n);
for (int i=1; i<10; i++) {
for (int j=1; j<10; j++) {
if (n == i*j) {
printf("Yes\n");
return 0;
}
}
}
printf("No\n");
return 0;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136419/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136419/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a=11;
scanf("%d",&n);
if(n>81){
printf("No");
}
else if(n<10){
printf("Yes");
}
else{
for(int i=9;i>1;i--){
if(n%i==0){
a=n/i;
break;
}
else{}
}
if(a<10){
printf("Yes");
}
else{
printf("No"... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136462/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136462/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int i,n;
scanf("%d",&n);
for(i=1;i<10;i++){
if(n%i==0){
if(n/i<=9){ printf("Yes"); return 0; }
}
}
printf("No");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136505/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136505/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.