Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int pop();
void push();
int main() {
int x,y,top=0;
char p[100];
while(scanf("%s",p) != EOF) {
if(p[0] == '+') {
x = pop();
y = pop();
push(x + y);
}
else if(p[0] == '-') {
y = pop();
x = pop();
push(x - y);... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286583/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286583/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 top,N[1000];
void push(int p){
N[++top]=p;
}
int pop(){
top--;
return N[top+1];
}
int main(){
int x,y;
top=0;
char n[100];
while(1){
if(scanf("%s",n)==EOF) break;
if(n[0]=='+'){
x=pop();
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286626/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286626/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@N = dso_local local_unname... |
#include<stdio.h>
int main()
{
long long int a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0;
long long int ara[1000];
scanf("%lld",&a);
for(b=0;b<a;b++)
{
scanf("%lld",&ara[b]);
}
for(c=0;c<a;c++)
{
for(d=c+1;d<a;d++)
{
if(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28667/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28667/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main(){
int x;
char s[100];
int stack[100];
int i=0;
/* 逆ポーランドの計算 */
while( scanf("%s", s) != EOF ){
if ( s[0] == '+' ){
stack[i-2]=stack[i-1]+stack[i-2];
i--;
} else if ( s[0] == '-' ){
stack[i-2]=stack[i-2]-stack[i-1... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286727/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286727/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 top = 0, S[1000];
void push(int x) {
S[++top] = x;
}
int pop(void) {
top--;
return S[top+1];
}
int main(void) {
int a, b;
top = 0;
char s[100];
while(scanf("%s",s) != EOF) {
if(s[0] == '+') {
a = pop();
b = pop();
pus... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286770/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286770/source.c"
target datalayout = "e-m:e-p270: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>
#include<stdlib.h>
#include<string.h>
int top, S[1000];
void push(int x){
S[++top] = x;
}
int pop(){
top--;
return S[top+1];
}
int main(){
int a,b;
top = 0;
char s[100];
while(scanf("%s",s) != EOF){
if(s[0] == '+'){
a = pop();
b = pop... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286813/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286813/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S = dso_local local_unname... |
#include<stdio.h>
#include<stdlib.h>
int num[100],top=0;
void push(int);
int pop(void);
int main(){
int x,y;
char S[100];
while((scanf(" %s", S)) != EOF){
if(S[0] == '+'){
y = pop();
x = pop();
push(x + y);
}
else if(S[0] == '-'){
y = pop();
x = pop();
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286857/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286857/source.c"
target datalayout = "e-m:e-p270: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>
#include<stdlib.h>
#include<string.h>
int s,a[1000];
void b(int );
int c();
int main()
{
int i,j;
s = 0;
char n[100];
while(scanf("%s",n)!=EOF)
{
if(n[0]=='+')
{
i=c();
j=c();
b(i+j);
}
else if(n[0]=='-')
{
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286921/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286921/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@s = dso_local local_unname... |
#include <stdio.h>
#include <stdlib.h>
#define N 100
int main(){
char A[N];
int B[N],i=0;
while(scanf("%s",A)!=EOF){
if(A[0]=='+'){
B[i-2]=B[i-2]+B[i-1];
i--;
}
else if(A[0]=='-'){
B[i-2]=B[i-2]-B[i-1];
i--;
}
else if(A[0]=='*'){
B[i-2]=B[i-2]*B[i-1];
i--... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_286965/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_286965/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 N 100
void push(int);
int pop();
int top,S[1000];
int main(){
int x,y;
char s[100];
top=0;
while(scanf("%s",s)!= EOF){
if(s[0]== '+'){
x=pop();
y=pop();
push(x+y);
}
else if(s[0]=='-'){
x=pop();
y=pop()... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287021/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287021/source.c"
target datalayout = "e-m:e-p270: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>
#include<stdlib.h>
#include<ctype.h>
#define N 100
double pop();
void push(double );
char s[N];
int i=0;
int main(){
//int c;
char x;
double a,b,c;
while(scanf("%c",&x) != EOF){
if(isdigit(x)){
//scanf("%d",&x);
//c=atoi(x);
push(x-'0');
}else{
switch(x){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287065/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287065/source.c"
target datalayout = "e-m:e-p270: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>
#include<stdlib.h>
#include<string.h>
int top = 0;
int S[1000];
void push(int x);
int pop();
void push(int x)
{
top++;
S[top] = x;
}
int pop()
{
top--;
return S[top+1];
}
int main(void)
{
int a, b;
top=0;
char s[100];
while( scanf("%s", s) != EOF)
{
if( s[0] == '+')
{
a = p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287108/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287108/source.c"
target datalayout = "e-m:e-p270: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>
#include<stdlib.h>
int main(){
int stack[200],k=0;
char s[20];
stack[0]=0;
while(scanf("%s",s)!=EOF){
if(s[0]=='+'){
k--;
stack[k]=stack[k]+stack[k+1];
}
else if(s[0]=='-'){
k--;
stack[k]=stack[k]-stack[k+1];
}
else if(s[0]=='*'){
k--;
stack[k]=stack[k]*stack[k+1];
}
else{
k++;
stack[k]=atoi(s);
}
}
p... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287151/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287151/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 top = 0, S[1000];
void push(int x){
S[++top] = x;
}
int pop(void){
top--;
return S[top + 1];
}
int main(void){
int a, b;
top = 0;
char s[100];
while(scanf("%s", s) != EOF){
if(s[0] == '+'){
a = pop();
b = pop();
push(a + b);
} else if(s... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287195/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287195/source.c"
target datalayout = "e-m:e-p270: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>
#include<stdlib.h>
#include<string.h>
int top,S[1000];
void push(int x){
S[++top]=x;
}
int pop(){
top--;
return S[top+1];
}
int main(){
int a,b;
top=0;
char s[100];
while(scanf("%s",s)!=EOF){
if(s[0]=='+'){
a=pop();
b=pop();
push(a+b);
}els... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287238/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287238/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S = dso_local local_unname... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void push(int a);
int pop(void);
int top;
int stack[200];
int main(void)
{
int m,n;
char data[100];
while(scanf("%s",data) != -1){
if(data[0] == '+'){
m = pop();
n = pop();
push(m+n);
} else if (data[0] == '-'){
n... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287281/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287281/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
void push(int);
int pop();
int top,B[1000];
int main ()
{
int a1,a2,top;
char A[100];
while(scanf("%s",A) != EOF)
{
if(A[0] == '+')
{
a1 = pop();
a2 = pop();
push(a1 + a2);
} else if(A[0] == '-')
{
a1 = pop();
a2 = pop();
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287324/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287324/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
typedef struct {
int num[100];
}Record;
Record push(int);
int size = 0;
int main () {
char c[100];
Record data;
int i, j = 0, sum = 0, x = 1;
while(scanf("%s",c) != EOF) {
sum = 0;
x = 1;
if(c[0] == '+') {
for(i = size - 2... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287368/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287368/source.c"
target datalayout = "e-m:e-p270: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.Record = type { [10... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void push(int);
int pop(void);
int top=0;
int stack[100];
int main(){
int x,a,b;
char s[100];
while(scanf("%s", s) != EOF){
if(s[0] == '+'){
x = pop() + pop();
push(x);
} else if(s[0] == '-'){
a = pop();
b = pop();
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287410/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287410/source.c"
target datalayout = "e-m:e-p270: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>
#include <stdlib.h>
#include <string.h>
int top,S[10000];
void push(int x){
//topを加算してからその位置に挿入
S[++top] = x;
}
int pop(){
top--;
return S[top + 1]; //topが差していた中身を返す
}
int main()
{
int a,b;
top = 0;
char s[100];
while(scanf("%s",s) != EOF)
{
if( s[... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287461/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287461/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S = dso_local local_unname... |
#include <stdio.h>
int main(){
int n,k,c,p[200005],i,j,m;
char s[200005];
scanf("%d",&n);
scanf("%d",&k);
scanf("%d",&c);
scanf("%s",&s);
if(c==0){
m=0;
for(i=0;i<n;i++){
if(s[i]=='o') m++;
}
if(k==m){
for(i=0;i<n;i++){
if(s[i]=='o'){
printf("%d\n",i+1);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287504/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287504/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
#define BIG 2000000007
#define MOD 1000000007
typedef unsigned long long ull;
typedef signed long long sll;
#define N_MAX 200000
#define M_MAX 200000
typedef struct {
i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287555/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287555/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.hw = type { i32, i3... |
#include<stdio.h>
int MIN(int a,int b){return a<b?a:b;}
int main(){
int n,m,r,i,j,k,d[210][210],dp[300][10],g[20];
scanf("%d %d %d",&n,&m,&r);
for(i=0;i<r;i++)scanf("%d",&g[i]);
for(i=0;i<r;i++)g[i]--;
for(i=0;i<n*n;i++)d[i/n][i%n]=i%n==i/n?0:1e9;
while(m--){
scanf("%d %d %d",&i,&j,&k);
d[i-1][j-1]=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287599/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287599/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a,b,c,d,i;
d=0;
while(1)
{
c=0;
scanf("%d%d",&a,&b);
if(a==0&&b==0)
{
break;
}
if(d==1)
{
printf("\n");
}
for(i=a;i<=b;i++)
{
if(i%400==0)
{
printf("%d\n",i);
c=1;
}
if(i%4==0)
{
if(i%100!=0)
{
printf("%d\n",i);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287641/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287641/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#define MAX_LEN 20
int main(){
char buf[MAX_LEN];
int y1,y2,i,cnt;
int first=1;
while(fgets(buf,MAX_LEN,stdin)!=NULL){
if(sscanf(buf,"%d %d",&y1,&y2)<2){
fprintf(stderr,"error:invalid input\n");
}else if((y1==0)&&(y2==0)){
break;
}else{
if(first){
first = 0;
}else{
pri... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287706/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287706/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = external local_unn... |
#include <stdio.h>
int main(void) {
int leap_year[3001] = {0};
int i, a, b;
const char *result, *separator = "";
for (i = 0; i < 3001; i++) {
leap_year[i] = (i % 4 == 0 && i % 100) || (i % 400 == 0);
}
while (1) {
scanf("%d %d", &a, &b);
if (!a && !b)
break;
printf("%s", separator);
result = "NA\... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287757/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287757/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,kin=4280;
scanf("%d",&a);
while(a>=0){
kin=kin-1150;
a-=10;
if(a>0&&a<=10){
kin-=125*a;
a-=10;
}
else if(a>10){
kin-=1250;
a-=10;
}
if(a>0&&a<=10){
kin-=140*a;
a-=10;
}
else if(a>10){
kin-=1400;
a-=10;
}
if(a>=0){
kin-=160*a;
}
printf("%d\n",kin);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287821/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287821/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,j,x,a,b,p,n;
scanf("%d",&t);
for(p=0;p<t;p++)
{
scanf("%d%d%d%d",&n,&x,&a,&b);
int y,z;
int ans=a-b;
if(ans<0)
ans=ans*(-1);
if(a<b)
{
y=a;
z=n-b;
y+=z;
y--;
}
else
{
y=b;
z=n-a;
y+=z;
y--;
}
if(y>=x)
ans+=x;
else
{
a... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28788/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28788/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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>
//CODED BY SAYEM MD. NAFI
int main()
{
int TEST, STUDENTS, SWAP, P1, P2, DISTANCE, TEMP;
scanf("%d", &TEST);
while(TEST--) {
scanf("%d %d %d %d", &STUDENTS, &SWAP, &P1, &P2);
if(P1 > P2) {
TEMP = P1;
P1 = P2;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28793/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28793/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr ... |
#include<stdio.h>
int main(void)
{
int n;
int a;
long long int s;
int i;
s=0;
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%d",&a);
s+=a;
}
s=s/n;
printf("%d\n",s);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_287973/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_287973/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int N;
scanf("%d", &N);
int s[100];
int sum = 0;
int min = 100;
for (int i = 0; i < N; i++) {
scanf("%d", &s[i]);
sum += s[i];
}
/* ↑総和を求める */
/* ↓総和が10の倍数ならば10の倍数でない最小値を探し総和から引く そうでないならsum出力 すべて10の倍数のときは0出力 */
if (sum % 10 == 0){
for (int i = 0; i < N; i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288022/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288022/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,j,ii,tmp;
int sum2=0;
int undiv[100]={0};
scanf("%d",&n);
//int *point;
//point = (int*)malloc(n*sizeof(int));
for(i=0,j=0;i<n;i++){
scanf("%d",&tmp);
if(tmp%10){
undiv[j]=tmp;
j++;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288080/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288080/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
long N,h,w,n;
scanf("%ld",&N);
for(h=1;h<=3500;h++){
for(n=1;n<=3500;n++){
if(4*n*h != N*(n+h)){
if((h*n*N)/(4*h*n-N*(n+h)) >0 && (h*n*N)%(4*h*n-N*(n+h)) == 0){
printf("%ld %ld %ld\n",h,n,((h*n*N)/(4*h*n-N*(n+h))));
return 0;
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288130/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288130/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,m,WA=0,AC=0;
scanf("%d%d",&n,&m);
int a,wc[100000]={};//なんこ目の問題か
char s[3];
for(int i=0;i<m;i++){
scanf("%d %s",&a,s);
if(wc[a]==-1)continue;
if(s[0]=='W')wc[a]++;
else {
WA+=wc[a];
wc[a]=-1;
AC++;
}
}
printf("%d %d",AC,WA);... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288174/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288174/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 flag[112345]; //vetor de flags para cada numero de questao.
int kk[112345];
int main() {
char s[3];
int n, m, p, a, b, negativo=0;
scanf("%d%d", &n, &m);
a = b = 0;
while (m--) {
scanf("%d%s", &p, s);
if (!flag[p] && s[0] == 'A'){
a++;
b+= kk[p];
flag[p]= ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288217/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288217/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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(){
int n,m;
int *result;
int i;
int tmp;
int *success;
int *penalty;
int total_s=0,total_p=0;
char tmp_s[3];
char *ac="AC";
char *wa="WA";
scanf("%d %d",&n,&m);
result=(int*)malloc(sizeof(int)*n);
success=(int*)malloc(size... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288268/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288268/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a, b;
scanf("%d%d", &a, &b); /*入力部分*/
if (a < b){
printf("a < b\n");
}
if (a > b){
printf("a > b\n");
}
if (a == b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288310/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288310/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d", &a, &b);
if (a < b){
printf("a < b\n");
}
else if (a > b){
printf("a > b\n");
}
else {
printf("a == b\n");
}
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288376/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a,b;
scanf("%d%d",&a,&b);
if(a<b){
printf("a < b\n");
}
else if(a>b){
printf("a > b\n");
}
else printf("a == b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288419/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288419/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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)
{
long long n, m, k, d, fd;
scanf("%lld %lld %lld", &n, &m, &k);
if (k < n) {
printf("%lld 1", k + 1);
} else if (k < n + m - 1) {
printf("%lld %lld", n, 1 + k - (n - 1));
} else {
k -= (n - 1) + (m - 1);
d = k / (m - 1);
f... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28847/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28847/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,r=0,m=0;
char e;
scanf("%d%c",&n,&e);
char a;
for(i=0;i<n;i++){
scanf("%c",&a);
if(a==48) r++;
if(a==49) m++;
}
if(m==0)
printf("0");
if(m!=0){
printf("1");
for(i=0;i<r;i++) printf("0");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28852/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28852/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
scanf("%d %d", &a, &b);
if (a > b) {
printf("a > b");
} else if(a < b) {
printf("a < b");
} else {
printf("a == b");
}
puts("");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288570/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288570/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void){
int a , b ;
scanf("%d %d",&a,&b);
if(a<b){
printf("a < b\n");
}
else if(a>b){
printf("a > b\n");
}
else if(a == b){
printf("a == b\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288642/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288642/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(void)
{
int a, b;
scanf("%d%d",&a, &b);
if( a == b ) printf("a == b\n");
if( a > b ) printf("a > b\n");
if( a < b ) printf("a < b\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288693/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288693/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int a, b;
scanf("%d %d", &a, &b);
if (a < b)
puts("a < b");
else if(a > b)
puts("a > b");
else
puts("a == b");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288736/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288736/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
int main()
{
int t,n,m,i,num,j,sum,k,flot;
char a[150];
memset(a, 0 ,sizeof(a));
scanf("%d", &t);
scanf("%s", a);
k = strlen(a);
sum = 0;
flot = 0;
for(i=0; i<k; i++)
{
if(a[i] == '0')
{
sum ++;
}
if(a[i]=='1')
{
flot = 1;
}
}
if(flot==1)
{
printf("... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28878/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28878/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
scanf("%d %d", &a, &b);
if (a < b){
printf("a < b\n");
}
else if (a > b){
printf("a > b\n");
}
else {
printf("a == b\n");
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288837/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288837/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
#define LL long long
#define DB double
#define INF 1145141919810364364
#define PI 3.14159265358979
#define MIN(x,y) ((x)<(y)?(x):(y))
#define MAX(x,y) ((x)<(y)?(y):(x))
#define FOR(i,a,n) for(i=a;i<n;i++)
#define MOD 10000... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288888/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288888/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fact = dso_local local_unn... |
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#define P 1000000007
int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}
int gcd2(int a, int b){
int t;
if(a>b) t=a, a=b, b=t;
t = b % a;
while(... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_288930/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_288930/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#define MAX 150
int length(int h, int w) {return h * h + w * w;}
int lessOrEqual(int h1, int w1, int h2, int w2) {
int l1 = length(h1, w1);
int l2 = length(h2, w2);
if(l1 != l2) return l1 < l2;
return h1 <= h2;
}
int main(void) {
int h, w;
int answerH, answerW;
int i, ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289030/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289030/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 INF (1e9+1)
typedef struct state{
int pos,cost;
} state;
state A[2000001];
int N=0;
int parent(int i){return i/2;}
int left(int i){return i*2;}
int right(int i){return i*2+1;}
void exchange(state* a,state* b){
state tmp=*a;
*a=*b;
*b=tmp;
}
void minHeapi... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289096/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289096/source.c"
target datalayout = "e-m:e-p270: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.state = type { i32,... |
#include<stdio.h>
#include<stdlib.h>
struct node{
int key;
int w;
struct node *next;
};
typedef struct node * Nodepointer;
Nodepointer G[10001];
Nodepointer MakeNode(int key,int w,Nodepointer Node){
Nodepointer n;
n=(Nodepointer)malloc(sizeof(struct node));
n->key = key;
n->w = w;
n->next = Node;
re... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289139/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289139/source.c"
target datalayout = "e-m:e-p270: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>
#include <limits.h>
#include <math.h>
struct STRUCT00 {
int MEMBER00 ;
int MEMBER01 ;
int MEMBER02 ;
int * * MEMBER03 ;
} ;
int VAR00 ;
struct STRUCT00 * VAR01 ;
void FUNC00 ( int * ARG00 , int ARG01 ) ;
int FUNC01 ( int * ARG02 ) ;
void FUNC02 ( int * ARG03 , int ARG04... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289182/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289182/source.c"
target datalayout = "e-m:e-p270: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.STRUCT00 = type { i... |
#include <stdio.h>
#include<stdlib.h>
#define N 100000
#define INF 1000000
typedef struct{
int go, back, cost;
}Date;
int n, d[N];
Date a[500000];
void root(int);
int main(){
int i, j, u, k, count = 0;
scanf("%d", &n);
for( i = 0 ; i < n ; i++) {
scanf("%d%d", &u, &k);
for( j = 0 ; j < k ; j++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289225/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289225/source.c"
target datalayout = "e-m:e-p270: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.Date = type { i32, ... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define FOR(n) for(int i=0;i<n;i++)
#define FORJ(n) for(int j=0;j<n;j++)
#define PRN(n) printf("%d\n",n)
#define PRF(n) printf("%lf\n",n)
#define PRL(n) printf("%lld\n",n)
#define PRS(s) printf("%s\n",s)
#define PRC(c) printf("%c",c)
#define mod 1... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289283/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289283/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int H, W;
int i, j;
for (;;){
scanf("%d %d", &H, &W);
if (H == 0 && W == 0){
break;
}
for (i = 0; i < H; i++){
for(j = 0; j < W; j++){
printf("#");
}
printf("\n");
}
printf("\n");
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289384/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289384/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int h,w,i,j;
while(1){
scanf("%d%d",&h,&w);
if(!h&&!w)
return 0;
for(i=0;i<h;i++){
for(j=0;j<w;j++)
printf("#");
printf("\n");
}
printf("\n");
}
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289434/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289434/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[100],w[100],i=0,j,k=0;
scanf("%d%d",&h[i],&w[i]);
while(h[i]||w[i]){
i++;
scanf("%d%d",&h[i],&w[i]);
}
while(h[k]||w[k]){
for(j=0;j<h[k];j++){
for(i=0;i<w[k];i++){
printf("#");
}
printf("\n");
}
printf("\n");
k++;
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289485/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289485/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,i,j;
while(1){
scanf("%d %d",&a,&b);
if(a==0&&b==0){
break;
}
for(i=0;i<a;i++){
for(j=0;j<b;j++){
printf("#");
}
puts("");
}
puts("");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289542/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289542/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 isprime(int n)
{
int x;
if(n <= 2) return 1;
for(x = 2; x*x <= n; x++)
{
if(!(n%x))
return 0;
}
return 1;
}
int main()
{
int x,y,z,i,j,k,a,b,c,n,m,t;
long long res;
scanf("%d",&t);
while(t--)
{
res = 1;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28960/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28960/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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)
{
char n;
scanf("%c",&n);
if(n>='a'&&n<='z') printf("a\n");
else printf("A\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289672/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289672/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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)
{
char N;
scanf("%c",&N);
if(N<=96)
printf("A\n");
else
printf("a\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289715/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289715/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
char a;
scanf("%c", &a);
if((a >= 'a') && (a <= 'z')) {
printf("a");
}else if((a >= 'A') && (a <= 'Z')) {
printf("A");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289759/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289759/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){
char a;
scanf("%c", &a);
if((a >= 'a') && (a <= 'z')){
printf("%c\n", 'a');
} else if((a >= 'A') && (a <= 'Z')) {
printf("%c\n", 'A');
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289801/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289801/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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)
{
char a;
scanf("%c",&a);
if(a > 96){
printf("a\n");
} else {
printf("A\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289852/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289852/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
/****************************************\
| Thank you for viewing my code:) |
| Written by RedSpica a.k.a. RanseMirage |
| Twitter:@asakaakasaka |
\****************************************/
int main(void){
char c;
scanf("%c",&c);
printf("%c\n",'a'-32*(c-'A'<27)... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289896/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289896/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n;
scanf("%c",&n);
if(n>='A'&&n<='Z'){
printf("A\n");
}else{
printf("a\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_289939/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_289939/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 isprime(int a){
int flag=0;
for(int i=2;i<=a/2;i++){
if(a%i==0){
flag=1;
break;
}
}
return flag;
}
int main()
{
int t;
scanf("%d",&t);
for(int i=0;i<t;i++){
int d;
scanf("%d",&d);
in... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_28999/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_28999/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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)
{
char a;
if (fscanf(stdin, "%c", &a) == EOF) {
return 1;
}
if (a >= 'A' && a <= 'Z') {
printf("A\n");
} else if (a >= 'a' && a <= 'z') {
printf("a\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290030/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290030/source.c"
target datalayout = "e-m:e-p270: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>
signed main(){
char a;
scanf("%c",&a);
if(a<'a'){
printf("A\n");
}else{
printf("a\n");
}
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290074/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290074/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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<ctype.h>
int main()
{
char alpha;
scanf("%c",&alpha);
if(islower(alpha))printf("a");
else printf("A");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290117/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290117/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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){
char s;
scanf("%s",&s);
if(s>=97&&s<=122)
printf("a");
else printf("A");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290160/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290160/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 c;
scanf("%c", &c);
if (c >= 'A' && c <= 'Z')
printf("A\n");
else
printf("a\n");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290203/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290203/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*
* FileName: D_model
* CreatedDate: 2020-06-28 10:07:57 +0900
* LastModified: 2020-06-28 10:08:08 +0900
*/
#include<stdio.h>
int main(){
long long n;
scanf("%lld\n",&n);
int ans=0;
for(long long i=2;i*i<=n;i++)if(n%i==0){
int cnt=0;
while(n%i==0)n/=i,cnt++;
for(int j=1;j<=cnt;j++){
cnt-=j;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290247/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290247/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
long long primeFactorization(long long a,int num,int count[10000]){ //素因数分解を出力するプログラム
long long i,sq;
if(a%2==0){ //偶数の場合
while(a%2==0){
count[num]++;
a/=2;
}
num+=1;
return primeFactorization(a,num,count); //2で割った値で再帰
}
sq = sqr... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290290/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290290/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, m, n, cnt1, cnt2=0, ans;
scanf("%d%d", &m , &n);
for(i = 0; i < m; i++){
cnt1 = 0;
for(j = 0; j < n; j++){
scanf("%d", &ans);
if(ans == 1) cnt1++;
}
if(cnt2 < cnt1) cnt2 = cnt1;
}
printf("%d\n", cnt2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290340/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290340/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int i,n,k,result=1;
scanf("%d %d",&n,&k);
for(i=0;i<n;i++){
if(i==0){
result*=k;
} else {
result*=(k-1);
}
}
printf("%d",result);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290391/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290391/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a,b;
scanf("%d%d",&a,&b);
b=b*(pow(b-1,a-1));
printf("%d\n",b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290434/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290434/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n,k;
scanf("%d%d",&n,&k);
int ans=k,i=1;
for(i;i<=n-1;i++)
{ans *= (k-1);}
printf("%d\n",ans);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290478/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290478/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int P = 1;
scanf("%d %d", &N, &K);
for (i = 1; i < N; i++)
{
P *= (K - 1);
}
P *= K;
printf("%d\n", P);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290520/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290520/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, ko, colar, ans;
scanf("%d %d", &ko, &colar);
ans = colar;
for (i = 1; i < ko; i++)
ans *= (colar - 1);
printf("%d",ans);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290564/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290564/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
/*
AOJ 1082
Title:11224111122411
@kankichi573
2014/2/18 TLE
*/
#include <stdio.h>
#include <string.h>
#define min(x,y) (((x)<(y))?(x):(y))
#define LIMIT 100000
char input[100001];
long long memo[2][LIMIT];
int calc_max(int n)
{
if(n==8 || n==0)
return(3);
else
return(5);
}
unsigned long long bunk... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290607/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290607/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@memo = dso_local local_unn... |
#include <stdio.h>
int main(void){
int x;
scanf("%d", &x);
if (x < 1200) {
printf("ABC\n");
} else {
printf("ARC\n");
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290658/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290658/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
if(n>=1200){
printf("ARC\n");
}
else{
printf("ABC\n");
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290700/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290700/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#include <string.h>
int main(){
int x;
scanf("%d", &x);
if(x < 1200){
printf("ABC");
}else{
printf("ARC");
}
printf("\n");
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290751/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290751/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
int main(){
int x;
scanf("%d",&x);
if(x<1200)printf("ABC");
else printf("ARC");
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290795/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290795/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d", &x);
puts(x < 1200 ? "ABC" : "ARC");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290838/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290838/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d", &x);
if(x < 1200) printf("ABC\n");
else printf("ARC\n");
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290889/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290889/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d",&x);
if( x < 1200 ) puts("ABC");
else{ puts("ARC");}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290931/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290931/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ramen=700;
char topping[10];
scanf("%s",topping);
if (topping[0]=='o') ramen +=100;
if (topping[1]=='o') ramen +=100;
if (topping[2]=='o') ramen +=100;
printf ("%d",ramen);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_290982/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_290982/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
#define MAX_LEN 4
int
main(void)
{
char S[MAX_LEN];
scanf("%s", S);
int res = 700;
int i;
for (i = 0; i < 3; i++)
if (S[i] == 'o')
res += 100;
printf("%d\n", res);
return (0);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291024/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291024/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int x=0;
char a[3];
scanf("%s",&a);
for (int i = 0; i < 3; ++i)
{
if (a[i]=='o')
{
x=x+100;
}
}
printf("%d\n",700+x);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291068/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291068/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, i, price=700;
char topping;
for(i=0; i<3; i++){
scanf(" %c", &topping);
if(topping=='o'){
price += 100;
}
}
printf("%d", price);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291118/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291118/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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=700;
char s[101];
scanf("%s", s);
if (s[0]=='o') {
a += 100;
}
if (s[1]=='o') {
a += 100;
}
if (s[2]=='o') {
a += 100;
}
printf("%d", a);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291176/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291176/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 string[4];
int count = 0;
int i;
scanf("%s", string);
for(i = 0; i < 3; i++){
if (string[i] == 'o'){
count += 1;
}
}
printf("%d\n",700 + 100 * count);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291226/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291226/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
typedef long long int LL;
const int M = 200005;
int main(){
int t=1;
scanf("%i",&t);
while(t--){
LL n;
scanf("%lld",&n);
int i;
char a[M];
a[0] = 0;
getchar();
for(i=1;i<=n;i++)
a[i] = getchar() - '0';
a[n+1] = ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_29127/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_29127/source.c"
target datalayout = "e-m:e-p270: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_unnamed_... |
#include <stdio.h>
int main()
{
int t;
scanf("%d",&t);
while(t--){
int p;
scanf("%d",&p);
printf("2 %d\n",p-1);
}
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_29132/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_29132/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 722
typedef struct {
int t;
int m;
int s;
}Log;
int main(){
int N; //PC
int M; //テ・ツュツヲテァツ板?
Log data[1000];
int log[MAX];
int r;
int Q,T;
int i,j;
while(scanf("%d%d",&N,&M),N!=0&&M!=0){
scanf("%d",&r);
for(i=0;i<r;i++){
scanf("%d%d%d%d",&data[i].t,... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291363/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291363/source.c"
target datalayout = "e-m:e-p270: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.Log = type { i32, i... |
#include <stdio.h>
#include <string.h>
int main(void){
int n,i,alp[26];
char str[101];
scanf("%s",str);
n=strlen(str);
for(i=0;i<26;i++)
alp[i]=0;
for(i=0;i<n;i++)
alp[str[i]-'a']++;
for(i=0;i<26;i++)
if(alp[i]%2!=0){printf("No\n");return 0;}
printf("Yes\n");
return 0;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291413/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291413/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<string.h>
int main(){
char str[100];
int judge=0;
int no_flag=0;
int len;
int i=0,j=0;
scanf("%s",str);
len=strlen(str);
for(int i=0;i<len;i++){
for(int j=0;j<len;j++){
if(str[i]==str[j]){
judge++;
}
}
if(judge%2==1){
no_flag++;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_291471/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_291471/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.