buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
import sys
[a, b, c] = [int(x) for x in sys.stdin.readline().split()]
if a < b and b < c:
print("yes")
else:
print("No") | import sys
[a, b, c] = [int(x) for x in sys.stdin.readline().split()]
if a < b and b < c:
print("Yes")
else:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 53 |
#include <cstdio>
int main() {
int a, b, c;
std::scanf("%d %d %d", &a, &b, &c);
if (a < b < c) {
std::printf("Yes\n");
}
else if (a >= b) {
std::printf("No\n");
} else if (a >= c) {
std::printf("No\n");
} else if (b >= c) {
std::printf("No\n");
}
return 0;
}
| #include <cstdio>
int main() {
int a, b, c;
std::scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
std::printf("Yes\n");
}
else if (a >= b) {
std::printf("No\n");
} else if (a >= c) {
std::printf("No\n");
} else if (b >= c) {
std::printf("No\n");
}
return 0;
}
| [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 113 |
a,b,c=map(int,input(),split())
if a<b and b<c:
print("Yes")
else:
print("No")
| a,b,c=map(int,input().split())
if a<b and b<c:
print("Yes")
else:
print("No")
| [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131]] | 5 | 41 |
#include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("YES\n");
} else {
printf("NO\n");
}
}
| #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 62 |
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b < c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 61 |
a,b,c = list(map(int, input()))
if a < b < c :
print("Yes")
else :
print("No") | a,b,c = list(map(int, input().split(" ")))
if a < b < c :
print("Yes")
else :
print("No") | [["+", 0, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 38 |
l = input()
if int(l[0]) < int(l[1]) and int(l[1]) < int(l[2]):
print("Yes")
else:
print("No") | l = input().split()
if int(l[0]) < int(l[1]) and int(l[1]) < int(l[2]):
print("Yes")
else:
print("No") | [["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 52 |
#include <cstdio>
int main() {
int a, b, c;
std::scanf("%d%d%d", &a, &b, &c);
if (a < b && b < c) {
std::printf("YES");
} else {
std::printf("NO");
}
}
| #include <cstdio>
int main() {
int a, b, c;
std::scanf("%d%d%d", &a, &b, &c);
if (a < b && b < c) {
std::printf("Yes\n");
} else {
std::printf("No\n");
}
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 66 |
a,b,c = map(int,input().split())
if a<b:
if b<c:
print("Yes")
else:
print("No") | a,b,c = map(int,input().split())
if a<b and b<c:
print("Yes")
else:
print("No") | [["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 102], ["-", 0, 656, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 42 |
inps = input().split()
if len(inps) >= 3:
a = int(inps[0])
b = int(inps[1])
c = int(inps[2])
if a <= b and b <= c:
print("Yes")
else:
print("No")
else:
print("Input illegal.") | inps = input().split()
if len(inps) >= 3:
a = int(inps[0])
b = int(inps[1])
c = int(inps[2])
if a < b and b < c:
print("Yes")
else:
print("No")
else:
print("Input illegal.") | [["-", 64, 196, 0, 57, 15, 679, 31, 666, 667, 19], ["+", 64, 196, 0, 57, 15, 679, 31, 666, 667, 18], ["-", 64, 196, 0, 57, 15, 679, 12, 666, 667, 19], ["+", 64, 196, 0, 57, 15, 679, 12, 666, 667, 18]] | 5 | 75 |
#include <stdio.h>
int main(void) {
int a, b, d;
scanf("%d %d %d", &a, &b, &d);
if (a < b < d) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| #include <stdio.h>
int main() {
int a, b, d;
scanf("%d %d %d", &a, &b, &d);
if (a < b && b < d) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| [["-", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 64 |
#coding:UTF-8
s = input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
if(a<b<c):
print ("YES")
else:
print ("NO") | #coding:UTF-8
s = input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
if(a<b<c):
print ("Yes")
else:
print ("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 60 |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b) {
if (b < c) {
cout << "Yes" << endl;
}
cout << "No" << endl;
} else
cout << "No" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b) {
if (b < c) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
} else
cout << "No" << endl;
return 0;
}
| [["+", 0, 57, 64, 9, 0, 57, 75, 76, 0, 95]] | 1 | 71 |
x = [int(s) for s in input().split()]
print('Yes' if x[0] < x[1] and x[1] and x[2] else 'No')
| x = [int(s) for s in input().split()]
print('Yes' if x[0] < x[1] and x[1] < x[2] else 'No') | [["-", 0, 652, 3, 4, 0, 41, 0, 679, 17, 355], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 667, 18]] | 5 | 48 |
a, b, c = [int(i) for i in intput().split()]
if a < b < c:
print("Yes")
else:
print("No") | a, b, c = [int(i) for i in input().split()]
if a < b & b < c:
print("Yes")
else:
print("No") | [["-", 0, 659, 12, 652, 63, 319, 500, 652, 63, 22], ["+", 0, 659, 12, 652, 63, 319, 500, 652, 63, 22], ["+", 0, 656, 0, 57, 15, 666, 0, 657, 31, 22], ["+", 0, 656, 0, 57, 15, 666, 0, 657, 17, 67]] | 5 | 43 |
i = j = k = 0
n = ''
m = ''
l = ''
line = input()
while line[i] != ' ':
n = n + line[i]
i += 1
while line[i] != ' ':
l = l + line[i]
i += 1
while i < len(line):
m = m + line[i]
i += 1
n = int(n)
l = int(l)
m = int(m)
if n < l and l < m:
print("Yes")
else:
print("No") | i = j = k = 0
n = ''
m = ''
l = ''
line = input()
while line[i] != ' ':
n = n + line[i]
i += 1
i += 1
while line[i] != ' ':
l = l + line[i]
i += 1
while i < len(line):
m = m + line[i]
i += 1
n = int(n)
l = int(l)
m = int(m)
if n < l and l < m:
print("Yes")
else:
print("No") | [["+", 36, 36, 0, 656, 0, 1, 0, 677, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 677, 17, 107], ["+", 36, 36, 0, 656, 0, 1, 0, 677, 12, 612]] | 5 | 126 |
#include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a < b < c) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
}
| #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
}
| [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 58 |
a,b,c = map(int, input().split())
if a < b and b < c:
print("Yes")
print("No") | a,b,c = map(int, input().split())
if a < b and b < c:
print("Yes")
else:
print("No") | [["+", 36, 36, 0, 656, 0, 57, 75, 76, 0, 95], ["+", 36, 36, 0, 656, 0, 57, 75, 76, 0, 102]] | 5 | 39 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a < b < c ? "Yes" : "No") << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << ((a < b && b < c) ? "Yes" : "No") << endl;
return 0;
}
| [["+", 31, 16, 12, 23, 0, 41, 15, 23, 0, 24], ["+", 0, 41, 15, 23, 0, 16, 31, 16, 12, 22], ["+", 12, 23, 0, 41, 15, 23, 0, 16, 17, 98], ["+", 31, 16, 12, 23, 0, 41, 15, 23, 0, 25]] | 1 | 50 |
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=y[2]
if a<b<c:
print("OK")
else:
print("NG") | x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=y[2]
if a<b<c:
print("Yes")
else:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 59 |
[a,b,c]=int(input().split())
if a < b < c:
print("Yes")
else:
print("No") | a,b,c = map(int,input().split())
if a < b < c:
print("Yes")
else:
print("No") | [["-", 0, 656, 0, 1, 0, 662, 31, 700, 0, 70], ["-", 0, 656, 0, 1, 0, 662, 31, 700, 0, 73], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21]] | 5 | 39 |
def Range():
a,b,c = list(map(int,input().split()))
if a<b<c:
print("YES")
else:
print("NO")
Range() | def Range():
a,b,c = list(map(int,input().split()))
if a<b<c:
print("Yes")
else:
print("No")
Range() | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 50 |
a,b,c = input().split(' ')
a=int(a)
b=int(b)
c=int(c)
ret="Yes" if a<b<c else "No" | a,b,c = input().split(' ')
a=int(a)
b=int(b)
c=int(c)
ret="Yes" if a<b<c else "No"
print(ret) | [["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 49 |
a,b,c =[int(i) for i in input().split()]
if(a < b and b < c):
print("YES")
else:
print("NO") | a,b,c =[int(i) for i in input().split()]
if(a < b and b < c):
print("Yes")
else:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 47 |
#include <iostream>
using namespace std;
int main() {
int r, s, t;
cin >> r >> s >> t;
if ((r < s) || (s < t)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int r, s, t;
cin >> r >> s >> t;
if ((r < s) && (s < t)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 65 |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a > b)
cout << "No" << endl;
else if (a > c)
cout << "No" << endl;
else if (b > c)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a >= b)
cout << "No" << endl;
else if (a >= c)
cout << "No" << endl;
else if (b >= c)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 83 |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b < c) {
cout << "Yes" << endl;
} else if (a = b < c) {
cout << "No" << endl;
} else {
cout << "No" << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes" << endl;
} else if (a = b < c) {
cout << "No" << endl;
} else {
cout << "No" << endl;
}
}
| [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 75 |
#include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
if (a < b && b < c) {
std::cout << "YES" << std::endl;
} else {
std::cout << "NO" << std::endl;
}
return 0;
}
| #include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
if (a < b && b < c) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 67 |
#include <iostream>
using namespace std;
int main() {
int x[3];
bool yes = true;
cin >> x[0];
for (int i = 1; i < 3; i++) {
cin >> x[i];
if (x[i - 1] > x[i]) {
yes = false;
}
}
cout << (yes ? "Yes" : "No") << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x[3];
bool yes = true;
cin >> x[0];
for (int i = 1; i < 3; i++) {
cin >> x[i];
if (x[i - 1] >= x[i]) {
yes = false;
}
}
cout << (yes ? "Yes" : "No") << endl;
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 92 |
#include <iostream>
#include <string>
using namespace std;
void SME(int a, int b, int c);
int main() {
int a, b, c;
cin >> a >> b >> c;
SME(a, b, c);
return 0;
}
void SME(int a, int b, int c) {
if (a < b < c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <iostream>
#include <string>
using namespace std;
void SME(int a, int b, int c);
int main() {
int a, b, c;
cin >> a >> b >> c;
SME(a, b, c);
return 0;
}
void SME(int a, int b, int c) {
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 97 |
// Tuvshee
#include <algorithm>
#include <cctype>
#include <cmath>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define I int
#define D double
#define F float
#define C char
#define S string
#define B bool
#define L long long
#define rep(n) for (int i = 0; i < n; i++)
#... | // Tuvshee
#include <algorithm>
#include <cctype>
#include <cmath>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define I int
#define D double
#define F float
#define C char
#define S string
#define B bool
#define L long long
#define rep(n) for (int i = 0; i < n; i++)
#... | [["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 42, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 42, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 154 |
#include <cmath>
#include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "NO" << endl;
}
} | #include <cmath>
#include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 60 |
#include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if (x > y && y > z)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if (x < y && y < z)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 54 |
#include <iostream>
int main(void) {
int a, b, c;
std::cin >> a >> b >> c;
if (a < b < c) {
std::cout << "Yes\n";
} else {
std::cout << "No\n";
}
} | #include <iostream>
int main(void) {
int a, b, c;
std::cin >> a >> b >> c;
if (a < b && b < c) {
std::cout << "Yes\n";
} else {
std::cout << "No\n";
}
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 57 |
#include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", a, b, c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
} | #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 59 |
#include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
int a, b, c;
int main() {
scanf("%d %d %d", &a, &b, &c);
if (a < b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
int a, b, c;
int main() {
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 71 |
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a <= b && b <= c)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b && b < c)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 68 |
#include <iostream>
int main(void) {
int a, b, c;
std::cin >> a;
std::cin >> b;
std::cin >> c;
if (a < b && b < c) {
std::cout << "YES\n";
} else {
std::cout << "NO";
}
return 0;
} | #include <iostream>
int main(void) {
int a, b, c;
std::cin >> a;
std::cin >> b;
std::cin >> c;
if (a < b && b < c) {
std::cout << "Yes\n";
} else {
std::cout << "No\n";
}
return 0;
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 44]] | 1 | 69 |
#include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
std::cout << ((a < b && b < c) ? "YES" : "NO") << std::endl;
return 0;
} | #include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
std::cout << ((a < b && b < c) ? "Yes" : "No") << std::endl;
return 0;
} | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 56 |
#include <iostream>
#include <math.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "YES";
} else {
cout << "NO";
}
cout << endl;
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes";
} else {
cout << "No";
}
cout << endl;
return 0;
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 63 |
#include <iostream>
using namespace std;
int main() {
int a = 0, b = 0, c = 0;
cin >> a >> b >> c;
if (a > b && b > c) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a = 0, b = 0, c = 0;
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 65 |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes"
<< "/n";
} else {
cout << "No"
<< "/n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a < b && b < c) {
cout << "Yes"
<< "\n";
} else {
cout << "No"
<< "\n";
}
return 0;
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 44]] | 1 | 65 |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
if (a < b < c)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
if (a < b && b < c)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 59 |
#include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if (x < y && y < z) {
cout << "YES\n";
} else {
cout << "NO\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if (x < y && y < z) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 59 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
boolean first = true;
try (BufferedReader br =
new BufferedReader(new InputStreamReader(Syste... | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
boolean first = true;
try (BufferedReader br =
new BufferedReader(new InputStreamReader(Syste... | [["-", 0, 57, 75, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 75, 196, 0, 1, 0, 11, 12, 22]] | 3 | 266 |
import java.util.*;
class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
String indata;
int a[] = new int[3];
int store;
for (int i = 0; i < 3; i++) {
indata = s.next();
a[i] = Integer.parseInt(indata);
}
int flag;
while (true) {
f... | import java.util.*;
class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
String indata;
int a[] = new int[3];
int store;
for (int i = 0; i < 3; i++) {
indata = s.next();
a[i] = Integer.parseInt(indata);
}
int flag;
while (true) {
f... | [["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 499], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 499]] | 3 | 202 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] integar = new int[3];
for (int i = 0; i < integar.length; i++) {
integar[i] = scan.nextInt();
}
for (int j = 0; j < integar.length; j++) {
for (int k = integar.l... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] integar = new int[3];
for (int i = 0; i < integar.length; i++) {
integar[i] = scan.nextInt();
}
for (int j = 0; j < integar.length; j++) {
for (int k = integar.l... | [["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 185 |
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
String str = input.readLine();
String[] str2 = str.split(" ");
int a = Integer.parseInt(str2[0]);
int b = Integer.parseInt(st... | import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
String str = input.readLine();
String[] str2 = str.split(" ");
int a = Integer.parseInt(str2[0]);
int b = Integer.parseInt(st... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 12, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22]] | 3 | 187 |
import java.io.*;
class Main {
public static void main(String[] args) {
InputStreamReader sr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(sr);
try {
String[] str = br.readLine().split(" ");
int a = Integer.parseInt(str[0]);
int b = Integer.parseInt(str[1])... | import java.io.*;
class Main {
public static void main(String[] args) {
InputStreamReader sr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(sr);
try {
String[] str = br.readLine().split(" ");
int a = Integer.parseInt(str[0]);
int b = Integer.parseInt(str[1])... | [["-", 8, 196, 0, 246, 8, 196, 0, 57, 0, 95], ["-", 0, 246, 8, 196, 0, 57, 75, 57, 0, 95]] | 3 | 204 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
try {
String ab = input.readLine();
String[] strAry = ab.split(... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
try {
String ab = input.readLine();
String[] strAry = ab.split(... | [["+", 0, 246, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 0, 57, 64, 196, 0, 57, 64, 196, 0, 46]] | 3 | 225 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
int[] a = new int[3];
int t, i, flag = 0;
Scanner kbd = new Scanner(System.in);
a[0] = kbd.nextInt();
a[1] = kbd.nextInt();
a[2] = kbd.nextInt();
for (;;) {
flag = 0;
for (i = 0; i < 2; i++) {
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
int[] a = new int[3];
int t, i, flag = 0;
Scanner kbd = new Scanner(System.in);
a[0] = kbd.nextInt();
a[1] = kbd.nextInt();
a[2] = kbd.nextInt();
for (;;) {
flag = 0;
for (i = 0; i < 2; i++) {
... | [["-", 0, 1, 0, 492, 3, 4, 0, 504, 71, 499], ["+", 0, 1, 0, 492, 3, 4, 0, 504, 71, 499]] | 3 | 215 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = 0;
int b = 0;
int c = 0;
char delimeter = ' ';
List<Integer> list = new ArrayList<>();
while (sc.hasNextInt()) {
list.add(sc.nextInt());
}
Collecti... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = 0;
int b = 0;
int c = 0;
String delimeter = " ";
List<Integer> list = new ArrayList<>();
while (sc.hasNextInt()) {
list.add(sc.nextInt());
}
Collec... | [["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 517], ["+", 8, 498, 0, 195, 8, 196, 0, 503, 39, 78], ["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 252], ["+", 8, 196, 0, 503, 49, 200, 51, 5, 0, 62], ["+", 8, 196, 0, 503, 49, 200, 51, 5, 0, 491]] | 3 | 140 |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] str_Three_Number = br.readLine().split(" ");
int[] three_Number = new int[3];
for (int i = 0; i < 3; i++) {
three_Number[i... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] str_Three_Number = br.readLine().split(" ");
int[] three_Number = new int[3];
for (int i = 0; i < 3; i++) {
three_Number[i... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 12, 499], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 12, 499], ["+", 15, 15, 0, 16, 31, 504, 71, 16, 17, 33], ["+", 15, 15, 0, 16, 31, 504, 71, 16, 12, 499], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47], ["-", 15, 15, 0, 16, 12, 504, 71, 16, 17, 33],... | 3 | 215 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int[] array = {a, b, c};
for (int i : array) {
if (i < 1 || i > 10000) {
Syst... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int[] array = {a, b, c};
for (int i : array) {
if (i < 1 || i > 10000) {
Syst... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 44]] | 3 | 279 |
import java.util.Scanner;
public class Main {
static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if (a < b) {
if (b < c) {
System.out.printf("%d %d %d\n", a, b, c);
} else if (a < c) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if (a < b) {
if (b < c) {
System.out.printf("%d %d %d\n", a, b, c);
} else if (a < c) {... | [["+", 0, 235, 8, 498, 0, 195, 0, 494, 0, 259]] | 3 | 220 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt(), b = in.nextInt(), c = in.nextInt();
int o, p, q;
if (a < b && b < c) {
o = a;
p = b;
q = c;
} else if (c < b && b < a) {
o = c;
... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt(), b = in.nextInt(), c = in.nextInt();
int o, p, q;
if (a <= b && a <= c) {
o = a;
p = b;
q = c;
} else if (c <= b && c <= a) {
o = c;... | [["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 31, 22], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 19], ["-", 75, 57, 15, 15, 0, 16, 31, 16, 17, 18], ["+... | 3 | 174 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] num = new int[3];
for (int i = 0; i < 3; i++) {
num[i] = sc.nextInt();
}
int temp;
for (int i = 0; i < num.length; i++) {
for (int j = num.length - 1;... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] num = new int[3];
for (int i = 0; i < 3; i++) {
num[i] = sc.nextInt();
}
int temp;
for (int i = 0; i < num.length; i++) {
for (int j = num.length - 1;... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 47], ["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22]] | 3 | 194 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if (a > b) {
int t = a;
a = b;
b = t;
}
if (b > c) {
int t = b;
b ... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if (a > b) {
int t = a;
a = b;
b = t;
}
if (b > c) {
int t = b;
b ... | [["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 137 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int[] num = new int[3];
for (int i = 0; i < num.length; i++) {
num[i] = scanner.nextInt();
}
for (int i = 0; i < num.length - 1; i++) {
for (int j = 1; j ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int[] num = new int[3];
for (int i = 0; i < num.length; i++) {
num[i] = scanner.nextInt();
}
for (int i = 0; i < num.length - 1; i++) {
for (int j = 1; j ... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47]] | 3 | 215 |
import java.util.Scanner;
public class Main {
public void change() {}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n[] = new int[2];
n[0] = sc.nextInt();
n[1] = sc.nextInt();
n[2] = sc.nextInt();
int change = 0;
if (n[0] > n[1]) {
change = n[0]... | import java.util.Scanner;
public class Main {
public void change() {}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n[] = new int[3];
n[0] = sc.nextInt();
n[1] = sc.nextInt();
n[2] = sc.nextInt();
int change = 0;
if (n[0] > n[1]) {
change = n[0]... | [["-", 0, 503, 49, 200, 51, 227, 497, 505, 0, 499], ["+", 0, 503, 49, 200, 51, 227, 497, 505, 0, 499], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 44]] | 3 | 231 |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int ary[] = new int[3];
for (int i = 0; i <= 2; ++i) {
ary[i] = sc.nextInt();
}
int a, b;
for (int i = 1; i > 0; --i) {
if (ary[i + 1] < ary[i]) {
... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int ary[] = new int[3];
for (int i = 0; i <= 2; ++i) {
ary[i] = sc.nextInt();
}
int a, b;
for (int i = 1; i >= 0; --i) {
if (ary[i + 1] < ary[i]) {
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 20]] | 3 | 214 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int a = stdIn.nextInt();
int b = stdIn.nextInt();
int c = stdIn.nextInt();
int t;
if (a > b) {
t = a;
a = b;
b = t;
}
if (b > c) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int a = stdIn.nextInt();
int b = stdIn.nextInt();
int c = stdIn.nextInt();
int t;
if (a > b) {
t = a;
a = b;
b = t;
}
if (b > c) {
... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["+", 0... | 3 | 146 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int[] nums;
nums = new int[2];
nums[0] = a;
nums[1] = b;
nums[2] = c;
Arrays.sort(nums... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int[] nums;
nums = new int[3];
nums[0] = a;
nums[1] = b;
nums[2] = c;
Arrays.sort(nums... | [["-", 0, 1, 0, 11, 12, 227, 497, 505, 0, 499], ["+", 0, 1, 0, 11, 12, 227, 497, 505, 0, 499]] | 3 | 133 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int temp = 0;
Scanner num = new Scanner(System.in);
int a = num.nextInt();
int b = num.nextInt();
int c = num.nextInt();
if (a > b) {
temp = a;
a = b;
b = temp;
}
if (b > c) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int temp = 0;
Scanner num = new Scanner(System.in);
int a = num.nextInt();
int b = num.nextInt();
int c = num.nextInt();
if (a > b) {
temp = a;
a = b;
b = temp;
}
if (b > c) {
... | [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 145 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int tmp;
sc.close();
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int tmp;
sc.close();
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 12, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22]] | 3 | 152 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String test = br.readLine();
String[] res1 = test.split... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String test = br.readLine();
String[] res1 = test.split... | [["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491]] | 3 | 256 |
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
String[] input = new java.util.Scanner(System.in).nextLine().split(" ");
int a = Integer.parseInt(input[0]);
int b = Integer.parseInt(input[1]);
int c = Integer.parseInt(input[2]);
int[] an = new int[] {a, b, c... | import java.util.Arrays;
public class Main {
public static void main(String[] args) {
String[] input = new java.util.Scanner(System.in).nextLine().split(" ");
int a = Integer.parseInt(input[0]);
int b = Integer.parseInt(input[1]);
int c = Integer.parseInt(input[2]);
int[] an = new int[] {a, b, c... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 79], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 60]] | 3 | 176 |
import java.util.*;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
int c = in.nextInt();
int[] sort = {
a,
b,
c,
};
for (int i = 0; i < 2; i++) {
... | import java.util.*;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
int c = in.nextInt();
int[] sort = {
a,
b,
c,
};
for (int i = 0; i < 2; i++) {
... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["-", 31, 16, 31, 16, 31, 16, 31, 504, 71, 499], ["+", 31, 16, 31, 16, 31, 16, 31, 504, 71, 499], ["-", 0, 492, 3, 4, 0, 16, 12, 504, 71, 499], ["+", 0, 492, 3, 4, 0, 16, 12, 504, 71, 499]] | 3 | 191 |
import java.io.*;
import java.util.Arrays;
class sansei {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] line = str.split(" ");
int a = Integer.parseInt(line[0]);
int b = ... | import java.io.*;
import java.util.Arrays;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] line = str.split(" ");
int a = Integer.parseInt(line[0]);
int b = In... | [["-", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["+", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["-", 31, 16, 31, 16, 31, 16, 31, 504, 516, 22], ["+", 31, 16, 31, 16, 31, 16, 31, 504, 516, 22], ["-", 0, 16, 31, 16, 31, 16, 12, 504, 516, 22], ["+", 0, 16, 31, 16, 31, 16, 12, 504, 516, 22], ["-", 0, 492, 3, 4, 0, 16, 12... | 3 | 159 |
public class Main {
public static void main(String[] args) {
java.util.Scanner sc = new java.util.Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int temp = 0;
if (a > b) {
temp = a;
a = b;
b = temp;
}
if (b > c) {
temp =... | public class Main {
public static void main(String[] args) {
java.util.Scanner sc = new java.util.Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int temp = 0;
if (a > b) {
temp = a;
a = b;
b = temp;
}
if (b > c) {
temp = ... | [["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 147 |
import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
int num;
int[] a = new int[3];
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
StringTokenizer st = new StringTokenizer(line, " ");
... | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
int num;
int[] a = new int[3];
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
StringTokenizer st = new StringTokenizer(line, " ");
... | [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 499]] | 3 | 238 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
if (a > b) {
// a??¨b?????°????????\????????????
int x;
x = a;
a = b;
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
if (a > b) {
int x;
x = a;
a = b;
b = x;
}
if (b > c) {
i... | [["-", 8, 498, 0, 195, 8, 196, 0, 57, 0, 95], ["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 95]] | 3 | 156 |
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
String[] cut = input.split(" ");
int noOne = Integer.parseInt(cut[0]);
int noTwo = Integer.pars... | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
String[] cut = input.split(" ");
int noOne = Integer.parseInt(cut[0]);
int noTwo = Integer.pars... | [["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46]] | 3 | 199 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int[] data = new int[3];
data[0] = in.nextInt(); // a
data[1] = in.nextInt(); // b
data[2] = in.nextInt(); // c
int tmp;
for (int i = 0; i < data.length - 1; i++)... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int[] data = new int[3];
data[0] = in.nextInt(); // a
data[1] = in.nextInt(); // b
data[2] = in.nextInt(); // c
int tmp;
for (int i = 0; i < data.length; i++) {
... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 499], ["-", 0, 7, 15, 16, 12, 16, 31, 16, 17, 33], ["-", 0, 7, 15, 16, 12, 16, 31, 16, 12, 22]] | 3 | 194 |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] array = new int[3];
array[0] = sc.nextInt();
array[1] = sc.nextInt();
array[2] = sc.nextInt();
Arrays.sort(array);
System.out.println(array[2] + " " + array[1] + " " + arr... | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] array = new int[3];
array[0] = sc.nextInt();
array[1] = sc.nextInt();
array[2] = sc.nextInt();
Arrays.sort(array);
System.out.println(array[0] + " " + array[1] + " " + arr... | [["-", 31, 16, 31, 16, 31, 16, 31, 504, 71, 499], ["+", 31, 16, 31, 16, 31, 16, 31, 504, 71, 499], ["-", 0, 492, 3, 4, 0, 16, 12, 504, 71, 499], ["+", 0, 492, 3, 4, 0, 16, 12, 504, 71, 499]] | 3 | 115 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String input;
input = buf.readLine();
String[] strAry = input.split(" ");
i... | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String input;
input = buf.readLine();
String[] strAry = input.split(" ");
i... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47]] | 3 | 220 |
import java.util.Scanner;
class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
// TODO Auto-generated method stub
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
int x = scanner.nextInt()... | import java.util.Scanner;
class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
// TODO Auto-generated method stub
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
int x = 0;
if (a > b... | [["-", 8, 196, 0, 503, 49, 200, 51, 492, 500, 22], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 0, 131], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 24], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 25], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 51, 499]] | 3 | 153 |
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String[] st = s.split(" ");
int[] ints = new int[3];
for (int i = 0; i < 3; i++) {
ints[i] = Integer.parseInt(st[i]... | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String[] st = s.split(" ");
int[] ints = new int[3];
for (int i = 0; i < 3; i++) {
ints[i] = Integer.parseInt(st[i]... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22]] | 3 | 172 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int i, j;
Scanner sc = new Scanner(System.in);
int a[] = new int[3];
for (i = 0; i < 3; i++) {
a[i] = sc.nextInt();
}
for (i = 0; i < 3; i++) {
for (j = i + 1; j < 3 - 1; j++) {
if (a[i... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int i, j;
Scanner sc = new Scanner(System.in);
int a[] = new int[3];
for (i = 0; i < 3; i++) {
a[i] = sc.nextInt();
}
for (i = 0; i < 3; i++) {
for (j = i + 1; j < 3; j++) {
if (a[i] > ... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 499]] | 3 | 209 |
#include <stdio.h>
int main() {
int a, b, c, min, sec, t, temp;
scanf("%d %d %d", &a, &b, &c);
if (a < b) {
min = a;
sec = b;
t = c;
} else {
min = b;
sec = a;
t = c;
}
if (c < sec) {
if (c < min) {
temp = c;
t = sec;
sec = temp;
temp = min;
min = ... | #include <stdio.h>
int main() {
int a, b, c, min, sec, t, temp;
scanf("%d %d %d", &a, &b, &c);
if (a < b) {
min = a;
sec = b;
t = c;
} else {
min = b;
sec = a;
t = c;
}
if (c < sec) {
if (c < min) {
temp = c;
t = sec;
sec = temp;
temp = min;
min = ... | [["-", 75, 76, 0, 9, 0, 1, 0, 11, 12, 22], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 12, 22]] | 0 | 143 |
#include <stdio.h>
int main(void) {
int a, b, c, d;
scanf("%d %d %d", &a, &b, &c);
if (b < a) {
d = a;
a = b;
b = d;
} else if (c < b) {
d = c;
c = b;
b = d;
} else if (b < a) {
d = a;
a = b;
b = d;
} else {
}
printf("%d %d %d\n", a, b, c);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, c, d;
scanf("%d %d %d", &a, &b, &c);
if (b < a) {
d = a;
a = b;
b = d;
} else {
}
if (c < b) {
d = c;
c = b;
b = d;
} else {
}
if (b < a) {
d = a;
a = b;
b = d;
} else {
}
printf("%d %d %d\n", a, b, c);
return... | [["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]] | 0 | 116 |
#include <stdio.h>
/*--- nx, nyが指すオブジェクトの値を交換 ---*/
void swap(int *nx, int *ny) {
int temp = *nx;
*nx = *ny;
*ny = temp;
}
/*--- *n1≦*n2≦*n3となるように並べ替える ---*/
void sort3(int *n1, int *n2, int *n3) {
if (*n1 > *n2)
swap(n1, n2);
if (*n2 > *n3)
swap(n2, n3);
if (*n1 > *n2)
swap(n1, n2);
}
int ma... | #include <stdio.h>
void swap(int *nx, int *ny) {
int temp = *nx;
*nx = *ny;
*ny = temp;
}
void sort3(int *n1, int *n2, int *n3) {
if (*n1 > *n2)
swap(n1, n2);
if (*n2 > *n3)
swap(n2, n3);
if (*n1 > *n2)
swap(n1, n2);
}
int main(void) {
int na, nb, nc;
scanf("%d", &na);
scanf("%d", &nb)... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 171 |
/*
* ID: ITP1_2_C
* Problem: Sorting three numbers
*/
#include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b) {
int t;
t = a;
a = b;
b = t;
}
if (b < c) {
int t;
t = b;
b = c;
c = t;
}
if (a < b) {
int t;
t = a;
a = b;
... | /*
* ID: ITP1_2_C
* Problem: Sorting three numbers
*/
#include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
int t;
t = a;
a = b;
b = t;
}
if (b > c) {
int t;
t = b;
b = c;
c = t;
}
if (a > b) {
int t;
t = a;
a = b;
... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47]] | 0 | 119 |
#include <stdio.h>
#define INPUT_NUMBER 3
int main(void) {
int num[INPUT_NUMBER];
int numrec;
int i;
for (i = 0; i <= INPUT_NUMBER - 1; i++) {
scanf("%d", &num[i]);
}
// printf("recording done\n");
for (i = 0; i <= INPUT_NUMBER - 1; i++) {
for (int h = 0; h <= INPUT_NUMBER - i - 2; h++) {
... | #include <stdio.h>
#define INPUT_NUMBER 3
int main(void) {
int num[INPUT_NUMBER];
int numrec;
int i;
for (i = 0; i <= INPUT_NUMBER - 1; i++) {
scanf("%d", &num[i]);
}
// printf("recording done\n");
for (i = 0; i <= INPUT_NUMBER - 1; i++) {
for (int h = 0; h <= INPUT_NUMBER - i - 2; h++) {
... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47]] | 0 | 183 |
#include <stdio.h>
int main(void) {
int a[3], b, c, d, e;
int flag = 1;
for (b = 0; b < 3; b++) {
scanf("%d", &a[b]);
}
while (flag) {
flag = 0;
for (c = 0; c < 2; c++) {
if (a[c] > a[c + 1]) {
d = a[c];
a[c] = a[c + 1];
a[c + 1] = d;
}
}
}
for (e = 0; e... | #include <stdio.h>
int main(void) {
int a[3], b, c, d, e;
int flag = 1;
for (b = 0; b < 3; b++) {
scanf("%d", &a[b]);
}
while (flag) {
flag = 0;
for (c = 0; c < 2; c++) {
if (a[c] > a[c + 1]) {
d = a[c];
a[c] = a[c + 1];
a[c + 1] = d;
flag = 1;
}
}
... | [["+", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 12, 13], ["+", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35]] | 0 | 180 |
#include <stdio.h>
int main(void) {
int a, b, c, tmp;
scanf("%d %d %d\n", &a, &b, &c);
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {
tmp = b;
b = c;
c = tmp;
}
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
printf("%d %d %d\n", &a, &b, &c);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c, tmp;
scanf("%d %d %d\n", &a, &b, &c);
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {
tmp = b;
b = c;
c = tmp;
}
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
printf("%d %d %d\n", a, b, c);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 115 |
#include <stdio.h>
int main(void) {
int a;
int aa;
int b;
int bb;
int c;
scanf("%d,%d,%d", &a, &b, &c);
if (a > b) {
aa = a;
a = b;
b = aa;
}
if (b > c) {
bb = b;
b = c;
c = bb;
}
if (a > b) {
bb = a;
a = b;
b = bb;
}
printf("%d %d %d", a, b, c);
}
| #include <stdio.h>
int main(void) {
int a;
int aa;
int b;
int bb;
int c;
scanf("%d%d%d", &a, &b, &c);
if (a > b) {
aa = a;
a = b;
b = aa;
}
if (b > c) {
bb = b;
b = c;
c = bb;
}
if (a > b) {
bb = a;
a = b;
b = bb;
}
printf("%d %d %d\n", a, b, c);
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 113 |
int main() {
int a, b, c;
int buf;
scanf("%d %d %d", a, b, c);
while (a > b || b > c) {
if (a > b) {
buf = a;
a = b;
b = buf;
}
if (b > c) {
buf = b;
b = c;
c = buf;
}
}
printf("%d %d %d\n", a, b, c);
return 0;
} |
int main() {
int a, b, c;
int buf;
scanf("%d %d %d", &a, &b, &c);
while (a > b || b > c) {
if (a > b) {
buf = a;
a = b;
b = buf;
}
if (b > c) {
buf = b;
b = c;
c = buf;
}
}
printf("%d %d %d\n", a, b, c);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 98 |
#include <stdio.h>
void sorting(int *x, int *y) {
int temp;
if (*x > *y) {
temp = *x;
*x = *y;
*y = temp;
}
}
int main(void) {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
sorting(&a, &b);
sorting(&b, &c);
sorting(&a, &b);
printf("%d%d%d", a, b, c);
return 0;
} | #include <stdio.h>
void sorting(int *x, int *y) {
int temp;
if (*x > *y) {
temp = *x;
*x = *y;
*y = temp;
}
}
int main(void) {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
sorting(&a, &b);
sorting(&b, &c);
sorting(&a, &b);
printf("%d %d %d\n", a, b, c);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 117 |
#include <stdio.h>
main() {
int a[3];
int x, y, z;
scanf("%d %d %d", &a[0], &a[1], &a[2]);
y = 0;
while (y < 3) {
x = 0;
while (x < 3) {
if (a[y] > a[x]) {
z = a[y];
a[y] = a[x];
a[x] = z;
}
x++;
}
y++;
}
printf("%d %d %d\n", a[0], a[1], a[2]);
... | #include <stdio.h>
main() {
int a[3];
int x, y, z;
scanf("%d %d %d", &a[0], &a[1], &a[2]);
y = 0;
while (y < 3) {
x = 0;
while (x < 3) {
if (a[y] < a[x]) {
z = a[y];
a[y] = a[x];
a[x] = z;
}
x++;
}
y++;
}
printf("%d %d %d\n", a[0], a[1], a[2]);
... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18]] | 0 | 140 |
#include <stdio.h> //3つの整数を読み込み、それらを値が小さい順に並べて出力するプログラム
void temp(int *, int *);
int main(void) {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a > b)
temp(&a, &b);
if (b > c)
temp(&b, &c);
if (a > b)
temp(&a, &c);
printf("%d %d %d\n", a, b, c);
return 0;
}
void temp(int *a, int *b) {
... | #include <stdio.h> //3つの整数を読み込み、それらを値が小さい順に並べて出力するプログラム
void temp(int *, int *);
int main(void) {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a > b)
temp(&a, &b);
if (b > c)
temp(&b, &c);
if (a > b)
temp(&a, &b);
printf("%d %d %d\n", a, b, c);
return 0;
}
void temp(int *a, int *b) {
... | [["-", 64, 1, 0, 2, 3, 4, 0, 66, 28, 22], ["+", 64, 1, 0, 2, 3, 4, 0, 66, 28, 22]] | 0 | 137 |
#include <stdio.h>
void swap(int *x, int *y);
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a > b)
swap(&a, &b);
if (b > c)
swap(&b, &c);
if (a > b)
swap(&a, &c);
printf("%d %d %d\n", a, b, c);
return 0;
}
void swap(int *x, int *y) {
int tmp;
tmp = *x;
*x = *y;
*y = t... | #include <stdio.h>
void swap(int *x, int *y);
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a > b)
swap(&a, &b);
if (b > c)
swap(&b, &c);
if (a > b)
swap(&a, &b);
printf("%d %d %d\n", a, b, c);
return 0;
}
void swap(int *x, int *y) {
int tmp;
tmp = *x;
*x = *y;
*y = t... | [["-", 64, 1, 0, 2, 3, 4, 0, 66, 28, 22], ["+", 64, 1, 0, 2, 3, 4, 0, 66, 28, 22]] | 0 | 137 |
#include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (c > a)
a ^= c ^= a ^= c;
if (b > a)
a ^= b ^= a ^= b;
if (c > b)
b ^= c ^= b ^= c;
printf("%d %d %d\n", a, b, c);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (c < a)
a ^= c ^= a ^= c;
if (b < a)
a ^= b ^= a ^= b;
if (c < b)
b ^= c ^= b ^= c;
printf("%d %d %d\n", a, b, c);
return 0;
} | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18]] | 0 | 91 |
#include <stdio.h>
#include <stdlib.h>
void compare(int *const a, int *const b);
int main(int argc, char *argv[]) {
int x, y, z;
if (scanf("%d*%d*%d", &x, &y, &z) != 3) {
exit(1);
}
compare(&x, &y);
compare(&y, &z);
compare(&x, &y);
printf("%d %d %d\n", x, y, z);
return 0;
}
void compare(int *... | #include <stdio.h>
#include <stdlib.h>
void compare(int *const a, int *const b);
int main(int argc, char *argv[]) {
int x, y, z;
if (scanf("%d %d %d", &x, &y, &z) != 3) {
exit(1);
}
compare(&x, &y);
compare(&y, &z);
compare(&x, &y);
printf("%d %d %d\n", x, y, z);
return 0;
}
void compare(int *... | [["-", 0, 16, 31, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 16, 31, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 17, 32], ["-", 0, 57, 64, 9, 0, 1, 0, 11, 17, 32], ["-", 0, 57, 64, 9, 0, 1, 0, 11, 12, 22]] | 0 | 154 |
#include <stdio.h>
void swap(int *a, int *b) {
int tmp;
tmp = *a;
*a = *b;
*b = tmp;
}
int main() {
int a, b, c;
int tmp;
scanf("%d %d %d", &a, &b, &c);
if (a < b) {
swap(&a, &b);
}
if (a < c) {
swap(&a, &c);
}
if (b < c) {
swap(&b, &c);
}
printf("%d %d %d\n", a, b, c);
return ... | #include <stdio.h>
void swap(int *a, int *b) {
int tmp;
tmp = *a;
*a = *b;
*b = tmp;
}
int main() {
int a, b, c;
int tmp;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
swap(&a, &b);
}
if (a > c) {
swap(&a, &c);
}
if (b > c) {
swap(&b, &c);
}
printf("%d %d %d\n", a, b, c);
return ... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47]] | 0 | 134 |
#include <stdio.h>
int main(void) {
int a[3];
int change;
register int i, s;
scanf("%d %d %d", &a[0], &a[1], &a[2]);
if (a[0] < a[1]) {
change = a[0];
a[0] = a[1];
a[1] = change;
}
if (a[1] < a[2]) {
change = a[1];
a[1] = a[2];
a[2] = change;
}
if (a[0] < a[1]) {
change ... | #include <stdio.h>
int main(void) {
int a[3];
int change;
register int i, s;
scanf("%d %d %d", &a[0], &a[1], &a[2]);
if (a[0] > a[1]) {
change = a[0];
a[0] = a[1];
a[1] = change;
}
if (a[1] > a[2]) {
change = a[1];
a[1] = a[2];
a[2] = change;
}
if (a[0] > a[1]) {
change ... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47]] | 0 | 189 |
#include <stdio.h>
int main(void) {
/*
int a;
int b;
int c;
scanf("%d%d%d",&a,&b,&c);
//a,b,c?????????????????¨??¨??§3!=6??????????????§??????????????¨??¨????????°??????
if(a<=b&&b<=c) printf("%d %d %d\n",a,b,c);
else if(a<=c&&c<=b) printf("%d %d %d\n",a,c,b);
else if(b<=a&&a<=c) printf("%d %d %d\n",b,a,c);
else if(... | #include <stdio.h>
int main(void) {
/*
int a;
int b;
int c;
scanf("%d%d%d",&a,&b,&c);
//a,b,c?????????????????¨??¨??§3!=6??????????????§??????????????¨??¨????????°??????
if(a<=b&&b<=c) printf("%d %d %d\n",a,b,c);
else if(a<=c&&c<=b) printf("%d %d %d\n",a,c,b);
else if(b<=a&&a<=c) printf("%d %d %d\n",b,a,c);
else if(... | [["-", 8, 9, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 9, 0, 7, 15, 16, 12, 16, 12, 13], ["-", 0, 7, 8, 9, 0, 7, 10, 11, 12, 22], ["+", 0, 7, 8, 9, 0, 7, 10, 11, 12, 13]] | 0 | 156 |
#include <stdio.h>
int main() {
int a[3], i, j;
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j = 0; j < 2 - i; j++) {
if (a[j] < a[j + 1]) {
int temp = a[j];
a[j] = a[j + 1];
a[j + 1] = temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a[2]);
... | #include <stdio.h>
int main() {
int a[3], i, j;
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j = 0; j < 2 - i; j++) {
if (a[j] > a[j + 1]) {
int temp = a[j];
a[j] = a[j + 1];
a[j + 1] = temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a[2]);
... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47]] | 0 | 146 |
#include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d &d", &a, &b, &c);
if (a < b) {
if (b < c)
printf("%d %d %d\n", a, b, c);
else if (a < c)
printf("%d %d %d\n", a, c, b);
else
printf("%d %d %d\n", c, a, b);
} else {
if (a < c)
printf("%d %d %d\n", b, a, c);
... | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b) {
if (b < c)
printf("%d %d %d\n", a, b, c);
else if (a < c)
printf("%d %d %d\n", a, c, b);
else
printf("%d %d %d\n", c, a, b);
} else {
if (a < c)
printf("%d %d %d\n", b, a, c);
... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 158 |
//
// main.c
// Practice
//
// Created by hoshino on 2015/10/19.
// Copyright ?? 2015??´ hoshino. All rights reserved.
//
#include <stdio.h>
int main(void) {
int a, b, c, d;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
d = a;
a = b;
b = d;
}
if (b > c) {
d = b;
b = c;
c = d;
}
... | //
// main.c
// Practice
//
// Created by hoshino on 2015/10/19.
// Copyright ?? 2015??´ hoshino. All rights reserved.
//
#include <stdio.h>
int main(void) {
int a, b, c, d;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
d = a;
a = b;
b = d;
}
if (b > c) {
d = b;
b = c;
c = d;
}
... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 119 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.