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
#include <stdio.h> int main() { int a, b, c, d; scanf("%d", &a); scanf("%d", &b); c = a * b; d = a + a + b + b; printf("%d\n", c); printf("%d\n", d); return 0; }
#include <stdio.h> int main() { int a, b, c, d; scanf("%d", &a); scanf("%d", &b); c = a * b; d = a + a + b + b; printf("%d ", c); printf("%d\n", d); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
76
#include <stdio.h> int main(void) { int a, b, c = 0, d = 0; scanf("%d %d", &a, &b); c = a * b; d = 2 * (a + b); printf("%d,%d", c, d); return 0; }
#include <stdio.h> int main(void) { int a, b, c = 0, d = 0; scanf("%d %d", &a, &b); c = a * b; d = 2 * (a + b); printf("%d %d\n", c, d); 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
65
#include <stdio.h> int main(void) { int a, b; scanf("%d", a); scanf("%d", b); printf("%d %d", a * b, a + a + b + b); return 0; }
#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; }
[["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
54
int main() { int a; int b; int out1; int out2; /* ????????? */ a = 0; b = 0; out1 = 0; out2 = 0; /* ???????????????????¨????????????????????????? */ scanf("%d %d", a, b); out1 = a * b; out2 = (a + b) * 2; /* ?????? */ printf("%d %d\n", out1, out2); return 0; }
int main() { int a; int b; int out1; int out2; /* ????????? */ a = 0; b = 0; out1 = 0; out2 = 0; /* ???????????????????¨????????????????????????? */ scanf("%d %d", &a, &b); out1 = a * b; out2 = (a + b) * 2; /* ?????? */ printf("%d %d\n", out1, out2); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
79
#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; }
#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; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
48
#include <stdio.h> int main(void) { int a; int b; int area; int length; scanf("%d", &a); scanf("%d", &b); area = a * b / 2; length = 2 * a + 2 * b; printf("%d %d\n", area, length); return 0; }
#include <stdio.h> int main(void) { int a; int b; int area; int length; scanf("%d", &a); scanf("%d", &b); area = a * b; length = 2 * a + 2 * b; printf("%d %d\n", area, length); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
0
74
#include <stdio.h> int main() { int a = 0, b = 0, x = 0, y = 0; scanf("%d%d", &a, &b); x = a * b; y = 2 * (a + b); printf("%d\n%d\n", x, y); return 0; }
#include <stdio.h> int main() { int a = 0, b = 0, x = 0, y = 0; scanf("%d%d", &a, &b); x = a * b; y = 2 * (a + b); printf("%d %d\n", x, y); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
71
#include <stdio.h> int main() { int a; int b; scanf("%d,%d", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); return 0; }
#include <stdio.h> int main() { int a; int b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
50
#include <stdio.h> int main() { int a, b, x, y; scanf("%d %d", &a, &b); x = a * b, y = 2 * (a + b); printf("%d\n", x, y); return 0; }
#include <stdio.h> int main() { 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; }
[["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
61
#include <stdio.h> int main(void) { int a, b, x, y; scanf("%d", &a); scanf("%d\n", &b); x = a * b; y = (2 * a) + (2 * b); printf("%d%d\n", x, y); return 0; }
#include <stdio.h> int main(void) { int a, b, x, y; scanf("%d", &a); scanf("%d", &b); x = a * b; y = (2 * a) + (2 * b); printf("%d %d\n", x, y); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
74
#include <stdio.h> int main() { int a, b, c, d; scanf("%d %d", &a, &b); c = a * b; d = 2 * (a + b); printf("%d,%d\n", c, d); return 0; }
#include <stdio.h> int main() { int a, b, c, d; scanf("%d %d", &a, &b); c = a * b; d = 2 * (a + b); printf("%d %d\n", c, d); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
61
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a + b + a + b, a * b); return 0; }
#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; }
[["-", 3, 4, 0, 16, 31, 16, 31, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 3, 4, 0, 16, 31, 16, 31, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 31, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, ...
0
50
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); printf("%d\n %d\n", a * b, a * 2 + b * 2); return 0; }
#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; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
52
#include <stdio.h> int main() { int a; int b; scanf("%d %d", &a, &b); a >= 1; b <= 100; printf("%d %d)\n", a * b, 2 * (a + b)); return 0; }
#include <stdio.h> int main() { int a; int b; scanf("%d %d", &a, &b); a >= 1; b <= 100; printf("%d %d\n", a * b, 2 * a + 2 * b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 2, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 17, 48], ["-", 0, 2, 3, 4, 0, 16, 12, 23, 0, 25]]
0
58
#include <stdio.h> int main(int argc, char const *argv[]) { int a, b; scanf("%d %d", a, b); printf("%d %d\n", a * b, (a + b) * 2); return 0; }
#include <stdio.h> int main(int argc, char const *argv[]) { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, (a + b) * 2); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
56
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); printf("%d", a + b); printf(" %d\n", a * b); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); printf("%d", a * b); printf(" %d\n", 2 * a + 2 * b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 31, 13]]
0
53
#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; }
#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; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25]]
0
49
/* * a.c * * Created on: 2017/06/13 * Author: AWV060608 */ #include <stdio.h> int main(void) { int x, y; scanf("%d", &x); scanf("%d", &y); printf("%d", x * y); printf("%d", 2 * x + 2 * y); return 0; }
/* * a.c * * Created on: 2017/06/13 * Author: AWV060608 */ #include <stdio.h> int main(void) { int x, y; scanf("%d", &x); scanf("%d", &y); printf("%d ", x * y); printf("%d\n", 2 * x + 2 * y); 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
64
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); int lanLec = (a * 2) + (b * 2); int areaLec = a * b; printf("%d %d?\n", areaLec, lanLec); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); int lanLec = (a * 2) + (b * 2); int areaLec = a * b; printf("%d %d\n", areaLec, lanLec); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
64
#include <stdio.h> int main(void) { // Here your code ! int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n * m, n + m * 2); return 0; }
#include <stdio.h> int main(void) { // Here your code ! int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n * m, (n + m) * 2); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25]]
0
49
#include <stdio.h> int main(void) { // Here your code ! int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a + b); return 0; }
#include <stdio.h> int main(void) { // Here your code ! int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a * 2 + b * 2); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 12, 13]]
0
47
#include <stdio.h> int main(void) { // Here your code ! int a, b; scanf("%d %d", &a, &b); printf("%d\n%d\n", a * b, a + a + b + b); return 0; }
#include <stdio.h> int main(void) { // Here your code ! int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a + a + b + b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
53
#include <stdio.h> int main(void) { int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n + m, n * m); return 0; }
#include <stdio.h> int main(void) { int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n * m, n * 2 + m * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 12, 13]]
0
46
#include <stdio.h> int main() { int a, b, A, B; scanf("%d %d", a, b); A = a * b; B = 2 * (a + b); printf("%d %d\n", A, B); return 0; }
#include <stdio.h> int main() { int a, b, A, B; scanf("%d %d", &a, &b); A = a * b; B = 2 * (a + b); printf("%d %d\n", A, B); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
59
#include <stdio.h> main() { int a, b, mawari, menseki; scanf("%d %d", &a, &b); mawari = a + a + b + b; menseki = a * b; printf("%d %d\n", mawari, menseki); return 0; }
#include <stdio.h> main() { int a, b, mawari, menseki; scanf("%d %d", &a, &b); mawari = a + a + b + b; menseki = a * b; printf("%d %d\n", menseki, mawari); return 0; }
[["-", 0, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 0, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
61
#include <stdio.h> int main(void) { int x, y; scanf("%d %d", &x, &y); printf("%d\n", x * y); printf("%d\n", x * 2 + y * 2); return 0; }
#include <stdio.h> int main(void) { int x, y; scanf("%d %d", &x, &y); printf("%d ", x * y); printf("%d\n", x * 2 + y * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
58
#include <stdio.h> int main() { int a, b; int l, s; scanf("%d %d", &a, b); l = 2 * (a + b); s = a * b; printf("%d %d\n", l, s); return 0; }
#include <stdio.h> int main() { int a, b; int l, s; scanf("%d %d", &a, &b); l = 2 * (a + b); s = a * b; printf("%d %d\n", s, l); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
61
#include <stdio.h> int a, b; int main() { scanf("%d %d", &a, &b); printf("%d\n", a * b, (a + b) * 2); return 0; }
#include <stdio.h> int a, b; int main() { scanf("%d %d", &a, &b); printf("%d %d\n", a * b, (a + b) * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
49
#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; }
#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; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22]]
0
44
#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); }
#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); }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
50
#include <stdio.h> int main(void) { int a, b, x, y; scanf("%d %d", a, b); x = a * b; y = a + a + b + b; printf("%d %d", x, y); return 0; }
#include <stdio.h> int main(void) { int a, b, x, y; scanf("%d %d\n", &a, &b); x = a * b; y = a + a + b + b; printf("%d %d\n", x, y); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
59
#include <math.h> #include <stdio.h> int main(void) { int a = 0, b = 0, c = 0, d = 0; scanf("%d %d", a, b); c = a * b; d = 2 * (a + b); printf("%d %d\n", c, d); return 0; }
#include <math.h> #include <stdio.h> int main(void) { int a = 0, b = 0, c = 0, d = 0; scanf("%d %d", &a, &b); c = a * b; d = 2 * (a + b); printf("%d %d\n", c, d); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
70
#include <stdio.h> int main(void) { // Here your code ! int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n + m, n * m); return 0; }
#include <stdio.h> int main(void) { // Here your code ! int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n * m, n * 2 + m * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 12, 13]]
0
47
#include <stdio.h> int main(void) { // Here your code ! int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n * m, n * m + 1); return 0; }
#include <stdio.h> int main(void) { // Here your code ! int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", n * m, n + m + n + m); return 0; }
[["-", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48], ["+", 3, 4, 0, 16, 31, 16, 31, 16, 17, 72], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22]]
0
49
#include <stdio.h> int main() { int a, b; int c, d; scanf("%d %d", &a, &b); c = a + b; d = 2 * a + 2 * b; printf("%d %d \n", c, d); return 0; }
#include <stdio.h> int main() { int a, b; int c, d; scanf("%d %d", &a, &b); c = a * b; d = 2 * a + 2 * b; printf("%d %d\n", c, d); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
62
#include <stdio.h> int main() { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d", a * b); printf("%d\n", (a + b) * 2); return 0; }
#include <stdio.h> int main() { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d ", a * b); printf("%d\n", (a + b) * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
63
#include <stdio.h> int main() { int x, y; scanf("%d,%d", &x, &y); printf("%d %d\n", x * y, 2 * (x + y)); return 0; }
#include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d %d\n", x * y, 2 * (x + y)); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
49
#include <stdio.h> int main() { int a, b, s, l; scanf("%d", &a, &b); s = a * b; l = (a * 2) + (b * 2); printf("%d %d\n", s, l); return 0; }
#include <stdio.h> int main() { int a, b, s, l; scanf("%d%d", &a, &b); s = a * b; l = (a * 2) + (b * 2); printf("%d %d\n", s, l); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
65
#include <stdio.h> int main() { int a, b, l, v; scanf("%d %d", &a, &b); l = (2 * a) + (2 * b); v = a * b; printf("%d %d\n", l, v); return 0; }
#include <stdio.h> int main() { int a, b, l, v; scanf("%d %d", &a, &b); l = (2 * a) + (2 * b); v = a * b; printf("%d %d\n", v, l); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
65
#include <stdio.h> int main(void) { int a, b, x, y; scanf("%d\n", &a); scanf("%d\n", &b); x = a * b; y = 2 * a * b; printf("%d %d", x, y); return 0; }
#include <stdio.h> int main(void) { int a, b, x, y; scanf("%d\n", &a); scanf("%d\n", &b); x = a * b; y = 2 * (a + b); printf("%d %d\n", x, y); return 0; }
[["+", 0, 1, 0, 11, 12, 16, 12, 23, 0, 24], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 0, 11, 12, 16, 12, 23, 0, 16, 17, 72], ["+", 0, 1, 0, 11, 12, 16, 12, 23, 0, 25], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
68
#include <stdio.h> int main() { int a, b; int s, r; scanf("%d", &a); scanf("%d", &b); s = a * b; r = (a + a) + (b + b); printf("%d%d\n", s, r); return 0; }
#include <stdio.h> int main() { int a, b; int s, r; scanf("%d", &a); scanf("%d", &b); s = a * b; r = (a + a) + (b + b); printf("%d %d\n", s, r); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
73
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d %d", a * b, a * a + b * b); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d %d\n", a * b, a * 2 + b * 2); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["-", 0, 2, 3, 4, 0, 16, 12, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 12, 13]]
0
56
#include <stdio.h> int main() { int a, b, s, l; scanf("%d %d", &a, &b); s = a * b; l = 2 * a + 2 * b; printf("%d\n", s, l); return 0; }
#include <stdio.h> int main() { 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; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
61
#include <stdio.h> int main() { int a, b, s, l; scanf("%d" "%d", &a, &b); l = a * 2 + b * 2; s = a * b; printf("%d %d\n", l, s); return 0; }
#include <stdio.h> int main() { int a, b, s, l; scanf("%d" "%d", &a, &b); l = a * 2 + b * 2; s = a * b; printf("%d %d\n", s, l); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
64
#include <stdio.h> int main() { int a; int b; scanf("%d", &a, &b); printf("%d", a * b); printf("%d", a + a + b + b); return 0; }
#include <stdio.h> int main() { int a; int b; scanf("%d%d", &a, &b); printf("%d ", a * b); printf("%d\n", a + a + b + b); 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
56
#include <stdio.h> int main(void) { int a; int b; scanf("%d", &a); scanf("%d", &b); printf("%d", a * b); printf("%d\n", 2 * a + 2 * b); return 0; }
#include <stdio.h> int main(void) { int a; int b; scanf("%d", &a); scanf("%d", &b); printf("%d ", a * b); printf("%d\n", 2 * a + 2 * b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
65
#include <stdio.h> int main() { int a, b; scanf("%d %d", a, b); printf("%d %d", a * b, 2 * (a + b)); return 0; }
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
46
#include <stdio.h> int main(void) { int a, b, S, L; scanf("%d %d", &a, &b); S = a * b; L = a * a + b * b; printf("%d %d\n", S, L); return 0; }
#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; }
[["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["-", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 13]]
0
62
#include <stdio.h> int main() { int h, w; scanf("%d%d", &h, &w); printf("%d \d\n", h * w, h * 2 + w * 2); return 0; }
#include <stdio.h> int main() { int h, w; scanf("%d%d", &h, &w); printf("%d %d\n", h * w, h * 2 + w * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
50
#include <stdio.h> int main(void) { int a = 0, b = 0, area, longth; scanf("%d%d", &a, &b); area = a * b; longth = 2 * (a * b); printf("%d %d", area, longth); return 0; }
#include <stdio.h> int main(void) { int a = 0, b = 0, area, longth; scanf("%d%d", &a, &b); area = a * b; longth = 2 * (a + b); printf("%d %d\n", area, longth); return 0; }
[["-", 0, 11, 12, 16, 12, 23, 0, 16, 17, 48], ["+", 0, 11, 12, 16, 12, 23, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
65
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); int x = a * b; int y = 2 * a + 2 * b; printf("%x %y\n", x, y); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); int x = a * b; int y = 2 * a + 2 * b; printf("%d %d\n", x, y); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
60
#include <stdio.h> int main(void) { int a; int b; int c; int d; scanf("%d %d", &a, &b); c = (2 * a) + (2 * b); d = a * b; printf("%d %d\n", c, d); return 0; }
#include <stdio.h> int main(void) { int a; int b; int c; int d; scanf("%d %d", &a, &b); c = (2 * a) + (2 * b); d = a * b; printf("%d %d\n", d, c); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
69
b; main(a) { scanf("%d%d", &a, &b); printf("%d%d\n", a * b, (a + b) * 2); exit(0); }
b; main(a) { scanf("%d%d", &a, &b); printf("%d %d\n", a * b, (a + b) * 2); exit(0); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
46
#include <stdio.h> int main(void) { int a, b; int y, x; scanf("%d %d", &a, &b); y = a * b; x = a + b; printf("%d %d\n", y, x); return 0; }
#include <stdio.h> int main(void) { int a, b; int y, x; scanf("%d %d", &a, &b); y = a * b; x = a + a + b + b; printf("%d %d\n", y, x); return 0; }
[["+", 0, 11, 12, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 72], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72]]
0
59
#include <stdio.h> int main() { int a, b; int syu, menseki; scanf("%d %d", &a, &b); syu = a + a + b + b; menseki = a * b; printf("%d %d\n", syu, menseki); return 0; }
#include <stdio.h> int main() { int a, b; int syu, menseki; scanf("%d %d", &a, &b); syu = a + a + b + b; menseki = a * b; printf("%d %d\n", menseki, syu); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
62
#include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); int length = 2 * (x + y); int area = x * y; printf("%d %d", length, area); return 0; }
#include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); int length = 2 * (x + y); int area = x * y; printf("%d %d\n", area, length); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
58
#include <stdio.h> int main() { int x; int y; scanf("%d %d", &x, &y); printf("%d &d\n", x * y, 2 * x + 2 * y); return 0; }
#include <stdio.h> int main() { int x; int y; scanf("%d %d", &x, &y); printf("%d %d\n", x * y, 2 * x + 2 * y); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
50
#include <stdio.h> int main() { int a, b; scanf("%d,%d", &a, &b); printf("%d %d\n", a * b, a + a + b + b); return 0; }
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a + a + b + b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
49
#include <stdio.h> int main(int argc, char *argv[]) { int width, height; scanf("%d %d", &width, &height); printf("% %d\n", width * height, (width + height) * 2); return 0; }
#include <stdio.h> int main(int argc, char *argv[]) { int width, height; scanf("%d %d", &width, &height); printf("%d %d\n", width * height, (width + height) * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
57
#include <stdio.h> int main(int argc, const char *argv[]) { int a, b, c; scanf("%d %d", a, b); c = a * b; b = 2 * (a + b); printf("%d %d", c, b); return 0; }
#include <stdio.h> int main(int argc, const char *argv[]) { int a, b, c; scanf("%d %d", &a, &b); c = a * b; b = 2 * (a + b); printf("%d %d\n", c, b); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
65
#include <stdio.h> int main(void) { int a, b, men, syu; scanf("%d %d", &a, &b); men = a * b; syu = a + a + b + b; printf("%d %d,men,syu\n"); return 0; }
#include <stdio.h> int main(void) { int a, b, men, syu; scanf("%d %d", &a, &b); men = a * b; syu = a + a + b + b; printf("%d %d\n", men, syu); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
58
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a, &b); int s = a * b; int l = a * 2 + b * 2; printf("%d %d\n", s, l); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); int s = a * b; int l = a * 2 + b * 2; printf("%d %d\n", s, l); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
60
#include <stdio.h> int main(void) { int a; int b; scanf("%d", &a); scanf("%d", &b); printf("%d\n", a * b); printf("%d\n", a * 2 + b * 2); return 0; }
#include <stdio.h> int main(void) { int a; int b; scanf("%d", &a); scanf("%d", &b); printf("%d", a * b); printf(" %d\n", a * 2 + b * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
66
#include <stdio.h> int main(int argc, const char *argv[]) { int x, y; scanf("%d,%d", &x, &y); printf("%d %d", x * y, x + x + y + y); return 0; }
#include <stdio.h> int main(int argc, const char *argv[]) { int x, y; scanf("%d %d", &x, &y); printf("%d %d\n", x * y, x + x + y + y); 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
57
#include <stdio.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 0; }
#include <stdio.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 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
62
#include <stdio.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 0; }
#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 %d\n", x, y); return 0; }
[["-", 0, 1, 0, 11, 12, 16, 12, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48], ["-", 0, 1, 0, 11, 12, 16, 12, 23, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
62
main() { int a, b, c, d; scanf("%d%d", &a, &b); c = a * b; d = a * 2 + b * 2; printf("%d%d\n", c, d); return 0; }
main() { int a, b, c, d; scanf("%d%d", &a, &b); c = a * b; d = a * 2 + b * 2; printf("%d %d\n", c, d); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
58
void 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; }
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; }
[["-", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["-", 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
58
#include <stdio.h> main() { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a << 1 + b << 1); }
#include <stdio.h> main() { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, (a << 1) + (b << 1)); }
[["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25], ["+", 0, 2, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 16, 12, 23, 0, 25]]
0
46
#include <stdio.h> int main(void) { int a; int b; int s; int l; scanf("%d", a); scanf("%d", b); s = a * b; l = 2 * (a + b); printf("%d %d\n", s, l); return 0; }
#include <stdio.h> int main(void) { int a; int b; int s; int l; scanf("%d", &a); scanf("%d", &b); s = a * b; l = 2 * (a + b); printf("%d %d\n", s, l); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
70
#include <stdio.h> int main(void) { int x, y; scanf("%d%d", x, y); printf("%d %d", x * y, x * 2 + y * 2); return 0; }
#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; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
47
#include <stdio.h> int main() { int a, b; scanf("%d%d", &a, &b); printf("%d%d", a * b, (a * 2) + (b * 2)); }
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, (a * 2) + (b * 2)); }
[["-", 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
49
#include <stdio.h> int main() { int a, b, l, s; scanf("%d %d", &a, &b); printf("%d\n", a * b, a * 2 + b * 2); return 0; }
#include <stdio.h> int main() { int a, b, l, s; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a * 2 + b * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
53
#include <stdio.h> main() { int a, b, S, L; scanf("%d???%d", &a, &b); S = a * b; L = 2 * a + 2 * b; printf("%d???%d", S, L); }
#include <stdio.h> main() { int a, b, S, L; scanf("%d %d", &a, &b); S = a * b; L = 2 * a + 2 * b; printf("%d %d\n", S, L); }
[["-", 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
57
#include <stdio.h> int main() { int a, b, m, n; scanf("%d %d", &a, &b); m = a * b; n = (a + b) * 2; printf("%dcm*cm %dcm\n", m, n); return 0; }
#include <stdio.h> int main() { int a, b, m, n; scanf("%d %d", &a, &b); m = a * b; n = (a + b) * 2; printf("%d %d\n", m, n); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
61
#include <stdio.h> int main() { int a, b, x, y; scanf("%d%d", &a, &b); x = a * b; y = (a + b) * 2; printf("%d\n", x); printf("%d\n", y); }
#include <stdio.h> int main() { int a, b, x, y; scanf("%d%d", &a, &b); x = a * b; y = (a + b) * 2; printf("%d", x); printf(" %d\n", y); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]]
0
66
#include <stdio.h> int main() { int a, b, x, y; scanf("%d %d", &a, &b); x = a * b; y = a + a + b + b; printf("%d %d\n", &x, &y); return 0; }
#include <stdio.h> int main() { int a, b, x, y; scanf("%d %d", &a, &b); x = a * b; y = a + a + b + b; printf("%d %d\n", x, y); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
63
#include <stdio.h> int main(int argv, char **argc) { int a, b; scanf("%d %d", &a, &b); printf("%d%d\n", a * b, 2 * (a + b)); return 0; }
#include <stdio.h> int main(int argv, char **argc) { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
56
int main() { int a, b, syu, menseki; scanf("%d %d", &a, &b); syu = a * 2 + b * 2; menseki = a * b; printf("%d %d\n", syu, menseki); return 0; }
int main() { int a, b, syu, menseki; scanf("%d %d", &a, &b); syu = a * 2 + b * 2; menseki = a * b; printf("%d %d\n", menseki, syu); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
59
int main() { int a; int b; scanf("%d %d", &a, &b); printf("%d &d", a * b, 2 * (a + b)); return 0; }
int main() { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 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
47
a; main(b) { scanf("%d%d", &a, &b); printf("%d%d", a * b, a + a + b + b); }
a; main(b) { scanf("%d%d", &a, &b); printf("%d %d\n", a * b, a + a + b + b); }
[["-", 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
40
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d", a * b); printf("%d", (a + b) * 2); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d ", a * b); printf("%d\n", (a + b) * 2); 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
63
#include <stdio.h> int main() { int a; int b; scanf("%d%d", &a, &b); printf("%d%d", a * b, a * 2 + b * 2); return 0; }
#include <stdio.h> int main() { int a; int b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a * 2 + b * 2); 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
49
#include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d\n", "%d\n", x * y, " ", (x + y) * 2); return 0; }
#include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d %d\n", x * y, (x + y) * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
58
#include <stdio.h> int main(void) { int a; int b; scanf("%d %d", &a, &b); printf("%d\n", a * b); printf("%d\n", 2 * (a + b)); return 0; }
#include <stdio.h> int main(void) { int a; int b; scanf("%d %d", &a, &b); printf("%d", a * b); printf(" %d\n", 2 * (a + b)); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
59
#include <stdbool.h> #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d\n", a * b); printf("%d\n", 2 * (a + b)); return 0; }
#include <stdbool.h> #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d ", a * b); printf("%d\n", 2 * (a + b)); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
59
#include <stdbool.h> #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d", a * b); printf("%d", a + a + b + b); return 0; }
#include <stdbool.h> #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d ", a * b); printf("%d\n", a + a + b + b); 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
57
#include <iostream> using namespace std; int main() { int x, y; cin >> x >> y; int area, peri; area = x * y; peri = x + x + y + y; cout << area << endl << peri << endl; return 0; }
#include <iostream> using namespace std; int main() { int x, y; cin >> x >> y; int area, peri; area = x * y; peri = x + x + y + y; cout << area << " " << peri << endl; return 0; }
[["-", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
57
#include <iostream> using namespace std; int main() { int a, b; cin >> a, b; cout << a * b << " " << 2 * a + 2 * b << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << endl; return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 16, 31, 16, 12, 16, 12, 23, 0, 24], ["-", 0, 16, 31, 16, 12, 16, 12, 16, 31, 13], ["-", 0, 16, 31, 16, 12, 16, 12, 16, 17, 48], ["+", 0, 16, 31, 16, 12, 16, 12, 23, 0, 25]]
1
46
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << endl; cout << a * 2 + b * 2 << endl; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << a * 2 + b * 2 << endl; }
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
43
#include <iostream> using namespace std; int main() { int x = 0; int y = 0; cin >> x; cin >> y; cout << x * y << 2 * (x + y) << endl; return 0; }
#include <iostream> using namespace std; int main() { int x = 0; int y = 0; cin >> x; cin >> y; cout << x * y << " " << 2 * (x + y) << endl; return 0; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
49
#include <iostream> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b << endl; cout << a * 2 + b * 2 << endl; }
#include <iostream> using namespace std; int main() { int a; int b; cin >> a >> b; cout << a * b << " " << a * 2 + b * 2 << endl; }
[["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
46
#include <bits/stdc++.h> using namespace std; int main() { int x, y; cin >> x >> y; cout << x * y << " " << x + 2 + y * 2 << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x, y; cin >> x >> y; cout << x * y << " " << x * 2 + y * 2 << endl; }
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 17, 72], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]]
1
43
#include <iostream> using namespace std; int main() { int a, b; // 1,100 cin >> a >> b; cout << a * b << "" << 2 * (a + b) << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; // 1,100; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << endl; return 0; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
46
#include <iostream> using namespace std; int main() { int a, b; //変数を宣言 cin >> a >> b; //外部入力から変数を2つ読み込む //面積・空白スペース・周の長さ・改行を出力 cout << "a*b" << " " << 2 * (a + b) << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; //変数を宣言 cin >> a >> b; //外部入力から変数を2つ読み込む //面積・空白スペース・周の長さ・改行を出力 cout << a * b << " " << 2 * (a + b) << endl; return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 48], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 12, 22]]
1
49
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << (a + b) * 2 << endl; }
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << " " << (a + b) * 2 << endl; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
40
#include <cstdio> int main() { int a, b, c, d; scanf("%d %d", &a, &b); c = a * b + a; d = 2 * (a + b); printf("%d %d\n ", c, d); return 0; }
#include <cstdio> int main() { int a, b, c, d; scanf("%d %d", &a, &b); c = a * b; d = 2 * (a + b); printf("%d %d\n", c, d); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
64
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << 2 * (a + b) << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << endl; return 0; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
42
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b; c = (a + b) * 2; cout << a * b; cout << c << endl; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b; c = (a + b) * 2; cout << a * b << " " << c << endl; }
[["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 17, 151], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
47
#include <iostream> using namespace std; int main() { int a, b, s, r; cin >> a; cin >> b; s = a * b; r = 2 * (a + b); cout << s << r << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b, s, r; cin >> a >> b; s = a * b; r = 2 * (a + b); cout << s << " " << r << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 17, 151], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
56