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
S=int(input()) h = s//3600 m = (s-h*3600)//60 s = (S-(h*3600)-(m*60)) print (h,m,s,sep=":")
x=int(input()) h = x//3600 m = (x-h*3600)//60 s = (x-(h*3600)-(m*60)) print (h,m,s,sep=":")
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 31, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 31, 22], ["-", 0, 662, 12, 657, 31, 23, 0, 657, 31, 22], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 31, 22], ["-", 0, 662, 12, 23, 0, 657, 31, 657, 31...
5
55
seconds=int(input()) hours=int(seconds/60) minutes=int((seconds-hours*60)/60) seconds=(seconds-hours*60-minutes*60) print(str(hours)+":"+str(minutes)+":"+str(seconds))
seconds=int(input()) hours=int(seconds/3600) minutes=int((seconds-hours*3600)/60) seconds=(seconds-hours*3600-minutes*60) print(str(hours)+":"+str(minutes)+":"+str(seconds))
[["-", 0, 662, 12, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 612], ["-", 0, 657, 31, 23, 0, 657, 12, 657, 12, 612], ["+", 0, 657, 31, 23, 0, 657, 12, 657, 12, 612], ["-", 12, 23, 0, 657, 31, 657, 12, 657, 12, 612], ["+", 12, 23, 0, 657, 31, 657, 12, 657, 12, 612]]
5
68
a=int(input()) h,m=0,0 if int(a/(60**2))>0: h=int(a/(60**2)) a-=(60**2)*h if int(a/60)>0: m=int(a/60) a-=60*m s=a print(h,":",m,":",s)
a=int(input()) h,m=0,0 if int(a/(60**2))>0: h=int(a/(60**2)) a-=(60**2)*h if int(a/60)>0: m=int(a/60) a-=60*m s=a print(h,":",m,":",s,sep='')
[["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]]
5
92
sec=int(input()) h=inr(sec/3600) m=int((sec-(3600*h))/60) s=int(sec-(3600*h)-(60*m)) print("{0}:{1}:{2}".format(h,m,s))
sec=int(input()) h=int(sec/3600) m=int((sec-(3600*h))/60) s=int(sec-(3600*h)-(60*m)) print("{0}:{1}:{2}".format(h,m,s))
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
65
import math as m def solve(s): print("suusii") hours = m.floor(s/3600) mod_hour = s%3600 minutes = m.floor(mod_hour/60) seconds = mod_hour%60 answer_format = "{0}:{1}:{2}".format(hours,minutes,seconds) print(answer_format) def answer(): s = int(input()) solve(s) if __name__...
import math as m def solve(s): hours = m.floor(s/3600) mod_hour = s%3600 minutes = m.floor(mod_hour/60) seconds = mod_hour%60 answer_format = "{0}:{1}:{2}".format(hours,minutes,seconds) print(answer_format) def answer(): s = int(input()) solve(s) if __name__ == '__main__': ...
[["-", 0, 14, 8, 196, 0, 1, 0, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]]
5
91
S = int(input()) h = S//3600 m = (S//60)-60*(S//3600) s = S//60 print('{}:{}:{}'.format(h,m,s))
S = int(input()) h = S//3600 m = (S//60)-60*(S//3600) s = S%60 print('{}:{}:{}'.format(h,m,s))
[["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 109]]
5
48
second = input() second = int(second) h = second // 3600 m = (second % 3600) // 60 s = (second % 3600) % 60 print("{0:02}:{1:02}:{2:02}".format(h,m,s))
second = input() second = int(second) h = second // 3600 m = (second % 3600) // 60 s = (second % 3600) % 60 print("{0}:{1}:{2}".format(h,m,s))
[["-", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6], ["+", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6]]
5
49
package main import ( "fmt" ) func main(){ var i int fmt.Scan(&i) fmt.Println("%d:%d:%d", i/3600, (i%3600)/60, i%60) }
package main import ( "fmt" ) func main(){ var i int fmt.Scan(&i) fmt.Printf("%d:%d:%d\n", i/3600, (i%3600)/60, i%60) }
[["-", 8, 196, 0, 1, 0, 2, 63, 438, 119, 120], ["+", 8, 196, 0, 1, 0, 2, 63, 438, 119, 120], ["+", 0, 1, 0, 2, 3, 4, 0, 429, 0, 44]]
7
55
package main import ( "fmt" "strconv" ) func calcHour(sec int) (hour, res int) { h := sec / (60 * 60) r := sec % (60 * 60) return h, r } func calcMinute(sec int) (minute, res int) { m := sec / 60 r := sec % 60 return m, r } func main() { var in string fmt.Scan(&in) i, _ := strconv.Atoi(in) h, res := ...
/* main is for program 2-1 of AOJ */ package main import ( "fmt" "strconv" ) func calcHour(sec int) (hour, res int) { h := sec / (60 * 60) r := sec % (60 * 60) return h, r } func calcMinute(sec int) (minute, res int) { m := sec / 60 r := sec % 60 return m, r } func main() { var in string fmt.Scan(&in) ...
[["-", 8, 196, 0, 1, 0, 2, 63, 438, 119, 120], ["+", 8, 196, 0, 1, 0, 2, 63, 438, 119, 120], ["+", 0, 1, 0, 2, 3, 4, 0, 429, 0, 44]]
7
150
package main import ( "fmt" "strconv" ) func main() { var x int fmt.Scan(&x) h, r := d_q(x, 3600) m, s := d_q(r, 60) println(strconv.Itoa(h) + ":" + strconv.Itoa(m) + ":" + strconv.Itoa(s)) } func d_q(x int, y int) (d int, q int) { d = x / y q = x % y return }
package main import ( "fmt" "strconv" ) func main() { var x int fmt.Scan(&x) h, r := d_q(x, 3600) m, s := d_q(r, 60) fmt.Println(strconv.Itoa(h) + ":" + strconv.Itoa(m) + ":" + strconv.Itoa(s)) } func d_q(x int, y int) (d int, q int) { d = x / y q = x % y return }
[["-", 0, 435, 8, 196, 0, 1, 0, 2, 63, 22], ["+", 8, 196, 0, 1, 0, 2, 63, 438, 439, 22], ["+", 8, 196, 0, 1, 0, 2, 63, 438, 0, 131], ["+", 8, 196, 0, 1, 0, 2, 63, 438, 119, 120]]
7
120
package main import"fmt" func main(){ var nin int fmt.Scanln(&nin) nin_ := nin h := nin_ % (60 * 60) nin_ /= (60 * 60) m := nin_ % 60 nin_ /= 60 s := nin_ fmt.Printf("%d:%d:%d\n", h, m, s) }
package main import"fmt" func main(){ var nin int fmt.Scanln(&nin) nin_ := nin h := nin_ / (60 * 60) nin_ %= (60 * 60) m := nin_ / 60 nin_ %= 60 s := nin_ fmt.Printf("%d:%d:%d\n", h, m, s) }
[["-", 8, 196, 0, 431, 12, 432, 0, 16, 17, 109], ["+", 8, 196, 0, 431, 12, 432, 0, 16, 17, 85], ["-", 0, 434, 0, 435, 8, 196, 0, 436, 17, 90], ["+", 0, 434, 0, 435, 8, 196, 0, 436, 17, 132]]
7
79
'use strict'; (function(stdin) { var param = stdin[0].split(' ').map(Number); var result = (function(a, b) { if (a < b) { return 'a < b'; } else if (a > b) { return 'a > b'; } else { return 'a == b'; } }(param[0], param[1])); console.log(result); }(require('fs').readFileSync('/dev/stdin', 'utf8')));
'use strict'; (function(stdin) { var param = stdin.split(' ').map(Number); var result = (function(a, b) { if (a < b) { return 'a < b'; } else if (a > b) { return 'a > b'; } else { return 'a == b'; } }(param[0], param[1])); console.log(result); }(require('fs').readFileSync('/dev/stdin', 'utf8')));
[["-", 63, 558, 500, 2, 63, 558, 500, 69, 0, 70], ["-", 63, 558, 500, 2, 63, 558, 500, 69, 71, 555], ["-", 63, 558, 500, 2, 63, 558, 500, 69, 0, 73]]
2
119
(function(stdin) { // Define Function // Declare Variable const greterOrLess = { true : 'a > b', false : 'a < b' }; const inputs = stdin.toString().trim().split('\n'); const cols = inputs[0].split(' ').map(Number); // Main Procedure const result = (function(a, b) { return (a === b) ? 'eq' : greterOrLess[a > b];...
(function(stdin) { // Define Function // Declare Variable const greterOrLess = { true : 'a > b', false : 'a < b' }; const inputs = stdin.toString().trim().split('\n'); const cols = inputs[0].split(' ').map(Number); // Main Procedure const result = (function(a, b) { return (a === b) ? 'a == b' : greterOrLess[a >...
[["-", 8, 556, 0, 37, 0, 510, 64, 557, 0, 491], ["+", 8, 556, 0, 37, 0, 510, 64, 557, 0, 491]]
2
139
function main(input) { var a = input[0].split(' ') - '0'; if (parseInt(a[0]) < parseInt(a[1])) { console.log("a < b") } else if (parseInt(a[0]) == parseInt(a[1])) { console.log("a == b") } else { console.log("a > b") } } var input = ''; process.stdin.resume(); process.stdin.setEncoding('utf8'); ...
function main(input) { var a = input[0].split(' '); if (parseInt(a[0]) < parseInt(a[1])) { console.log("a < b") } else if (parseInt(a[0]) == parseInt(a[1])) { console.log("a == b") } else { console.log("a > b") } } var input = ''; process.stdin.resume(); process.stdin.setEncoding('utf8'); proces...
[["-", 8, 556, 0, 198, 0, 200, 51, 16, 17, 33], ["-", 0, 198, 0, 200, 51, 16, 12, 557, 0, 104], ["-", 0, 198, 0, 200, 51, 16, 12, 557, 0, 491]]
2
174
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var x = chunk.split(" "); x[0] = Number(x[0]) x[1] = Number(x[1]) var op = "=" if (x[0] < x[1]) { op = "<" } else if (x[0] > x[1]) { op = ">" } console.log("a " + op + " b"); });
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var x = chunk.split(" "); x[0] = Number(x[0]) x[1] = Number(x[1]) var op = "==" if (x[0] < x[1]) { op = "<" } else if (x[0] > x[1]) { op = ">" } console.log("a " + op + " b"); });
[["-", 8, 556, 0, 198, 0, 200, 51, 557, 0, 491], ["+", 8, 556, 0, 198, 0, 200, 51, 557, 0, 491]]
2
133
'use strict'; (function(stdin) { var inputs = stdin.toString(); var params = inputs.split('\n')[0].split(' ').map(Number); (function(a, b) { if (a < b) { console.log('a < b'); } else if (a > b) { console.log('a > b'); } else { console.log('a = b'); } //???????????????????????? }(params[0], params[1])); }(require(...
'use strict'; (function(stdin) { var inputs = stdin.toString(); var params = inputs.split('\n')[0].split(' ').map(Number); (function(a, b) { if (a < b) { console.log('a < b'); } else if (a > b) { console.log('a > b'); } else { console.log('a == b'); } //???????????????????????? }(params[0], params[1])); }(require...
[["-", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491], ["+", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491]]
2
138
'use strict'; (function(stdin) { var inputs = stdin.toString(); var params = inputs.split('\n')[0].split(' ').map(Number); (function(a, b) { //???????????????????????? if (a > b) { console.log('a > b'); } else if (a < b) { console.log('a > b'); } else { console.log('a == b'); } }(params[0], params[1])); }(require...
'use strict'; (function(stdin) { var inputs = stdin.toString(); var params = inputs.split('\n')[0].split(' ').map(Number); (function(a, b) { if (a > b) { console.log('a > b'); } else if (a < b) { console.log('a < b'); } else { console.log('a == b'); } //???????????????????????? }(params[0], params[1])); }(require...
[["-", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491], ["+", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491]]
2
138
var input = require('fs').readFileSync('/dev/stdin', 'utf8'); var ab = input.split(' ').map(Number); var a = ab[0]; var b = ab[1]; var compare = function(a, b) { if (a > b) { return '>'; } else if (a < b) { return '<'; } else { return '=='; } } console.log(a + ' ' + compare(a, b) + ' ' + b...
var input = require('fs').readFileSync('/dev/stdin', 'utf8'); var ab = input.split(' ').map(Number); var a = ab[0]; var b = ab[1]; var compare = function(a, b) { if (a > b) { return '>'; } else if (a < b) { return '<'; } else { return '=='; } } console.log('a ' + compare(a, b) + ' b');
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 72], ["-", 31, 16, 31, 16, 31, 16, 12, 557, 0, 491], ["+", 3, 3, 0, 16, 31, 16, 31, 557, 0, 491], ["-", 3, 3, 0, 16, 31, 16, 12, 557, 0, 491], ["+", 0, 2, 3, 3, 0, 16, 12, 557, 0, 491], ["-", 0, 1, 0, 2, 3, 3, 0, 16, 17, 72], ["-", ...
2
124
'use strict'; process.stdin.on('data', function(chunk) { var inputs = chunk.toString().trim().split(' '); var a = Number(inputs[0]); var b = Number(inputs[1]); if (a < b) { console.log('a<b'); } else if (a > b) { console.log('a>b'); } else { console.log('a==b'); } }); process.stdin.resume(); p...
'use strict'; process.stdin.on('data', function(chunk) { var inputs = chunk.toString().trim().split(' '); var a = Number(inputs[0]); var b = Number(inputs[1]); if (a < b) { console.log('a < b'); } else if (a > b) { console.log('a > b'); } else { console.log('a == b'); } }); process.stdin.resum...
[["-", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491], ["+", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491]]
2
130
process.stdin.on('data', function(chunk) { var inputs = chunk.toString().trim().split(' '); var a = Number(inputs[0]); var b = Number(inputs[1]); if (a < b) { console.log('a < b'); } else if (a > b) { console.log('a > b'); } else { console.log('a==b') } // ???????????????????????? }); proces...
process.stdin.on('data', function(chunk) { var inputs = chunk.toString().trim().split(' '); var a = Number(inputs[0]); var b = Number(inputs[1]); if (a < b) { console.log('a < b'); } else if (a > b) { console.log('a > b'); } else { console.log('a == b') } // ???????????????????????? }); proc...
[["-", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491], ["+", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491]]
2
126
process.stdin.resume(); process.stdin.setEncoding('utf8'); // ???????????????????¨??????§ // Let's ?????£??¬???????????? process.stdin.on('data', function(chunk) { var line = chunk.split(' '); var a = Number(line[0]); var b = Number(line[1]); if (a > b) { console.log(a > b); } else if (a < b) { conso...
process.stdin.resume(); process.stdin.setEncoding('utf8'); // ???????????????????¨??????§ // Let's ?????£??¬???????????? process.stdin.on('data', function(chunk) { var line = chunk.split(' '); var a = Number(line[0]); var b = Number(line[1]); if (a > b) { console.log("a > b"); } else if (a < b) { con...
[["-", 0, 1, 0, 2, 3, 3, 0, 16, 31, 22], ["-", 0, 1, 0, 2, 3, 3, 0, 16, 17, 47], ["-", 0, 1, 0, 2, 3, 3, 0, 16, 12, 22], ["+", 0, 1, 0, 2, 3, 3, 0, 557, 0, 62], ["+", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491], ["-", 0, 1, 0, 2, 3, 3, 0, 16, 17, 18]]
2
119
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << (s - (s / 3600) * 3600) / 60 << ":" << s - s / 3600 * 60 - (s - (s / 3600) * 3600) / 60 * 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << (s - s / 3600 * 3600) / 60 << ":" << s - s / 3600 * 3600 - (s - s / 3600 * 3600) / 60 * 60 << endl; return 0; }
[["-", 31, 23, 0, 16, 12, 16, 31, 23, 0, 24], ["-", 31, 23, 0, 16, 12, 16, 31, 23, 0, 25], ["-", 31, 16, 12, 16, 31, 16, 12, 16, 12, 13], ["+", 31, 16, 12, 16, 31, 16, 12, 16, 12, 13]]
1
76
#include <iostream> using namespace std; int main() { int h, m, s, S = 46979; h = S / (60 * 60); m = S / 60 % 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
#include <iostream> using namespace std; int main() { int h, m, s, S = 0; cin >> S; h = S / (60 * 60); m = S / 60 % 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
65
#include <iostream> using namespace std; int main() { int sec, h, m, s; cin >> sec; s = sec % 60; m = (sec - s) % 3600; h = (sec - s) / 3600; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int sec, h, m, s; cin >> sec; s = sec % 60; m = (sec - s) / 60 % 60; h = (sec - s) / 3600; cout << h << ":" << m << ":" << s << endl; return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 85], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
72
#include <iostream> using namespace std; int main() { int S; cin >> S; int h = S / 3600; int m = (S % 3600) / 60; int s = S % (3600 * 60); cout << h << ":" << m << ":" << s << endl; }
#include <iostream> using namespace std; int main() { int S; cin >> S; int h = S / 3600; int m = (S % 3600) / 60; int s = S - (h * 3600 + m * 60); cout << h << ":" << m << ":" << s << endl; }
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 109], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 33], ["+", 51, 16, 12, 23, 0, 16, 31, 16, 31, 22], ["+", 51, 16, 12, 23, 0, 16, 31, 16, 17, 48], ["+", 49, 50, 51, 16, 12, 23, 0, 16, 17, 72], ["+", 51, 16, 12, 23, 0, 16, 12, 16, 31, 22]]
1
66
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 3600; m = S / 60; s = S % 60; cout << h << ":" << m << ":" << s << "\n"; return 0; }
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 3600; m = (S / 60) % 60; s = S % 60; cout << h << ":" << m << ":" << s << "\n"; return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 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]]
1
66
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << s % 3600 / 60 << ":" << s % 3600 / 60 % 60 << endl; }
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << s % 3600 / 60 << ":" << s % 3600 % 60 << endl; }
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 17, 85], ["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13]]
1
49
#include <bits/stdc++.h> using namespace std; int main() { int S; cin >> S; cout << (S / 3600) << " " << (S / 60 % 60) << " " << (S % 60) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int S; cin >> S; cout << (S / 3600) << ":" << (S / 60 % 60) << ":" << (S % 60) << endl; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
51
#include <iostream> using namespace std; int main() { int S, lul, h, m, s; cin >> S; lul = S % 60; h = S / 3600; m = lul / 60; s = lul % 60; cout << h << ':' << m << ':' << s << endl; }
#include <iostream> using namespace std; int main() { int S, lul, h, m, s; cin >> S; lul = S % 3600; h = S / 3600; m = lul / 60; s = lul % 60; cout << h << ':' << m << ':' << s << endl; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
69
#include <stdio.h> int main() { int h, m, s, t; scanf("%d", &t); h = t % 3600; m = (t - (3600 * h)) % 60; s = (t - (3600 * h) - (60 * m)); printf("%d:%d:%d", h, m, s); return 0; }
#include <stdio.h> int main() { int h, m, s, t; scanf("%d", &t); h = t / 3600; m = (t - (3600 * h)) / 60; s = (t - (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, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
81
#include <iostream> #include <string> using namespace std; int main() { int A; cin >> A; cout << A / 3600 << ":" << A / 60 << ":" << A % 60 << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int A; cin >> A; cout << A / 3600 << ":" << A % 3600 / 60 << ":" << A % 60 << endl; return 0; }
[["+", 31, 16, 31, 16, 12, 16, 31, 16, 17, 109], ["+", 31, 16, 31, 16, 12, 16, 31, 16, 12, 13]]
1
48
#include <iostream> using namespace std; int main() { int s, h, m, s2; cin >> s; h = s / 3600; m = (s % 60) / 60; s2 = s % 60; cout << h << ":" << m << ":" << s2 << endl; return 0; }
#include <iostream> using namespace std; int main() { int s, h, m, s2; cin >> s; h = s / 3600; m = (s / 60) % 60; s2 = s % 60; cout << h << ":" << m << ":" << s2 << endl; return 0; }
[["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 109], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 85], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]]
1
68
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ':' << S / 60 << ':' << S << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ':' << (S / 60) % 60 << ':' << S % 60 << endl; return 0; }
[["+", 31, 16, 31, 16, 12, 16, 31, 23, 0, 24], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 31, 16, 31, 16, 12, 16, 31, 23, 0, 25], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 109], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 109], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
44
#include <bits/stdc++.h> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << " " << (s / 60) % 60 << " " << s % 60 << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int s; cin >> s; cout << s / 3600 << ":" << (s / 60) % 60 << ":" << s % 60 << endl; return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
50
// itp1_topic1_d #include <bits/stdc++.h> using namespace std; int main() { int S; cin >> S; int h = S / 3600; int m = S / 60; int s = S; cout << h << ":" << m << ":" << s << endl; return 0; }
// itp1_topic1_d #include <bits/stdc++.h> 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; return 0; }
[["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 109], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
60
#include <iostream> using namespace std; int s, m, h; int S; int main() { cin >> S; h = s / 3600; m = (s % 3600) / 60; s = (s % 3600) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int s, m, h; int S; int main() { cin >> S; h = S / 3600; m = (S % 3600) / 60; s = (S % 3600) % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22]]
1
73
#include <iostream> int main() { int x, h, m, s; std::cin >> x; s = x % 60; x = x - s; x = x / 60; m = x % 60; x = x - m; h = x % 60; std::cout << h << ":" << m << ":" << s << std::endl; }
#include <iostream> int main() { int x, h, m, s; std::cin >> x; s = x % 60; x = x - s; x = x / 60; m = x % 60; x = x - m; h = x / 60; std::cout << h << ":" << m << ":" << s << std::endl; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
1
81
#include <stdio.h> using namespace std; int main() { int s; scanf("%d", &s); printf("%d ", s / 3600); s %= 3600; printf("%d %d\n", s / 60, s % 60); return 0; }
#include <stdio.h> using namespace std; int main() { int s; scanf("%d", &s); printf("%d:", s / 3600); s %= 3600; printf("%d:%d\n", s / 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]]
1
59
#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; }
#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; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
70
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << (S / 60) % 60 << ":" << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << (S / 60) % 60 << ":" << S % 60 << endl; return 0; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 109], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151]]
1
46
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << S % 60 / 60 << ":" << S % 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << S / 60 % 60 << ":" << S % 60 << endl; return 0; }
[["-", 31, 16, 31, 16, 12, 16, 31, 16, 17, 109], ["-", 31, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 31, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 109]]
1
48
#include <iostream> using namespace std; int main(void) { int all; int s; int m; int h; cin >> all; s = all % 60; m = (all / 60) % 60; h = m / 60; std::cout << h << ":" << m << ":" << s << std::endl; }
#include <iostream> using namespace std; int main(void) { int all; int s; int m; int h; cin >> all; s = all % 60; m = (all / 60) % 60; h = (all / 60) / 60; std::cout << h << ":" << m << ":" << s << std::endl; }
[["-", 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, 17, 85], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]]
1
73
#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; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
50
#include <iostream> using namespace std; int main() { int s; cin >> s; if (s < 60) cout << "00:00:" << s << endl; if (s >= 60 && s < 3600) cout << "00:" << s / 60 << ":" << s % 60 << endl; if (s >= 3600) cout << s / 3600 << ":" << s % 3600 / 60 << ":" << s % 3600 % 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int s; cin >> s; if (s < 60) cout << "0:0:" << s << endl; if (s >= 60 && s < 3600) cout << "0:" << s / 60 << ":" << s % 60 << endl; if (s >= 3600) cout << s / 3600 << ":" << s % 3600 / 60 << ":" << s % 3600 % 60 << endl; return 0; }
[["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
102
#include <iostream> using namespace std; int main() { int h = 0; int m = 0; int s = 0; h = s / 3600; s = s - (h * 3600); m = s / 60; s = s - (m * 60); cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int h = 0; int m = 0; int s = 0; cin >> s; h = s / 3600; s = s - (h * 3600); m = s / 60; s = s - (m * 60); cout << h << ":" << m << ":" << s << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
80
#include <stdio.h> int main() { int a, h, m, s; scanf("%d", &a); h = a / 3600; m = (a - 3600 * h) / 60; s = (a - 3600 * h) % 60; printf("%d:%d%d:\n", h, m, s); return 0; }
#include <stdio.h> int main() { int a, h, m, s; scanf("%d", &a); h = a / 3600; m = (a - 3600 * h) / 60; s = (a - 3600 * h) % 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]]
1
74
#include <stdio.h> int main() { int S; scanf("%d", &S); printf("%d:%d:%d\n", S / 3600, (S % 3600) / 60, 3600 % 60); }
#include <stdio.h> int main() { int S; scanf("%d", &S); printf("%d:%d:%d\n", S / 3600, (S % 3600) / 60, S % 60); }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 31, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 31, 22]]
1
45
#include <cstring> #include <iostream> #include <string> using namespace std; int main() { int S, h, m, s; cin >> S; h = (S - S % 3600) / 3600; S = S % 3600; m = (S % 60) / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
#include <cstring> #include <iostream> #include <string> using namespace std; int main() { int S, h, m, s; cin >> S; h = (S - S % 3600) / 3600; S = S % 3600; m = (S - S % 60) / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
[["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 33], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 31, 22]]
1
81
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << (S - S % 3600) / 3600 << ":" << ((S - S % 60) / 60) % 60 << ":" << S % 3600 << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << (S - S % 3600) / 3600 << ":" << (S - S % 60) / 60 % 60 << ":" << S % 60 << endl; return 0; }
[["-", 12, 16, 31, 23, 0, 16, 31, 23, 0, 24], ["-", 31, 16, 31, 16, 12, 16, 31, 23, 0, 25], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
62
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 3600; S = S - h * 3600; m = S / 60; s = S - m * 60; cout << h << ";" << m << ";" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int S, h, m, s; cin >> S; h = S / 3600; S = S - h * 3600; m = S / 60; s = S - m * 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
74
#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; }
#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; }
[["-", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22]]
1
72
#include <iostream> using namespace std; int main() { int S = 86400; cout << S / 3600 << ':' << (S % 3600) / 60 << ':' << (S % 3600 % 60) << endl; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ':' << (S % 3600) / 60 << ':' << (S % 3600 % 60) << endl; }
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
49
#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) / 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; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
76
#include <iostream> using namespace std; int main() { int h, m, s, S; cin >> S; h = S / 3600; m = S % 60 / 60; s = S % 3600; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int h, m, s, S; cin >> S; h = S / 3600; m = S % 3600 / 60; s = S % 60 % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[["-", 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, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
66
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int h, m, s; h = n / 3600; m = h / 60; s = n % 60; cout << h << ':' << m << ':' << s << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int h, m, s; h = n / 3600; m = (n - h * 3600) / 60; s = n % 60; cout << h << ':' << m << ':' << s << endl; 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, 33], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 17, 48], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]]
1
65
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; // h = 13; // m = 2; // s = 59; // cout << h << ":" << m << ":" << s << endl; int shou; // int amari; s = S % 60; shou = S / 60; // cout << shou << endl; // cout << amari << endl; m = shou / 60; h =...
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; // h = 13; // m = 2; // s = 59; // cout << h << ":" << m << ":" << s << endl; int shou; // int amari; s = S % 60; shou = S / 60; // cout << shou << endl; // cout << amari << endl; // m = shou / 60; ...
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
1
83
#include <iostream> using namespace std; int main() { int S, h, m, ss; cin >> S; h = S / 3600; m = (S - (3600 * h)) / 60; ss = S - (3600 * h) + (60 * m); cout << h << ":" << m << ":" << ss << endl; return 0; }
#include <iostream> using namespace std; int main() { int S, h, m, ss; cin >> S; h = S / 3600; m = (S - (3600 * h)) / 60; ss = S - ((3600 * h) + (60 * m)); cout << h << ":" << m << ":" << ss << endl; return 0; }
[["+", 12, 16, 12, 23, 0, 16, 31, 23, 0, 24], ["+", 12, 16, 12, 23, 0, 16, 12, 23, 0, 25]]
1
82
#include <iostream> using namespace std; int main() { int S, s, m, h; cin >> S; h = S / 360; m = S % 360 / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
#include <iostream> using namespace std; int main() { int S, s, m, h; cin >> S; h = S / 3600; m = S % 3600 / 60; s = S % 60; cout << h << ":" << m << ":" << s << endl; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13]]
1
63
#include <iostream> using namespace std; int main(void) { // Your code here! int h, m, s, S; cin >> S; h = S / 3600; m = (S - h * 3600) / 60; s = S - (h * 3600 + m * 60); cout << h << ":" << m << ":" << s << ":" << endl; return 0; }
#include <iostream> using namespace std; int main(void) { // Your code here! int h, m, s, S; cin >> S; h = S / 3600; m = (S - h * 3600) / 60; s = S - (h * 3600 + m * 60); cout << h << ":" << m << ":" << s << endl; return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151]]
1
84
#include <iostream> using namespace std; int main() { int a, h, m, s; cin >> a; h = a / 3600; m = (a - 3600 * h) / 60; s = a - ((3600 * h) + (60 * m)); cout << h << ": " << m << " : " << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, h, m, s; cin >> a; h = a / 3600; m = (a - 3600 * h) / 60; s = a - ((3600 * h) + (60 * m)); cout << h << ":" << m << ":" << s << endl; return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
82
#include <iostream> int main() { int sec; std::cin >> sec; std::cout << sec / 3600 << ":" << sec / 60 << ":" << sec % 60 << std::endl; return 0; }
#include <iostream> int main() { int sec; std::cin >> sec; std::cout << sec / 3600 << ":" << (sec % 3600) / 60 << ":" << sec % 60 << std::endl; return 0; }
[["+", 31, 16, 31, 16, 12, 16, 31, 23, 0, 24], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 17, 109], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 31, 16, 31, 16, 12, 16, 31, 23, 0, 25]]
1
48
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << " " << (S - S / 3600 * 3600) / 60 << " " << S - S / 60 * 60 << endl; return 0; }
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << ":" << (S - S / 3600 * 3600) / 60 << ":" << S - S / 60 * 60 << endl; return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
58
#include <iostream> using namespace std; int main() { int h = 0, m = 0, s = 0; cin >> s; h = (s >= 3600) ? (s / (60 * 60)) : 0; h = (s >= 60) ? (s - (s % 3600)) : 0; 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 = (s >= 3600) ? (s / (60 * 60)) : 0; m = (s >= 60) ? ((s % 3600) / 60) : 0; s = (s % 60); cout << h << ":" << m << ":" << s << endl; return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 11, 12, 41, 64, 23, 0, 16, 31, 22], ["-", 0, 11, 12, 41, 64, 23, 0, 16, 17, 33], ["+", 0, 11, 12, 41, 64, 23, 0, 16, 17, 85], ["+", 0, 11, 12, 41, 64, 23, 0, 16, 12, 13]]
1
98
#include <iostream> using namespace std; int main() { int S; cin >> S; cout << S / 3600 << " " << (S % 3600 / 60) << " " << (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) % 60 << endl; return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["-", 31, 16, 12, 16, 31, 23, 0, 16, 17, 85], ["-", 31, 16, 12, 16, 31, 23, 0, 16, 12, 13]]
1
56
#include <iostream> using namespace std; int main() { int S; int h, m, s; cin >> S; h = S / 60; m = (S - h * 60) / 60; s = S - h * 60 - 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; m = (S - h * 3600) / 60; s = S - h * 3600 - m * 60; cout << h << ":" << m << ":" << s << endl; 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], ["-", 0, 11, 12, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 11, 12, 16, 31, 16, 12, 16, 12, 13]]
1
77
#include <iostream> using namespace std; int main() { int h, m, s; cin >> s; h = s / 3600; s %= h; m = s / 60; s %= m; cout << h << ":" << m << ":" << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int h, m, s; cin >> s; h = s / 3600; s %= 3600; m = s / 60; s %= 60; cout << h << ":" << m << ":" << s << endl; return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
64
#include <stdio.h> int main(void) { int a, b, c, d, e, f; scanf("%d", &a); b = a / 3600; e = a - 3600 * b; c = e / 60; f = e - 60 * c; d = f / 1; printf("%d:%d:%d:\n", b, c, d); return 0; }
#include <stdio.h> int main(void) { int a, b, c, d, e, f; scanf("%d", &a); b = a / 3600; e = a - 3600 * b; c = e / 60; f = e - 60 * c; d = f / 1; printf("%d:%d:%d\n", b, c, d); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
83
#include <iostream> using namespace std; int main() { int s; cin >> s; int h = s / 3600; int m = (s / 60) % 60; s = s % 3600; 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; s = s % 60; cout << h << ":" << m << ":" << s << endl; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
61
#include <stdio.h> #include <stdlib.h> int main() { int sec; scanf("%d", &sec); printf("%d:%d :%d\n", sec / 3600, (sec % 3600) / 60, sec % 60); return 0; }
#include <stdio.h> #include <stdlib.h> int main() { int sec; scanf("%d", &sec); printf("%d:%d:%d\n", sec / 3600, (sec % 3600) / 60, sec % 60); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
50
#include <iostream> using namespace std; int main() { int S1, h, m, s; cin >> S1; h = S1 / 3600; m = S1 % 3600 / 60; s = S1 % S1 % 3600 / 60; cout << h << ':' << m << ':' << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int S1, h, m, s; cin >> S1; h = S1 / 3600; m = S1 % 3600 / 60; s = S1 % 60; cout << h << ':' << m << ':' << s << endl; return 0; }
[["-", 0, 11, 12, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 109], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]]
1
70
S = gets h = S/60**2 m = (S-h*60**2)/60 s = S-(h*60**2+m*60) puts "#{h}:#{m}:#{s}"
S = gets.to_i h = S/60**2 m = (S-h*60**2)/60 s = S-(h*60**2+m*60) puts "#{h}:#{m}:#{s}"
[["+", 36, 36, 0, 493, 0, 662, 12, 652, 17, 131], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22]]
4
52
n = gets.to_i h = n / 3600 m = n % 3600 / 60 s = n % 3600 % 60 / 60 puts "#{h}:#{m}:#{s}"
n = gets.to_i h = n / 3600 m = n % 3600 / 60 s = n % 3600 % 60 puts "#{h}:#{m}:#{s}"
[["-", 36, 36, 0, 493, 0, 662, 12, 738, 17, 85], ["-", 36, 36, 0, 493, 0, 662, 12, 738, 12, 612]]
4
40
S = int(input()) print (S//3600, S//60, S%60, sep = ":")
S = int(input()) print (S//3600, (S%3600)//60, S%60, sep = ":")
[["+", 0, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 109], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 12, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 23, 0, 25]]
5
28
minute = int(input()) print('{}:{}:{}'.format(46979 // 3600, (46979 % 3600) // 60, (46979 % 3600) % 60))
minute = int(input()) print('{}:{}:{}'.format(minute // 3600, (minute % 3600) // 60, (minute % 3600) % 60))
[["-", 3, 4, 0, 652, 3, 4, 0, 657, 31, 612], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 31, 22], ["-", 3, 4, 0, 657, 31, 23, 0, 657, 31, 612], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 31, 22]]
5
37
x = int(input()) print(x / 3600, x / 60 % 60, x % 60, sep = ':')
x = int(input()) print(x // 3600, x // 60 % 60, x % 60, sep = ':')
[["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["-", 0, 652, 3, 4, 0, 657, 31, 657, 17, 85], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 676]]
5
30
s=int(input()) a=s//3600 b=(s%3600)//60 c=(a%3600)%60 print(str(a)+":"+str(b)+":"+str(c))
s=int(input()) a=s//3600 b=(s%3600)//60 c=(s%3600)%60 print(str(a)+":"+str(b)+":"+str(c))
[["-", 0, 662, 12, 657, 31, 23, 0, 657, 31, 22], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 31, 22]]
5
56
import datetime as d a,b = d.timedelta(seconds=int(input())).d.datetime(1,1,1) print((a+b).hour, (a+b).minute, (a+b).second, sep=':')
import datetime as d a,b = d.timedelta(seconds=int(input())),d.datetime(1,1,1) print((a+b).hour, (a+b).minute, (a+b).second, sep=':')
[["-", 0, 662, 12, 652, 63, 319, 500, 319, 0, 131], ["+", 0, 656, 0, 1, 0, 662, 12, 432, 0, 21]]
5
64
A = int(input()) print("%h:%m:%s"%(A/3600,(A%3600)/60,A%60))
A = int(input()) print("%d:%d:%d"%(A/3600,(A%3600)/60,A%60))
[["-", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6]]
5
32
x = int(input()) import math h = math.floor(x/3600) m = math.floor((x -h*3600)/60) s = math.floor(x - h*3600 - m*60) print0(h, ':',m , ':', s)
x = int(input()) import math h = math.floor(x/3600) m = math.floor((x -h*3600)/60) s = math.floor(x - h*3600 - m*60) print(h, ':',m , ':', s, sep="")
[["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]]
5
68
sec = int(input()) print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep=' ')
sec = int(input()) print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep='')
[["-", 0, 652, 3, 4, 0, 653, 51, 557, 0, 6]]
5
40
from sys import stdin s = int(stdin.readline().rstrip().split()) h = s//3600 m = (s%3600)//60 sec = (s%3600)%60 print("{}:{}:{}".format(h, m, sec))
from sys import stdin s = int(stdin.readline().rstrip()) h = s//3600 m = (s%3600)//60 sec = (s%3600)%60 print("{}:{}:{}".format(h, m, sec))
[["-", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
60
s = input() s = int(s) h = s//3600 s = s - 3600*h m = s//60 s = s - 60*m print(h,':',m,':',s)
s = input() s = int(s) h = s//3600 s = s - 3600*h m = s//60 s = s - 60*m print(h, ':', m, ':', s, sep='')
[["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]]
5
51
s = int(input()) print(s//3600, ':', (s%3600)//60, ':', s//60, sep = ' ')
s = int(input()) print(s//3600, ':', (s%3600)//60, ':', s%60, sep = '')
[["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 109], ["-", 0, 652, 3, 4, 0, 653, 51, 557, 0, 6]]
5
40
t=int(input) print('{}:{}:{}'.format(t//3600,t//60%60,t%60))
t=int(input()) print('{}:{}:{}'.format(t//3600,t//60%60,t%60))
[["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
29
S=int(input()) h=int(S//3600) m=int((S-(h*3600))/60) s=int(S-(h*3600+m*60)) print(h,':',m,':',s)
S=int(input()) h=int(S//3600) m=int((S-(h*3600))/60) s=int(S-(h*3600+m*60)) print(h,':',m,':',s,sep='')
[["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]]
5
64
S = int(input()) h = int(S/3600) m = int((S - h*3600)/60) s = int(S - h*3600 -m*60) print(h, ':', m, ':', s)
S = int(input()) h = int(S/3600) m = int((S - h*3600)/60) s = int(S - h*3600 - m*60) print(h, ':', m, ':', s, sep='')
[["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]]
5
60
S=input() n=int(S) h=int(n/(60*60)) m=int((n-60*60*h)/60) s=int(n-(60*60*h+60*m)) print(h,":",m,":",s)
S=input() n=int(S) h=int(n/(60*60)) m=int((n-60*60*h)/60) s=int(n-(60*60*h+60*m)) print(h,":",m,":",s, sep='')
[["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]]
5
73
S=int(input()) h=S//3600 m=(S-h*3600)//60 m=(S-h*3600)-m*60 print(h,':',m,':',s, sep='')
S=int(input()) h=S//3600 m=(S-h*3600)//60 s=(S-h*3600)-m*60 print(h,':',m,':',s, sep='')
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22]]
5
58
S = int(input()) h = S // 3600 m = S // 60 s = S % 60 print(h, ':', m, ':', s, sep='')
S = int(input()) h = S // 3600 m = S // 60 % 60 s = S % 60 print(h, ':', m, ':', s, sep='')
[["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 109], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612]]
5
44
S=int(input()) h=S//3600 m=(S-3600*h)//60 s=S-60*m-3600*h print(h,';',m,';',s,sep='')
S=int(input()) h=S//3600 m=(S-3600*h)//60 s=S-(60*m+3600*h) print(h,':',m,':',s,sep='')
[["+", 0, 1, 0, 662, 12, 657, 12, 23, 0, 24], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 33], ["+", 0, 662, 12, 657, 12, 23, 0, 657, 17, 72], ["+", 0, 1, 0, 662, 12, 657, 12, 23, 0, 25], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
56
temp = int(input("Your number:")) hour = temp//3600 min = (temp%3600)//60 sec = (temp%3600)%60 answer = str(hour)+":"+str(min)+":"+str(sec) print(answer)
temp = int(input()) hour = temp//3600 min = (temp%3600)//60 sec = (temp%3600)%60 answer = str(hour)+":"+str(min)+":"+str(sec) print(answer)
[["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655]]
5
62
S = float(input("Input seconds: ")) S = S % (24 * 3600) hour = S // 3600 S %= 3600 minutes = S // 60 S %= 60 seconds = S print("%d:%d:%d" % (hour, minutes, seconds))
S = float(input()) S = S % (24 * 3600) hour = S // 3600 S %= 3600 minutes = S // 60 S %= 60 seconds = S print("%d:%d:%d" % (hour, minutes, seconds))
[["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655]]
5
53
t=int(input()) print("{}:{}:{}".format(t//3600,t//60-60*(t//3600),t%3600))
t=int(input()) print("{}:{}:{}".format(t//3600,t//60-60*(t//3600),t%60))
[["-", 3, 4, 0, 652, 3, 4, 0, 657, 12, 612], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 12, 612]]
5
37
sec = int(input()) m = sec//60 sec %= 60 h = m//60 print("{}:{}:{}".format(h,m,sec))
sec = int(input()) m = sec//60 sec %= 60 h = m//60 m%=60 print("{}:{}:{}".format(h,m,sec))
[["+", 36, 36, 0, 656, 0, 1, 0, 677, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 677, 17, 132], ["+", 36, 36, 0, 656, 0, 1, 0, 677, 12, 612]]
5
36
s = int(input()) h = s // 3600 s = s % 3600 m = s // 360 s = s % 360 print("%d:%d:%d" % (h,m,s))
s = int(input()) h = s // 3600 s = s % 3600 m = s // 60 s = s % 60 print("%d:%d:%d" % (h,m,s))
[["-", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612]]
5
42
n = int(input()) h = n//3600 m = (n%3600)//60 s = n%60 print(h,':',m, ':',s)
n = int(input()) h = n//3600 m = (n%3600)//60 s = n%60 print(h,':',m, ':',s, sep ='')
[["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]]
5
43
s_ = int(input()) print("%d %d %d" % (s_//3600, s_//60%60, s_%60))
s_ = int(input()) print("%d:%d:%d" % (s_//3600, s_//60%60, s_%60))
[["-", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6]]
5
30
sec_input = int(input()) hour = sec_input // (60 * 60) remain = sec_input % (60 * 60) min = remain // 60 sec = remain % 60 print('%d %d %d' % (hour, min, sec))
sec_input = int(input()) hour = sec_input // (60 * 60) remain = sec_input % (60 * 60) min = remain // 60 sec = remain % 60 print('%d:%d:%d' % (hour, min, sec))
[["-", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6]]
5
50
S =int(input()) h = S // 3600 m = S % 3600 // 60 s = S // 60 print(h,m,s, sep=':')
S = int(input()) h = S // 3600 m = S % 3600 // 60 s = S % 60 print(h, m, s, sep=':')
[["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 109]]
5
39
s = int(input()) h, m, s = s / 3600, (s / 60) % 60, s % 60 print(h, m, s, sep=':')
#!/usr/bin/env python3 s = int(input()) h, m, s = int(s / 3600), int(s / 60) % 60, s % 60 print(h, m, s, sep=':')
[["+", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 662, 12, 432, 0, 652, 3, 4, 0, 24], ["+", 0, 662, 12, 432, 0, 652, 3, 4, 0, 25], ["+", 0, 662, 12, 432, 0, 657, 31, 652, 63, 22]]
5
43