Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int abc(int h,int a){
int count = 0;
while(h>0){
h -= a;
count++;
}
return count;
}
int main(void){
int h,a,ans;
scanf("%d %d",&h,&a);
ans = abc(h,a);
printf("%d",ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193723/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193723/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a,x;
scanf("%d %d",&h,&a);
if(h<=a)
printf("1");
else if(h>a)
{
x=((h+(a-1))/a);
printf("%d",x);
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193774/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193774/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,A,count=0;
scanf("%d%d",&H,&A);
while(H>0){
count++;
H-=A;
}
printf("%d",count);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193817/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193817/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,A,count=0;
scanf("%d%d",&H,&A);
while(H>0)
{H=H-A;
count++;}
printf("%d",count);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193860/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193860/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a;
scanf("%d%d",&h,&a);
printf("%d",(h+(a-1))/a);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193903/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193903/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,H;
scanf("%d %d",&H,&A);
if(H%A==0) printf("%d",H/A);
else printf("%d",H/A+1);
return 0;}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193947/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193947/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a;
scanf("%d%d",&h,&a);
int count=0;
int sum=0;
for(int i=0;i<=h;i++)
{
sum+=a;
count++;
if(sum>=h)
{
printf("%d\n",count);
break;
}
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_193990/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_193990/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,a;
scanf("%d%d",&h,&a);
int count=0;
while(h>0){
h-=a;
count++;
}
printf("%d",count);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194032/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194032/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>
#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int
int main(){
int h, a;
scanf("%d %d", &h, &a);
printf("%d", (h+a-1)/a);
r... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194076/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194076/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,W[200],M=1000000;
scanf("%d",&N);
W[0]=0;
for(int i=1;i<=N;i++){
scanf("%d",W+i);
W[i]+=W[i-1];
}
int S;
for(int i=1;i<N;i++){
S=W[N]-2*W[i];
if(S<0) S=-S;
if(S<M) M=S;
}
printf("%d\n",M);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194126/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194126/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#define size 100
int main(void)
{
int n,i,cnt=0,j,pos=0;
int a[size][size];
int ans[size];
int alert = 0;
scanf("%d",&n);
for(i=0;i<n;i++)
{
for( j=0; j < n; j++)
scanf("%d",&a[i][j]);
}
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
alert = 0;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19417/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19417/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
#include<stdlib.h>
int min(int x ,int y){
if(x<y)
return x;
else
return y;
}
int main(){
int n ;
scanf("%d",&n);
int arr[n] ;
int i , sum = 0 , sum2 = 0;
for(i = 0 ; i< n ; i++){
scanf("%d",&arr[i]);
sum+=arr[i];
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194212/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194212/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int i,j,N;
scanf("%d\n",&N);
int W[N-1];
int min,s[1],t,x;
for(i=0;i<N;i++){
scanf("%d",&W[i]);
}
for(t=1;t<N;t++)
{
s[0]=0;
s[1]=0;
for(j=0;j<N;j++)
{
if(j<t){s[0] += W[j];}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194263/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194263/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int n, i, t, s1, s2, s, ans;
int w[100];
ans = 1000000000;
scanf("%d", &n);
for (i = 0; i < n; i++) {
scanf("%d", &w[i]);
}
for (t = 0; t < n - 1; t++) {
s1 = 0;
s2 = 0;
s = 0;
for (i = 0; i < n; i++) {
if (t >= i) {
s1 = s1 + w[i];
}
else {
s2 = s2 ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194306/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194306/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
// メイン関数
int main(void)
{
int n = 0;
scanf("%d", &n);
int w[n];
for (int i = 0; i < n; i++) scanf("%d", &w[i]);
int s[2];
int min = 0;
for (int t = 1; t < n - 1; t++){
s[0] = 0;
s[1] = 0;
for (int i = 0; i < n; i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194357/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194357/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main()
{
int t;
scanf("%d",&t);
while(t--)
{ int n,a[200]={};
scanf("%d",&n);
for(int i=0;i<n;i++)
scanf("%d",&a[i]);
int p=0;
if(a[0]==a[1]) p=a[0];
if(a[0]==a[2]) p=a[0];
if(a[1]==a[2]) p=a[1];
for(int i=0;i<n;i++)
if(a[i]!=p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19440/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19440/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 MAX 1000000
/* 正四面体数列 */
int tetra[200]; /* 10^6以下の正四面体数は180個 */
int tetra_l;
int tetra_odd[100];
int tetra_odd_l;
int divide[MAX+1]; /* ある正整数を和で表すために必要な正四面体数の個数 */
int divide_odd[MAX+1]; /* ある正整数を和で表すために必要な「奇数」正四面体数の個数 */
#define UNKNOWN 0
int main(void) {
int n, i;
// 正四面体数列を生成する
for... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194443/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194443/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@tetra_l = dso_local local_... |
#include <stdio.h>
int m[11][11];
int main() {
int N;
while(1) {
scanf("%d", &N);
if(N == 0) break;
int i, j;
for(i = 0; i < N; ++ i) for(j = 0; j < N; ++ j) scanf("%d", &m[i][j]);
for(i = 0; i < N + 1; ++ i) {
int sum1 = 0, sum2 = 0;
for(j = 0; j < N; ++ j) {
sum1 += m[i][j];
sum2 += m[j][i];... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194508/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194508/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <string.h>
int main(void)
{
int matrix[10][10];
int vertical_sum[10];
int horizontal_sum[10];
int all_sum;
int i, j;
int n;
while (1){
scanf("%d", &n);
if (n == 0){
break;
}
memset(matrix, 0, sizeof(matrix));
memset(vertical_sum, 0, sizeof(vertical_sum));
memse... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194559/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194559/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n;
while (scanf("%d", &n), n) {
int sheet[n][n], column_sum[n], row_sum[n];
int whole_sum = 0;
for (i = 0; i < n; i++) {
column_sum[i] = 0;
row_sum[i] = 0;
}
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
scanf(" %d", &sheet[i][j]);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194601/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194601/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#define N 101
#define WHITE 0
#define GRAY 1
#define BLACK 2
void dfs();
void visit(int);
int A[N][N] = {0};
int color[N] = {0};
int d[N] = {0};
int f[N] = {0};
int num ,time;
int main(){
int inum, jnum, count, i, j;
scanf("%d", &num);
for(i = 1; i <= num; i++){
scanf("%d %d", &i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194667/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194667/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A = dso_local local_unname... |
#include<stdio.h>
#define M 150
int u[M][M],s[M],t;
int tim,where[M];
int ans[M][2];
int visit[M];
int end(int n){
int a=1,i;
for(i=1;i<=n;i++){
if(visit[i]==0)return i;
}
return 0;
}
void push(int a){
tim++;
s[t++]=a;
visit[a]=1;
}
int pop(){
tim++;
return s[t--];
}
int main(){
int a... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194724/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194724/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@visit = dso_local local_un... |
#include<stdio.h>
void visit(int);
int map[101][101];
int f[101],d[101],color[101],time,n;
int main()
{
int i,j,v,vv,m;
scanf("%d",&n);
for(i=0;i<n;i++){
color[i]=0;
for(j=0;j<n;j++){
map[i][j]=0;
}
}
time=0;
for(i=0;i<n;i++){
scanf("%d%d",&v,&m);
for(j=0;j<m;j++){
scanf("%... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194768/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194768/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#define N 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n,M[N][N];
int color[N],d[N],f[N],tt;
void dfs_visit(int);
void dfs(void);
int main(){
int u,v,k,i,j;
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=0;j<n;j++){
M[i][j]=0;
}
}
for(i=0;i<n;i++){
scanf("%d %d... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194832/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194832/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#define N 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
void dfs(void);
void visit(int);
int n,time,d[N],f[N],color[N],M[N][N] = {};
int main(){
int i,j,u,k,v;
scanf("%d",&n);
for(i=0; i<n; i++){
scanf("%d",&u);
scanf("%d",&k);
for(j=0; j<k; j++){
scanf("%d",&v);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194883/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194883/source.c"
target datalayout = "e-m:e-p270: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>
#define N 101
void dfs(int);
void visit(int, int);
int time, d[N], f[N], color[N], list[N][N];
int main(){
int n, i, j, k, u, v;
scanf("%d", &n);
for(i = 1; i <= n; i++){
for(j = 1; j <= n; j++){
list[i][j] = 0;
}
}
for(i = 1; i <= n; i++){
scanf("%d%d", &u, &k);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194926/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194926/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 d[100],f[100],G[100][100],color[100];
int time,n;
void visit(int);
int main(){
int u,k,i,j,v;
scanf("%d",&n);
for(i=0;i<n;i++)
for(j=0;j<n;j++)
G[i][j]=0;
for(i=0;i<n;i++){
scanf("%d%d",&u,&k);
if(k!=0)for(j=0;j<k;j++){
scanf("%d",&v);
G[u-1][v-1]=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_194977/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_194977/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#define N 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n,M[N][N];
int color[N],d[N],f[N],tt;
void dfsVisit(int);
void dfs();
int main(){
int u,v,k,i,j;
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=0;j<n;j++){
M[i][j]=0;
}
}
for(i=0;i<n;i++){
scanf("%d %d",&u,&k... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195019/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195019/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#define N 100
#define BLACK 1
#define GRAY 2
#define WHITE 3
int G[N][N],d[N],f[N],color[N];
int n,time;
void visit(int r){
int v;
color[r]=GRAY;
time++;
d[r]=time;
for(v=0;v<=n;v++){
if(G[r][v] && color[v]==WHITE){
visit(v);
}
}
color[r]=BLACK;
f[r]=++tim... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195062/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195062/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@color = dso_local local_un... |
#include <stdio.h>
#define N 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n, M[N][N];
int color[N], d[N], f[N], tt;
/*
* n : the number of input
* M[][] : store the Graph
* color[] :
* * WHITE this vertex has not been visited
* * GRAY this vertex is being visited
* * BLACK this vertex has been visi... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195105/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195105/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@color = dso_local local_un... |
#include<stdio.h>
void dfs_init(int);
void dfs(int,int);
int a[100][100],c[100],d[100],f[100],t;
int main(){
int n,u,k,v,i,j;
scanf("%d",&n);
for(i=0;i<=n-1;i++){
for(j=0;j<=n-1;j++){
a[i][j]=0;
}
}
for(j=0;j<=n-1;j++){
scanf("%d%d",&u,&k);
u--;
for(i=0;i<=k-1;i++){
sca... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195149/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195149/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#define N 101
#define WHITE 0
#define BLACK 1
#define GRAY 2
typedef struct
{
int d,f,k,color;
}Depth;
int B[N][N],n,cnt=0;
Depth D[N];
void DFS(int);
void Print();
int main()
{
int i,j,u,v;
scanf("%d",&n);
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)B[i][j] = 0;
}
for(i=0;i<n;i++)
{... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195206/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195206/source.c"
target datalayout = "e-m:e-p270: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.Depth = type { i32,... |
#include<stdio.h>
int main()
{
long long t;
scanf("%lld",&t);
while(t--)
{
int n,i;
scanf("%d",&n);
int a[n];
for(i=0; i<n; i++)
{
scanf("%d",&a[i]);
}
for(i=0; i<n; i++)
{
if(i==0 && a[0]!=a[1] && a[0]!=a[2])
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19525/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19525/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 N 101
#define WHITE 0
#define GRAY 1
#define BLACK 2
int STACK[N];
int top = 0;
int n;
int TIME = 0;
int A[N][N];
int color[N];
int dis[N];
int fin[N];
void S_push(int i){
top++;
STACK[top] = i;
}
void S_pop(){
top--;
}
int S_top(){
return STACK[top];
}
int ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195293/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195293/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@top = dso_local local_unna... |
#include <stdio.h>
#define A 100
#define WHITE 0
#define GRAY 1
#define BLACK 2
int n , m[A][A];
int color[A] , d[A] , f[A] , tt;
void dfs(int u)
{
int v ;
color[u] = GRAY;
d[u] = ++tt;
for(v = 0; v < n; v++)
{
if(m[u][v] == 0)
{
continue;
}
if(color[v] == WHITE)
{
dfs(v);
}
}
color[u] = BLA... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195336/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195336/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@color = dso_local local_un... |
#include <stdio.h>
int main(void) {
// your code goes here
int t;
scanf("%d", &t);
while(t--) {
int n;
scanf("%d", &n);
int a[n];
for(int i = 0; i < n; i++) {
scanf("%d", &a[i]);
}
for(int i = 0; i < n; i++) {
if(i == 0) {
if(a[i] != a[i+1] && a[i+1] == ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19543/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19543/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 N 100
#define W 0
#define G 1
#define B 2
int n,M[N][N],c[N],U[N],V[N],t;
void dfs_visit(int a){
int b;
c[a] = G;
U[a] = ++t;
for(b = 0;b < n;b++){
if(M[a][b] == 0) continue;
if(c[b] == W){
dfs_visit(b);
}
}
c[a] = B;
V[a] = ++t;
}
void dfs(){
int u;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195473/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195473/source.c"
target datalayout = "e-m:e-p270: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 WHITE 0
#define GRAY 1
#define BLACK 2
#define N 100
int n,M[N][N];
int color[N],d[N],f[N],time;
void visit(int u){
int v;
color[u] = GRAY ;// White vertex u has just been discovered
d[u] = ++time;
for(v=0;v<n;v++){// Explore edge (u,v)
if(M[u][v]==0) continue;
if(color[v] =... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195516/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195516/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@color = dso_local local_un... |
#include <stdio.h>
void dfs(void);
void visit(int);
int n;
int G[101][101];
int color[101];
int d[101];
int f[101];
int time;
int main (){
int i,j;
int u,v,k;
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=0;j<n;j++)G[i][j] = 0;
}
for(i=0;i<n;i++){
scanf("%d",&u);
scanf("%d",&k);
for(j=0;j<k;j++)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195567/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195567/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 WHITE 0
#define GRAY 1
#define BLACK 2
int n,M[100][100];
int color[100];
int time;
int d[100],f[100];
void visit(int u){
int v;
color[u] = GRAY;
d[u] = ++time;
for(v=0;v<n;v++){
if(M[u][v] == 0) continue;
if(color[v] == WHITE) visit(v);
}
color[u] = BLACK;
f[u] = +... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195653/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195653/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@color = dso_local local_un... |
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
#define F(i,a,n) for(int i=a; i<n; i++)
int max=0;
int n,m,q;
int *a,*b,*c,*d;
void max_sum(int *A){
int sum=0;
F(i,0,q){
if(A[b[i]-1]-A[a[i]-1]==c[i]) sum+=d[i];
}
if(max<sum)max=sum;
}
void loop(int ai,int *A){
int i=1;
if(ai!... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195697/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195697/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@max = dso_local local_unna... |
#include<stdio.h>
int n,a[200005],max,head,tail,x;
int main()
{
scanf("%d",&n);
for(int i=1;i<=n;i++)
scanf("%d",&a[i]);
for(int i=1;i<=n;i++)
{
if(a[i]==1)
head++;
else
break;
}
for(int i=n;i>=1;i--)
{
if(a[i]==1)
tail++;
else
break;
}
max=tail+head;
for(int i=1;i<=n;i++)
{
if(a[i]==... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19574/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19574/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 MAX_NUM 100000
int main(void){
int N;
int num[MAX_NUM] = {0};
int i, count =0;
scanf("%d", &N);
for(i=0; i<N; i++)
scanf(" %d", &num[i]);
for(i=0; i<N; i++){
if(num[i] == i+1){
count++;
i++;
}
}
print... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195783/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195783/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b){
if(b<c){
printf("Yes\n");
}else{
printf("No\n");
}
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195826/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195826/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int n,m;
scanf("%d%d",&n,&m);
int count=0;
count=m/n;
double d=m/(double)n;
if(d>count){
printf("-1");
return 0;
}
else{
int c=0;
while(count!=1){
if(count%2==0)count=count/2;
else if(cou... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19587/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19587/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
int b;
int c;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if(a<b&&b<c){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195912/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195912/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a < b & b < c) printf("Yes\n");
else printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_195956/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_195956/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a,&b,&c);
if (a < b && b < c && a < c)printf("Yes\n");
else printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196012/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196012/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int a, b, c;
char buf[100], buf2[100], buf3[100];
scanf("%s %s %s", buf, buf2, buf3);
a = atoi(buf);
b = atoi(buf2);
c = atoi(buf3);
printf("%s\n", a < b ? (b < c ? "Yes" : "No") : "No");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196056/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196056/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 MAX 100
int main(){
char c, input[MAX+1], output[2*MAX];
int i, head = 0, deci_pos = -1, whole_num;
while( (c = getchar())!= '\n' && c != '.' )
input[head++] = c;
if( c == '.' ){
deci_pos = head;
input[head++] = '... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_1961/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_1961/source.c"
target datalayout = "e-m:e-p270: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_unnamed... |
#include<stdio.h>
int gcd(int a, int b)
{
if (a == 0)
return b;
return gcd(b % a, a);
}
// Function to return LCM of two numbers
int lcm(int a, int b)
{
return (a / gcd(a, b)) * b;
}
int main(){
int t,n,k,i,x;
scanf("%d",&t);
while(t--){
scanf("%d %d",&n,&k);
x=n;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19615/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19615/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main()
{
int a, b, c;
scanf("%d", &a); scanf("%d", &b); scanf("%d", &c);
if (a < b)
{
if (b < c)
{
printf("Yes\n");
}
else
{
printf("No\n");
}
}
else
{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196193/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196193/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b&&b<c){printf("Yes\n");}
else{printf("No\n");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196236/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196236/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int n;
scanf("%d",&n);
int Array[n];
int number[101] = {0};
int Answer[n];
// int unique = 0;
for(int i=0;i<n;i++)
{
scanf("%d",&Array[i]);
// if(num... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19628/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19628/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 t, n, m, i, j, opt;
long a, count[100000];
scanf("%d", &t);
while (t--) {
scanf("%d%d", &n, &m);
i=0;
while(i<m){
count[i] = 0;
i++;
}
opt = 0;
i=0;
while(i<n){
scanf("%ld", ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19633/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19633/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main(void)
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a<b&&b<c)
{
printf("Yes\n");
}
else
{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196373/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196373/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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=0,b=0,c=0;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if(a<b&&b<c){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196416/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196416/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a<b && b<c){
printf("Yes\n");
}
else {
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196474/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196474/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a < b){
if(b < c){
puts("Yes");
}else{
puts("No");
}}else{
puts("No");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196517/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196517/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,c_sub_b,b_sub_a;
scanf("%d %d %d",&a,&b,&c);
c_sub_b=c-b;
b_sub_a=b-a;
if(c_sub_b>0&&b_sub_a>0){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196560/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196560/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a<b&&b<c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196603/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196603/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a < b && b < c)
{
printf("Yes\n");
}
else
{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196654/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196654/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c){
printf("Yes\n");
}
else {
printf("No\n");
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196698/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196698/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b&&b<c){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196740/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196740/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b && b<c){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0 ;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196784/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196784/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d\n", &a, &b, &c);
if(0<=a && a<=100)
if(0<=b && b<=100)
if(0<=c && c<=100)
if(a < b && b < c && a < c) printf("Yes\n");
else printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196827/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196827/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a < b && b < c){
printf("Yes\n");
}
else {
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196906/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196906/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b && b<c){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_196957/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_196957/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 r1,r2,c1,c2,d1,d2;
int t1,t2,b1,b2;
scanf ("%d%d%d%d%d%d", &r1,&r2,&c1,&c2,&d1,&d2);
t1 = (r1 + c1 - d2);
// printf ("t1 is %d\n", t1);
if (t1%2){
printf ("-1\n");return 0;}
else t1 /= 2;
t2 = (r1 + c2 - d1);
if (t2%2){
printf ("-1\n");return 0;}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_1970/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_1970/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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<string.h>
char str[1000000];
int main()
{
long i,j,k,l,n,ans=0;
int pos[1000];
scanf("%ld",&l);
scanf("%s",str);
if(l>26)
{
printf("-1\n");
return 0;
}
for(i=0;i<200;i++)
pos[i]=0;
for(i=0;i<l;i++)
{
if(pos[str[i]]==0)
pos[str[i]]=1;
else
ans++;
}
printf("%ld\n",an... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19705/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19705/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include <stdio.h>
int main(){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a<b && b<c) printf("Yes\n");
else printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197093/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197093/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[]) {
// insert code here...
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a<b){
if(b<c){
printf("Yes\n");
}else{
printf("No\n");
}
}else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197143/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197143/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*
* a.c
*
* Created on: 2017/06/13
* Author: AWV060608
*/
#include <stdio.h>
int main(void)
{
int a, b, c;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if(( a < b ) && ( b < c))
{
printf("Yes\n");
}
else
{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197187/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197187/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 comp(const void *a,const void *b)
{ return *(int *)b-*(int *)a;
}
int main()
{ int N;
scanf("%d",&N);
char *s;
s=(char *)malloc(N*sizeof(char));
scanf("%s",s);
int i;
int a[26]={0};
for(i=0;i<N;i++)
{ a[s[i]-97]++;
}
qsort(a,26,sizeof(int),comp);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_19723/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_19723/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main (void){
int a,b,c;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if(a<b&&b<c){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197273/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197273/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a<b && b<c) printf("Yes\n");
else printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197330/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197330/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a < b && b < c){
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197374/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197374/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a < b && b < c) printf("Yes\n");
else printf("No\n");
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197424/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197424/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d%d%d", &a, &b, &c);
if((a < b) && (b < c)){
printf("Yes\n");
} else{
printf("No\n");
}
return(0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197475/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197475/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d%d%d",&a,&b,&c);
if(a<b&&b<c){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197518/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197518/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if(a < b && b < c){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197561/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197561/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b && b<c){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197611/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197611/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if(a<b&&b<c){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197662/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197662/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
if(x<y&&y<z){
printf("Yes\n");
}
else {
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197705/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197705/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a < b && b < c && a < c){
printf("Yes\n");
}else
{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197763/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197763/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d\n", &a, &b,&c);
if (a < b && b < c){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197806/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197806/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b&&b<c)printf("Yes\n");
else
printf("No\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197864/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197864/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a < b && b < c){
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197914/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197914/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a<b && b<c)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_197965/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_197965/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b && b<c){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198007/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198007/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ;
scanf("%d %d %d",&a, &b, &c);
if((a<b) && (b<c) && (a<c)) printf("Yes\n");
else printf("No\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198050/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198050/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a, &b, &c);
if(a < b && b < c){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198094/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198094/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 *argv[]){
int a,b,c;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if( a<b && b<c ){
printf("Yes\n");
}
else
printf("No\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198144/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198144/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a, b, c = 0;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes\n");
else
printf("No\n");
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198188/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198188/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int b;
int c;
scanf("%d %d %d",&a,&b,&c);
if(a < b && b < c){
printf("Yes\n");
}else{printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198230/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198230/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 *argv[])
{
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if ((a < b) && (b < c))
puts("Yes");
else
puts("No");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198281/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198281/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d", &a,&b,&c);
if(a<b && b<c){
printf("Yes");
}else{
printf("No");
}
printf("\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198324/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198324/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a<b&&b<c){
printf("Yes\n");
}else{
printf("No\n");
}
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198368/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198368/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d %d",&a,&b,&c);
if(a < b && b < c){
printf("Yes\n");
}
else {
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198410/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198410/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d%d%d",&a,&b,&c);
if(a < b && b < c){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_198454/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_198454/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.