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(void) { // Your code here! int a, b; scanf("%d %d", &a, &b); printf("%d\n" "%d\n", a * b, 2 * (a + b)); }
#include <stdio.h> int main(void) { // Your code here! int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); }
[["-", 0, 2, 3, 4, 0, 61, 0, 5, 0, 6], ["-", 0, 2, 3, 4, 0, 61, 0, 5, 0, 44], ["-", 0, 2, 3, 4, 0, 61, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
52
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b << endl; cout << (a + b) * 2 << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b << " " << (a + b) * 2 << endl; return 0; }
[["-", 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
48
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b; cout << 2 * a + 2 * b; cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b; cout << " "; cout << 2 * a + 2 * b; cout << endl; }
[["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 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, 17, 151]]
1
46
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b; cout << endl; cout << a * 2 + b * 2; cout << endl; // Your code here! }
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << " " << a * 2 + b * 2; cout << endl; // Your code here! }
[["-", 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], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
49
#include <cstdio> #include <iostream> using namespace std; int main(void) { int x, y; cin >> x; // xに読む cin >> y; // yに読む cout << x * y; cout << endl; cout << 2 * (x + y); cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int x, y; cin >> x >> y; cout << x * y; cout << " "; cout << 2 * (x + y); cout << 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, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
54
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << a + b + a + b; cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << " "; cout << a + b + a + b; cout << endl; }
[["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 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, 17, 151]]
1
48
#include <iostream> using namespace std; int main(void) { int x, y; cin >> x, y; cout << x * y; cout << " "; cout << 2 * (x + y); cout << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int x, y; cin >> x; cin >> y; cout << x * y; cout << " "; cout << 2 * (x + y); cout << endl; return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 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, 17, 152]]
1
53
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << 2 * (a + b); cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << " "; cout << 2 * (a + b); cout << endl; }
[["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 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, 17, 151]]
1
48
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b; cout << " "; cout << a + b; cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b; cout << " "; cout << 2 * (a + b); cout << endl; }
[["+", 8, 9, 0, 1, 0, 16, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 12, 16, 12, 23, 0, 24], ["+", 0, 1, 0, 16, 12, 16, 12, 23, 0, 25]]
1
48
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << endl; cout << 2 * a + 2 * b; cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << " "; cout << 2 * a + 2 * b; cout << endl; }
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
52
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b; cout << " "; cout << (a + b); cout << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b; cout << " "; cout << 2 * (a + b); cout << endl; }
[["+", 8, 9, 0, 1, 0, 16, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["-", 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]]
1
52
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << " "; cout << a * b * 2; cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b; cout << " "; cout << a * 2 + b * 2; cout << endl; }
[["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 72]]
1
52
#include <iostream> using namespace std; int Square(int x, int y) { return x * y; } int Length(int x, int y) { return 2 * (x + y); } int main() { int x; int y; cin >> x >> y; cout << Square(x, y) << Length(x, y) << endl; return 0; }
#include <iostream> using namespace std; int Square(int x, int y) { return x * y; } int Length(int x, int y) { return 2 * (x + y); } int main() { int x; int y; cin >> x >> y; cout << Square(x, y) << " " << Length(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
81
#include <iostream> using namespace std; int main() { double a, b, s, S; cin >> a >> b; s = 2 * (a + b); S = a * b; cout << s << " " << S << endl; return 0; }
#include <iostream> using namespace std; int main() { double a, b, s, S; cin >> a >> b; s = 2 * (a + b); S = a * b; cout << S << " " << s << endl; return 0; }
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
58
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { long a, b; long i, j, k; long f; long n; long cnt = 0; long h; long left, right, mid; long ans = 0; static char str[102][1003]; char s[9]; char p[1003]; char tmp; int end = 0; scanf("%ld ld", &a, &b); ...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { long a, b; long i, j, k; long f; long n; long cnt = 0; long h; long left, right, mid; long ans = 0; static char str[102][1003]; char s[9]; char p[1003]; char tmp; int end = 0; scanf("%ld %ld", &a, &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]]
1
117
#include <stdio.h> int main() { int a; int b; scanf("%d %d", &a, &b); printf("%d %d?\n", a * b, 2 * a + 2 * 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 + 2 * b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
50
#include <algorithm> #include <iostream> #include <queue> #include <set> #include <stack> #include <string> using namespace std; int main() { int a; int b; cin >> a; cout << a * b << " " << a + a + b + b << endl; return 0; }
#include <algorithm> #include <iostream> #include <queue> #include <set> #include <stack> #include <string> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b << " " << a + a + b + b << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
55
#include <iostream> using namespace std; int main() { int a, b, s, l; cin >> a >> b; s = a * b; l = 2 * a + 2 * b; cout << s + " " + l << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b, s, l; cin >> a >> b; s = a * b; l = 2 * a + 2 * b; cout << s << " " << l << endl; return 0; }
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 17, 72], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 17, 151], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
58
#include <iostream> using namespace std; int main() { int a; int b; cin >> a >> b; cout << a * b << 2 * (a + b) << '\n'; return 0; }
#include <iostream> using namespace std; int main() { int a; int b; cin >> a >> b; cout << a * b << ' ' << 2 * (a + b) << '\n'; return 0; }
[["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
45
#include <iostream> using namespace std; int main() { int a, b, men, shu; cin >> a, b; men = a * b; shu = (a + b) * 2; cout << men << " " << shu << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b, men, shu; cin >> a >> b; men = a * b; shu = (a + b) * 2; cout << men << " " << shu << endl; return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152]]
1
58
#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) + (2 * 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
46
#include <iostream> using namespace std; int main(void) { double x, y; cin >> x >> y; cout << x * y << " " << (x + y) / 2 << endl; return 0; }
#include <iostream> using namespace std; int main(void) { double x, y; cin >> x >> y; cout << x * y << " " << (x + y) * 2 << endl; return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]]
1
47
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << endl; cout << 2 * a + 2 * b << endl; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * a + 2 * b << 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 <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); int L = 2 * (a + b); int S = a * b; printf("%d %d\n", L, S); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); int L = 2 * (a + b); int 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]]
1
60
#include <iostream> using namespace std; int main() { int a; int b; cin >> a >> b; cout << a * b << 2 * (a + 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, 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, 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
43
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; int S, L; S = a * b; L = 2 * (a + b); cout << S << L << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; int S, L; S = a * b; L = 2 * (a + b); cout << S << " " << L << 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
58
#include <iostream> using namespace std; int main() { int s, t; cin >> s; cin >> t; cout << s * t << 2 * s + 2 * t << endl; return 0; }
#include <iostream> using namespace std; int main() { int s, t; cin >> s; cin >> t; cout << s * t << " " << 2 * s + 2 * t << 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
44
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << endl; cout << a + a + b + b << endl; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << a + a + b + b << 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, y; cin >> x >> y; cout << x * y << "" << 2 * (x + y) << endl; }
#include <iostream> using namespace std; int main() { int x, y; cin >> x >> y; cout << x * y << " " << 2 * (x + y) << endl; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
42
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b << 2 * (a + b) << "\n"; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << "\n"; 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
46
// Example program #include <iostream> #include <string> using namespace std; int main() { int a = 0, b = 0; cin >> a >> b; // cin>>b; cout << a * b << (a + b) * 2 << endl; // cout<<a*b<<endl; // cout<<(a+b)*2<<endl; }
// Example program #include <iostream> #include <string> using namespace std; int main() { int a = 0, b = 0; cin >> a >> b; // cin>>b; cout << a * b << " " << (a + b) * 2 << endl; // cout<<a*b<<endl; // cout<<(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
49
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b; cout << a * b << " " << (a + b) * 2 << "?\n"; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << (a + b) * 2 << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
51
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << 2 * (a + b) << endl; return 0; }
#include <iostream> using namespace std; int main() { long a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 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
42
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << (a * b) << (2 * (a + b)) << endl; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << (a * b) << " " << (2 * (a + b)) << 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
45
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a + b << " " << 2 * a + 2 * b << endl; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * a + 2 * b << endl; }
[["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 72], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 48]]
1
43
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a + b << " " << 2 * a + 2 * b << endl; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << endl; }
[["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 72], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 48], ["+", 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
43
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b << endl; cout << a + a + b + b << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b << " " << a + a + b + b << endl; return 0; }
[["-", 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
48
#include <iostream> int main() { int a; int b; std::cin >> a; std::cin >> b; std::cout << a * b << std::ends << (a + b) * 2 << std::endl; }
#include <iostream> int main() { int a; int b; std::cin >> a; std::cin >> b; std::cout << a * b << " " << (a + b) * 2 << std::endl; }
[["-", 0, 16, 31, 16, 31, 16, 12, 343, 345, 348], ["-", 0, 16, 31, 16, 31, 16, 12, 343, 0, 349], ["-", 0, 16, 31, 16, 31, 16, 12, 343, 141, 22], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
50
#include <iostream> using namespace std; int main() { int a, b, c, d; cin >> a >> b; c = a * b; d = 2 * (a + b); cout << c << "" << d; }
#include <iostream> using namespace std; int main() { int a, b, c, d; cin >> a >> b; c = a * b; d = 2 * (a + b); cout << c << " " << d << endl; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
52
#include <iostream> using namespace std; int main() { int a, b; int x = 0; int l = 0; cin >> a; cin >> b; x = a * b; l = (a + b) * 2; cout << x << endl; cout << l << endl; }
#include <iostream> using namespace std; int main() { int a, b; int x = 0; int l = 0; cin >> a; cin >> b; x = a * b; l = (a + b) * 2; cout << x << " " << l << 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
63
#include <stdio.h> int main(void) { int a, b; scanf("%d%d", &a, &b); printf("%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, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
50
#include <iostream> using namespace std; int getLength(int w, int h) { return (w + h) * 2; } int getArea(int w, int h) { return w * h; } int main() { int w, h; cin >> w >> h; cout << getLength(w, h) << " " << getArea(w, h) << endl; return 0; }
#include <iostream> using namespace std; int getLength(int w, int h) { return (w + h) * 2; } int getArea(int w, int h) { return w * h; } int main() { int w, h; cin >> w >> h; cout << getArea(w, h) << " " << getLength(w, h) << endl; return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 2, 63, 22], ["+", 31, 16, 31, 16, 31, 16, 12, 2, 63, 22], ["-", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22]]
1
84
#include <stdio.h> int main() { int a = 0; int b = 0; scanf("%d %d", &a, &b); printf("%d %d\n", a * a, 2 * a + 2 * b); return 0; }
#include <stdio.h> int main() { int a = 0; int b = 0; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * a + 2 * b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22]]
1
54
#include <iostream> int main() { int a, b; std::cin >> a >> b; std::cout << a * b << 2 * a + 2 * b << std::endl; return 0; }
#include <iostream> int main() { int a, b; std::cin >> a >> b; std::cout << a * b << " " << 2 * a + 2 * b << std::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
44
#include <iostream> int main(int argc, char const *argv[]) { int a, b; int sq, rect; std::cin >> a >> b; sq = a * b; rect = a * 2 + b * 2; std::cout << sq << "" << rect << std::endl; return 0; }
#include <iostream> int main(int argc, char const *argv[]) { int a, b; int sq, rect; std::cin >> a >> b; sq = a * b; rect = a * 2 + b * 2; std::cout << sq << " " << rect << std::endl; return 0; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
69
#include <stdio.h> int main(void) { int a, b; scanf("%d &d", &a, &b); printf("%d %d\n", a * b, 2 * a + 2 * b); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * a + 2 * b); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
50
#include <stdio.h> int main() { int a, b, c; scanf("%d %d", &a, &b); c = a * b; a = 2 * (a + b); printf("%d %d\n", &c, &a); return 0; }
#include <stdio.h> int main() { int a, b, c; scanf("%d %d", &a, &b); c = a * b; a = 2 * (a + b); printf("%d %d\n", c, a); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
1
61
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, b); printf("%d %d\n", a * b, a + a + b + b); }
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, a + a + b + b); }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
1
45
#include <stdio.h> int main() { int a, b, c, d; scanf("%d %d", a, b); c = a * b; d = a * 2; d += b * 2; printf("%d %d", c, d); return (0); }
#include <stdio.h> int main() { int a, b, c, d; scanf("%d %d", &a, &b); c = a * b; d = a * 2; d += b * 2; printf("%d %d\n", c, d); return (0); }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
62
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a; cin >> b; cout << a * b << endl; cout << 2 * (a + b) << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << ' ' << 2 * (a + b) << endl; return 0; }
[["-", 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, 103, 0, 104], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125]]
1
49
#include <bits/stdc++.h> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b << endl; cout << 2 * a + 2 * b << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b; cout << " " << 2 * a + 2 * b << endl; }
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 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
46
#include <bits/stdc++.h> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b << endl; cout << a + a + b + b << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b << " " << a + a + b + b << endl; return 0; }
[["-", 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
49
#include <bits/stdc++.h> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b << endl; cout << (a + b) * 2 << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; int b; cin >> a; cin >> b; cout << a * b << " " << (a + 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
46
#include <bits/stdc++.h> using namespace std; int main() { int x; int y; cin >> x; cin >> y; int a = x * y; int b = 2 * a + 2 * b; cout << a << " " << b << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; int y; cin >> x; cin >> y; int a = x * y; int b = 2 * x + 2 * y; cout << a << " " << b << endl; return 0; }
[["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["-", 0, 43, 49, 50, 51, 16, 12, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 12, 16, 12, 22]]
1
59
#include <iostream> using namespace std; int main() { int a, b, men, naga; cin >> a; cin >> b; men = a * b; naga = 2 * a + 2 * b; cout << men << endl; cout << naga; }
#include <iostream> using namespace std; int main() { int a, b, men, naga; cin >> a; cin >> b; men = a * b; naga = 2 * a + 2 * b; cout << men << " "; cout << naga << endl; }
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
55
// hello .cpp #include <iostream> using namespace std; int main() { int a, b, men, shu; cin >> a >> b; men = a * b; shu = 2 * (a + b); cout << men << "" << shu << endl; return 0; }
// hello .cpp #include <iostream> using namespace std; int main() { int a, b, men, shu; cin >> a >> b; men = a * b; shu = 2 * (a + b); cout << men << " " << shu << endl; return 0; }
[["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
58
#include <iostream> using namespace std; int main(void) { // Your code here! int a, b; cin >> a >> b; cout << a * b << a + a + b + b << endl; }
#include <iostream> using namespace std; int main(void) { // Your code here! int a, b; cin >> a >> b; cout << a * b << " " << a + a + b + b << 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
41
#include <iostream> int main() { int a, b; std::cin >> a >> b; std::cout << a * b << a * 2 + b * 2 << std::endl; return 0; }
#include <iostream> int main() { int a, b; std::cin >> a >> b; std::cout << a * b << " " << a * 2 + b * 2 << std::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
44
#include <iostream> using namespace std; int main(void) { int a; int b; cin >> b; cin >> a; cout << a * b << endl; cout << (a + b) * 2 << endl; }
#include <iostream> using namespace std; int main(void) { int a; int b; cin >> b; cin >> a; cout << a * b << " " << (a + 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
47
#include <iostream> using namespace std; int main(void) { // Your code here! int a, b; cin >> a; cin >> b; cout << a * b << endl; cout << a * 2 + b * 2 << endl; }
#include <iostream> using namespace std; int main(void) { // Your code here! int a, 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
47
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << endl; cout << 2 * a + 2 * b << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << " " << 2 * a + 2 * b << endl; return 0; }
[["-", 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
47
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << endl; cout << 2 * a + 2 * b << endl; }
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << " " << 2 * a + 2 * b << 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
44
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d,%d", a * b, 2 * (a + b)); return 0; }
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d %d\n", a * b, 2 * (a + b)); return 0; }
[["-", 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
56
#include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d %d", a * b, a + 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 + b + a + b); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 3, 4, 0, 16, 31, 16, 31, 16, 31, 22], ["+", 3, 4, 0, 16, 31, 16, 31, 16, 17, 72], ["+", 3, 4, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 72]]
1
52
#include <iostream> using namespace std; int main() { int n, k; cin >> n >> k; cout << n * k << n * 2 + k * 2 << endl; }
#include <iostream> using namespace std; int main() { int n, k; cin >> n >> k; cout << n * k << ' ' << n * 2 + k * 2 << endl; }
[["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
39
#include <iostream> int main() { int S, L, a, b; std::cin >> a >> b; S = a * b; L = 2 * a + 2 * b; std::cout << S << L << std::endl; }
#include <iostream> int main() { int S, L, a, b; std::cin >> a >> b; S = a * b; L = 2 * a + 2 * b; std::cout << S << " " << L << std::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
53
#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 + 2 * 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 <algorithm> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; typedef long long unsigned int ...
#include <algorithm> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; typedef long long unsigned int ...
[["+", 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
86
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << 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, 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
39
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b << " " << a + b << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a; cin >> b; cout << a * b << " " << a + b + a + b << endl; return 0; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 72], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 72], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22]]
1
44
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << 2 * (a + b) << endl; }
#include <iostream> using namespace std; int main(void) { int a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << endl; }
[["+", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["+", 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
39
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int a, b, area, zhou; scanf("%d%d", &a, &b); area = a * b; //面積 zhou = 2 * (a + b); //周の長さ printf("%d%d\n", area, zhou); return 0; }
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int a, b, area, zhou; scanf("%d %d", &a, &b); area = a * b; //面積 zhou = 2 * (a + b); //周の長さ printf("%d %d\n", area, zhou); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
65
#include <stdio.h> int main() { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d %d\n", a * b, a + b); }
#include <stdio.h> int main() { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d %d\n", a * b, 2 * a + 2 * b); }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 17, 48]]
1
49
#include <stdio.h> int main() { int a, b, c; scanf("%d %b", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); }
#include <stdio.h> int main() { int a, b, c; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, 2 * (a + b)); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
48
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; int S, l; S = a * b; l = 2 * a + 2 * b; cout << S << l << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; int S, l; S = a * b; l = 2 * a + 2 * b; cout << S << ' ' << l << endl; }
[["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
52
#include <iostream> #include <string> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << (a + b) * 2 << endl; }
#include <iostream> #include <string> using namespace std; int main() { 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
41
#include <iostream> int main(int argc, char *argv[]) { int a, b; std::cin >> a >> b; std::cout << a * b << " " << a * 2 + b * 2 << std::endl; return 0; }
#include <iostream> int main(int argc, char *argv[]) { int a, b; std::cin >> a >> b; std::cout << a * b << " " << a * 2 + b * 2 << std::endl; return 0; }
[["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
56
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << 2 * (a + b) << "\n"; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << "\n"; 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
44
#include <iostream> using namespace std; int main() { int a; int b; cin >> a >> b; cout << a * b << 2 * (a + b) << endl; return 0; }
#include <iostream> using namespace std; int main() { int a; int 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
43
#include <iostream> int main() { int a, b; std::cin >> a >> b; std::cout << a * b << 2 * (a + b) << std::endl; return 0; }
#include <iostream> int main() { int a, b; std::cin >> a >> b; std::cout << a * b << ' ' << 2 * (a + b) << std::endl; return 0; }
[["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]]
1
44
#include <iostream> using namespace std; int main() { int x, y, menseki, syuu; cin >> x >> y; menseki = x * y; syuu = 2 * (x + y); cout << menseki << syuu << endl; return 0; }
#include <iostream> using namespace std; int main() { int x, y, menseki, syuu; cin >> x >> y; menseki = x * y; syuu = 2 * (x + y); cout << menseki << " " << syuu << 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
54
#include <stdio.h> int main() { int a = 0; int b = 0; scanf("%d %d", &a, &b); printf("%d %d\n", a * a, (a + b) * 2); return 0; }
#include <stdio.h> int main() { int a = 0; int b = 0; scanf("%d %d", &a, &b); printf("%d %d\n", a * b, (a + b) * 2); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22]]
1
54
#include <stdio.h> int main() { int a = 0, b = 0; int men = 0, shuu = 0; scanf("%d", &a); scanf("%d", &b); men = a * b; shuu = 2 * (a + b); printf("%d %d\n", a, b); return 0; }
#include <stdio.h> int main() { int a = 0, b = 0; int men = 0, shuu = 0; scanf("%d", &a); scanf("%d", &b); men = a * b; shuu = 2 * (a + b); printf("%d %d\n", men, shuu); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
1
77
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * a * b << endl; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << 2 * (a + b) << endl; }
[["+", 0, 16, 31, 16, 12, 16, 12, 23, 0, 24], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 31, 16, 12, 16, 12, 23, 0, 16, 17, 72], ["+", 0, 16, 31, 16, 12, 16, 12, 23, 0, 25]]
1
41
#include <iostream> using namespace std; int main(void) { int x, y; cin >> x >> y; cout << x * y << " " << x * x + y * y << endl; }
#include <iostream> using namespace std; int main(void) { int x, y; cin >> x >> y; cout << x * y << " " << x * 2 + y * 2 << endl; }
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["-", 0, 16, 31, 16, 12, 16, 12, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 12, 16, 12, 13]]
1
44
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; int resA, resB; resA = a * b; resB = 2 * a + 2 * b; cout << resA << resB << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; int resA, resB; resA = a * b; resB = 2 * a + 2 * b; cout << resA << " " << resB << 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
55
#include <iostream> using namespace std; int main() { int a = 0, b = 0; int length = 0, sheeld = 0; cin >> a >> b; length = (a + b) * 2; sheeld = a * b; cout << length << " " << sheeld << endl; return 0; }
#include <iostream> using namespace std; int main() { int a = 0, b = 0; int length = 0, sheeld = 0; cin >> a >> b; length = (a + b) * 2; sheeld = a * b; cout << sheeld << " " << length << endl; return 0; }
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
67
#include <stdio.h> int main() { int a, b; scanf("%d%d", &a, &b); printf("%d\n", a * b); printf("%d\n", 2 * a + 2 * b); return 0; }
#include <stdio.h> int main() { 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, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
57
#include <stdio.h> int main() { int a, b, s, v; scanf("%d %d", &a, &b); { s = a * b; v = 2 * (a + b); } printf("%d,%d", s, v); return 0; }
#include <stdio.h> int main() { int a, b, s, v; scanf("%d %d", &a, &b); { s = a * b; v = 2 * (a + b); } printf("%d %d\n", s, v); 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]]
1
62
#include <stdio.h> int main(void) { int a, b, menseki, syuu; scanf("%d %d", a, b); menseki = a * b; syuu = a * 2 + b * 2; printf("%d %d\n", menseki, syuu); return 0; }
#include <stdio.h> int main(void) { int a, b, menseki, syuu; scanf("%d %d", &a, &b); menseki = a * b; syuu = a * 2 + b * 2; printf("%d %d\n", menseki, syuu); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
1
60
#include <cstdio> int main() { int a, b, S, L; 1 <= a >= 100; 1 <= b >= 100; scanf("%d %d", &a, &b); S = a * b; L = a * 2 + b * 2; printf("%d %d\n", &S, &L); return 0; }
#include <cstdio> int main() { int a, b, S, L; 1 <= a >= 100; 1 <= b >= 100; 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, 66, 17, 67]]
1
75
#include <cstdio> int main() { int a, b, c, d; scanf("%d %d", &a, &b); c = 2 * (a + b); d = a * b; printf("%d%d", d, c); return 0; }
#include <cstdio> int main() { int a, b, c, d; scanf("%d %d", &a, &b); c = 2 * (a + b); d = a * b; printf("%d %d\n", d, 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]]
1
60
#include <iostream> using namespace std; int main(int argc, char *argv[]) { int a, b; cin >> a >> b; cout << a + b << " "; cout << 2 * (a + b) << endl; return 0; }
#include <iostream> using namespace std; int main(int argc, char *argv[]) { int a, b; cin >> a >> b; cout << a * b << " "; cout << 2 * (a + b) << endl; return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 16, 17, 72], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]]
1
56
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << a + b + a + b << "\n"; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a * b << " " << a + b + a + b << "\n"; 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
44
#include <iostream> #include <string> using namespace std; int main() { int x, y; cin >> x >> y; cout << x * y << (x + y) * 2 << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int x, y; cin >> x >> y; cout << x * y << " " << (x + y) * 2 << 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
44
#include <stdio.h> int main(void) { int a, b, c, u; scanf("%d %d", &a, &b); c = a * b; u = a * 2 + b * 2; printf("%d,%d\n", c, u); return 0; }
#include <stdio.h> int main(void) { int a, b, c, u; scanf("%d %d", &a, &b); c = a * b; u = a * 2 + b * 2; printf("%d %d\n", c, u); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
62
#include <stdio.h> int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); printf("%d %d", a * b, (a * a) + (b * b)); return 0; }
#include <stdio.h> int main() { int a = 0, b = 0; 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, 44], ["-", 3, 4, 0, 16, 31, 23, 0, 16, 12, 22], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["-", 3, 4, 0, 16, 12, 23, 0, 16, 12, 22], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 12, 13]]
1
56
#include <iostream> #include <stdio.h> using namespace std; int main() { int a, b, S, L; cin >> a >> b; S = a * b; L = a + b; cout << S << " " << L << endl; return 0; }
#include <iostream> #include <stdio.h> using namespace std; int main() { int a, b, S, L; cin >> a >> b; S = a * b; L = 2 * a + 2 * b; cout << S << " " << L << endl; return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48]]
1
56
#include <iostream> using namespace std; int i; int j; int length; int area; int main() { cin >> i >> j; length = i * 2 + j * 2; area = i * j; cout << length << " " << area << endl; return 0; }
#include <iostream> using namespace std; int i; int j; int length; int area; int main() { cin >> i >> j; length = i * 2 + j * 2; area = i * j; cout << area << " " << length << endl; return 0; }
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
61
#include <cstdio> int main() { int a = 0, b = 0; scanf("%d%d", &a, &b); printf("%d %d/n", a * b, a * 2 + b * 2); // int a=0,b=0; // scanf("%d %d",&a, &b); // printf("%d %d\n",a*b, a*2+b*2); return 0; // return 0; }
#include <cstdio> int main() { int a = 0, b = 0; 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]]
1
56