S001-AC.cc 180 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include <iostream> using namespace std; void decompose(int n, int& h, int& m, int& s) { h = n/3600; m = (n - h*3600)/60; s = n - (h*3600 + m*60); } int main() { return 0; }