Datasets:

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
p02390
#include <iostream> #include <stdio.h> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 360; S %= 360; m = S / 60; S %= 60; s = S; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> #include <stdio.h> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 3600; S %= 3600; m = S / 60; S %= 60; s = S; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
151,687
151,688
u604252762
cpp
p02390
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d\n", s / 3600, s / 60, s % 60); }
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s % 3600 / 60, s % 60); }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,694
151,695
u164057541
cpp
p02390
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s / 60, s % 60); }
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s % 3600 / 60, s % 60); }
[ "expression.operation.binary.add" ]
151,696
151,695
u164057541
cpp
p02390
#include <iostream> using namespace std; int main() { int S; cin >> S; int h = S / 60 / 60; int m = S % 60 / 60; int s = S % 60 % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; int h = S / 60 / 60; int m = S / 60 % 60; int s = S % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "expression.operation.binary.remove" ]
151,699
151,700
u973694800
cpp
p02390
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; m = S / 60; m = m % 60; s = S % 60; cout << h << ":" << m << ":" << h << endl; }
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; m = S / 60; m = m % 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
[ "identifier.change", "io.output.change" ]
151,703
151,704
u994113796
cpp
p02390
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 3600 / 3600 << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 3600 % 60 << endl; return 0; }
[]
151,705
151,706
u494949104
cpp
p02390
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 60 / 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 3600 % 60 << endl; return 0; }
[]
151,708
151,706
u494949104
cpp
p02390
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 3599 / 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 3600 % 60 << endl; return 0; }
[]
151,709
151,706
u494949104
cpp
p02390
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 3600 / 60 % 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << x / 3600 << ":" << x % 3600 / 60 << ":" << x % 3600 % 60 << endl; return 0; }
[ "expression.operation.binary.remove" ]
151,713
151,706
u494949104
cpp
p02390
#include <iostream> using namespace std; int main() { int time, h, m, s; cin >> time; h = time / 60; m = (time % 60) / 60; s = (time % 60) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int time, h, m, s; cin >> time; h = time / 3600; m = (time % 3600) / 60; s = (time % 3600) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
151,714
151,715
u393312973
cpp
p02390
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vl; typedef complex<double> P; typedef pair<int, int> pii; #define REP(i, n) for (ll i = 0; i < n; ++i) #define REPR(i, n) for (ll i = 1; i < n; ++i) #define FOR(i, a, b) for (ll i = a; i < b; ++i) #define ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vl; typedef complex<double> P; typedef pair<int, int> pii; #define REP(i, n) for (ll i = 0; i < n; ++i) #define REPR(i, n) for (ll i = 1; i < n; ++i) #define FOR(i, a, b) for (ll i = a; i < b; ++i) #define ...
[ "assignment.value.change", "expression.operation.binary.change" ]
151,716
151,717
u289594538
cpp
p02390
#include <stdio.h> int main(void) { unsigned int s; unsigned int m; unsigned int h; scanf("%d", &s); m = s / 60; h = m / 60; s = s % 60; printf("%d:%d:%d\n", h, m, s); }
#include <stdio.h> int main(void) { unsigned int s; unsigned int m; unsigned int h; scanf("%d", &s); m = s / 60; h = m / 60; m = m % 60; s = s % 60; printf("%d:%d:%d\n", h, m, s); }
[ "assignment.add" ]
151,730
151,731
u120244068
cpp
p02390
#include <iostream> using namespace std; int main() { int i, h, m, s; cin >> i; h = i / (36000); m = (i - h * 3600) / 60; s = i % 60; cout << h << ":" << m << ":" << s << endl; }
#include <iostream> using namespace std; int main() { int i, h, m, s; cin >> i; h = i / (3600); m = (i - h * 3600) / 60; s = i % 60; cout << h << ":" << m << ":" << s << endl; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
151,732
151,733
u531736422
cpp
p02390
#include <iomanip> #include <iostream> #include <math.h> #include <string> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << " : " << S % 3600 / 60 << " : " << S % 60 << "\n"; }
#include <iomanip> #include <iostream> #include <math.h> #include <string> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << S % 3600 / 60 << ":" << S % 60 << "\n"; }
[ "literal.string.change", "io.output.change" ]
151,736
151,737
u839970732
cpp
p02390
// Example program #include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int S; cin >> S; int h; int m; int s; int p; h = S / 3600; p = S % 60; m = p / 60; s = S - h * 3600 - m * 60; cout << h << ":" << m << ":" << s << endl; }
// Example program #include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int S; cin >> S; int h; int m; int s; int p; h = S / 3600; p = S % 3600; m = p / 60; s = S - h * 3600 - m * 60; cout << h << ":" << m << ":" << s << endl; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
151,738
151,739
u418434817
cpp
p02390
#include <stdio.h> int main() { int s, h, m; scanf("%d", &s); h = s / 3600; s = s - h * 3600; m = s / 60; s = s - m * 60; printf("%d;%d;%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int s, h, m; scanf("%d", &s); h = s / 3600; s = s - h * 3600; m = s / 60; s = s - m * 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,740
151,741
u945033194
cpp
p02390
#include <stdio.h> int main() { int h, m, s, S; scanf("%d", &S); h = S / 3600; m = (S - h * 3600) / 60; s = S - (h * 3600 + m * 60); printf("%d %d %d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int h, m, s, S; scanf("%d", &S); h = S / 3600; m = (S - h * 3600) / 60; s = S - (h * 3600 + m * 60); printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,748
151,749
u711822251
cpp
p02390
#include <stdio.h> int main() { int a; scanf("%d", &a); int b, c, d; b = a / 3600; c = a % 3600 / 60; d = a % 3600 % 60; printf("%d,%d,%d\n", b, c, d); }
#include <stdio.h> int main() { int a; scanf("%d", &a); int b, c, d; b = a / 3600; c = a % 3600 / 60; d = a % 3600 % 60; printf("%d:%d:%d\n", b, c, d); }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,752
151,753
u784626891
cpp
p02390
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; h = S / 3600; s = S % 3600; m = s / 60; s = m % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; 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; }
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
151,763
151,764
u584505060
cpp
p02390
#include <cstdio> int main() { int SS, h, m, s; scanf("%d", &SS); h = SS / 3600; m = SS % 3600 / 60; s = SS % 60; printf("%d:%d;%d\n", h, m, s); return 0; }
#include <cstdio> int main() { int SS, h, m, s; scanf("%d", &SS); h = SS / 3600; m = SS % 3600 / 60; s = SS % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,767
151,768
u142711691
cpp
p02390
#include <iostream> using namespace std; int main(void) { int S, h, m, s; // cin >> S; S = 46979; s = S / 60 / 60; m = S - (s * 3600); m = m / 60; h = S - (s * 3600) - (m * 60); cout << s << ":" << m << ":" << h << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; s = S / 60 / 60; m = S - (s * 3600); m = m / 60; h = S - (s * 3600) - (m * 60); cout << s << ":" << m << ":" << h << endl; return 0; }
[ "assignment.change" ]
151,769
151,770
u233319994
cpp
p02390
#include <iostream> using namespace std; int main() { int a, b, c, d, e; cin >> a; b = a / 3600; c = a % 3600; d = c / 60; e = d % 60; cout << b << ":" << d << ":" << e << endl; }
#include <iostream> using namespace std; int main() { int a, b, c, d, e; cin >> a; b = a / 3600; c = a % 3600; d = c / 60; e = c % 60; cout << b << ":" << d << ":" << e << endl; }
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
151,771
151,772
u091820616
cpp
p02390
#include <iostream> using namespace std; int main() { int a, h, c, m, s; cin >> a; h = a / 3600; c = a % 3600; m = c / 60; s = c % 60; cout << h << ":" << m << s << endl; }
#include <iostream> using namespace std; int main() { int a, h, c, m, s; cin >> a; h = a / 3600; c = a % 3600; m = c / 60; s = c % 60; cout << h << ":" << m << ":" << s << endl; }
[ "io.output.change" ]
151,773
151,774
u091820616
cpp
p02390
#include <iostream> using namespace std; int main() { int a, b, c, d, e; cin >> a; b = a / 3600; c = a % 3600; d = c / 60; e = d % 60; cout << b << ":" << d << ":" << e << endl; }
#include <iostream> using namespace std; int main() { int a, b, c, d, e; cin >> a; b = a / 3600; c = a % 3600; d = c / 60; e = c % 60; cout << b << ":" << d << ":" << e << endl; }
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
151,771
151,777
u091820616
cpp
p02390
#include <iostream> using namespace std; int main() { int a, b, c, d, e; cin >> a; b = a / 3600; c = a % 3600; d = c / 60; e = c % 60; cout << b << ":" << d << e << endl; }
#include <iostream> using namespace std; int main() { int a, b, c, d, e; cin >> a; b = a / 3600; c = a % 3600; d = c / 60; e = c % 60; cout << b << ":" << d << ":" << e << endl; }
[ "io.output.change" ]
151,776
151,777
u091820616
cpp
p02390
#include <iostream> using namespace std; int main() { int n, h, m, s; cin >> n; h = n / 3600; m = n % 3600 / 60; s = n % 3600 % 60; cout << h << ';' << m << ';' << s << endl; }
#include <iostream> using namespace std; int main() { int n, h, m, s; cin >> n; h = n / 3600; m = n % 3600 / 60; s = n % 3600 % 60; cout << h << ':' << m << ':' << s << endl; }
[ "literal.string.change", "io.output.change" ]
151,780
151,781
u168990892
cpp
p02390
#include <iostream> using namespace std; int main() { int base, h, m, s; cin >> base; h = base / 60 / 60; m = base / 60; s = base / 60 % 60; cout << h << ":" << m << ";" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int base, h, m, s; cin >> base; h = base / 60 / 60; m = base / 60 % 60; s = base % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "assignment.change", "expression.operation.binary.remove", "literal.string.change", "io.output.change" ]
151,786
151,787
u613519776
cpp
p02390
#include <iostream> using namespace std; int main() { int h, m1, m2, s; int S; cin >> S; if (S >= 0 && S <= 86400) { h = S / 3600; m1 = S % 3600; m2 = m1 / 60; s = m1 % 60; cout << h << " " << m2 << " " << s << endl; } else { cout << "error" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int h, m1, m2, s; int S; cin >> S; if (S >= 0 && S <= 86400) { h = S / 3600; m1 = S % 3600; m2 = m1 / 60; s = m1 % 60; cout << h << ":" << m2 << ":" << s << endl; } else { cout << "error" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
151,788
151,789
u692315657
cpp
p02390
#include <iostream> using namespace std; int main() { int s; int m; int h; cin >> s; m = s / 60; s = s % 60; h = m / 60; m = m % 60; cout << h << ":" << m << ":" << s << ":" << endl; }
#include <iostream> using namespace std; int main() { int s; int m; int h; cin >> s; m = s / 60; s = s % 60; h = m / 60; m = m % 60; cout << h << ":" << m << ":" << s << endl; }
[ "expression.operation.binary.remove" ]
151,792
151,793
u759791460
cpp
p02390
#include <stdio.h> int main() { int h, m, s; scanf("%d", &s); h = s / 3600; m = (s - h * 3600) / 60; s = s * 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int h, m, s; scanf("%d", &s); h = s / 3600; m = (s - h * 3600) / 60; s = s % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
151,803
151,804
u383643185
cpp
p02390
#include <iostream> using namespace std; int main() { int a, b, c, d; cin >> c; a = c / 3600; c = c % 3600; b = c / 60; c = c % 60; cout << a << " " << b << " " << c << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b, c, d; cin >> c; a = c / 3600; c = c % 3600; b = c / 60; c = c % 60; cout << a << ":" << b << ":" << c << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,805
151,806
u613278035
cpp
p02390
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; h = S / 3600; m = (S - h * 3600) / 60; s = (S - h * 3600) % 60; cout << s << ":" << h << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; h = S / 3600; m = (S - h * 3600) / 60; s = (S - h * 3600) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "identifier.change", "io.output.change" ]
151,811
151,812
u153602201
cpp
p02390
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; h = S / 3600; m = (S - h * 3600) / 60; s = (S - h * 3600) % 60; cout << h << ":" << h << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; h = S / 3600; m = (S - h * 3600) / 60; s = (S - h * 3600) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "identifier.change", "io.output.change" ]
151,813
151,812
u153602201
cpp
p02390
#include <iostream> using namespace std; int main() { int time; int h, m; cin >> time; h = time / 3600; time = time % 3600; m = m / 60; time = time % 60; cout << h << ":" << m << ":" << time << endl; }
#include <iostream> using namespace std; int main() { int time; int h, m; cin >> time; h = time / 3600; time = time % 3600; m = time / 60; time = time % 60; cout << h << ":" << m << ":" << time << endl; }
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
151,814
151,815
u961466146
cpp
p02390
#include <iostream> using namespace std; int main() { int S; cin >> S; int h = S / 3600; int m = S / 60 & 60; int s = S & 60; cout << h << ":" << m << ":" << s << endl; }
#include <iostream> using namespace std; int main() { int S; cin >> S; int h = S / 3600; int m = S / 60 % 60; int s = S % 60; cout << h << ":" << m << ":" << s << endl; }
[ "expression.operation.binary.change" ]
151,820
151,821
u133262182
cpp
p02390
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 60; m = S % 60 / 60; s = S % 3600; 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; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change", "assignment.change" ]
151,828
151,829
u406950580
cpp
p02390
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 60; 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, s; 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,830
151,829
u406950580
cpp
p02390
#include <stdio.h> int main() { int s; scanf("%d", &s); printf("%d;%d;%d\n", s / 3600, s / 60, s); return 0; }
#include <stdio.h> int main() { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s / 60 % 60, s % 60); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,838
151,839
u545899981
cpp
p02390
#include <stdio.h> int main() { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s / 60, s); return 0; }
#include <stdio.h> int main() { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s / 60 % 60, s % 60); return 0; }
[ "expression.operation.binary.add" ]
151,841
151,839
u545899981
cpp
p02390
#include <stdio.h> int main() { int S; scanf("%d\n", &S); int s = S % 60; int m = S % 3600 / 60; int h = S / 3600; printf("%d %d %d\n", s, m, h); return 0; }
#include <stdio.h> int main() { int S; scanf("%d\n", &S); int s = S % 60; int m = S % 3600 / 60; int h = S / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "identifier.change" ]
151,845
151,847
u594523574
cpp
p02390
#include <stdio.h> int main() { int S; scanf("%d\n", &S); int s = S % 60; int m = S % 3600 / 60; int h = S / 3600; printf("%d,%d,%d\n", s, m, h); return 0; }
#include <stdio.h> int main() { int S; scanf("%d\n", &S); int s = S % 60; int m = S % 3600 / 60; int h = S / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "identifier.change" ]
151,850
151,847
u594523574
cpp
p02390
#include <stdio.h> int main() { int S; scanf("%d\n", &S); int s = S % 60; int m = S % 3600 / 60; int h = S / 3600; printf("%d:%d:%d\n", s, m, h); return 0; }
#include <stdio.h> int main() { int S; scanf("%d\n", &S); int s = S % 60; int m = S % 3600 / 60; int h = S / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "identifier.change", "call.arguments.change", "io.output.change" ]
151,852
151,847
u594523574
cpp
p02390
#include <stdio.h> int main() { int S; scanf("%d", &S); int s = S % 60; int m = S % 3600; int h = S / 3600; printf("%d:%d:%d", h, m, s); return 0; }
#include <stdio.h> int main() { int S; scanf("%d", &S); int s = S % 60; int m = S % 3600 / 60; int h = S / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
151,854
151,856
u375999571
cpp
p02390
#include <stdio.h> main() { int s; int h, m, s0; scanf("%d", s); h = s / 3600; s = s - 3600 * h; m = s / 60; s0 = s - 60 * m; printf("%d:%d:%d\n", h, m, s0); return 0; }
#include <stdio.h> main() { int s; int h, m, s0; scanf("%d", &s); h = s / 3600; s = s - 3600 * h; m = s / 60; s0 = s - 60 * m; printf("%d:%d:%d\n", h, m, s0); return 0; }
[ "expression.operation.unary.reference.add" ]
151,864
151,866
u327125861
cpp
p02390
#include <iostream> using namespace std; int main() { // your code goes here int a, s, m, h; cin >> a; h = a / 3600; m = a % 3600 / 60; s = a % 3600 % 60; cout << h << " " << m << " " << s << endl; return 0; }
#include <iostream> using namespace std; int main() { // your code goes here int a, s, m, h; cin >> a; h = a / 3600; m = a % 3600 / 60; s = a % 3600 % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,876
151,878
u679994055
cpp
p02390
#include <iostream> using namespace std; int main() { // your code goes here int a, s, m, h; cin >> a; h = a / 3600; m = a % 3600 / 60; s = a % 3600 % 60; cout << h << ":" << m << ": " << s << endl; return 0; }
#include <iostream> using namespace std; int main() { // your code goes here int a, s, m, h; cin >> a; h = a / 3600; m = a % 3600 / 60; s = a % 3600 % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,880
151,878
u679994055
cpp
p02390
#include <cmath> #include <iostream> using namespace std; int main(void) { int h, m, s; cin >> s; cin.ignore(); h = s / 3600; s -= 3600 * h; m = s / 60; s -= 60 * m; cout << h << " " << m << " " << s << endl; }
#include <cmath> #include <iostream> using namespace std; int main(void) { int h, m, s; cin >> s; cin.ignore(); h = s / 3600; s -= 3600 * h; m = s / 60; s -= 60 * m; cout << h << ":" << m << ":" << s << endl; }
[ "literal.string.change", "io.output.change" ]
151,882
151,884
u436587708
cpp
p02390
#include <iostream> using namespace std; int main() { int InputS; int h, m, s; cin >> InputS; s = InputS % 60; m = InputS / 60 % 3600; h = InputS / 3600; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int InputS; int h, m, s; cin >> InputS; s = InputS % 60; m = InputS % 3600 / 60; h = InputS / 3600; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "expression.operation.binary.remove", "assignment.change" ]
151,886
151,888
u178521091
cpp
p02390
#include <iostream> using namespace std; int main() { int a, b, h, m, s; cin >> a; h = a / 3600; b = a % 3600; m = b / 60; s = b % 60; cout << h << ";" << m << ";" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b, h, m, s; cin >> a; h = a / 3600; b = a % 3600; m = b / 60; s = b % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,910
151,912
u359858868
cpp
p02390
#include <stdio.h> int main() { int time, hour, min, sec, damy; scanf("%d", &time); hour = time / 3600; damy = time % 3600; time = damy / 60; sec = damy % 60; printf("%d %d %d\n", hour, min, sec); return 0; }
#include <stdio.h> int main() { int time, hour, min, sec, damy; scanf("%d", &time); hour = time / 3600; damy = time % 3600; min = damy / 60; sec = damy % 60; printf("%d:%d:%d\n", hour, min, sec); return 0; }
[ "assignment.variable.change", "identifier.change", "literal.string.change", "call.arguments.change", "io.output.change" ]
151,923
151,925
u274552558
cpp
p02390
#include <stdio.h> int main() { int time, hour, min, sec, damy; scanf("%d", &time); hour = time / 3600; damy = time % 3600; min = damy / 60; sec = damy % 60; printf("%d %d %d\n", hour, min, sec); return 0; }
#include <stdio.h> int main() { int time, hour, min, sec, damy; scanf("%d", &time); hour = time / 3600; damy = time % 3600; min = damy / 60; sec = damy % 60; printf("%d:%d:%d\n", hour, min, sec); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,929
151,925
u274552558
cpp
p02390
#include <iostream> using namespace std; main() { int s; int h = 0; int m = 0; cin >> s; while (s > 0) { if (s >= 3600) { ++h; s = s - 3600; } else if (s >= 60) { ++m; s = s - 60; } else break; } cout << h << ";" << m << ";" << s << endl; return 0; }
#include <iostream> using namespace std; main() { int s; int h = 0; int m = 0; cin >> s; while (s > 0) { if (s >= 3600) { ++h; s = s - 3600; } else if (s >= 60) { ++m; s = s - 60; } else break; } cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,932
151,934
u008204061
cpp
p02390
#include <iostream> using namespace std; int main() { int x, h, m, s; cin >> x; h = x / 3600; m = (x - h) / 60; s = (x - h) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int x, h, m, s; cin >> x; h = x / 3600; m = (x - h * 3600) / 60; s = (x - h * 3600) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "assignment.change" ]
151,942
151,943
u028210388
cpp
p02390
#include <stdio.h> int main(void) { int t, h, m, s; scanf("%d", &t); h = t / 60 / 60; m = (t % 60) / 60; s = (t % 60) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int t, h, m, s; scanf("%d", &t); h = t / 60 / 60; m = (t / 60) % 60; s = (t % 60) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
151,962
151,964
u135273382
cpp
p02390
#include <bits/stdc++.h> using namespace std; int main() { int a; scanf("%d", &a); printf("%d,", a / 3600); a = a % 3600; printf("%d,", a / 60); a = a % 60; printf("%d\n", a); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; scanf("%d", &a); printf("%d:", a / 3600); a = a % 3600; printf("%d:", a / 60); a = a % 60; printf("%d\n", a); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,966
151,968
u219286587
cpp
p02390
#include <iostream> using namespace std; int main() { int time, h, m, s; cin >> time; h = time / 3600; m = (time - h * 3600) / 60; s = time - 3600 * h + 60 * m; cout << h << ":" << m << ":" << s << endl; }
#include <iostream> using namespace std; int main() { int time, h, m, s; cin >> time; h = time / 3600; m = (time - h * 3600) / 60; s = time - 3600 * h - 60 * m; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "misc.opposites", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change", "control_flow.return.add", "control_flow.return.0.add" ]
151,840
151,844
u608580712
cpp
p02390
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; s = S % 60; h = S / 3600; m = (S - s - h * 3600) / 60; cout << h << ";" << m << ";" << s << endl; }
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; s = S % 60; h = S / 3600; m = (S - h * 3600) / 60; cout << h << ":" << m << ":" << s << endl; }
[ "expression.operation.binary.remove", "literal.string.change", "io.output.change" ]
151,970
151,972
u269653912
cpp
p02390
#include <iostream> using namespace std; int main() { ; int S; 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; }
#include <iostream> using namespace std; int main() { ; int S; 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; }
[ "literal.string.change", "io.output.change" ]
151,980
151,978
u793590364
cpp
p02390
#include <iostream> using namespace std; int main() { int h = 0, m = 0, s = 0; cin >> s; h = int(s / 3600); s -= h * 3600; m = int(s / 60); s -= s * 60; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int h = 0, m = 0, s = 0; cin >> s; h = int(s / 3600); s -= h * 3600; m = int(s / 60); s -= m * 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
151,992
151,994
u892856616
cpp
p02390
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << " " << s % 3600 / 60 << " " << s % 3600 % 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << s % 3600 / 60 << ":" << s % 3600 % 60 << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,863
151,865
u606639970
cpp
p02390
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ": " << s % 3600 / 60 << " :" << s % 3600 % 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << s % 3600 / 60 << ":" << s % 3600 % 60 << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,867
151,865
u606639970
cpp
p02390
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 3600; m = S / h; s = S % 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; m = S % 3600 / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "assignment.change", "assignment.value.change", "identifier.replace.remove", "literal.replace.add", "expression.operation.binary.change" ]
151,869
151,871
u730288038
cpp
p02390
#include <iostream> using namespace std; int main() { int h, m, s; cin >> s; h = s / 3600; m = (s % 3600) / 60; s = s % 60; cout << h << ":" << m << ":" << s << ":"; return 0; }
#include <iostream> using namespace std; int main() { int h, m, s; cin >> s; h = s / 3600; m = (s % 3600) / 60; s = s % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "io.output.change" ]
151,875
151,877
u331593936
cpp
p02390
#include <stdio.h> int main() { int x, h, m, s; scanf("%d", x); h = x / 3600; m = x % 3600 / 60; s = x % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int x, h, m, s; scanf("%d", &x); h = x / 3600; m = x % 3600 / 60; s = x % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "expression.operation.unary.reference.add" ]
152,011
152,013
u385714166
cpp
p02390
#include <stdio.h> int main(void) { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = (S % 3600) / 60; s = S % 60; printf("%d %d %d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = (S % 3600) / 60; s = S % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
152,015
152,019
u227825652
cpp
p02390
#include <iostream> using namespace std; int main() { int h, m, s; int S = 3660; cin >> S >> h >> m >> s; cout << S / 3600 << " " << (S % 3600) / 60 << " " << (S % 3600) % 60; return 0; }
#include <iostream> using namespace std; int main() { int h, m, s; int S = 3660; cin >> S >> h >> m >> s; cout << S / 3600 << ":" << (S % 3600) / 60 << ":" << (S % 3600) % 60 << endl; return 0; }
[ "literal.string.change", "io.output.change", "io.output.newline.add" ]
151,897
151,898
u392116222
cpp
p02390
#include <stdio.h> int main() { int S, h, m, s, S1, S2; scanf("%d", &S); if (S >= 3600) { h = S / 600; S1 = S % 600; } else { h = 0; S1 = S; } if (S1 >= 60) { m = S1 / 60; S2 = S1 % 60; } else { m = 0; S2 = S1; } s = S2 % 60; printf("%d:%d:%d\n", h, m, s); return 0;...
#include <stdio.h> int main() { int S, h, m, s, S1, S2; scanf("%d", &S); if (S >= 3600) { h = S / 3600; S1 = S % 3600; } else { h = 0; S1 = S; } if (S1 >= 60) { m = S1 / 60; S2 = S1 % 60; } else { m = 0; S2 = S1; } s = S2 % 60; printf("%d:%d:%d\n", h, m, s); return ...
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
152,036
152,038
u952298247
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 % 60; 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 % 60; cout << h << ":" << m << ":" << s << endl; }
[ "literal.string.change", "io.output.change" ]
152,054
152,056
u022774028
cpp
p02390
#include <stdio.h> int main(void) { int x, h, m, s; scanf("%d", &x); h = x / 3600; m = (x - h * 3600) / 60; s = x % 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int x, h, m, s; scanf("%d", &x); h = x / 3600; m = (x - h * 3600) / 60; s = x % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
152,058
152,061
u303141383
cpp
p02390
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { int s; cin >> s; int h, m; m = s / 60; h = m / 60; s %= 60; m % 60; cout << h << ':' << m << ':' << s << endl; return 0; }
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { int s; cin >> s; int h, m; m = s / 60; h = m / 60; s %= 60; m %= 60; cout << h << ':' << m << ':' << s << endl; return 0; }
[ "assignment.compound.arithmetic.replace.add", "expression.operator.arithmetic.replace.remove", "expression.operation.binary.change" ]
151,920
151,922
u435512592
cpp
p02390
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; s = S % 60; m = ((S - s) / 60) % 60; h = (S - s - m * 60) % 3600; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; s = S % 60; m = ((S - s) / 60) % 60; h = (S - s - m * 60) / 3600; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "function.parameters.parameter.add", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
151,924
151,926
u088337682
cpp
p02390
#include <iostream> int main() { using namespace std; int firsts, h, m, s; cin >> firsts; cout << firsts / 3600 << ':' << firsts % 3600 / 60 << ':' << firsts % 3600 / 60 << endl; return 0; }
#include <iostream> int main() { using namespace std; int firsts, h, m, s; cin >> firsts; cout << firsts / 3600 << ':' << firsts % 3600 / 60 << ':' << firsts % 3600 % 60 << endl; return 0; }
[ "expression.operator.arithmetic.change", "io.output.change" ]
152,088
152,086
u661497758
cpp
p02390
#include <iostream> using namespace std; int main() { int a; cin >> a; cout << a / 3600 << ":" << a / 60 << ":" << a % 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int a; cin >> a; cout << a / 3600 << ":" << a / 60 % 60 << ":" << a % 60 << endl; return 0; }
[ "expression.operation.binary.add" ]
152,089
152,091
u387614087
cpp
p02390
#include <iostream> using namespace std; int main() { int S, s, h, m; cin >> S; h = S / 3600; m = (S % 3600) / 60; s = S % 3600; cout << h << ":" << m << ":" << s << endl; }
#include <iostream> using namespace std; int main() { int S, s, h, m; cin >> S; h = S / 3600; m = (S % 3600) / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
151,933
151,935
u231789489
cpp
p02390
// include<studio.h> #include <iostream> using namespace std; int main() { int a = 0; std::cin >> a; int h = a / 3600; int min = (a % 3600) / 60; int un = a % 60; cout << h << " " << min << " " << un; return 0; }
// include<studio.h> #include <iostream> using namespace std; int main() { int a = 0; std::cin >> a; int h = a / 3600; int min = (a % 3600) / 60; int un = a % 60; cout << h << ":" << min << ":" << un << endl; return 0; }
[ "literal.string.change", "io.output.change", "io.output.newline.add" ]
152,093
152,095
u119772717
cpp
p02390
#include <cstdio> using namespace std; int main() { int a, hour, b, minute, second; scanf("%d", &a); hour = a / 3600; b = a % 3600; minute = b / 60; second = b % 60; printf("%d %d %d\n", hour, minute, second); return 0; }
#include <cstdio> using namespace std; int main() { int a, hour, b, minute, second; scanf("%d", &a); hour = a / 3600; b = a % 3600; minute = b / 60; second = b % 60; printf("%d:%d:%d\n", hour, minute, second); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,939
151,944
u423353834
cpp
p02390
#include <stdio.h> int main() { int i, n, h = 0, m = 0, s = 0; scanf("%d", &i); while (i / 3600) { h++; i -= 3600; } while (i / 60) { m++; i -= 60; } printf("%2d:%2d:%2d\n", h, m, i); }
#include <stdio.h> int main() { int i, n, h = 0, m = 0, s = 0; scanf("%d", &i); while (i / 3600) { h++; i -= 3600; } while (i / 60) { m++; i -= 60; } printf("%d:%d:%d\n", h, m, i); }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
151,946
151,948
u053802181
cpp
p02390
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; S = S % 3600; m = S / 60; S = S % 60; s = S; cout << h << "," << m << "," << s << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; S = S % 3600; m = S / 60; S = S % 60; s = S; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
152,103
152,105
u545827064
cpp
p02390
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 3600; m = h / 60; s = h % 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; m = (S % 3600) / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "assignment.value.change", "expression.operation.binary.change", "identifier.change" ]
152,112
152,114
u189409753
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 % 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; m = (S % 3600) / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
152,116
152,114
u189409753
cpp
p02390
#include <iostream> using namespace std; int main() { int S, m, s; cin >> S; s = S % 60; S /= 60; m = S % 60; S /= 60; cout << S << ':' << m << ':' << endl; return 0; }
#include <iostream> using namespace std; int main() { int S, m, s; cin >> S; s = S % 60; S /= 60; m = S % 60; S /= 60; cout << S << ':' << m << ':' << s << endl; return 0; }
[ "io.output.change" ]
152,118
152,120
u064980217
cpp
p02390
#include <iostream> using namespace std; int main(void) { int x{}; cin >> x; cout << x / 3600 << ':' << x / 60 << ':' << x % 60 << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int x{}; cin >> x; cout << x / 3600 << ':' << (x % 3600) / 60 << ':' << x % 60 << endl; return 0; }
[]
152,122
152,124
u025868759
cpp
p02390
#include <iostream> #include <stdio.h> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << S % 3600 / 60 << ":" << S % 21600 << endl; return 0; }
#include <iostream> #include <stdio.h> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << S % 3600 / 60 << ":" << S % 60 << endl; return 0; }
[ "literal.number.change", "io.output.change" ]
151,965
151,967
u109124730
cpp
p02390
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << " " << (s % 3600) / 60 << " " << (s % 3600) - (s % 3600) / 60 * 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << (s % 3600) / 60 << ":" << (s % 3600) - (s % 3600) / 60 * 60 << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
152,126
152,128
u493646413
cpp
p02390
// I wanna be the guy. #include <bits/stdc++.h> using namespace std; int main() { int x, h, m, s, temp; cin >> x; temp = x % 3600; h = (x - temp) / 3600; s = temp % 60; m = (temp - s) / 60; cout << ":" << h << ":" << m << ":" << s << endl; }
// I wanna be the guy. #include <bits/stdc++.h> using namespace std; int main() { int x, h, m, s, temp; cin >> x; temp = x % 3600; h = (x - temp) / 3600; s = temp % 60; m = (temp - s) / 60; cout << h << ":" << m << ":" << s << endl; }
[ "expression.operation.binary.remove" ]
152,132
152,133
u493646413
cpp
p02390
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << (S % 3600) / 60 << ":" << S / 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << (S % 3600) / 60 << ":" << S % 60 << endl; return 0; }
[ "expression.operator.arithmetic.change", "io.output.change" ]
152,135
152,137
u899999872
cpp
p02390
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << " : " << (S % 3600) / 60 << " : " << (S % 3600) % 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << (S % 3600) / 60 << ":" << (S % 3600) % 60 << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
151,981
151,983
u784822106
cpp
p02390
#include <bits/stdc++.h> using namespace std; int main() { int x, h, m, s; cin >> x; h = x / 366; m = (x - h * 3600) / 60; s = x - h * 3600 - m * 60; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x, h, m, s; cin >> x; h = x / 3600; m = (x - h * 3600) / 60; s = x - h * 3600 - m * 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
151,991
151,993
u048824902
cpp
p02390
#include <iostream> int main() { int t, h, m, s; std::cin >> t; h = t / 3600; m = (t - 3600 * h) / 60; s = (t - 60 * m); std::cout << h << ":" << m << ":" << s << std::endl; return 0; }
#include <iostream> int main() { int t, h, m, s; std::cin >> t; h = t / 3600; m = (t - 3600 * h) / 60; s = (t - 3600 * h - 60 * m); std::cout << h << ":" << m << ":" << s << std::endl; return 0; }
[ "assignment.change" ]
152,152
152,154
u840175389
cpp
p02390
#include <iostream> using namespace std; int main(void) { int h, m, s, S; cin >> S; h = S / (60 * 60); m = S % 60; s = S % (60 * 60); cout << h; cout << ":"; cout << m; cout << ":"; cout << s; cout << endl; }
#include <iostream> using namespace std; int main(void) { int h, m, s, S; cin >> S; h = S / (60 * 60); m = (S / 60) % 60; s = S % (60); cout << h; cout << ":"; cout << m; cout << ":"; cout << s; cout << endl; }
[ "expression.operation.binary.remove" ]
151,995
151,997
u919773430
cpp
p02390
#include <stdio.h> int main() { int h, m, s; scanf("%d", &s); m = s / 60; s = s % 60; h = m / 60; m = m % 60; printf("%d %d %d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int h, m, s; scanf("%d", &s); m = s / 60; s = s % 60; h = m / 60; m = m % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
152,161
152,163
u215738620
cpp
p02390
#include <iostream> using namespace std; int main() { int hour, minute, sec; cin >> sec; minute = sec / 60; hour = sec / 3600; sec = sec % 60; minute = minute % 60; cout << hour << ";" << minute << ";" << sec << endl; return 0; }
#include <iostream> using namespace std; int main() { int hour, minute, sec; cin >> sec; minute = sec / 60; hour = sec / 3600; sec = sec % 60; minute = minute % 60; cout << hour << ":" << minute << ":" << sec << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
152,167
152,170
u226368180
cpp
p02390
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; m = (S % 3600) / 60; s = m % 60; cout << h; cout << ":"; cout << m; cout << ":"; cout << s; cout << endl; }
#include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; m = (S % 3600) / 60; s = (S % 3600) % 60; cout << h; cout << ":"; cout << m; cout << ":"; cout << s; cout << endl; }
[ "assignment.value.change", "expression.operation.binary.change" ]
152,014
152,016
u973634883
cpp
p02390
#include <cstdio> #include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; m = (S - (h * 3600)) / 360; s = S - (h * 3600 + m * 360); cout << h; cout << ":"; cout << m; cout << ":"; cout << s; cout << endl; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int S, h, m, s; cin >> S; h = S / 3600; m = (S - (h * 3600)) / 60; s = S - (h * 3600 + m * 60); cout << h; cout << ":"; cout << m; cout << ":"; cout << s; cout << endl; }
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
152,017
152,018
u617185327
cpp
p02390
#include <iostream> int main() { int n, h, m, s; std::cin >> n; h = n / 3600; m = (n - h * 3600) / 60; s = n - h * 3600 - m * 60; std::cout << h << " : " << m << " : " << s << std::endl; }
#include <iostream> int main() { int n, h, m, s; std::cin >> n; h = n / 3600; m = (n - h * 3600) / 60; s = n - h * 3600 - m * 60; std::cout << h << ":" << m << ":" << s << std::endl; }
[ "literal.string.change", "expression.operation.binary.change" ]
152,180
152,182
u661086350
cpp
p02390
#include <iostream> using namespace std; int main() { long h, m, s; cin >> s; h = s / 3600; s %= 3600; m = s / 60; s %= 60; cout << h << " : " << m << " : " << s << endl; return 0; }
#include <iostream> using namespace std; int main() { long h, m, s; cin >> s; h = s / 3600; s %= 3600; m = s / 60; s %= 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
152,184
152,186
u174846868
cpp
p02390
#include <cmath> #include <iomanip> #include <iostream> #define ll long long int using namespace std; void solve(); int main() { solve(); return 0; } void solve() { ll in; ll h, m, s; char c = ':'; cin >> in; h = in / 3600; m = in / 60; s = in % 60; cout << h << c << m << c << s << endl; }
#include <cmath> #include <iomanip> #include <iostream> #define ll long long int using namespace std; void solve(); int main() { solve(); return 0; } void solve() { ll in; ll h, m, s; char c = ':'; cin >> in; h = in / 3600; m = (in / 60) % 60; s = in % 60; cout << h << c << m << c << s << e...
[ "assignment.change" ]
152,187
152,189
u624571109
cpp
p02390
#include <bits/stdc++.h> using namespace std; int main() { int S; cin >> S; int h = S / 3600; int m = (S - h * 3600) / 60; int s = S - h * 3600 - m * 60; cout << h << " : " << m << " : " << s << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int S; cin >> S; int h = S / 3600; int m = (S - h * 3600) / 60; int s = S - h * 3600 - m * 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
152,032
152,035
u425264228
cpp
p02390
#include <iostream> using namespace std; int main(void) { int h, m, s; cin >> s; h = s / 3600; s %= 3600; m = s / 60; s %= 62; cout << h << ":" << m << ":" << s; return 0; }
#include <iostream> using namespace std; int main(void) { int h, m, s; cin >> s; h = s / 3600; s %= 3600; m = s / 60; s %= 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.number.change", "assignment.value.change", "io.output.newline.add" ]
152,191
152,193
u920742433
cpp
p02390
#include <iostream> using namespace std; int main(void) { int h, m, s; cin >> s; h = s / 3600; s %= 3600; m = s / 60; s %= 62; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int h, m, s; cin >> s; h = s / 3600; s %= 3600; m = s / 60; s %= 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[ "literal.number.change", "assignment.value.change" ]
152,195
152,193
u920742433
cpp