Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int f[5][5],i,j,a,y,x,p;
int main()
{
for(;i<9;++i){
char s[6];
scanf("%s",s);
for(j=0;j<4+i%2;++j){
a=s[j]-48;
f[i/2][j]|=a<<(1+i%2);
f[i/2+i%2][j+!(i%2)]|=a<<3-i%2*3;
}
}
do{
while(!((f[y][x]>>(p=(p+1)%4))&1));
putchar("URDL"[p]);
x+=p?2-p:0;
y+=p==3?0:p-1;
p=(p+2)%4;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132790/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132790/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@i = dso_local local_unname... |
#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))
#define ADD(vertex,length) do{from[len]=(vertex);to[len]=(vertex)+1;val[len]=(length);len++;}while(0)
void run(void){
int l;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132855/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132855/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_132899/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132899/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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
kohei_suzuki */
#include <stdio.h>
#include <stdlib.h>
int main(void){
int row, col; //行数,列数
int *ture_row, *ture_col; //#の有無を保存するための配列
char **square; //入力用配列
scanf("%d %d",&row,&col);//入力受取
//メモリを動的確保して多次元配列を定義する
square = (char**)calloc(row, sizeof(char*));
if(square == NULL... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_132956/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_132956/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,num,max;
scanf("%d%d%d",&a,&b,&c);
max = a + b + c;
num = a * b * c;
if(max<num) max = num;
num = (a + b) * c;
if(max<num) max = num;
num = (a * b) + c;
if(max<num) max = num;
num = a + (b * c);
if(max<num) max = num;
num = a * (b +... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 cons... |
/* ex7_3
moka223711 */
#include <stdio.h>
#include <stdlib.h>
int main(void){
// row_black, col_black は黒('#')が少なくとも1マス入っている行や列を保存しておくための配列
int row, col, i, j, *row_black, *col_black;
char **ptr; // 入力の行列を読み込むための文字型の二次元配列
scanf("%d %d", &row, &col);
if((ptr = (char**)calloc(row, sizeof(char... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133041/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133041/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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_5-3. nknm */
#include <stdio.h>
#include <math.h>
int main(void){
int ver, hor, count;
char imput[100][100];
int i, j, k, l;
//マス目の数と記号を入力
scanf("%d%d", &hor, &ver);
for(i = 0; i < hor; i++){
for(j = 0; j < ver ; j++){
scanf(" %c", &imput[i][j]);
}
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133085/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133085/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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
B30095 */
#include <stdio.h>
#include <stdlib.h>
#define MAX_HEIGHT 100
#define MAX_WIDTH 100
int main(void){
int height, width, isRowEmpty, isColEmpty, i, j;
char matrix[MAX_HEIGHT][MAX_WIDTH];
scanf("%d %d", &height, &width);
for(i = 0; i < height; i++){
for(j = 0; j ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133128/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133128/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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
terakura */
#include <stdio.h>
#define MAX 100
int main(void){
int height, width, i, j, row_white[MAX] = {0}, col_white[MAX] = {0};
char input[MAX][MAX];
scanf("%d %d", &height, &width);
for(i = 0; i < height; i++){
for(j = 0; j < width; j ++){
scanf(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133171/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133171/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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
moka223711 */
#include <stdio.h>
#define ROW 101
#define COL 101
int main(void){
int row, col, i, j, br[ROW] = {0}, bc[COL] = {0}, id = 0;
char sq[ROW][COL];
scanf("%d %d", &row, &col);
for(i = 0; i < row; i++){
for(j = 0; j < col; j++){
scanf(" %c", &sq[i][j]);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133214/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133214/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*2019/10/02 */
/*template*/
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
#define MOD 1000000007
#define MIN 999999999
#define MAX -999999999
typedef long long int ll;
typedef unsigned long long int ull;
void llswap(ll *x,ll *y){ll tmp;tmp=*x;*x=*y;*y=tmp;}
void swap(int *x,int *y){int tmp;t... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133258/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133258/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,xxx=0;
char a[110][110] = {};
int retu[110] = {}, gyou[110] = {};
scanf("%d%d", &h, &w);
for (int i = 1; i <= h; i++) {
for (int j = 1; j <= w; j++) {
scanf(" %c", &a[j][i]);
}
}
for (int i = 1; i <= h; i++) {
for (int j = 1; j <= w; j++) {
if (a[j][i] == '#') ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133300/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133300/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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 EPS 1e-10
#define sq(n) ((n)*(n))
#define rep(i,n) for(i=0;i<n;i++)
#define rev(i,n) for(i=n-1;i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133359/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133359/source.c"
target datalayout = "e-m:e-p270: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(){
int H, W, i, j;
for (;;){
scanf("%d %d", &H, &W);
if (H == 0 && W == 0 ) break;
for ( i = 1; i < H+1; i++ ){
for ( j = 1; j < W+1; j++)
putchar('#');
putchar('\n');
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133416/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133416/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,rem=0,m;
scanf("%d%d%d",&a,&b,&c);
if(c%a==0)
printf("Yes");
else if(c%b==0)
printf("Yes");
else
{
while(c>a&&c>b)
{
if(a>b)
{
c=c-a;
if(c%b==0)
{
printf("Yes");
rem=1;
break;
}
}
else
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13346/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13346/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 s,t,H,W;
for(;;){
scanf("%d %d",&H,&W);
if(H==0&&W==0) break;
for(s=0;s<H;s++){
for(t=0;t<W;t++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133502/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133502/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, n;
while(1){
scanf("%d %d", &H, &W);
if(H==0 && W==0){
break;
} else {
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_133553/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133553/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
for(;;){
scanf("%d %d",&h,&w);
for(i = 0;i < h;i++ ){
for(j = 0;j < w;j++){
printf("#");
}
printf("\n");
}
if(h == 0 && w ==0){
break;
}
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133597/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133597/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a[100005],i,t,r,g,b,w,count,flag;
scanf("%d",&t);
while(t--)
{
scanf("%d %d %d %d",&r,&g,&b,&w);
count=0,flag=0;
if(r%2==0)
{
count++;
}
if(g%2==0)
{
count++;
}
if(b%2==0)
{
count++;
}
if(w%2==0)
{
count++;
}
if(count... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13364/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13364/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 argc, char *argv[])
{
int w[300], h[300];
int i, j;
for (i = 0; i < 300; i++) {
scanf("%d %d", &h[i], &w[i]);
if (w[i] == 0 && h[i] == 0)
break;
}
for (j = 0; j < i; j++) {
int k, n;
for (k = 0; k < h[j]; k++) {
for (n = 0; n < w[j]; n++) {
print... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133683/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133683/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 height, width, h, w;
scanf("%d %d", &height, &width);
while(!(height == 0 && width == 0)){
for(h = 0; h < height; h++){
for(w = 0; w < width; w++){
putchar('#');
}
putchar('\n');
}
putchar('\n');
scanf("%d %d", &height, &width);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133733/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133733/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_133784/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133784/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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=1;j<W;j++){
printf("#");
}
printf("#\n");
}
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133827/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133827/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,k;
while(1){
scanf("%d %d",&H,&W);
if(H==0 && W==0){break;}
else{
for(i=0; i<H; i++){
for(k=0; k<W; k++){
printf("#");
}
printf("\n");
}
}
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133870/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133870/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, x, y;
while(1){
scanf( "%d %d", &h, &w );
if( h==0 && w==0 ) break;
for( y=0; y<h; y++ ){
for( x=0; x<w; x++ ){
printf("#");
}
printf( "\n" );
}
printf( "\n" );
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_133913/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133913/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_133964/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_133964/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(W==0&&H==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_134006/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134006/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) {
// your code goes here
long long int t,i,r,b,g,w,c=0,flag=0,z;
scanf("%lld",&t);
for(i=1;i<=t;i++)
{
c=0;
scanf("%lld%lld%lld%lld",&r,&g,&b,&w);
if(r%2==0)
c++;
if(g%2==0)
c++;
if(b%2==0)
c++;
if(w%2==0)
c++;
if(c==4||c==3|... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13405/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13405/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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(W==0&&H==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_134093/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134093/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
}else{
for(i=0;i<h;i++){
for(j=0;j<w;j++){
printf("#");
}
printf("\n");... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134143/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134143/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){
while(1){
int i,j,H,W;
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_134187/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134187/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 input[6];
scanf("%s", input);
int H, M, h, m, t;
H = (input[0]-'0')*10 + input[1]-'0';
M = (input[3]-'0')*10 + input[4]-'0';
if (H == 23)
{
if (M < 32)
printf("23:32");
else
printf("00:00");
}
else
{
t = H*100 + M;
while (1)
{
t++;
if (t%100 =... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13423/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13423/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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=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_134273/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134273/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
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("#");
}
puts("");
}
puts("");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134316/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134316/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
while(scanf("%d %d",&H,&W)){
if (H==0&&W==0) break;
for(i=0;i<H;i++){
for(j=0;j<W;j++){
putchar('#');
}
putchar('\n');
}
putchar('\n');
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134367/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134367/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int n,m;
scanf("%d%d",&n,&m);
if(n>=m)
printf("%d %d\n",n-1,m);
else
printf("%d %d\n",m-1,n);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13441/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13441/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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, h_roop, w_roop;
while(scanf("%d %d", &h, &w)) {
if(h == 0 && w == 0) {
break;
} else {
for(h_roop = 0; h_roop < h; h_roop++) {
for(w_roop = 0; w_roop < w; w_roop++) {
printf("#");
}
puts("");
}
puts("");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134453/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134453/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#ifdef DEBUG
#include<conio.h>
#endif // DEBUG
int main () {
#ifdef DEBUG
freopen("input.txt", "r", stdin);
#endif // DEBUG
int a, b;
while (scanf("%d %d", &a, &b), 0 != a && 0 != b)
{
for (size_t i = 0; i < a; i++)
{
for (size_t j = 0; j < b; j++)
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134503/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134503/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 Print_a_Rectangle(unsigned int H, unsigned int W)
{
unsigned short i,j;
for(i=1;i<=H;i++){
for(j=1;j<=W;j++){
printf("#");
}
printf("\n");
}
}
int main()
{
unsigned int H,W;
while(1)
{
scanf("%d %d",&H,&W);
if((H==0)&&(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134590/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134590/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str.2 = private unnamed_a... |
#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=1;i<=h;i++)
{
for(j=1;j<=w;j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134633/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134633/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 x, y, i, j;
int main(){
scanf("%d %d",&x ,&y );
while(!(x==0 && y==0)){
for (i=1;i<=x;i++){
for(j=1;j<=y;j++){
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d",&x ,&y );
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134684/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134684/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 input1,input2;
int i,j;
do
{
scanf("%d %d",&input1,&input2);
if(input1 == 0 && input2 == 0)
{
break;
}
for(i = 0 ; i < input1 ; i++)
{
for(j = 0 ; j < input2 ; j++)
{
printf("#");
}
printf("\n");
}
printf("\n");
}while(1);... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134734/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134734/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,e;
while(1){
scanf("%d %d",&a,&b);
if(a==0&&b==0)break;
for(d=0;d<a;d++){
for(e=0;e<b;e++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134778/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134778/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, 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_134828/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134828/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
while(1){
scanf("%d %d",&H,&W);
if (H+W==0) break;
for (int i=0;i<H;i++){
for (int j=0;j<W;j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134871/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134871/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
int n;
int bit[19];
int *t, t_n;
int x, tmp;
int size;
int flag;
int i, j, k;
scanf("%d", &n);
scanf("%d", &t_n);
t = (int *)malloc(sizeof(int) * t_n);
for(i = 0; i < t_n; i++)
scanf("%d", &t[i]);
for(i = 0; i < pow(2, n); i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134914/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134914/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 *s=(char *)calloc(n+1,sizeof(char));
scanf("%s",s);
int cntE=0;
int i;
f... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_134958/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_134958/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 t,n,a,c,b,r,min,max,i,j,k,l;
scanf("%d",&t);
for(i=0;i<t;i++)
{
scanf("%d %d %d %d",&a,&b,&c,&r);
if(a>b)
{
int temp=a;
a=b;
b=temp;
}
min=a;
if(c-r>a) min=c-r;
max=b;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13500/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13500/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
#define MAX (int)1e5
int C(const void* a,const void* b){
return *(int*)b-*(int*)a;
}
int main(){
int n,m,a[MAX],b[MAX],i;
scanf("%d%d",&n,&m);
if(n>=m){
printf("0");
return 0;
}
for(i=0;i<m;i++){
scanf("%d",a+i);
}
qsort(a,m,sizeof(int),C);
for(i=0;i<... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135043/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135043/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define DEBUG 0
typedef struct {
int head;
int tail;
} Class;
typedef struct {
int sub;
int num;
} Sub;
int compare(const void *a,const void *b)
{
return ((Class *)a)->head - ((Class *)b)->head;
}
int compareSub(const void *a,const void *b)
{
return ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135087/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135087/source.c"
target datalayout = "e-m:e-p270: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.Class = type { i32,... |
#include<stdio.h>
int main()
{
long long int n,a,b,c,r,x,y,res,min,max;
scanf("%I64d",&n);
while(n--)
{
scanf("%I64d %I64d %I64d %I64d",&a,&b,&c,&r);
if(a<=b){
min = a;
max = b;
}
else{
min = b;
max = a;
}
if... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13513/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13513/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
#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,5,2,4,6 },{ 0,1,4,2,5,3,6 },{ 0,1,5,4,3,2,6 },
{ 0,2,6,3,4... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135173/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135173/source.c"
target datalayout = "e-m:e-p270: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> // printf(), scanf()
#include <stdbool.h>
static int gdbi = 0;
void
east(int dice[6])
{
int t = dice[2];
dice[2] = dice[0]; /* 3 ??? 1 */
dice[0] = dice[3]; /* 1 ??? 4 */
dice[3] = dice[5]; /* 4 ??? 6 */
dice[5] = t; /* 6 ??? 3 */
}
void
south(int dice[6])
{
int t = dice[1];
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135216/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135216/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gdbi = internal unnamed_ad... |
#include<stdio.h>
int main()
{
int a,b,c,r,t;
scanf("%d",&t);
for(int p=0;p<t;p++)
{
scanf("%d %d %d %d",&a,&b,&c,&r);
if(a>b)
{
a=a+b;
b=a-b;
a=a-b;
}
int l=c-r;
int k=c+r;
if(c>=b)
{
if(l>=b)
{
printf("%d\n",b-a);
}
else if(l<=a)
{
printf("0\n");
}
else if((l>... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13526/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13526/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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(){
long long int t,a,b,c,r,min,max;
scanf("%lld",&t);
while(t--){
long long int z=0,t;
scanf("%lld%lld%lld%lld",&a,&b,&c,&r);
if(a>b){
t=a;a=b;b=t;
}
min=c-r;max=c+r;
if(a>=max || b<=min) z=b-a;
else if(a<min){
if(b<=max) z=min-a;
else z=b-a-2*r;
}
else if(a<=max)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13531/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13531/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,i,j,k,l;
int dice[24][6];
int label[24][6]={{1,2,3,4,5,6},{1,3,5,2,4,6},{1,4,2,5,3,6},{1,5,4,3,2,6},{2,1,4,3,6,5},{2,3,1,6,4,5},
{2,4,6,1,3,5},{2,6,3,4,1,5},{3,1,2,5,6,4},{3,2,6,1,5,4},{3,5,1,6,2,4},{3,6,5,2,1,4},{4,1,5,2,6,3},
{4,2,1,6,5,3},{4,5,6,1,2,3},{4,6,2,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135353/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135353/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.label = priva... |
#include <stdio.h>
typedef struct {
int state[2][7];
int assign[7];
int p; // 次に代入すべきインデックス
} dice;
int rot[6][7] = {
{0,1,2,3,4,5,6},
{0,2,6,3,4,1,5},
{0,4,2,1,6,5,3},
{0,3,2,6,1,5,4},
{0,5,1,3,4,6,2},
{0,1,3,5,2,4,6},
};
int tr['Z'];
char str[6] = "NEEEN";
void dice_init(dice *d... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135397/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135397/source.c"
target datalayout = "e-m:e-p270: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 { [2 x ... |
#include<stdio.h>
int main(){
int i;
char s[100010];
scanf("%s",s);
for(i=0;s[i];i++);
if(s[0]==s[i-1])i++;
printf("%s\n",i%2?"First":"Second");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135447/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135447/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#ifdef __cplusplus
#include <bits/stdc++.h>
#endif
#define getchar getchar_unlocked
#define putchar pu... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135511/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135511/source.c"
target datalayout = "e-m:e-p270: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, X, T;
int Batch = 0;
scanf("%d %d %d", &N, &X, &T);
while (N > 0){
N -= X;
Batch++;
}
printf("%d", T * Batch);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135555/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135555/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,t,temp;
scanf("%d %d %d",&n,&x,&t);
temp=n/x+1;
if(n%x==0){
temp--;
}
printf("%d\n",t*temp);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135599/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135599/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){
// Your code here!
int N,X,T;
scanf("%d %d %d",&N,&X,&T);
printf("%d\n",(N + X - 1) / X * T);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135641/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135641/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d%d%d", &N, &X, &T);
if(N % X == 0) ans = N / X * T;
else ans = (N / X + 1) * T;
printf("%d", ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135685/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135685/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x;
scanf("%d %d %d",&N,&X,&T);
x = N / X * T;
int k = 0;
k = N - N /X * X ;
if(k == 0){
printf("%d\n",x);
return 0;
}
if(k == 0 || k <= X){
k = T;
printf("%d\n",x + k);
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135728/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135728/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,t;
scanf("%d%d%d",&n,&x,&t);
int c=0;
while(n>0){
n=n-x;
c+=t;
}
printf("%d",c);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135771/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135771/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &n, &x, &t);
printf("%d\n", (int)ceil((double)n/(double)x)*t);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135821/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135821/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
int main(void) {
int n, x, t;
scanf("%d %d %d", &n, &x, &t);
int div = n / x, sur = n % x;
if (!sur) {
printf("%d\n", div * t);
} else {
printf("%d\n", (div + 1) * t);
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135865/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135865/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(m>=b){
printf("%d\n",0);
}
else if(m+f<b){
printf("NA\n");
}
else if(m+f>=b){
printf("%d\n",b-m);
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135915/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135915/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(m+f<b){
printf("NA\n");
}else if(m>=b){
printf("0\n");
}else{
f=b-m;
printf("%d\n",f);
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_135959/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_135959/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,j;
scanf("%d",&n);
for(i=1;i<10;i++)
for(j=1;j<10;j++)
if(n == i*j){
printf("Yes");
exit(0);
}
printf("No");
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136000/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136000/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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 pro, div=9 ; //割られる整数proと割る整数div
scanf("%d",&pro); //proを入力
int quot; //proをdivで割った整数quot
while(pro % div != 0){ //9から順に1ずつ割っていき、割り切れるまで繰り返す
div -= 1;
quot = pro / div;
}
if(quot < 10){ //割り切れてかつlが10より小さければy... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136044/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136044/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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 81
pandacodeb */
#include <stdio.h>
int main(void){
int num;
scanf("%d", &num);
//if it is more than 9x9 -> No
if (num > 81)
printf("No\n");
//if it is a digit (0~9) -> Yes
else if (num < 10)
printf("Yes\n");
//if it is between 10~80
else{
/... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136088/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136088/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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
Saikyo_Kazune
*/
#include <stdio.h>
int main(void){
//int型 N,判定用にjudgeを宣言
int N,judge=0;
scanf("%d",&N);
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
if(N==i*j){
judge=1;
}
}
}
if(judge){
printf("Yes\n");
}
else{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136130/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136130/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,check=0;
scanf("%d",&n);
for(i=1;i<10;i++)
for(j=i;j<10;j++)
if(n==i*j)
check=1;
if(check==1)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136174/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136174/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int a=0,b=0,j,i,k,l,m[30],n;
scanf("%d",&n);
for(i=1;i<=9;i++)
{
if(n%i==0)
{
a=n/i;
if(a<=9)
{
printf("Yes\n");
b++;
break;
}
}
}
if(b==0)
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136217/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136217/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n;
scanf("%d",&n);
int kuku[10][10];
int i,j;
for(i=1;i<=9;i++){
for(j=1;j<=9;j++){
kuku[i][j] = i*j;
}
}
for(i=1;i<=9;i++){
for(j=1;j<=9;j++){
if(n == kuku[i][j]){
printf("Yes\n");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136303/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136303/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,b,i;
scanf("%d",&n);
for(i=1;i<10;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_136347/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136347/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a=0;
scanf("%d",&a);
for (int i=0;i<10;i++)
{
for(int j=0;j<10;j++){
if(a==i*j) {
printf("Yes");
return 0;
}
}
}
printf("No");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136390/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136390/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int B;
//入力
scanf("%d", &N);
//printf("%d",N);
//Nの判定
for(int A=1; A<10; A++)
for(int B=1; B<10; B++){
if(A*B==N){
printf("Yes\n");
return 0;
}
//else
//printf("NO\n");
//}
}
printf("No\n");
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136433/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136433/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
typedef long long LL;
int main(void)
{
LL res1 = 0, res2 = 0, t1 = 0, t2 = 0;
int N, n1; scanf("%d", &N);
while (N--) {
scanf("%d", &n1);
if (n1 < 0) {
t1 ^= t2; t2 ^= t1; t1 ^= t2;
t1++;
}
else t2++;
res1 += t1;
res2 += t2;
}
printf("%lld %lld\n", res1, res2);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_13652/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_13652/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
#define scani(i) scanf("%d", &(i))
#define scanc(c) scanf("%c", &(c))
#define scand(d) scanf("%lf", &(d))
#define printi(i) printf("%d\n", (i))
#define NUM (100... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136570/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136570/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,j;
while(1){
scanf("%d",&n);
if(n==0)break;
int r[10]={0};
char t[10],w;
for(i=0;i<n;i++){
scanf("\n%c",&t[i]);
for(j=1;j<n;j++){
scanf("%d",&k);
if(k==0)r[i]+=10;
if(k==1)r[i]--;
}
// scanf("\n");
//printf("%d %c",r[i],t[i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136671/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136671/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 maxn 105
int main()
{
int n,i;
int temp;
scanf("%d",&n);
int find=maxn;
int ans=0;
for(i=1;i<=n;i++)
{
scanf("%d",&temp);
ans=ans+temp;
if(temp%10!=0&&temp<find)
{
find =temp;
}
}
if(ans%10!=0)
prin... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136729/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136729/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#define FOR(i,a,b) for(int i=a;i<b;i++)
#define ABS(a) ((a)>0 ? (a):-(a))
#define ll long long
#define SWAP(a,b) {a+=b;b=a-b;a-=b;}
ll cmb[52][52];
ll comb(ll n,ll r){
if(r == 0 || n == r) return 1ll;
if(r == 1) return n;
if(cmb[n][r] != 0) return cmb[n][r];
e... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136772/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136772/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cmb = dso_local local_unna... |
# include"stdio.h"
int main(){
char a[11],b[11],c[11];
scanf("%s %s %s",a,b,c);
int c1=0,c2=0;
while(a[c1]!='\0') c1++;
while(b[c2]!='\0') c2++;
if(a[c1-1]==b[0]&&b[c2-1]==c[0])
printf("YES\n");
else printf("NO\n");
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136822/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136822/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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];
int i1=0,i2=0;
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_136866/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136866/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
int main() {
char a[105], b[105], c[105];
int len_a, len_b, len_c;
scanf("%s %s %s", a, b, c);
len_a = strlen(a);
len_b = strlen(b);
//len_c = strlen(c);
if ((a[len_a - 1] == b[0]) && b[len_b - 1] == c[0])
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136909/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136909/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[10], b[10], c[10];
scanf("%s%s%s", a, b, c);
int i, j;
for (i = 0; a[i] != '\0'; i++) {
;
}
for (j = 0; b[j] != '\0'; j++) {
;
}
if (a[i-1] == b[0] && b[j-1] == c[0]) {
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136952/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136952/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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];
int i, l1=0, l2=0, l3=0;
scanf("%s%s%s", a, b, c);
i=0;
l1=strlen(a);
l2=strlen(b);
l3=strlen(c);
if(a[l1-1]==b[0] && b[l2-1]== c[0]) printf("YES\n");
else printf("NO\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_136996/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_136996/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ai,bi;
ai = 0;
bi = 0;
char a[11],b[11],c[11];
scanf("%s %s %s",a,b,c );
while(a[ai] != '\0'){
ai += 1;
}
ai -= 1;
while(b[bi] != '\0'){
bi += 1;
}
bi -= 1;
if(a[ai] == b[0] && b[bi] == c[0]){
printf("%s\n","YES" );
}
else{
printf("%s\n", "... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137045/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137045/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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]; //a,b,cは10文字以下
int a_len, b_len;
scanf("%s %s %s", a, b, c);
a_len = strlen(a);
b_len = strlen(b);
if( (a[a_len - 1] == b[0]) && (b[b_len - 1] == c[0])){
printf("YES\n");
}else{
printf("NO\n");
}
printf("\n");
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137102/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137102/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//
// main.c
// abc060_a
//
// Created by Ding Chao on 4/29/17.
// Copyright © 2017 Ding Chao. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char * argv[]) {
// insert code here...
char end = 0, mid = 0, ini = 0;
while (mid != ' ') {
end = mid;
mid = ini;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137153/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137153/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<string.h>
#include<math.h>
#include<ctype.h>
#define MOD 1e7+7
typedef long long ll;
ll mygcd(ll a, ll b) { if (b == 0) return a; return mygcd(b, a % b); }
ll mylcm(ll a, ll b) { return a / mygcd(a, b) * b; }
ll mymax(ll a, ll b) { return (a > b) ? a... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137197/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137197/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,count=0;
scanf("%d",&a);
do{
a-=3;
count++;
}while(a>=0);
printf("%d",count-1);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137290/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137290/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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=n/3;
printf("%d",n);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137434/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137434/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <ctype.h>
#include <math.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_137485/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137485/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,sum;
scanf("%d %d",&a,&b);
sum=a-b+1;
printf("%d",sum);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137535/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137535/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 number_n, number_k;
scanf("%d %d", &number_n, &number_k);
printf("%d\n", number_n + 1 - number_k);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137579/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137579/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_137621/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137621/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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", n - i + 1);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_137665/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_137665/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.