problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02389 | #include <stdio.h>
int main() {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d\n", a * b);
printf("%d\n", 2 * (a + b));
return 0;
}
| #include <stdio.h>
int main(void) {
// Your code here!
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d\ ", a * b);
printf("%d\n", 2 * (a + b));
return 0;
}
| [
"function.parameters.parameter.add",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 147,979 | 147,980 | u632711632 | cpp |
p02389 | #include <cstring>
#include <iostream>
#include <queue>
#include <utility>
#include <vector>
#define INF 900000000
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 <cstring>
#include <iostream>
#include <queue>
#include <utility>
#include <vector>
#define INF 900000000
using namespace std;
int main() {
int a;
int b;
cin >> a;
cin >> b;
cout << a * b << " " << a + a + b + b << endl;
return 0;
}
| [] | 147,987 | 147,988 | u654664990 | cpp |
p02389 |
#include <iostream>
using namespace std;
int main() {
int a, b;
std::cin >> a >> b;
cout << a * b << "" << 2 * a + 2 * b << endl;
return 0;
}
|
#include <iostream>
using namespace std;
int main() {
int a, b;
std::cin >> a >> b;
cout << a * b << " " << 2 * a + 2 * b << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 147,993 | 147,994 | u932273977 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a, b;
cout << a * b << " " << a * 2 + b * 2 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << a * 2 + b * 2 << endl;
return 0;
}
| [] | 147,995 | 147,996 | u413156181 | cpp |
p02389 | #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;
}
| [] | 148,008 | 148,009 | u012953552 | cpp |
p02389 | #include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
int c = 2 * (a + b);
int d = a * b;
printf("%d %d\n", c, d);
return 0;
}
| #include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
int c = 2 * (a + b);
int d = a * b;
printf("%d %d\n", d, c);
return 0;
}
| [
"call.arguments.change",
"call.arguments.add"
] | 148,012 | 148,013 | u455443343 | cpp |
p02389 |
#include <cstdio>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d%d", a * b, (a + b) * 2);
return 0;
}
| #include <cstdio>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d %d\n", a * b, (a + b) * 2);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 148,014 | 148,015 | u229973939 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,028 | 148,029 | u018459761 | cpp |
p02389 | #include <stdio.h>
int main(void) {
int x, y;
scanf("%d %d", &x, &y);
printf("%d\n", x * y);
printf("%d\n", 2 * x + 2 * y);
return 0;
}
| #include <stdio.h>
int main(void) {
int x, y;
scanf("%d %d", &x, &y);
printf("%d ", x * y);
printf("%d\n", 2 * x + 2 * y);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 148,034 | 148,035 | u108130680 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a, b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [] | 148,037 | 148,038 | u123936957 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,039 | 148,040 | u811944478 | cpp |
p02389 | #include <iostream>
int main() {
int n, m;
std::cin >> n >> m;
std::cout << n * m << "" << 2 * (n + m) << std::endl;
return 0;
}
| #include <iostream>
int main() {
int n, m;
std::cin >> n >> m;
std::cout << n * m << " " << 2 * (n + m) << std::endl;
return 0;
}
| [
"literal.string.change",
"expression.operation.binary.change"
] | 148,041 | 148,042 | u881818567 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,043 | 148,044 | u707206451 | cpp |
p02389 | #include <bits/stdc++.h>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << 2 * (a + b) << endl;
}
| #include <bits/stdc++.h>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << 2 * (a + b) << endl;
}
| [
"io.output.change"
] | 148,071 | 148,072 | u470434409 | cpp |
p02389 | #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
std::cout << a * b << (a + b) * 2 << std::endl;
return 0;
}
| #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
std::cout << a * b << " " << (a + b) * 2 << std::endl;
return 0;
}
| [
"expression.operation.binary.add"
] | 148,080 | 148,081 | u182200342 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << b * a << endl;
cout << a + a + b + b << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << b * a << " " << a + a + b + b << endl;
return 0;
}
| [] | 148,105 | 148,106 | u337012079 | cpp |
p02389 | #include <stdio.h>
int main() {
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 a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, (a + b) * 2);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 148,111 | 148,112 | u189013443 | cpp |
p02389 | #include <iostream>
using namespace std;
int a, b, peri, area;
int main() {
cin >> a >> b;
area = a * b;
peri = (a + b) * 2;
cout << area << peri << endl;
}
| #include <iostream>
using namespace std;
int a, b, peri, area;
int main() {
cin >> a >> b;
area = a * b;
peri = (a + b) * 2;
cout << area << ' ' << peri << endl;
}
| [
"io.output.change"
] | 148,113 | 148,114 | u511490940 | cpp |
p02389 | #include <iostream>
using namespace std;
int a, b, peri, area;
int main() {
cin >> a >> b;
area = a * b;
peri = (a + b) * 2;
cout << area << peri << endl;
}
| #include <iostream>
using namespace std;
int a, b, peri, area;
int main() {
cin >> a >> b;
area = a * b;
peri = (a + b) * 2;
cout << area << ' ' << peri << endl;
}
| [
"io.output.change"
] | 148,115 | 148,114 | u511490940 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int x;
int y;
cin >> x;
cin >> y;
cout << x * y << x + x + y + y << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x;
int y;
cin >> x;
cin >> y;
cout << x * y << ' ' << x + x + y + y << endl;
return 0;
}
| [
"io.output.change"
] | 148,119 | 148,120 | u363467163 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int x, y;
int area, circuit;
cin >> x >> y;
area = x * y;
circuit = (x + y) * 2;
cout << area << circuit << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y;
int area, circuit;
cin >> x >> y;
area = x * y;
circuit = (x + y) * 2;
cout << area << " " << circuit << endl;
return 0;
} | [
"io.output.change"
] | 148,131 | 148,132 | u580310523 | cpp |
p02389 | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
cout << a * b << 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;
} | [
"io.output.change"
] | 148,149 | 148,150 | u308971532 | cpp |
p02389 | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
cout << a * b << endl;
cout << (a + b) * 2 << endl;
return (0);
} | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return (0);
} | [] | 148,153 | 148,154 | u846661244 | cpp |
p02389 | #include <iostream>
#include <math.h>
using namespace std;
int a, b, x, y;
int main() {
cin >> a >> b;
x = a * b;
y = (a + b) * 2;
cout << x << y << endl;
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int a, b, x, y;
int main() {
cin >> a >> b;
x = a * b;
y = (a + b) * 2;
cout << x << " " << y << endl;
return 0;
} | [
"io.output.change"
] | 148,161 | 148,162 | u208074368 | cpp |
p02389 | #include <stdio.h>
int main(void) {
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(void) {
int a;
int b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, 2 * (a + b));
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 148,167 | 148,168 | u869897832 | cpp |
p02389 | #include <stdio.h>
int main(void) {
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(void) {
int a;
int b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, 2 * a + 2 * b);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 148,173 | 148,172 | u076808269 | cpp |
p02389 | #include <stdio.h>
int main(void) {
int a;
int b;
scanf("%d %d", &a, &b);
int c = a * b;
b = a + b;
printf("%d %d\n", c, b);
return 0;
} | #include <stdio.h>
int main(void) {
int a;
int b;
scanf("%d %d", &a, &b);
int c = a * b;
b = 2 * a + 2 * b;
printf("%d %d\n", c, b);
return 0;
} | [
"assignment.change"
] | 148,174 | 148,175 | u665448891 | cpp |
p02389 | #include <iostream>
#include <string.h>
#include <vector>
using namespace std;
int main(void) {
int x, y;
cin >> x >> y;
cout << x * y << 2 * (x + y) << endl;
return 0;
} | #include <iostream>
#include <string.h>
#include <vector>
using namespace std;
int main(void) {
int x, y;
cin >> x >> y;
cout << x * y << " " << 2 * (x + y) << endl;
return 0;
} | [
"io.output.change"
] | 148,177 | 148,178 | u124401670 | cpp |
p02389 | #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;
} | [
"expression.operation.binary.add"
] | 148,188 | 148,189 | u610818717 | cpp |
p02389 | #include <stdio.h>
int area(int a, int b) {
int x;
x = a * b;
return x;
}
int circum(int a, int b) {
int y;
y = 2 * (a + b);
return y;
}
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d/n", area(a, b), circum(a, b));
return 0;
}
| #include <stdio.h>
int area(int a, int b) {
int x;
x = a * b;
return x;
}
int circum(int a, int b) {
int y;
y = 2 * (a + b);
return y;
}
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d\n", area(a, b), circum(a, b));
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 148,192 | 148,193 | u139518821 | cpp |
p02389 | #include <iostream>
using namespace std;
main() {
int a, b;
cin >> a >> b;
cout << a * a << " " << 2 * (a + b) << endl;
}
| #include <iostream>
using namespace std;
main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << 2 * (a + b) << endl;
}
| [
"identifier.change",
"io.output.change"
] | 148,215 | 148,214 | u959291807 | cpp |
p02389 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a;
cin >> b;
cout << pow(a, b) << " " << a + a + b + b << endl;
return 0;
}
| #include <cmath>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a;
cin >> b;
cout << a * b << " " << a + a + b + b << endl;
return 0;
}
| [
"call.remove",
"io.output.change",
"call.arguments.change"
] | 148,216 | 148,217 | u261541966 | cpp |
p02389 | #include <cstdlib>
#include <iostream>
int main() {
std::cin.tie(0);
std::ios::sync_with_stdio(false);
int a, b;
std::cin >> a >> b;
std::cout << a * b << 2 * (a + b) << std::endl;
return EXIT_SUCCESS;
}
| #include <cstdlib>
#include <iostream>
int main() {
std::cin.tie(0);
std::ios::sync_with_stdio(false);
int a, b;
std::cin >> a >> b;
std::cout << a * b << " " << 2 * (a + b) << std::endl;
return EXIT_SUCCESS;
}
| [
"expression.operation.binary.add"
] | 148,222 | 148,223 | u156624982 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a;
cin >> b;
cout << a * b;
cout << 2 * (a + b) << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a;
cin >> b;
cout << a * b << " " << 2 * (a + b) << endl;
return 0;
}
| [] | 148,226 | 148,227 | u923443567 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a;
int b;
cin >> a, b;
cout << a * b << " " << (a + b) * 2;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a;
int b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"io.output.newline.add"
] | 148,228 | 148,229 | u677380665 | cpp |
p02389 | #include <iomanip>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
double a, b;
cin >> a >> b;
cout << a * b << (a + b) * 2 << endl;
}
| #include <iomanip>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
double a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
}
| [
"io.output.change"
] | 148,244 | 148,245 | u412537960 | cpp |
p02389 | #include <cstdio>
int main() {
int l, s, a, b;
scanf("%d %d", &a, &b);
l = a + a + b + b;
s = a * b;
printf("%d %d", l, s);
return 0;
}
| #include <cstdio>
int main() {
int l, s, a, b;
scanf("%d %d", &a, &b);
l = a + a + b + b;
s = a * b;
printf("%d %d\n", s, l);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"call.arguments.add"
] | 148,248 | 148,249 | u254388055 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,259 | 148,260 | u088372268 | cpp |
p02389 | #include <bits/stdc++.h>
using namespace std;
int_fast64_t a, b;
int main() {
scanf("%lld%lld", &a, &b);
printf("%ld%lld", a * b, 2 * (a + b));
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int_fast64_t a, b;
int main() {
scanf("%lld%lld", &a, &b);
printf("%lld %lld\n", a * b, 2 * (a + b));
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 148,263 | 148,264 | u929417487 | cpp |
p02389 | #include <iostream>
#include <string>
using namespace std;
int main() {
int A;
int B;
cin >> A >> B;
cout << A * B << A * 2 + B * 2 << endl;
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
int A;
int B;
cin >> A >> B;
cout << A * B << " " << A * 2 + B * 2 << endl;
return 0;
}
| [
"io.output.change"
] | 148,265 | 148,266 | u950745506 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << endl;
cout << 2 * (a + b) << endl;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " ";
cout << 2 * (a + b) << endl;
}
| [
"io.output.change"
] | 148,269 | 148,270 | u801440895 | cpp |
p02389 | #include <iostream>
int main(void) {
int a, b;
std::cin >> a >> b;
std::cout << a * b << 2 * a + 2 * b << std::endl;
return 0;
}
| #include <iostream>
int main(void) {
int a, b;
std::cin >> a >> b;
std::cout << a * b << " " << 2 * a + 2 * b << std::endl;
return 0;
}
| [
"expression.operation.binary.add"
] | 148,271 | 148,272 | u359372421 | cpp |
p02389 | #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
int c, d;
c = a * b;
d = 2 * a + 2 * b;
std::cout << a << " " << b << std::endl;
return 0;
}
| #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
int c, d;
c = a * b;
d = 2 * a + 2 * b;
std::cout << c << " " << d << std::endl;
return 0;
}
| [
"identifier.change",
"expression.operation.binary.change"
] | 148,277 | 148,278 | u275412752 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,279 | 148,282 | u275412752 | cpp |
p02389 | #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;
}
| [] | 148,281 | 148,282 | u275412752 | cpp |
p02389 | #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;
}
| [] | 148,283 | 148,282 | u275412752 | cpp |
p02389 | #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
int c = a * b;
int d = 2 * (a + b);
std::cout << c << d << std::endl;
return 0;
}
| #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
int c = a * b;
int d = 2 * (a + b);
std::cout << c << " " << d << std::endl;
return 0;
}
| [
"expression.operation.binary.add"
] | 148,287 | 148,288 | u174201745 | cpp |
p02389 | #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
int c = a * b;
int d = 2 * (a + b);
std::cout << c << "" << d << std::endl;
return 0;
}
| #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
int c = a * b;
int d = 2 * (a + b);
std::cout << c << " " << d << std::endl;
return 0;
}
| [
"literal.string.change",
"expression.operation.binary.change"
] | 148,289 | 148,288 | u174201745 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b, m, s;
cin >> a >> b;
m = a * b;
s = a * 2 + b * 2;
cout << m << s << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, m, s;
cin >> a >> b;
m = a * b;
s = a * 2 + b * 2;
cout << m << " " << s << endl;
return 0;
}
| [
"io.output.change"
] | 148,292 | 148,293 | u943155333 | cpp |
p02389 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b;
cout << a * 2 + b * 2 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << ' ' << a * 2 + b * 2 << endl;
return 0;
}
| [] | 148,297 | 148,298 | u634420505 | cpp |
p02389 | // itp1_topic1_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a * b) * 2 << endl;
return 0;
}
| // itp1_topic1_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change",
"expression.operator.arithmetic.change"
] | 148,299 | 148,300 | u142291820 | cpp |
p02389 | // itp1_topic1_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
| // itp1_topic1_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,301 | 148,300 | u142291820 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,302 | 148,303 | u236353264 | cpp |
p02389 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,305 | 148,306 | u418388379 | cpp |
p02389 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << 2 * a + 2 * b << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << 2 * a + 2 * b << endl;
return 0;
}
| [
"io.output.change"
] | 148,308 | 148,309 | u826160136 | cpp |
p02389 | // itp1_toppic1-c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
| // itp1_toppic1-c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,310 | 148,311 | u822650075 | cpp |
p02389 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << endl;
cout << (a + b) * 2 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
}
| [] | 148,314 | 148,315 | u255957323 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int x, a;
cin >> x;
cin >> a;
cout << x * a << endl;
cout << 2 * (x + a) << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x, a;
cin >> x >> a;
cout << x * a << " " << 2 * (x + a) << endl;
return 0;
}
| [] | 148,319 | 148,320 | u063048537 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,329 | 148,330 | u534602802 | cpp |
p02389 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,332 | 148,333 | u423466855 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x * y << endl;
cout << 2 * (x + y) << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x * y << " " << 2 * (x + y) << endl;
return 0;
}
| [] | 148,334 | 148,335 | u226932766 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x * y;
cout << 2 * (x + y) << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x * y << " " << 2 * (x + y) << endl;
return 0;
}
| [] | 148,336 | 148,335 | u226932766 | cpp |
p02389 | #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a[2];
int m = 0;
int n = 0;
for (int i = 0; i < 2; i++) {
cin >> a[i];
}
m = a[0] * a[1];
n = 2 * a[0] + 2 * a[1];
cout << m << endl;
cout << n << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a[2];
int m = 0;
int n = 0;
for (int i = 0; i < 2; i++) {
cin >> a[i];
}
m = a[0] * a[1];
n = 2 * a[0] + 2 * a[1];
cout << m;
cout << " ";
cout << n << endl;
return 0;
}
| [
"expression.operation.binary.remove"
] | 148,344 | 148,345 | u488842924 | cpp |
p02389 | #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a, b;
cin >> a >> b;
cout << a * b << 2 * a + 2 * b << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a, b;
cin >> a >> b;
cout << a * b << " " << 2 * a + 2 * b << endl;
return 0;
}
| [
"io.output.change"
] | 148,346 | 148,347 | u488842924 | cpp |
p02389 | #include <iostream>
int main() {
int x, y;
std::cin >> x >> y;
std::cout << x * y << 2 * x + 2 * y << std::endl;
}
| #include <iostream>
int main() {
int x, y;
std::cin >> x >> y;
std::cout << x * y << " " << 2 * x + 2 * y << std::endl;
}
| [
"expression.operation.binary.add"
] | 148,348 | 148,349 | u542110891 | cpp |
p02389 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x * y << ' ' << x + y << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x * y << ' ' << (x + y) * 2 << endl;
return 0;
}
| [
"expression.operation.binary.add"
] | 148,350 | 148,351 | u269983814 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a;
cin >> b;
cout << a * b << (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;
}
| [
"io.output.change"
] | 148,353 | 148,354 | u643938168 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a;
cin >> b;
cout << a * b << "" << (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;
}
| [
"literal.string.change",
"io.output.change"
] | 148,355 | 148,354 | u643938168 | cpp |
p02389 | // itp1_topic_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
| // itp1_topic_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,375 | 148,376 | u722227751 | cpp |
p02389 | // itp1_topic_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
|
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,375 | 148,383 | u722227751 | cpp |
p02389 | // itp1_topic_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
|
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,375 | 148,384 | u722227751 | cpp |
p02389 | // itp1_topic_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << endl;
return 0;
}
| //うんこ
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 148,375 | 148,385 | u722227751 | cpp |
p02389 | // itp1_topic_c
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a * b << "" << (a + b) * 2 << 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;
}
| [
"literal.string.change",
"io.output.change",
"expression.operation.binary.remove"
] | 148,375 | 148,386 | u722227751 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,387 | 148,386 | u722227751 | cpp |
p02389 | #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;
}
| [
"io.output.change"
] | 148,409 | 148,410 | u903763377 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b, x, y;
cin >> a >> b;
x = a * 2 + b * 2;
y = a * b;
cout << y << x << endl;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, x, y;
cin >> a >> b;
x = a * 2 + b * 2;
y = a * b;
cout << y << " " << x << endl;
}
| [
"io.output.change"
] | 148,415 | 148,416 | u088383769 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a, b, S, L;
cin >> a >> b;
S = a * b;
L = a + a + b + 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 = a + a + b + b;
cout << S << " " << L << endl;
return 0;
}
| [
"io.output.change"
] | 148,419 | 148,420 | u930842708 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a;
int b;
cin >> a;
cin >> b;
cout << a * b << a * 2 + b * 2 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a;
int b;
cin >> a;
cin >> b;
cout << a * b << " " << a * 2 + b * 2 << endl;
return 0;
}
| [
"io.output.change"
] | 148,452 | 148,453 | u588205477 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int kaisei, azabu;
cin >> kaisei >> azabu;
int seikou = (kaisei + azabu) * 2;
int eikou = kaisei * azabu;
cout << seikou << " " << eikou << endl;
}
| #include <iostream>
using namespace std;
int main() {
int kaisei, azabu;
cin >> kaisei >> azabu;
int seikou = (kaisei + azabu) * 2;
int eikou = kaisei * azabu;
cout << eikou << " " << seikou << endl;
}
| [
"identifier.change",
"io.output.change"
] | 148,456 | 148,457 | u555658533 | cpp |
p02389 | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
cout << a * b << (a + b) * 2 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"io.output.change"
] | 148,458 | 148,459 | u387128119 | cpp |
p02389 | //============================================================================
// Name : Test.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iost... | //============================================================================
// Name : Test.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iost... | [] | 148,468 | 148,469 | u894945452 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a;
int 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;
int b;
cin >> a;
cin >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [] | 148,472 | 148,473 | u906930567 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
int a;
int b;
cin >> a;
cin >> b;
cout << a * b << (a + b) * 2 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a;
int b;
cin >> a;
cin >> b;
cout << a * b << " " << (a + b) * 2 << endl;
return 0;
}
| [
"io.output.change"
] | 148,474 | 148,473 | u906930567 | cpp |
p02389 | #include <iostream>
using namespace std;
int main() {
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() {
int a, b;
cin >> a >> b;
cout << a * b << " " << 2 * a + 2 * b << endl;
return 0;
}
| [] | 148,475 | 148,476 | u255709868 | cpp |
p02390 | #include <stdio.h>
int main() {
int s;
scanf("%d", &s);
printf("%d:%d:%d\n", s / 3600, s / 60, s % 60);
return 0;
} | #include <stdio.h>
int main() {
int s;
scanf("%d", &s);
printf("%d:%d:%d\n", s / 3600, (s % 3600) / 60, s % 60);
return 0;
} | [
"call.arguments.change"
] | 151,633 | 151,634 | u123854743 | cpp |
p02390 | #include <cstdio>
int main() {
int in;
int h = 0, m = 0, s = 0;
scanf("%d", &in);
while (in > 3600) {
in -= 3600;
h += 1;
}
while (in > 60) {
in -= 60;
m += 1;
}
printf("%d:%d:%d\n", h, m, s);
} | #include <cstdio>
int main() {
int in;
int h = 0, m = 0, s = 0;
scanf("%d", &in);
while (in >= 3600) {
in -= 3600;
h += 1;
}
while (in >= 60) {
in -= 60;
m += 1;
}
s = in;
printf("%d:%d:%d\n", h, m, s);
} | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"assignment.add"
] | 151,635 | 151,636 | u884445603 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int S, h, m, s;
cin >> S;
h = S / 3600;
m = S % 3600 / 60;
s = S - 3600 * h - 60 * m;
cout << h << "," << m << "," << s << endl;
} | #include <iostream>
using namespace std;
int main() {
int S, h, m, s;
cin >> S;
h = S / 3600;
m = S % 3600 / 60;
s = S - 3600 * h - 60 * m;
cout << h << ":" << m << ":" << s << endl;
} | [
"literal.string.change",
"io.output.change"
] | 151,640 | 151,641 | u554423044 | cpp |
p02390 | #include <iostream>
int s;
int main() {
std::cin >> s;
std::cout << s / 3600 << ":" << s / 60 << ":" << s % 60 << std::endl;
return 0;
} | #include <iostream>
int s;
int main() {
std::cin >> s;
std::cout << s / 3600 << ":" << (s % 3600) / 60 << ":" << s % 60 << std::endl;
return 0;
} | [] | 151,642 | 151,643 | u368840743 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int s, h, m;
cin >> s;
h = s / 360;
m = (s % 3600) / 60;
s = ((s % 3600) % 60);
cout << h << ":" << m << ":" << s << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int s, h, m;
cin >> s;
h = s / 3600;
m = (s % 3600) / 60;
s = ((s % 3600) % 60);
cout << h << ":" << m << ":" << s << endl;
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 151,644 | 151,645 | u243480637 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int s;
cin >> s;
int h = (int)s % 3600;
int m = (int)s % 3600 / 60;
s = (int)s % 3600 % 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int s;
cin >> s;
int h = (int)s / 3600;
int m = (int)s % 3600 / 60;
s = (int)s % 3600 % 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 151,648 | 151,649 | u050030500 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int S = 0, sec = 0, min = 0, hour = 0;
cin >> S;
sec = S % 60;
min = ((S - sec) / 60) % 60;
hour = S / 3600;
cout << hour << ";" << min << ";" << sec << endl;
} | #include <iostream>
using namespace std;
int main() {
int S = 0, sec = 0, min = 0, hour = 0;
cin >> S;
sec = S % 60;
min = ((S - sec) / 60) % 60;
hour = S / 3600;
cout << hour << ":" << min << ":" << sec << endl;
} | [
"literal.string.change",
"io.output.change"
] | 151,652 | 151,653 | u204787059 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int S, h, m, s;
cin >> S;
h = S / 3600;
s = S % 3600;
m = s / 60;
s = S % 3600 / 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int S, h, m, s;
cin >> S;
h = S / 3600;
s = S % 3600;
m = s / 60;
s = s % 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | [
"misc.typo",
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 151,656 | 151,657 | u660587955 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int s, h, m;
cin >> s;
h = s / 3600;
s = s % 3600;
m = s / 60;
s = s % 60;
cout << h << ";" << m << ";" << s << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int s, h, m;
cin >> s;
h = s / 3600;
s = s % 3600;
m = s / 60;
s = s % 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 151,658 | 151,659 | u148733050 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int h, m, s;
cin >> h >> m >> s;
h = s / 3600;
s = s % 3600;
m = s / 60;
s = s % 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int h, m, s;
cin >> s;
h = s / 3600;
s = s % 3600;
m = s / 60;
s = s % 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | [
"expression.operation.binary.remove"
] | 151,660 | 151,661 | u989504263 | cpp |
p02390 | #include <iostream>
using namespace std;
int main() {
int S, h, m, s;
cin >> S;
h = S / 3600;
m = S / 60;
s = S;
cout << h << ":" << m << ":" << s << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int S, h, m, s;
cin >> S;
h = S / 3600;
m = S % 3600 / 60;
s = S % 3600 % 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
}
| [
"assignment.change"
] | 151,662 | 151,663 | u322268319 | cpp |
p02390 | //============================================================================
// Name : sample1.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <i... | //============================================================================
// Name : sample1.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <i... | [
"literal.string.change",
"io.output.change"
] | 151,665 | 151,666 | u334157134 | cpp |
p02390 | #include "iostream"
using namespace std;
int main() {
int s;
cin >> s;
int h = s / 360;
s -= h * 3600;
int m = s / 60;
s -= m * 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | #include "iostream"
using namespace std;
int main() {
int s;
cin >> s;
int h = s / 3600;
s -= h * 3600;
int m = s / 60;
s -= m * 60;
cout << h << ":" << m << ":" << s << endl;
return 0;
} | [
"literal.number.change",
"expression.operation.binary.change"
] | 151,667 | 151,668 | u563867466 | cpp |
p02390 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
long a, b;
long i, j, k;
long cnt = 0;
long left, right, mid;
long ans = 0;
static char str[102][1003];
char p[1003];
char tmp;
long h, m, s;
scanf("%ld", &s);
h = s / 3600;
s -= (s / 3600) * 3600;
m = s... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
long a, b;
long i, j, k;
long cnt = 0;
long left, right, mid;
long ans = 0;
static char str[102][1003];
char p[1003];
char tmp;
long h, m, s;
scanf("%ld", &s);
h = s / 3600;
s -= (s / 3600) * 3600;
m = s... | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 151,669 | 151,670 | u075842827 | cpp |
p02390 | #include <iostream>
using namespace std;
int main(void) {
int x = 0;
int h = 0, m = 0, s = 0;
cin >> x;
if (x >= 3600) {
h = (int)(x / 3600);
m = (int)((x % 3600) / 60);
} else {
m = (int)(x / 60);
}
s = x % 60;
cout << h << "," << m << "," << s << endl;
} | #include <iostream>
using namespace std;
int main(void) {
int x = 0;
int h = 0, m = 0, s = 0;
cin >> x;
if (x >= 3600) {
h = (int)(x / 3600);
m = (int)((x % 3600) / 60);
} else {
m = (int)(x / 60);
}
s = x % 60;
cout << h << ":" << m << ":" << s << endl;
} | [
"literal.string.change",
"io.output.change"
] | 151,677 | 151,678 | u017136598 | cpp |
p02390 | #include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S % 3600;
m = m / 60;
s = m % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S % 3600;
m = m / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 151,685 | 151,686 | u753064107 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.