Source_Code stringlengths 69 484k | IR_Original stringlengths 2.05k 17.9M |
|---|---|
#include<stdio.h>
int main() {
int i, f = -1, s = -1, t = -1, n;
for (i = 0; i < 10; i ++) {
scanf("%d", &n);
if (n >= f) {
t = s; s = f; f = n;
} else if (n >= s) {
t = s; s = n;
} else if (n >= t) {
t = n;
}
}
printf("%d\n%d\n%d\n", f, s, t);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304300/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304300/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 m[4]={0},tmp1,tmp2,i,j,k;
/*input*/
for(i=1;i<=10;i++){
scanf("%d",&tmp1);
j=2;
while(j>=0 && m[j]<tmp1){
m[j+1] = m[j];
j--;
}
m[j+1] = tmp1;
}
/*output*/
for(k=0;k<3;k++){
printf("%d\n",m[k]);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304351/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304351/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,m,yama[11]={0};
for(i=0;i<10;i++){
scanf("%d",&yama[i]);
}
for(i=0;i<3;i++){
for(j=i+1;j<10;j++){
if(yama[i]<yama[j]){
m=yama[i];
yama[i]=yama[j];
yama[j]=m;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304401/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304401/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[11],i,n,t,e,g,r;
for(i=1;i<=10;i++){
scanf("%d",&a[i]);
}
for(i=1;i<=9;i++){
for(n=i+1;n<=10;n++){
if(a[i]<a[n]){
r=a[i];
a[i]=a[n];
a[n]=r;
}}}
printf("%d\n",a[1]);
printf("%d\n",a[2]);
printf("%d\n",a[3]);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304445/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304445/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,max=0,mid=0,min=0,mount;
for(i=0;i<10;i++){
scanf("%d",&mount);
if(mount > max ){
min = mid;
mid = max;
max = mount;
}
else if(mount > mid){
min = mid;
mid = mount;
}
else if(mount > min){
min = mount;
}
}
pr... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304489/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304489/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 max1=0;
int max2=0;
int max3=0;
int i;
int high;
for(i=0;i<10;i++){
scanf("%d", &high);
if(high>=max1){
max3=max2;
max2=max1;
max1=high;
}else if(max1>high && high>=max2){
max3=max2;
max2=high;
}else if(max2>high && high>=... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304546/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304546/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,c,i,max;
scanf("%d %d",&n,&c);
int a[n];
for(i=0;i<n;i++)
scanf("%d",&a[i]);
max=0;
for(i=0;i<n-1;i++)
{
if(a[i]-a[i+1]>max)
max=a[i]-a[i+1];
}
max=max-c;
if(max>0)
printf("%d",max);
else
printf("0");
return ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_30459/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_30459/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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,c,a[100],i,s=0,m=0;
scanf("%d%d",&n,&c);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
if(i>0)
{
if(a[i-1]-a[i]>0)
{s=a[i-1]-a[i];
if(s>m)
{m=s;
}
}
}}
m=m-c;
if(m>0)
printf("%d",m);
else
printf("0");
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_30464/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_30464/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 data[10];
int i,j;
int top3[3];
int max,idx;
for(i=0;i<10;i++){
scanf("%d", &data[i]);
}
for(j=0;j<3;j++){
max=data[0];
idx=0;
for(i=1;i<10;i++){
if(max<data[i]){
max = data[i];
idx = i;
}
}
top3[j] = max;
data[i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304683/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304683/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 LINE_BUF_SIZE 1024
#define NUM_DATA 10
#define SHOW_NUM 3
void BubSort(int x[ ], int n)
{
int i, j, temp;
for (i = 0; i < n - 1; i++) {
for (j = n - 1; j > i; j--) {
if (x[j - 1] < x[j]) {
temp = x[j];
x[j] = ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304726/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304726/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
// OUM NAMA MA SWARASATI
#include"math.h"
#include"stdio.h"
#include"string.h"
#include"stdlib.h"
#define pf printf
#define sf scanf
#define r return
typedef long long int ll;
int main()
{
char s[5000];
int i,c ,st[5005],t;
int a;
memset(st,0,sizeof(st));
for(i=c=0;;i+=1){
sf("%c",&s[i]);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_30477/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_30477/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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 k,rank1,rank2;
int height[11];
int first=0,second=0,third=0;
for(k=1;k<=10;k++){
scanf("%d",&height[k]);
}
for(k=1;k<=10;k++){
if(first<height[k]){
first=height[k];
rank1=k;
}
}
for(k=1;k<=10;k++){
if(second<height[k]&&k!=rank1){
se... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304812/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304812/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[10]={};
int b,c=0,d=0,e=0,f=0,g=0;
for(b=0;b<10;b++){
scanf("%d",&a[b]);
if(c<a[b]){
c=a[b];
d=b;
}
}
for(b=0;b<10;b++){
if(e<a[b]){
if(b==d)continue;
e = a[b];
f = b;
}
}
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304856/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304856/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[11],j,k;
for(j=0;j<10;j++){
scanf("%d",&j[i]);
}
for(j=0;j<3;j++){
for(k=j+1;k<10;k++){
if(i[j]<i[k]){
i[10]=i[j];
i[j]=i[k];
i[k]=i[10];
}
}
printf("%d\n",i[j]);
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304906/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304906/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, input, top[3];
for (i = 0; i <= 2; i++)
top[i] = 0;
for (i = 10; i > 0; i--) {
scanf("%d", &input);
if (input > top[0]) {
top[2] = top[1];
top[1] = top[0];
top[0] = input;
} else if (input > top[1]) {
top[2] = top[1];
top... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_304964/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_304964/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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>
// ranking
#define RANKSIZE 3
// source data
#define SRCSIZE 10
int compare(const void*, const void*);
int main(void)
{
int source[SRCSIZE];
int i;
// get source data
for(i=0; i < SRCSIZE; i++)
scanf("%d", source+i);
qsort(source, SRCSIZE, sizeof(in... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305028/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305028/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 arr[100], tmp, i, j, n = 10;
for(i = 0;i < n;i++)
scanf("%d", &arr[i]);
for(j = 0;j < n - 1; j++){
for(i = 0;i < (n - 1) - j;i++){
if(arr[i] > arr[i +1]){
tmp = arr[i];
arr[i] = arr[i + 1];
arr[i + 1] = tmp;
}
}
}
printf("%d\n", arr[n - 1]);
printf("... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305071/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305071/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[10];
int a[10];
int c,s,o=0;
for(c=0;c<=9;c++){
scanf("%d",&i[c]);
}
c=0;
while(o<10){
for(s=0;s<=9;s++){
if(i[s]==c){
a[o]=i[s];
o++;
}
}
c++;
}
for(c=9;c>6;c--){
printf("%d\n",a[c]);
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305121/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305121/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[10],temp,i,j;
for(i=0;i<10;i++) scanf("%d",a+i);
for(i=0;i<3;i++)
{ for(j=i;j<10;j++)
{
if(*(a+j)>*(a+i))
{
temp=a[j];
a[j]=a[i];
a[i]=temp;
}
}
printf("%d\n",a[i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305165/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305165/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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[10], i, max, t, j=3;
for(i=0; i<10; i++) scanf("%d", &a[i]);
while(j--) {
max=a[0];
for(i=1; i<10; i++) if(a[i]>max) { max=a[i]; t=i; }
printf("%d\n", max);
a[t]=0;
t=0;
}
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305208/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305208/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 hi[10],i,j,k;
for(i=0;i<10;i++){
scanf("%d",&hi[i]);
}
for(i=0;i<10;i++){
for(j=i;j<10;j++){
if(hi[i]<hi[j]){
k=hi[i];
hi[i]=hi[j];
hi[j]=k;
}
}
}
printf("%d\n%d\n%d\n",hi[0],hi[1],hi[2]);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305251/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305251/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a[10];
void insertion();
void insertion()
{
int i,j,t;
for(j=1;j<10;j++)
{
t=a[j];
i=j-1;
while(i>=0 && a[i]>t)
{
a[i+1]=a[i];
i=i-1;
}
a[i+1]=t;
}
}
int main()
{
int i=0;
for(i=0;i<10;i++)
{
s... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305309/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305309/source.c"
target datalayout = "e-m:e-p270: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 global [10 x... |
#include <stdio.h>
int main(){
int man[10] = {0};
int i;
int a = 0;
int max = 0;
int counter = 0;
for (i = 0; i < 10; i++) {
scanf("%d",&man[i]);
}
while (counter < 3) {
for (i = counter; i < 10; i++) {
if (i == counter) {
max = man[i];
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305352/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305352/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 sk,ik,h[10],r[3]={0,0,0};
for(sk=0;sk<10;sk++)
scanf("%d",&h[sk]);
for(ik=0;ik<10;ik++){
if(h[ik]>r[0])
r[2]=r[1],r[1]=r[0],r[0]=h[ik];
else if(h[ik]>r[1])
r[2]=r[1],r[1]=h[ik];
else if(h[ik]>r[2])
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305396/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305396/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int n;
int i, a, b, c;
a = b = c = 0;
for (i = 0; i < 10; i++){
scanf("%d", &n);
if (n >= a){c = b; b = a; a = n;}
else if (n >= b){c = b; b = n;}
else if (n > c)c = n;
}
printf("%d\n%d\n%d\n", a, b, c);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305446/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305446/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#define rep(E, F) for (E = 0; E < (F); E++)
int mabs(int a) { if (a > 0) { return a; } return -a; }
int min(int a, int b) { if (a > b) { return b; } return a; }
int max(int a, int b) { if (a < b) { return b; } return a; }
int get_int();
double get_double();
int ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_30549/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_30549/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str.1 = private unnamed_add... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define MOD1 1000000007
#define MOD2 998244353
#define LIMIT1 200002
#define LIMIT2 500002
typedef long long ll;
typedef long double ld;
#define rep(i,n) for(i=0;i<n;i++)
#define max(a,b) ((a)>(b) ? (a) : (b))
#define min(a,b) ((a)<(b) ? (a) :... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305532/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305532/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dx = dso_local local_unnam... |
#include <stdio.h>
#include <math.h>
#include <string.h>
#define pai 3.1415926535
/* 値を入れ替える関数 */
void swap(int *x, int *y) {
int temp; // 値を一時保存する変数
temp = *x;
*x = *y;
*y = temp;
}
/***
* pivotを決め、
* 全データをpivotを境目に振り分け、
* pivotの添え字を返す
***/
int partition(int array[], int left, int right) {
int... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305583/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305583/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int n;
int d;
int s[100005];
int ans = 0;
int main()
{
scanf("%d", &n);
for (int i = 0; i < n; i++) {
scanf("%d", &d);
s[d]++;
}
for (int i = 1; i <= 100000; i++) {
s[i] += s[i - 1];
}
for (int i = 1; i <= 100000; i++) {
if (s[i] == s[10000... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305626/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305626/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ans = dso_local local_unna... |
#include <stdio.h>
#include <stdlib.h>
#define LEN 100000
int compare(const void *a, const void *b);
int main(void) {
int i;
int n;
int d[LEN];
scanf("%d", &n);
for ( i = 0; i < n; i++ ) {
scanf("%d", &d[i]);
}
qsort(d, n, sizeof(int), compare);
printf("%d\n", d[n/2]-d[n/2-... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305684/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305684/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<stdlib.h>
int asc(const void *a, const void *b) {
return *(int *)a - *(int *)b;
}
int main(){
int N;
int d[110000];
int i, j, k;
int ans;
scanf("%d", &N);
for(i=0; i<N; i++){
scanf("%d", &d[i]);
}
qsort(d, N, sizeof(int), asc);
ans = d[N/2] ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305727/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305727/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,a*2+b*2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305770/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305770/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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",&a);
scanf("%d",&b);
printf("%d %d\n",a*b,2*a+2*b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305813/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305813/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a*b, (2*a)+(2*b));
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305857/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305857/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
double num=0;
scanf("%d",&n);
for(i=0;i<n;i++){
num+=1/((double)(n-i));
}
printf("%.12f\n",num);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_30590/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_30590/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
scanf("%d %d", &a, &b);
printf("%d %d\n", a*b, (a+b)*2);
return (0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_305943/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_305943/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
#include<math.h>
int main(){
double a,sum=0;
scanf("%lf",&a);
for(double i=a;i>=1;i--){
sum+=1/i;
//printf("sum+=%.12f\n",1/i);
}
printf("%.12f\n",sum);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_30600/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_30600/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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;
scanf("%d %d",&a,&b);
printf("%d %d\n", a*b, 2*a+2*b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306043/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306043/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main( void )
{
int a,b;
int menseki;
int syuu;
scanf("%d %d", &a, &b);
menseki = a * b;
syuu = ( a + b ) * 2;
printf("%d %d\n", menseki, syuu);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306094/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306094/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n", a*b, (a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306137/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306137/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d %d" ,&a ,&b);
printf("%d %d\n" ,a*b ,a*2+b*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306188/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306188/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main( )
{
int a,b;
scanf("%d%d",&a,&b);
printf("%d %d\n",a*b,a*2 + b*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306230/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306230/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d",&x,&y);
printf("%d %d\n",x*y,x*2+y*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306281/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306281/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include<stdio.h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d\n",a*b,(a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306324/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306324/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d\n",a*b,2*a+2*b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306368/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306368/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,(a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306418/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306418/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,(a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306461/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306461/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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",&a);
scanf("%d",&b);
printf("%d %d\n",a*b,2*a+2*b );
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306504/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306504/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ;
/*printf("??´??°?????\?????????????????????");*/
scanf("%d",&a);
scanf("%d",&b);
c=a*b;
d=(2*a)+(2*b);
printf("%d %d\n",c,d);
return 0 ;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306548/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306548/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void)
{
int height;
int width;
int area;
int length;
scanf("%d %d", &height, &width);
//??¢???
area = height * width;
//????????????
length = 2 * (height + width);
printf("%d %d\n", area, length);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306591/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306591/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int b = 0;
int area = 0;
int length = 0;
scanf("%d", &a);
scanf("%d", &b);
area = a * b;
length = 2 * (a + b);
printf("%d %d\n", area, length);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306634/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306634/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,(a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306678/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306678/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,a+a+b+b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306720/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306720/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n", a*b, a+a+b+b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306764/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306764/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,a+a+b+b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306807/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306807/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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",&a,&b);
c=a*b;
a=a*2+b*2;
printf("%d %d\n",c,a);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306850/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306850/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
/* printf("%d",a*b);
printf("%*s", 1,"");
printf("%d",2*(a+b));*/
printf("%d %d\n",a*b,2*(a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306894/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306894/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a*b, (a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306937/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306937/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a,&b);
printf("%d %d\n", a * b, 2 *(a + b));
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_306980/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_306980/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n", a*b, a * 2 + b * 2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307022/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307022/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
int menseki, recLong;
scanf("%d %d", &a, &b);
menseki = a*b;
recLong = a*2 + b*2;
printf("%d %d\n", menseki, recLong);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307066/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307066/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y;
scanf("%d %d",&a,&b);
x=a*b;
y=2*a+2*b;
printf("%d",x);
printf(" %d\n",y);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307109/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307109/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n" ,a*b,2*a+2*b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307152/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307152/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n", a*b, (a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307196/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307196/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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",&a);
scanf("%d",&b);
printf("%d %d\n",a*b,2*(a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307239/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307239/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,menseki=0,enshu=0;
scanf("%d %d",&a,&b);
menseki=a*b;
enshu=a*2+b*2;
printf("%d %d\n",menseki,enshu);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307282/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307282/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,2*a+2*b);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307332/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307332/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,(a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307376/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307376/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 tate,yoko;
int s,l;
scanf("%d %d",&tate,&yoko);
s = tate * yoko;
l = 2 * (tate + yoko);
printf("%d %d\n",s,l);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307419/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307419/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y;
scanf("%d %d",&a,&b);
x=a*b;
y=2*(a+b);
printf("%d %d\n",x,y);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307462/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307462/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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\n",&a);
scanf("%d\n",&b);
printf("%d %d\n",a*b,(a + a) + (b + b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307505/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307505/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
c=0;
d=0;
scanf("%d %d",&a,&b);
c = a*b;
d = 2*a+2*b;
printf("%d %d\n",c,d);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307556/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307556/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
long long int a, b, c, b1[7], b2[5];
scanf("%d", &t);
while(t--){
for(j=0; j<7; j++){
scanf("%lld", &b1[j]);
}
a = b1[0];
for(j=1; j<6; j++){
b2[j-1]=b1[j];
}
for(i=0; i<5; i++){
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_3076/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_3076/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr co... |
#include <stdio.h>
int main(){
int a, b;
while(scanf("%d %d", &a, &b) != EOF )
printf("%d %d\n", a*b, (a+b)*2);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307642/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307642/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;// Here your code !
scanf("%d %d" ,&n,&m);
printf("%d %d\n",n*m,n+n+m+m);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307686/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307686/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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", &a);
scanf("%d", &b);
printf("%d %d\n", a*b, 2*a + 2*b);
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307729/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307729/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,2*(a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307772/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307772/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main()
{
int a, b;
scanf("%d",&a);
scanf("%d", &b);
printf("%d %d\n", a*b, 2*(a+b));
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307822/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307822/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 area;
int len;
scanf("%d%d",&a,&b);
area = a*b;
len = ( a + b ) * 2;
printf("%d %d\n",area,len);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307873/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307873/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 ,area ,t;
scanf("%d %d" ,&a ,&b);
area = a * b;
t = (2 * a) + (2 * b);
printf("%d %d\n" ,area ,t);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_307916/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_307916/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 comp(const void *a,const void *b)
{
return *(int*)a-*(int*)b;
}
int main()
{
int n,i;
float sum=0;
scanf("%d",&n);
int *a=(int*)malloc(sizeof(int)*n);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
sum+=a[i];
}
float n1=n;
... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_30796/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_30796/source.c"
target datalayout = "e-m:e-p270:32:32-p271: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);
printf("%d %d\n",a*b,a*2+b*2);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308001/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308001/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d",&x,&y);
printf("%d %d\n",x*y,2*(x+y));
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308045/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308045/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d\n",&n,&m);
printf("%d %d\n",n*m,2*(n+m));
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308089/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308089/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(void) {
int a,b;
int s,l;
scanf("%d", &a);
scanf("%d", &b);
s = a*b;
l = a+a+b+b ;
printf("%d %d\n",s,l);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308131/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308131/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,S,l;
scanf("%d %d",&a,&b);
S=a*b; l=2*a+2*b;
printf("%d %d\n",S,l);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308175/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308175/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n", a*b, 2*a+2*b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308218/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308218/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a, b;
scanf("%d%d" , &a, &b);
printf("%d %d\n", a * b,a + b + a + b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308261/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308261/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n",a*b,2*a+2*b);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308311/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308311/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 length = 0;
int height = 0;
int area = 0;
int cir = 0;
scanf("%d %d", &length, &height);
area = length * height;
cir = length*2 + height*2;
printf("%d %d\n", area, cir);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308355/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308355/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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;
scanf("%d %d",&i,&j);
printf("%d %d\n",i*j,i*2+j*2);
return(0);
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308412/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308412/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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,x,y;
scanf("%d %d",&a,&b);
x=a*b;
y=a*2+b*2;
printf("%d %d\n",x,y);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308456/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308456/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 n, m;
char maze[2000][2000];
char answ[2000000];
int radius[2001][2001];
int queue[1000000][3];
void bfs(int x_st, int y_st)
{
for (int i = 0; i < n; ++i) {
for (int k = 0; k < m; ++k) {
radius[i][k] = -1;
}
}
int det = 1, i = 0, q_i... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_3085/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_3085/source.c"
target datalayout = "e-m:e-p270: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 global i32 0, al... |
#include <stdio.h>
int main(void)
{
int a,b,men,len;
scanf("%d %d", &a, &b);
men = a * b;
len = 2 * (a + b);
printf("%d %d\n",men, len);
return 0;
} | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308557/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308557/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, a + a + b + b);
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308607/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308607/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h>
int main(){
int a,b,c,d;
scanf("%d %d",&a, &b);
c = a * b;
d = (a + b) * 2;
printf("%d %d\n",c,d);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308658/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308658/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 a,b,x,y;
scanf("%d %d",&a,&b);
x=a*b;
y=2*(a+b);
printf("%d %d\n",x,y);
return EXIT_SUCCESS;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308708/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308708/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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, s, l;
scanf("%d %d", &a, &b);
s = a * b;
l = 2 * ( a + b );
printf("%d %d\n", s, l);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308751/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308751/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_add... |
#include <stdio.h> /* printf, scanf */
#include <stdbool.h> /* bool */
#define MIN_LEN 1
#define MAX_LEN 100
static void Read(int* a, int* b);
static void CalcArea(int a, int b, int* res);
static void CalcPerimeter(int a, int b, int* res);
static void Write(int area, int perimeter);
static bool RangeCheck(int a, ... | ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308795/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308795/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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);
printf("%d %d\n", a * b,a*2+b*2);
return 0;
}
| ; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/C/Source_308838/source.c'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/C/Source_308838/source.c"
target datalayout = "e-m:e-p270:32:32-p271:32: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.