buggy_code
stringlengths
11
625k
fixed_code
stringlengths
17
625k
bug_type
stringlengths
2
4.45k
language
int64
0
8
token_count
int64
5
200k
#include <stdio.h> int main() { int t, h, m; h = 0; m = 0; scanf("%d", &t); for (; t >= 3600;) { t = t - 3600; h++; } for (; t >= 60;) { t = t - 60; m++; } printf("%d;%d;%d\n", h, m, t); return 0; }
#include <stdio.h> int main() { int t, h, m; h = 0; m = 0; scanf("%d", &t); for (; t >= 3600;) { t = t - 3600; h++; } for (; t >= 60;) { t = t - 60; m++; } printf("%d:%d:%d\n", h, m, t); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
88
#include <stdio.h> int main() { int S; scanf("%d", &S); printf("%d %d %d\n", S / 3600, S / 60 % 60, S % 60); 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; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
46
#include <stdio.h> int main() { int S; scanf("%d", &S); printf("%d:%d:%d\n", S / 60 / 60, S / 60 % 60, S / 3600 % 60); return 0; }
#include <stdio.h> int main() { int S; scanf("%d", &S); printf("%d:%d:%d\n", S / 60 / 60, S / 60 % 60, S % 60); return 0; }
[["-", 0, 2, 3, 4, 0, 16, 31, 16, 17, 85], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13]]
0
50
#include <stdio.h> int S, s, h, m; int main() { scanf("%d", &s); h = s / 3600; m = 60 / (s % 3600); S = s % 60; printf("%d:%d:%d\n", h, m, S); return 0; }
#include <stdio.h> int S, s, h, m; int main() { scanf("%d", &s); h = s / 3600; m = (s % 3600) / 60; S = s % 60; printf("%d:%d:%d\n", h, m, S); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
0
66
#include <stdio.h> int main(void) { int a; int h; int m; int mm; int s; scanf("%d", &a); h = a / 3600; mm = a - 3600 * h; m = mm / 60; s = a - 3600 * h - 60 * m; printf("%d %d %d\n", h, m, s); }
#include <stdio.h> int main(void) { int a; int h; int m; int mm; int s; scanf("%d", &a); h = a / 3600; mm = a - 3600 * h; m = mm / 60; s = a - 3600 * h - 60 * m; printf("%d:%d:%d\n", h, m, s); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
80
#include <stdio.h> int main() { int S; int 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() { int S; int 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; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
66
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int s, m, h; 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; }
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int s, m, h; 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; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]]
0
68
#include <stdio.h> int main(void) { int S; scanf("%d", &S); int h = S / 60 / 60; int m = S / 60; int s = S; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int S; scanf("%d", &S); int h = S / 60 / 60; int m = S / 60 % 60; int s = S % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 109], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
0
60
#include <stdio.h> main() { int s, m, h, t, input; scanf("%d", input); h = input / 3600; t = input % 3600; m = t / 60; s = t % 60; printf("%d:%d:%d\n", h, m, s); }
#include <stdio.h> int main() { int s, m, h, t, input; scanf("%d", &input); h = input / 3600; t = input % 3600; m = t / 60; s = t % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 25, 0, 35], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]]
0
66
#include <stdio.h> main() { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = (S % 3600) / 60; s = (S % 3600) % 60; printf("%d,%d,%d", h, m, s); return 0; }
#include <stdio.h> main() { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = (S % 3600) / 60; s = (S % 3600) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
69
#include <stdio.h> main() { int h, m, s; int S; scanf("%d", &S); s = S % 60; h = S % 3600; m = (s / 60) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> main() { int h, m, s; int S; scanf("%d", &S); s = S % 60; h = S / 3600; m = S / 60 % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 0, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]]
0
67
#include <stdio.h> int main(void) { // Here your code ! int H, M, S, MA; scanf("%d", &MA); H = MA / 3600; M = (MA - (3600 * H)) / 60; S = MA - (H * 3600 + M * 60); printf("%d %d %d\n", H, M, S); return 0; }
#include <stdio.h> int main(void) { // Here your code ! int H, M, S, MA; scanf("%d", &MA); H = MA / 3600; M = (MA - (3600 * H)) / 60; S = MA - (H * 3600 + M * 60); printf("%d:%d:%d\n", H, M, S); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
80
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s / 60, s); return 0; }
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s % 3600 / 60, s % 60); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 109], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
43
#include <stdio.h> int main(void) { int S = 0; int a, b, c; int d, e; scanf("%d", &S); if (0 < S && S < 86400) { a = S / 3600; d = S % 3600; b = d / 60; e = d % 60; printf("%d:%d:%d\n", a, b, e); } else { return 0; } return 0; }
#include <stdio.h> int main(void) { int S = 0; int a, b, c; int d, e; scanf("%d", &S); if (-1 < S && S < 86401) { a = S / 3600; d = S % 3600; b = d / 60; e = d % 60; printf("%d:%d:%d\n", a, b, e); } else { return 0; } return 0; }
[["-", 0, 57, 15, 23, 0, 16, 31, 16, 31, 13], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 31, 13], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13]]
0
95
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = S / 60 - (60 * S); s = S % 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 / 60 - (60 * h); s = S % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 11, 12, 16, 12, 23, 0, 16, 12, 22], ["+", 0, 11, 12, 16, 12, 23, 0, 16, 12, 22]]
0
68
#include <stdio.h> int main(void) { int S; int h; int m; int 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(void) { int S; int h; int m; int 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; }
[["-", 0, 11, 12, 16, 12, 23, 0, 16, 17, 72], ["+", 12, 16, 12, 23, 0, 16, 12, 16, 17, 48]]
0
80
#include <math.h> #include <stdio.h> #include <stdlib.h> int main() { long tm; int a, b, c, d; scanf("%ld", &tm); a = tm / 3600; d = tm % 3600; b = d / 60; d %= 60; c = d; printf("%d:%02d:%02d\n", a, b, c); return 0; }
#include <math.h> #include <stdio.h> #include <stdlib.h> int main() { long tm; int a, b, c, d; scanf("%ld", &tm); a = tm / 3600; d = tm % 3600; b = d / 60; d %= 60; c = d; printf("%d:%d:%d\n", a, b, c); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
77
#include <stdio.h> int main() { int h, m, s; int S; scanf("%d", &S); h = S / 3600; S = S - h * 3600; s = S / 60; S = S - s * 60; m = S; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int h, m, s; int S; scanf("%d", &S); h = S / 3600; S = S - h * 3600; m = S / 60; S = S - m * 60; s = S; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22]]
0
77
#include <stdio.h> int main(void) { int h, m, s, a; scanf("%d", &a); h = a / 3600; m = a % 3600 / 60; s = 3600 % 60; printf("%d:%d:%d", h, m, s); return 0; }
#include <stdio.h> int main(void) { int h, m, s, a; scanf("%d", &a); h = a / 3600; m = a % 3600 / 60; s = a % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
64
#include <stdio.h> int main() { int h, m, s, t; scanf("%d", &t); h = t / 3600; t = t - 3600 * h; m = t / 60; s = t - 3600 * h - 60 * m; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int h, m, s, t; scanf("%d", &t); h = t / 3600; t = t - 3600 * h; m = t / 60; s = t - 60 * m; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 11, 12, 16, 31, 16, 12, 16, 31, 13], ["-", 0, 11, 12, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 11, 12, 16, 31, 16, 12, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 33]]
0
76
#include <stdio.h> int main() { int S, h, m, s; scanf("%d\n", &S); h = S / 3600; m = (S % 3600) / 60; s = (h % 60) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int S, h, m, s; scanf("%d\n", &S); h = S / 3600; m = (S % 3600) / 60; s = S % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 109], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22]]
0
71
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d", s / 3600, s % 3600 / 60, s % 3600 % 60); return 0; }
#include <stdio.h> int main(void) { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s % 3600 / 60, s % 3600 % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
48
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); if (S >= 0 && S < 86400) { 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 S, h, m, s; scanf("%d", &S); if (S >= 0 && S < 86400) { h = S / 3600; m = (S - h * 3600) / 60; s = S - h * 3600 - m * 60; printf("%d:%d:%d\n", h, m, s); } return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
86
#include <stdio.h> int main() { int s, h, m, b; scanf("%d", &s); h = s / 3600; m = (s - h * 3600) / 60; b = s % 60; printf("%d;%d;%d\n", h, m, b); return 0; }
#include <stdio.h> int main() { int s, m, h, b; scanf("%d", &s); h = s / 3600; m = (s - h * 3600) / 60; b = s % 60; printf("%d:%d:%d\n", h, m, b); return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
68
#include <stdio.h> int main() { int S, s, m, h; scanf("%d", &S); s = S % 60; m = S / 60 % 60; h = S / 3600; printf("%d:%d:%d\n", s, m, h); return 0; }
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); s = S % 60; m = S / 60 % 60; h = S / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
64
int main() { int h; int m; int s; int input; /* ????????? */ h = 0; m = 0; s = 0; input = 0; scanf("%d", input); h = input / 3600; m = (input % 3600) / 60; s = (input % 3600) % 60; printf("%d:%d:%d", h, m, s); return 0; }
int main() { int h; int m; int s; int input; /* ????????? */ h = 0; m = 0; s = 0; input = 0; scanf("%d", &input); h = input / 3600; m = (input % 3600) / 60; s = (input % 3600) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
86
int main(void) { int S; /* ??\?????? */ int hou; /* ?????? */ int min; /* ??? */ int sec; /* ?§? */ int tmp; /* ????\???¨ */ /* input */ scanf("%d", &S); tmp = S; /* ??????????¨???? */ hou = S / 360; tmp = S % 360; /* ???????¨???? */ min = tmp / 60; tmp = tmp % 60; /* ?§??...
int main(void) { int S; /* ??\?????? */ int hou; /* ?????? */ int min; /* ??? */ int sec; /* ?§? */ int tmp; /* ????\???¨ */ /* input */ scanf("%d", &S); tmp = S; /* ??????????¨???? */ hou = S / 3600; tmp = S % 3600; /* ???????¨???? */ min = tmp / 60; tmp = tmp % 60; /* ?§...
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
0
91
#include <stdio.h> int main(void) { int h, m, s, a; scanf("%d", &s); h = s / 3600; m = s % 3600 / 60; a = s % 3600; printf("%d:%d:%d\n", h, m, a); return 0; }
#include <stdio.h> int main(void) { int h, m, s, a; scanf("%d", &s); h = s / 3600; m = s % 3600 / 60; a = s % 3600 % 60; printf("%d:%d:%d\n", h, m, a); return 0; }
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
0
65
main() { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s / 60, s % 60); return 0; }
main() { int s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, (s / 60) % 60, s % 60); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109]]
0
41
#include <stdio.h> int main() { 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() { 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; }
[["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 85], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
0
64
#include <stdio.h> int main(void) { int S; int h; int m; int s; scanf("%d", &S); h = S / 3600; m = S / 3600 % 60; s = S % 3600 % 60; printf("%d:%d:%d\n", h, m, s); return (0); }
#include <stdio.h> int main(void) { int S; int h; int m; int s; scanf("%d", &S); h = S / 3600; m = S % 3600 / 60; s = S % 3600 % 60; printf("%d:%d:%d\n", h, m, s); return (0); }
[["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 85], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
0
72
#include <stdio.h> int main(void) { int S; int h = 0, m = 0, s = 0; scanf("%d", &S); h = S / 3600; m = (S % 3600) / 60; s = m % 60; printf("%d:%d:%d", h, m, s); return 0; }
#include <stdio.h> int main(void) { int S; int h = 0, m = 0, s = 0; scanf("%d", &S); h = S / 3600; m = (S % 3600) / 60; s = (S % 3600) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
73
#include <stdio.h> int main(void) { int n; scanf("%d", &n); printf("%d\n", n / 3600, (n % 3600) / 60, (n % 3600) % 60); return (0); }
#include <stdio.h> int main(void) { int n; scanf("%d", &n); printf("%d:%d:%d\n", n / 3600, (n % 3600) / 60, (n % 3600) % 60); return (0); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
55
#include <stdio.h> int main(void) { int seconds, h, m, s; scanf("%d", &seconds); h = seconds / 3600; seconds %= 3600; m = seconds / 60; s %= 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int seconds, h, m, s; scanf("%d", &seconds); h = seconds / 3600; seconds %= 3600; m = seconds / 60; s = seconds % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 132], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]]
0
65
#include <stdio.h> int main(void) { int a; scanf("%d", &a); int b = a % 3600; printf("%d:%d:%d\n", a / 3600, b / 3600, b % 60); return 0; }
#include <stdio.h> int main(void) { int a; scanf("%d", &a); int b = a % 3600; printf("%d:%d:%d\n", a / 3600, b / 60, b % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
52
#include <stdio.h> int main(void) { int S; int h; int m; int s; scanf("%d", &S); h = S / 3600; s = S % 60; m = S % 3600 - s; printf("%d:%d:%d", h, m, s); return 0; }
#include <stdio.h> int main(void) { int S; int h; int m; int s; scanf("%d", &S); h = S / 3600; s = S % 60; m = S % 3600 / 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 33], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
67
#include <stdio.h> int main(void) { int h, s; scanf("%d", &s); h = s / 3600; s /= 3600; printf("%d:%d:%d\n", h, s / 60, s % 60); return 0; }
#include <stdio.h> int main(void) { int h, s; scanf("%d", &s); h = s / 3600; s %= 3600; printf("%d:%d:%d\n", h, s / 60, s % 60); return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 90], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 132]]
0
55
#include <stdio.h> int main() { int input_second = 0; scanf("%d", &input_second); printf("%d:%d:%d\n", input_second / 3600, input_second % 3600, input_second % 60); return 0; }
#include <stdio.h> int main() { int input_second = 0; scanf("%d", &input_second); printf("%d:%d:%d\n", input_second / 3600, (input_second % 3600) / 60, input_second % 60); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
46
// // main.c // Watch // // Created by x17018xx on 2017/04/10. // Copyright ?? 2017??´ x17018xx. All rights reserved. // #include <stdio.h> int main(int argc, const char *argv[]) { int S, h, m, s; h = 0; m = 0; s = 0; scanf("%d", &S); if ((S >= 0) && (S < 86400)) { if (S >= 3600) { h = S / 3...
#include <stdio.h> int main(int argc, const char *argv[]) { int S, h, m, s; h = 0; m = 0; s = 0; scanf("%d", &S); if ((S >= 0) && (S < 86400)) { if (S >= 3600) { h = S / 3600; S = S % 3600; } if (S >= 60) { m = S / 60; S = S % 60; } s = S; } printf("%d:%d:%d\...
[["+", 0, 57, 64, 9, 0, 57, 64, 9, 0, 46], ["-", 0, 57, 64, 9, 0, 57, 64, 9, 0, 46], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46]]
0
132
#include <stdio.h> int main(int argc, const char *argv[]) { int s; int m; int h; int S; scanf("%d", &S); h = S / 3600; m = (S - h * 3600) / 60; s = S - (h * 3600 + m * 60); printf("%d:%d:%d\n", s, m, h); return 0; }
#include <stdio.h> int main(int argc, const char *argv[]) { int s; int m; int h; int 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; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
88
#include <stdio.h> int main() { int s; scanf("%d", &s); int m; int h; h = s / 60 / 60; m = (s - h * 60 * 60) / 60; s = s - h * 60 * 60 - m * 60; printf("%d,%d,%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int s; scanf("%d", &s); int m; int h; h = s / 60 / 60; m = (s - h * 60 * 60) / 60; s = s - h * 60 * 60 - m * 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
80
#include <stdio.h> int main(void) { int S = 0, h = 0, m = 0, s = 0, a = 0; scanf("%d", &S); h = S / 3600; a = S % 3600; m = a / 60; a = a % 60; s = a; printf("%d %d %d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int S = 0, h = 0, m = 0, s = 0, a = 0; scanf("%d", &S); h = S / 3600; a = S % 3600; m = a / 60; a = a % 60; s = a; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
85
#include <stdio.h> int main(void) { int x; scanf("%d", &x); printf("%d\n%d\n%d\n", x / 3600, x % 3600 / 60, x % 3600 % 60); return 0; }
#include <stdio.h> int main(void) { int x; scanf("%d", &x); printf("%d:%d:%d\n", x / 3600, x % 3600 / 60, x % 3600 % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
53
#include <stdio.h> int main(void) { int S; scanf("%d", &S); printf("%dh;%dm;%ds\n", S / 3600, S % 3600 / 60, S % 60); return 0; }
#include <stdio.h> int main(void) { int S; scanf("%d", &S); printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
47
#include <stdio.h> int main(void) { int S = 0; scanf("%d", S); int h = S / 3600; int m = S % 3600 / 60; int s = S % 3600 % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int S = 0; scanf("%d", &S); int h = S / 3600; int m = S % 3600 / 60; int s = S % 3600 % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
65
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); s = S % 60; m = S % 3600 / 60; h = S / 3600; printf("%d:%d;%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); s = S % 60; m = S % 3600 / 60; h = S / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
64
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", S); h = S / 3600; m = (S % 3600) / 60; s = S % 60; printf("%d:%d:%d", 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; }
[["+", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
64
#include <stdio.h> int main(void) { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = h / 60; s = h % 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 % 3600 % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 109], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13]]
0
63
#include <stdio.h> int main(void) { int t, h, m, s; scanf("%d", &t); h = t / 3600; t = t - h; m = t / 60; t = t - m; s = t; 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 / 3600; t = t - h * 3600; m = t / 60; t = t - m * 60; s = t; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 12, 13]]
0
73
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = (S - h) / 60; s = S - ((h * 3600) + (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 - (h * 3600)) / 60; s = S - ((h * 3600) + (m * 60)); printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 12, 16, 31, 23, 0, 16, 12, 23, 0, 24], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 12, 13], ["+", 12, 16, 31, 23, 0, 16, 12, 23, 0, 25]]
0
78
#include <stdio.h> #define MAX_LENGTH 32 int main(void) { char line[MAX_LENGTH]; int input; fgets(line, sizeof(line), stdin); sscanf(line, "%d", &input); printf("%d ", input / 60 / 60 % 60); printf("%d ", input / 60 % 60); printf("%d\n", input % 60); return 0; }
#include <stdio.h> #define MAX_LENGTH 32 int main(void) { char line[MAX_LENGTH]; int input; fgets(line, sizeof(line), stdin); sscanf(line, "%d", &input); printf("%d:", input / 60 / 60 % 60); printf("%d:", input / 60 % 60); printf("%d\n", input % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
88
#include <stdio.h> int main() { int sec; int min; int hour; scanf("%d", &sec); min = sec / 60; hour = min / 60; sec %= 60; printf("%d:%d:%d\n", hour, min, sec); return 0; }
#include <stdio.h> int main() { int sec; int min; int hour; scanf("%d", &sec); min = sec / 60; hour = min / 60; min %= 60; sec %= 60; printf("%d:%d:%d\n", hour, min, sec); return 0; }
[["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 132], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
0
60
#include <stdio.h> int main(int argc, const char *argv[]) { int x, h, m, s; scanf("%d", &x); h = x / 3600; x -= h; m = x / 60; x -= h; s = x; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(int argc, const char *argv[]) { int x, h, m, s; scanf("%d", &x); h = x / 3600; x -= h * 3600; m = x / 60; x -= m * 60; s = x; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22]]
0
77
#include <stdio.h> int main() { int S, h, m, 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 S, h, m, 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; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
74
#include <stdio.h> int main(int argc, char const *argv[]) { 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 argc, char const *argv[]) { 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; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
0
85
#include <stdio.h> int main(void) { int a; scanf("%d", &a); printf(":%d", a / 3600); printf(":%d", a % 3600 / 60); printf(":%d", a % 60 % 60); return 0; }
#include <stdio.h> int main(void) { int a; scanf("%d", &a); printf("%d", a / 3600); printf(":%d", a % 3600 / 60); printf(":%d\n", a % 60 % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
62
#include <stdio.h> int main() { int S = 86400; scanf("%d", &S); int h = S / 3600; int m = S % 3600; int s = S % 3600 % 60; printf("%d:%d:%d", h, m, s); return 0; }
#include <stdio.h> int main() { int S = 86400; scanf("%d", &S); int h = S / 3600; int m = S % 3600 / 60; int s = S % 3600 % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
62
#include <stdio.h> int main(void) { int a; scanf("%d", &a); printf("%d:%d:%d\n", a / 3600, a / 60, a % 60); return 0; }
#include <stdio.h> int main(void) { int a; scanf("%d", &a); printf("%d:%d:%d\n", a / 3600, a % 3600 / 60, a % 60); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 109], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13]]
0
45
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); if (0 < S && S <= 86400) { 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 S, h, m, s; scanf("%d", &S); if (0 <= S && S <= 86400) { h = S / 3600; m = (S - h * 3600) / 60; s = S - (h * 3600 + m * 60); printf("%d:%d:%d\n", h, m, s); } return 0; }
[["-", 0, 57, 15, 23, 0, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 17, 19]]
0
88
#include <stdio.h> int main() { int S; scanf("%d\n", S); printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 3600 % 60); return 0; }
#include <stdio.h> int main() { int S; scanf("%d\n", &S); printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 3600 % 60); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
48
#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() { 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; }
[["-", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
65
#include <stdio.h> int main(void) { int inSec; int hour; int minute; int second; scanf("%d", &inSec); hour = inSec / 3600; minute = (inSec - (hour * 3600)) / 60; second = (inSec - (hour * 3600)) % 60; printf("%d:%d:%d?\n", hour, minute, second); return 0; }
#include <stdio.h> int main(void) { int inSec; int hour; int minute; int second; scanf("%d", &inSec); hour = inSec / 3600; minute = (inSec - (hour * 3600)) / 60; second = (inSec - (hour * 3600)) % 60; printf("%d:%d:%d\n", hour, minute, second); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
82
#include <stdio.h> main() { int h, m, s, S; scanf("%d", &S); s = S % 60; m = (S - s) / 60 % 60; h = (S - s - 60 * m) / 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> main() { int h, m, s, S; scanf("%d", &S); s = S % 60; m = (S - s) / 60 % 60; h = (S - s) / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 33], ["-", 12, 16, 31, 23, 0, 16, 12, 16, 31, 13], ["-", 12, 16, 31, 23, 0, 16, 12, 16, 17, 48], ["-", 12, 16, 31, 23, 0, 16, 12, 16, 12, 22], ["-", 0, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
0
76
#include <stdio.h> int main(void) { int seconds, hour, minute, second; scanf("%d", &seconds); second = seconds % 60; minute = (seconds - second) / 60 % 60; hour = (seconds - second - minute * 60) / 3600; printf("%d:%d:%d\n", hour, minute, hour); return 0; }
#include <stdio.h> int main(void) { int seconds, hour, minute, second; scanf("%d", &seconds); second = seconds % 60; minute = (seconds - second) / 60 % 60; hour = (seconds - second - minute * 60) / 3600; printf("%d:%d:%d\n", hour, minute, second); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
77
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); ((S >= 0) && (S < 86400)); h = S / 3600; S %= 3600; m = S / 60; S %= 60; s = S; printf("%d:%d%:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); ((S >= 0) && (S < 86400)); h = S / 3600; S %= 3600; m = S / 60; S %= 60; s = S; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
82
int main(void) { int sec; int hh, mm, ss; int mod; scanf("%d", &sec); hh = sec / (60 * 60); mod = sec / (60 * 60); mm = mod / 60; ss = mod / 60; printf("%d:%d:%d\r\n", hh, mm, ss); return 0; }
int main(void) { int sec; int hh, mm, ss; int mod; scanf("%d", &sec); hh = sec / (60 * 60); mod = sec % (60 * 60); mm = mod / 60; ss = mod % 60; printf("%d:%d:%d\r\n", hh, mm, ss); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]]
0
80
#include <stdio.h> int main(void) { int h, m, s; int sum; scanf("%d", &sum); h = sum / 3600; m = (sum - h * 3600) / 60; s = (sum - h * 3600 - m * 60); printf("%d,%d,%d\n", h, m, s); return (0); }
#include <stdio.h> int main(void) { int h, m, s; int sum; scanf("%d", &sum); h = sum / 3600; m = (sum - h * 3600) / 60; s = (sum - h * 3600 - m * 60); printf("%d:%d:%d\n", h, m, s); return (0); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
80
#include <stdio.h> int main(void) { int num; scanf("%d", &num); printf("%d:%d:%d\n", num / 3600, num % 3600 / 60 + num % 3600 % 60); return 0; }
#include <stdio.h> int main(void) { int num; scanf("%d", &num); printf("%d:%d:%d\n", num / 3600, num % 3600 / 60, num % 3600 % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21]]
0
49
#include <stdio.h> int main(void) { int 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 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; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
65
#include <stdio.h> int main(void) { int S, h, m, s; scanf("%d", &S); h = S / 3600; m = S % 3600 / 60; s = S % 3600; printf("%d:%d:%d", 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; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
64
#include <stdio.h> int main(void) { int S = 0, h = 0, m = 0, s = 0; scanf("%d", &S); s = S % 60; m = S % 3600 / 60; h = S / 3600; printf("%d:%d:%d\n", s, m, h); return 0; }
#include <stdio.h> int main(void) { int S = 0, h = 0, m = 0, s = 0; scanf("%d", &S); s = S % 60; m = S % 3600 / 60; h = S / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
73
#include <stdio.h> void main() { int S, h, m, s; scanf("%d", &S); if (S <= 86400) { h = S / 3600; m = S / 60; s = S % 60; printf("%d:%d:%d\n", h, m, s); } return 0; }
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); if (S <= 86400) { h = S / 3600; m = S / 60 - h * 60; s = S % 60; printf("%d:%d:%d\n", h, m, s); } return 0; }
[["-", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 11, 12, 16, 17, 33], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48]]
0
70
#include <stdio.h> int main(void) { int a, b, c, d; scanf("%d", &a); b = a / 3600; a -= b * 3600; c = a / 60; a -= c * 60; d = a; printf("%d:%d:%d\n", a, b, c); return 0; }
#include <stdio.h> int main(void) { int a, b, c, d; scanf("%d", &a); b = a / 3600; a -= b * 3600; c = a / 60; a -= c * 60; d = a; printf("%d:%d:%d\n", b, c, d); return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
73
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); h == S / 3600; m == (S - h * 3600) / 60; s == (S - (h * 3600 - m * 60)); printf("%d:%d:%d", h, m, s); return 0; }
#include <stdio.h> int main() { int S, h, m, 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; }
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 60], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["-", 12, 23, 0, 16, 12, 23, 0, 16, 17, 33], ["+", 12, 23, 0, 16, 12, 23, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
77
#include <stdio.h> int main() { int s; scanf("%d", &s); printf("%d:%d:%d\n", (s - s % 3600) / 3600, (s - s % 60) / 60, s % 60); return 0; }
#include <stdio.h> int main() { int s; scanf("%d", &s); printf("%d:%d:%d\n", (s - s % 3600) / 3600, (s - s % 60) / 60 % 60, s % 60); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
56
#include <stdio.h> int main() { int a; int s, m, h; scanf("%d", &a); s = a % 60; a = a - s; m = a % 3600; a = a - m; h = a / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int a; int s, m, h; scanf("%d", &a); s = a % 60; a = a - s; m = (a % 3600) / 60; a = a - m; h = a / 3600; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
0
75
#include <stdio.h> int main() { int n, h, m, s; scanf("%d", &n); h = n / 3600; m = (n % 3600) / 60; s = (n % 3600) % 60; printf("%d:%d:%d:\n", h, m, s); return 0; }
#include <stdio.h> int main() { int n, h, m, s; scanf("%d", &n); h = n / 3600; m = (n % 3600) / 60; s = (n % 3600) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
70
#include <stdio.h> int main(void) { int a; scanf("%d", &a); int h, m, s; h = a % 3600; m = (a - h * 3600) % 60; s = a - h * 3600 - m * 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int a; scanf("%d", &a); int h, m, s; h = a / 3600; m = (a - h * 3600) / 60; s = a - h * 3600 - m * 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
0
76
#include <stdio.h> int main(void) { int a; scanf("%d\n", &a); printf("%d:%d:%d\n", a / 3600, (a % 360) / 60, (a % 360) % 60); return 0; }
#include <stdio.h> int main(void) { int a; scanf("%d\n", &a); printf("%d:%d:%d\n", a / 3600, (a % 3600) / 60, (a % 3600) % 60); return 0; }
[["-", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13]]
0
54
#include <stdio.h> int main(void) { int S, h, m, s; scanf("%d", S); h = (S / 3600); //??????????????¨?????? m = (S % 3600) / 60; //??????????????????????§???° s = (S % 3600) % 60; printf("%d:%d:%d", 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 % 3600) % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
73
#include <stdio.h> int main() { int s, a, b, c; scanf("%d", &s); a = s / 3600; b = s % 3600 / 60; c = a % 3600 % 60; printf("%d:%d:%d\n", a, b, c); return 0; }
#include <stdio.h> int main() { int s, a, b, c; scanf("%d", &s); a = s / 3600; b = s % 3600 / 60; c = s % 3600 % 60; printf("%d:%d:%d\n", a, b, c); }
[["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]]
0
66
#include <stdio.h> int main() { int S; scanf("%d", &S); printf("%d:", S / 3600); printf("%d:", S % 3600 / 60); printf("%d:", S % 3600 % 60); return 0; }
#include <stdio.h> int main() { int S; scanf("%d", &S); printf("%d:", S / 3600); printf("%d:", S % 3600 / 60); printf("%d\n", S % 3600 % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
61
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); h = S / 60 / 60; m = S / 60 % 60; s = S % 60; if (S <= 86400 && S >= 0) { printf("%d:%d:%d\n"); } return 0; }
#include <stdio.h> int main() { int S, h, m, s; scanf("%d", &S); h = S / 60 / 60; m = S / 60 % 60; s = S % 60; if (S <= 86400 && S >= 0) { printf("%d:%d:%d\n", h, m, s); } return 0; }
[["+", 64, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 64, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
0
72
#include <stdio.h> int main() { int S; int hour; int minute; int sec; scanf("%d", &S); if (S >= 3600) { hour = S / 3600; minute = (S % 3600) / 60; sec = (S % 3600) % 60; printf("%d:%d:%d\n", hour, minute, sec); return 0; } if (S >= 60) { minute = S / 60; sec = S % 60; ...
#include <stdio.h> int main() { int S; int hour; int minute; int sec; scanf("%d", &S); if (S >= 3600) { hour = S / 3600; minute = (S % 3600) / 60; sec = (S % 3600) % 60; printf("%d:%d:%d\n", hour, minute, sec); return 0; } if (S >= 60) { minute = S / 60; sec = S % 60; ...
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
129
#include <stdio.h> int main(void) { int v, h, t, s; scanf("%d", &v); h = v / 3600; t = v / 60 - h * 60; s = v - t * 60 - h * 3600; printf("%d %d %d\n", h, t, s); return 0; }
#include <stdio.h> int main(void) { int v, h, t, s; scanf("%d", &v); h = v / 3600; t = v / 60 - h * 60; s = v - t * 60 - h * 3600; printf("%d:%d:%d\n", h, t, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
73
#include <stdio.h> int main(void) { int h, m, s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, s / 60, s % 60); return 0; }
#include <stdio.h> int main(void) { int h, m, s; scanf("%d", &s); printf("%d:%d:%d\n", s / 3600, (s / 60) % 60, s % 60); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109]]
0
49
#include "stdio.h" int main(void) { int x; scanf("%d", &x); int hour = x / 3600; int min = (x - hour * 3600) / 60; int sec = (x - hour * 3600 - min * 60) / 60; printf("%d:%d:%d\n", hour, min, sec); }
#include "stdio.h" int main(void) { int x; scanf("%d", &x); int hour = x / 3600; int min = (x - hour * 3600) / 60; int sec = (x - hour * 3600 - min * 60); printf("%d:%d:%d\n", hour, min, sec); }
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
0
75
#include <stdio.h> int main() { int S, h, m, s; 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() { int S, h, m, s; scanf("%d", &S); m = S / 60; h = m / 60; m = m % 60; s = S % 60; printf("%d:%d:%d\n", h, m, s); }
[["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
0
59
#include <stdio.h> int main(void) { int i; scanf("%d", &i); printf("%d:%d:%d\n", i / 60 / 60, i / 60, i % 60); return 0; }
#include <stdio.h> int main(void) { int i; scanf("%d", &i); printf("%d:%d:%d\n", i / 60 / 60, i / 60 % 60, i % 60); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
47
#include <stdio.h> int main() { int time, h, m, s; scanf("%d", &time); h = time % 3600; m = (time - 3600 * h) % 60; s = (time - 3600 * h - 60 * m); printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int time, h, m, s; scanf("%d", &time); h = time / 3600; m = (time - 3600 * h) / 60; s = (time - 3600 * h - 60 * m); printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
0
76
#include <stdio.h> int main(void) { int h, m, s, base; scanf("%d", &base); h = base / 3600; base %= 3600; m = base / 60; base %= 60; s = base; printf("%d %d %d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int h, m, s, base; scanf("%d", &base); h = base / 3600; base %= 3600; m = base / 60; base %= 60; s = base; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
69
#include <stdio.h> int main() { int a; int h = 0; int m = 0; scanf("%d", a); if (a / 3600 != 0) { h = a / 3600; a -= 3600 * h; } if (a / 60 != 0) { m = a / 60; a -= 60 * m; } printf("%d:%d:%d\n", h, m, a); return 0; }
#include <stdio.h> int main() { int a; int h = 0; int m = 0; scanf("%d", &a); if (a / 3600 != 0) { h = a / 3600; a -= 3600 * h; } if (a / 60 != 0) { m = a / 60; a -= 60 * m; } printf("%d:%d:%d\n", h, m, a); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
91
#include <stdio.h> int main(void) { int S, s, m, h; scanf("%S", &S); s = S % 60; S /= 60; m = S % 60; h = S / 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int S, s, m, h; scanf("%d", &S); s = S % 60; S /= 60; m = S % 60; h = S / 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
67
#include <stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { int q = n % 60; int w = (n / 60) % 60; int e = (n / 3600); printf("%02d:%02d:%02d\n", e, w, q); } return 0; }
#include <stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { int q = n % 60; int w = (n / 60) % 60; int e = (n / 3600); printf("%d:%d:%d\n", e, w, q); } return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
71
#include <stdio.h> int main(void) { int n, h, m, s; m < 60; s < 60; scanf("%d", &n); h = n / 3600; m = n % 3600 / 60; s = m % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(void) { int n, h, m, s; m < 60; s < 60; scanf("%d", &n); h = n / 3600; m = n % 3600 / 60; s = n % 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22]]
0
73
#include <stdio.h> int main(int argc, const char *argv[]) { int S; int h, m, s; scanf("%d", &S); h = S / 360; m = (S - h * 360) / 60; s = S - (h * 360) + (m * 60); printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main(int argc, const char *argv[]) { int S; int h, m, 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; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 12, 16, 31, 23, 0, 16, 12, 16, 12, 13], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 12, 13], ["-", 12, 16, 31, 16, 12, 23, 0, 16, 12, 13], ["-", 0, 11, 12, 16, 31, 16, 12, 23, 0, 25], ["+", 12, 16, 12, 23, 0, 16, 31, 16, 12, 13], ["-", ...
0
88
#include <stdio.h> int main(void) { int S; scanf("%d", &S); printf("%d:%d:%d\n", S / 3600, S / 60, S); return 0; }
#include <stdio.h> int main(void) { int S; scanf("%d", &S); printf("%d:%d:%d\n", S / 3600, (S / 60) % 60, S % 60); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
43
#include <stdio.h> int main() { int s, h, m; int S; scanf("%d", &S); h = S / (60 * 60); m = (S - h * 3600) / 60; s = (S - h * 3600 - m * 60) % 60; printf("%d:%d:%d:\n", h, m, s); }
#include <stdio.h> int main() { int s, h, m; int S; scanf("%d", &S); h = S / (60 * 60); m = (S - h * 3600) / 60; s = (S - h * 3600 - m * 60) % 60; printf("%d:%d:%d\n", h, m, s); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
80
#include <stdio.h> int main(void) { int S = 0; scanf("%d", &S); int hour = S / 3600; int min = (S % 3600) / 60; int sec = min % 60; printf("%d:%d:%d", hour, min, sec); return 0; }
#include <stdio.h> int main(void) { int S = 0; scanf("%d", &S); int hour = S / 3600; int min = (S % 3600) / 60; int sec = S % 60; printf("%d:%d:%d\n", hour, min, sec); return 0; }
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
65
#include <stdio.h> int main() { int s; scanf("%d", &s); int h, m; h = s % 3600; m = (s - (3600 * h)) / 60; s = s - 3600 * h - m * 60; printf("%d:%d:%d\n", h, m, s); return 0; }
#include <stdio.h> int main() { int s; scanf("%d", &s); int h, m; h = s / 3600; m = (s - (3600 * h)) / 60; s = s - 3600 * h - m * 60; printf("%d:%d:%d\n", h, m, s); return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
0
75