Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int main()
{
int r;
scanf("%d",&r);
float ans;
ans=3.1416*2*r;
printf("%f\n",ans);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339344/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339344/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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()
{
double pi = acos(-1);
int R;
scanf("%d",&R);
double c = 2*pi*R;
printf("%lf",c);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339388/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339388/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 pi 3.14159
int main(){
int r;
scanf("%d",&r);
double ans=pi*(double)r*2;
printf("%.6f",ans);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339430/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339430/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 R;
double A;
scanf("%d",&R);
A=2.0*R*M_PI;
printf("%lf",A);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339481/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339481/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 R = 0;
double L = 0;
scanf("%d", &R);
L = (double)R * 2 * 3.1415;
printf("%lf\n", L);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339524/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339524/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
double pi=3.14159;
scanf("%d",&N);
pi=2*pi*N;
printf("%lf",pi);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339568/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339568/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
double ans = 2 * 3.1416 * n;
printf("%0.12lf\n", ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339610/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339610/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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) {
//printf("hello\n");
int x;
double a;
scanf("%d", &x);
a = (double)x;
printf("%lf", a * 2 * 3.141592);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339661/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339661/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 R;
double c,pi=3.14156;
scanf("%d",&R);
c=2*pi*R;
printf("%lf\n",c);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339748/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339748/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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() {
double r;
scanf("%lf",&r);
printf("%lf\n",r*2*M_PI);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339799/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339799/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 pai 3.1415926535
int main()
{
int r;
scanf("%d",&r);
printf("%f",(2*pai*r));
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339885/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339885/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <float.h>
#define i_cin(X) scanf("%d", &X)
#define i_cin2(X,Y) scanf("%d %d",&X,&Y)
#define i_cin3(X,Y,Z) scanf("%d %d %d",&X,&Y,&Z)
#define l_cin(X) scanf("%ld",&X)
#define f_cin(X) scanf("%f",&X)
#define l_cin2(X,Y) scanf("%ld %l... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339928/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339928/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 r;
scanf("%d",&r);
double ans=2*r*3.14;
printf("%lf",ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_339971/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_339971/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
struct node {
int key;
int priority;
struct node *right;
struct node *left;
};
typedef struct node* Nodepointer;
Nodepointer nil=NULL, root=NULL;
Nodepointer delete(Nodepointer*, int);
Nodepointer _delete(Nodepointer*, int);
Nodepointer Node(int key, i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340012/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340012/source.c"
target datalayout = "e-m:e-p270: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.node = type { i32, ... |
#include<stdio.h>
#include<stdlib.h>
typedef struct node{
int key;
int priority;
struct node *left;
struct node *right;
}node;
node * Delete(node **,int);
node * _delete(node **,int);
int find(node *p,int x){
while(p!=NULL){
if(p->key == x)return 1;
else if(p->key > x)p=p->... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340056/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340056/source.c"
target datalayout = "e-m:e-p270: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.node = type { i32, ... |
#include <stdio.h>
int BusesForSum1 [ 1024 ];
int TrollsForSum1 [ 1024 ];
int MinSumForBuses [1024];
int MinSumForTrolls [1024];
long min( long a, long b)
{
if ( a <= b)
return a;
return b;
}
int main(void)
{
int c1 = 0, c2 = 0 , c3 = 0, c4 = 0;
int n = 0, m = 0;
long res = 0;
long... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_3401/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_3401/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr co... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int n,k,i;
scanf("%d %d",&n,&k);
for(i=1;i<=2*n;i=i+2)
{
if(k>0)
printf("%d %d ",i+1,i);
else
printf("%d %d ",i,i+1);
k--;
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34015/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34015/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,k;
scanf("%d",&n);
scanf("%d",&k);
int j=0;
for(j=0;j<2*k;j+=2){
printf("%d %d ", j+2, j+1);
}
for(j;j<2*n;j+=2){
printf("%d %d ", j+1, j+2 );
}
return 0;} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34020/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34020/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
#include<math.h>
#define MAX 100000
int getGCD(int a,int b){
if(b == 0)return a;
if(a % b==0)return b;
int r=a%b;
return getGCD(b,r);
}
void factoring(int x){
int idx=0;
int b[MAX];
for(int i=1;i<=sqrt(x);i++){
if(x % i==0){
b[idx++]=i;
printf("%d\n",i);
}
}
for(int i=id... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340243/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340243/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(){
long long n,m;
scanf("%lld%lld",&n,&m);
n-=2,m-=2;
if(n<0)n=-n;
if(m<0)m=-m;
printf("%lld\n",n*m);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340287/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340287/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[100010][2];
int ans[100010];
int n,a[3];
void f(int i,int p,int q){
ans[i]=p;
a[p]++;
a[q]--;
}
int main(){
scanf("%d%d%d%d",&n,a,a+1,a+2);
for(int i=0;i<n;i++){
char s[3];
scanf("%s",s);
x[i][0]=s[0]-'A';
x[i][1]=s[1]-'A';
}
for(int i=0;i<n;i++){
int p=x[i][0],q=x[i][1];
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340373/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340373/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ans = dso_local local_unna... |
#define _CRT_SECURE_NO_WARNINGS
////#define _USE_MATH_DEFINES
#include<stdio.h>
//#include<stdlib.h>
#include<math.h>
//#include<string.h>
//#include<time.h>
#define P(type,x) fprintf(stdout,"%"#type"\n",x)
#define FUNC 180.0/(4*atan(1))
int main() {
double a, b, c, d,delta,ans;
const double r = 6378.1;
while (~fsca... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340416/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340416/source.c"
target datalayout = "e-m:e-p270: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 () {
int W,H;
int x,y,r;
scanf("%d%d%d%d%d",&W,&H,&x,&y,&r);
W -= r,H -= r;
if( r <= x && x <= W && r <= y && y <= H) printf("Yes\n");
else printf("No\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340467/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340467/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d%d",&n,&k);
for(i=0;i<n;i++){
for(j=0;j<n;j++)
printf("%d ",(i==j)?k:0);
printf("\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34051/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34051/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if(W < x+r || x-r < 0) printf("No\n");
else if(H < y+r || y-r < 0) printf("No\n");
else printf("Yes\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340553/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340553/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(){
//長方形の幅, 高さ, 円の中心の位置(x, y), 円の半径
int w, h, x, y, r;
int result = 1;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if(x - r < 0 || x + r > w){
result = 0;
}
if(y - r < 0 || y + r > h){
result = 0;
}
if(result == 1){
printf("Yes\n");
}
else{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340603/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340603/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if( x + r > W){printf("No\n");}
else if( x - r < 0 ){printf("No\n");}
else if( y + r > H ){printf("No\n");}
else if( y - r < 0 ){printf("No\n");}
else {printf("Yes\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340661/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340661/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 w,h,x,y,r;
int a[4];
scanf("%d %d %d %d %d",&w,&h,&x,&y,&r);
a[0] = x + r;
a[1] = y + r;
a[2] = x - r;
a[3] = y - r;
if(a[0] - w > 0){
printf("No\n");
}else if(a[1] - h > 0){
printf("No\n");
}else if(a[2] < 0){
printf("No\n");
}else if(a[3] < 0){
printf("No\n... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340711/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340711/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if((x+r<=W)&&(x-r>=0)&&(y+r<=H)&&(y-r>=0)){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340755/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340755/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y,r;
scanf("%d %d %d %d %d ",&w,&h,&x,&y,&r);
if(x >= 0+r && x <= w-r && y >= 0+r && y <= h-r)printf("Yes\n");else printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340799/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340799/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if(W>=x+r && 0<=x-r && H>=y+r && 0<=y-r){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340849/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340849/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if(0+r<=x&&x<=W-r)
{
if(0+r<=y&&y<=H-r)
{
printf("Yes\n");
}
else
{
printf("No\n");
}
}
else
{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340892/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340892/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r,a;
scanf("%d %d %d %d %d ",&W,&H,&x,&y,&r);
a=0;
if(x+r>W){
a=1;
}
if(y+r>H){
a=1;
}
if(r>x){
a=1;
}
if(r>y){
a=1;
}
if(a==0){
printf("Yes\n");
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340935/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340935/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y,r;
scanf("%d %d %d %d %d",&W, &H, &x, &y, &r);
if(0+r<=x && x<=W-r&&
0+r<=y && y<=H-r)
printf("Yes\n");
else printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_340979/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_340979/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H)
{
printf("Yes\n");
}
else
{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341028/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341028/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if(x>=r && x<=W-r && y>=r && y<=H-r){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341079/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341079/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y,r;
scanf("%d %d %d %d %d\n",&W,&H,&x,&y,&r);
if (x+r<=W && x-r>=0 && y+r<=H && y-r>=0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341121/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341121/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if((0<=(x-r) && (x+r)<=W && 0<=(y-r) && (y+r)<=H)){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341165/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341165/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if((x + r <= W) && (x >= r) && (y + r <= H) && (y >= r)){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341222/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341222/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(int argc, const char * argv[]) {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W,&H,&x,&y,&r);
if (x+r > W || y+r > H || x<0 || y<0) {
printf("No\n");
}else{
printf("Yes\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341280/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341280/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d",&W);
scanf("%d",&H);
scanf("%d",&x);
scanf("%d",&y);
scanf("%d",&r);
if(x+r<=W && x-r>=0 && y+r<=H && y-r>=0){printf("Yes\n");}
else{printf("No\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341330/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341330/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d%d%d%d%d",&W,&H,&x,&y,&r);
int a = W-x-r;
int b = H-y-r;
int c = 0+x-r;
int d = 0+y-r;
if(a >= 0&&b >= 0&&c >= 0&&d >= 0){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341381/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341381/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if((x+r)<=W && (x-r)>=0 && (y+r)<=H && (y-r)>=0){
printf("Yes\n");
}else{printf("No\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341431/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341431/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, x, y, r, a, b;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
a=W-x;
b=H-y;
if(x<r || y<r){
printf("No\n");
}
else if(a<r || b<r){
printf("No\n");
}
else{
printf("Yes\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341475/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341475/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if ((0 <= x-r)&&(x+r <= W)&&(0 <= y-r)&&(y+r <= H))
printf("Yes\n");
else
printf("No\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341525/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341525/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if(W >= x+r && r <= x && H >= y+r && r <= y){printf("Yes\n");}
else{printf("No\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341569/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341569/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H;
int r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if(r<=x && x<=(W-r) && r<=y && y<=(H-r))
{printf("Yes\n");}
else{printf("No\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341619/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341619/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y,r;
scanf("%d %d %d %d %d",&w,&h,&x,&y,&r);
if(x+r<=w && y+r<=h && x-r>=0 && y-r>=0){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341662/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341662/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[n],i;
for(i=0;i<n;i++)
scanf("%d",&a[i]);
if(n==1){
if(a[0]==1) printf("YES");
else printf("NO");
return 0;
}
else {
int flag=0;
for(i=0;i<n;i++)
{
if(a[i]==0) flag+... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34172/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34172/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
void branch(int w, int h, int x, int y, int r) {
if (x - r < 0 || w < x + r) {
printf("No\n");
} else {
if (y - r < 0 || h < y + r) {
printf("No\n");
} else {
printf("Yes\n");
}
}
}
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341763/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341763/source.c"
target datalayout = "e-m:e-p270:32: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(void)
{
int W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if((x-r>=0)&&(y-r>=0)&&(x+r<=W)&&(y+r<=H)){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341806/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341806/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#define N 200000
#define Q 200000
#define A 200000
#define C 6 /* 2 * 3 * 5 * 7 * 11 * 13 * 17 > A */
#define MD 1000000007
#define INF 0x3f3f3f3f
int min(int a, int b) { return a < b ? a : b; }
int pp[A + 1][C], kk[A + 1][C], cnt[A + 1]; char composite[A + 1];
void init() {
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34185/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34185/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@composite = dso_local local_... |
#include<stdio.h>
int main(){
int W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if(x-r >= 0 && x+r <= W && y-r >=0 && y+r <= H){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341893/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341893/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if(W>0 && W<=100 && H>0 && H<=100 && r>0 && r<=100)
{
if(x>=-100 && x<=100 && y>=-100 && y<=100)
{
if(x-r>=0 && x+r<=W && y-r>=0 && y+r<=H)
{
printf("Yes\n");
}
else
{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_341936/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_341936/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 x, int y)
{
if (x > y)
return x;
else
return y;
}
int min(int x, int y)
{
if (x > y)
return y;
else
return x;
} */
int isperf(int hg, int mg, int h, int m)
{
int fa=0,fb=0,fc=0,fd=0;
int a = hg / 10;
int b = hg % 10;
int... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_34198/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_34198/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((0 <=x-r) && (W >= x+r) && (H >= y + r) && (0 <= y - r)){
printf("Yes");
}
else {
printf("No");
}
printf("\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342021/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342021/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(int argc, char const *argv[]) {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((r <= x && x <= W-r) && (r <= y && y <= H-r)) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_342065/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_342065/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int n,i,j,k,l=0;
scanf("%d",&n);
char a[n][5];
for(i=0;i<n;i++)
scanf("%s",a[i]);
for(i=0;i<n;i++)
{
if(a[i][0]=='O' && a[i][1]=='O')
{
l++;
a[i][0]='+';
a[i][1]='+';
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_1456/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_1456/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr co... |
#include<stdio.h>
int main(void){
long int N,span,rest,A,B;
scanf("%ld%ld%ld",&N,&A,&B);
span=N/(A+B);
rest=N%(A+B);
if(rest>A){
rest=A;
}
printf("%ld\n",span*A+rest);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_145642/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_145642/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
unsigned long n,a,b;
scanf("%lu%lu%lu", &n,&a,&b);
if(a==0){
printf("0");
return 0;
}else if(b==0){
printf("%lu",n);
return 0;
}else if(n>(a+b)){
unsigned long tmp=n/(a+b);
unsigned long blue=tmp*a;
if(n%(a+... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_145686/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_145686/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
long long min(long long x,long long y)
{
if (x>y) return y;else return x;
}
int main()
{
long long n,red,blue;
scanf("%lld%lld%lld",&n,&blue,&red);
long long group;
group=n/(blue+red);
long long ans;
ans=group*blue+min(blue,n%(blue+red));
printf("%lld",ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_145736/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_145736/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 check(int a[],int n,int p[])
{
int c=1,j=0;
for(int i=1;i<=n;i++)
{
if(a[i]!=i)
{
p[j]=i;
j++;
}
}
return j;
}
int main() {
//code
int t;
scanf("%d",&t);
for(int i=0;i<t;i++)
{
int n;
scanf("%d",&n);
int a[n+1]... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_14578/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_14578/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,t;
scanf("%d",&t);
while(t>0)
{
scanf("%d",&n);
for(i=0;i<n;i++)
printf("2 ");
printf("\n");
t--;
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_14583/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_14583/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,i;
char s[10];
while(~scanf("%s",s))
{
a=0;
for(i=0; i<4; i++)
{
if(s[i]=='+')
a+=1;
else if(s[i]=='-')
a-=1;
}
printf("%d\n",a);
}
return 0;... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_145873/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_145873/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
char s[4];
int i, ans=0;
scanf("%s", s);
for(i=0; i<4; i++){
if(s[i] == '+')
ans++;
else
ans--;
}
printf("%d\n", ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_145945/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_145945/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))
int main(){
ll ans=0;
rep(i,0,4){
char c;
c=getchar();
if(c=='+')ans++;
else ans--;
}
printf("%lld",ans);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_145996/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_145996/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 Si[4];
int x = 0;
for (int i = 0; i < 8; i++)
{
scanf("%c", &Si[i]);
if (Si[i] == '+')
{
x++;
}
else if (Si[i] == '-')
{
x--;
}
}
printf("%d", x);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146045/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146045/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
char s[10];
int num=0;
scanf("%s",s);
for (int i = 0; i < 4; i++){
switch (s[i]){
case '+':num++; break;
case '-':num--; break;
}
}
printf("%d",num);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146096/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146096/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int c,count=0;
while((c=getchar())!=EOF){
if(c=='+'){
count++;
}else if(c=='-'){
count--;
}
}
printf("%d",count);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146139/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146139/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <string.h>
#include <math.h>
int main(void)
{
char S[5];
int i,j,t;
scanf("%s",S);
j=0;
for (i=0;i<4;i++) {
if (S[i]=='+') j++;
else j--;
}
printf("%d",j);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146182/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146182/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i;int A[2]={0},B[2]={0},C[2]={0};
while(1){
scanf("%d %d %d",&a,&b,&c);
if(a==-1&&b==-1&&c==-1)break;
b=b+a*60;
C[0]=7200-(c+b*60);
C[1]=C[0]*3;
for(i=0;i<2;i++){
B[i]=C[i]/60;
C[i]=C[i]%60;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146225/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146225/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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_time_lefts(int seconds) {
int h, m, s, remain;
h = seconds / 3600;
remain = seconds % 3600;
m = remain / 60;
s = remain % 60;
printf("%02d:%02d:%02d\n", h, m, s);
}
int main(void) {
int h, m, s, std_time_lefts;
while (1) {
scanf("%d %d %d ", &h, &m, &s);
if (h == -1 && m == ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146311/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146311/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 max(int a, int b){
if( a > b ) return a;
else return b;
}
int main(){
int shop;
scanf("%d",&shop);
int open[101][11];
for(int i = 1; i <= shop; ++i){
for(int j = 1; j <= 10 ; ++j){
scanf("%d",&open[i][j]);
}
}
int p[101][11];
for(int i = 1; i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146362/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146362/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int t,n;
scanf("%d",&t);
for(int g=0;g<t;g++){
scanf("%d ",&n);
for(int j=0;j<n;j++){
printf("1 ");
}
printf("\n");
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_14642/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_14642/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 x,y,z,n;
scanf("%d%d%d",&x,&y,&z);
n = (x-z) / (y + z);
printf("%d\n",n);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146463/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146463/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <math.h>
int main()
{
int X, Y, Z, area, people = 0, i;
scanf("%d %d %d", &X, &Y, &Z);
area = X - Z * 2;
for (i = Y + Z; ; i += (Y + Z)) {
people++;
if (i - Z > area) {
people--;
break;
} else if (i - Z == area) {
break;
}
}
printf("%d\n", people);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146506/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146506/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
***********************************************... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_14660/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_14660/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 X,Y,Z;
scanf("%d %d %d",&X,&Y,&Z);
printf("%d\n",(X-1*Z)/(Y+Z));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146643/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146643/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,z;
scanf("%d %d %d",&x,&y,&z);
int c=y+z;
int ans=(x-z)/c;
printf("%d",ans);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146687/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146687/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x=1,n=0;
scanf("%d %d",&a,&b);
while(x<b)
{
x=x+a-1;
n++;
}
printf("%d\n",n);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146737/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146737/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
int gcd(int a,int b);
int compare(const void* a, const void* b);
int main(void){
int A,B;
int i = 1;
int ret = 0;
scanf("%d %d",&A,&B);
while(i < B){
i = i + A - 1; //1口つかってA口ふやす
ret++;
}
printf("%d\n",ret);
}
in... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146780/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146780/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <math.h>
#include <stdbool.h>
int main(void)
{
int A, B;
scanf("%d %d", &A, &B);
int tapc = 1;
int count = 0;
while(tapc<B){
--tapc;
tapc += A;
++count;
}
printf("%d", count);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146823/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146823/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
int A,B;
scanf("%d%d", &A,&B);
int ans = 0;
int outlet = 1;
while (outlet < B) {
outlet = outlet - 1 + A;
ans++;
}
printf("%d\n", ans);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146867/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146867/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d",&t);
while(t--)
{
int n,a=1,b=1,m=0;
scanf("%d",&n);
for(int i=0;i<n;i++)
{
if(m<998)
m=a+b-1;
printf("%d ",m);
a++;
b++;
}
printf("\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_14691/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_14691/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main(){
int a,b,i;
scanf("%d%d",&a,&b);
for(i=1; i<=20; i++){
if(b==1){
printf("0\n");
break;
}
if(a+(a-1)*(i-1)>=b){
printf("%d\n",i);
break;
}
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_146968/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_146968/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n,i,x,j,k;
int main()
{
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&x);
for(j=0;j<x;j++)
{
for(k=0;k<=j;k++)
printf("(");
for(k=0;k<=j;k++)
printf(")");
for(k=1;k<=x-j-1;k++)
prin... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_14701/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_14701/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main(void) {
int A, B;
int need, gain;
if (scanf("%d%d", &A, &B) != 2) return 1;
need = B - 1;
gain = A - 1;
printf("%d\n", (need + gain - 1) / gain);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147053/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147053/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
// Aizu Vol-2 0208: Room Numbers of a Hospital
// 2017.8.18
// 8?????°??????????????????01234567???01235789??????????????????
#include <stdio.h>
char buf[30], *p;
char b[8] = { '0', '1', '2', '3', '5', '7', '8', '9' };
int main(void)
{
int n;
while (scanf("%d", &n) && n) {
sprintf(p = buf, "%o", n);
while (*p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147125/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147125/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@b = dso_local local_unname... |
#include <stdio.h>
#include <string.h>
#define EPS 1e-7
int w,h;
char map[60][12];
char visited[60][12];
int okflag;
typedef struct {
double x;
int num;
} zyusin_t;
typedef struct {
int min,max;
} range_t;
zyusin_t shindan_the_block(int x,int y);
void get_the_zyusin(range_t* range,zyusin_t* zyusin,int x,int y,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147176/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147176/source.c"
target datalayout = "e-m:e-p270: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.zyusin_t = type { d... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define NEW(p,n){p=malloc((n)*sizeof(p[0]));if(p==NULL){printf("not enough memory\n");exit(1);};}
//pの型の変数n個の要素分のメモリを確保し、そのアドレスをpに代入するマクロ
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
typedef char* String;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147226/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147226/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d",&a);
while(a--)
{
int x;
scanf("%d",&x);
for(int y=1;y<=x;y++)
{
for(int z=1;z<=2*x;z++)
{
if(z<=y)
printf("(");
else if(z<=2*y)
printf(")");
else if(z&1)
printf("(");
else
printf(")");
}
printf("\n");
}
}
retur... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_14727/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_14727/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 mbk(long long a,int n,int m){return n?(mbk((a*a)%m,n/2,m)*(n%2?a:1))%m:1;}
int inv(int a,int m){return mbk((long long)a,m-2,m);}
long long M=1e9+7;
long long f(long long a,long long b,long long c){
int i;
long long s=1,ans=0;
for(i=0;i<c-2;i++){
s=s*(a*b-2-i)%M;
s=s*inv(i+1,M)%M;
}... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147312/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147312/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M = dso_local local_unname... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
int n,m;
int ans[100001];
int tmp[100001];
int scan_tmp[100001];
int scan_tmp2[100001];
int main(void)
{
scanf("%d%d",&n,&m);
for(int i=0;i<=n;i++){
ans[i]=0;
tmp[i]=0;
scan_tmp[i]=0;
scan_tmp2[i]=0;
}
int a[m+1],b[m+1];... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147356/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147356/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
//set many funcs template
//Ver.20190820
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#include<time.h>
#include<assert.h>
#define inf 1072114514
#define llinf 4154118101919364364
#define mod 1000000007
#define pi 3.1415926535897932384
int max(int a,int b){if(a>b){return a;}return b;}
int... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147406/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147406/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.data = type { i64, ... |
#include <stdio.h>
int temp[100000000];
void merge(int *,int,int);
int count=0;
int main(){
int i,a,n,m,cont1=0,cont2=0;
int x[5000000],y[5000000];
scanf("%d",&a);
for(i=0;i<a;i++){
scanf("%d",&x[i]);
}
merge(x, 0, a - 1);
for (i = 0; i < a; i++){
if(i!=a-1){
printf("%d ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147464/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147464/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@count = dso_local local_un... |
#include<stdio.h>
#define N 500000
#define INFTY 1000000000
int count = 0;
int A[N];
void merge(int A[], int left, int mid, int right){
int i,j,k;
int n1,n2;
n1 = mid - left;
n2 = right - mid;
int L[n1],R[n2];
for(i = 0; i < n1; i++){
L[i] = A[left + i];
}
for(i = 0; i < n2; i++){
R[i] = A[mi... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147507/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147507/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@count = dso_local local_un... |
#include <stdio.h>
#define N 500001
#define INFTY 1000000000
int A[N],l[N],r[N],count=0;
void merge(int A[],int left,int mid,int right){
int n1,n2,i,j,k;
n1=mid-left;
n2=right-mid;
for(i=0;i<n1;i++)l[i]=A[left+i];
for(i=0;i<n2;i++)r[i]=A[mid+i];
l[n1]=INFTY;
r[n2]=INFTY;
i=0;
j=0;
for(k=left;k... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147550/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147550/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@count = dso_local local_un... |
#include<stdio.h>
//#include<stdlib.h>
#define INTFY 2000000000
long int S[500000],l;
void mergesort(long int*,long int,long int);
void merge(long int*,long int,long int,long int);
int main(){
long int n,i;
scanf("%ld",&n);
for(i=0;i<n;i++){
scanf("%ld",&S[i]);
}
mergesort(S,0,n);
for(i=0;i<n;i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147594/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147594/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 <memory.h>
#define SENTINEL (1000000001)
#define putChar(c) ; *p = (char)(c); ++p;
int c = 0;
int S[500000];
int L[250001];
int R[250001];
char str[5500010];
char *p = str;
int getNum(void) {
int n = 0;
while ((*p >= '0') && (*p <= '9')) {
n = n * 10... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147637/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147637/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@c = dso_local local_unname... |
#include <stdio.h>
#define INFTY 2000000000
void merge(int*, int, int, int);
void mergeSort(int*, int, int);
int L[250002],R[250002];
int count;
int main(){
int A[500000],n;
int i;
scanf("%d",&n);
for(i = 0; i < n; i++){
scanf("%d",&A[i]);
}
mergeSort(A,0,n);
for(i = 0; i < n-1; i++){
printf("%d... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_147688/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_147688/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.