e-olymp
Problems

Годинник 2

published at 1/29/21, 7:29:49 am

include <iostream>

include <iomanip>

using namespace std;

int main() { long long b=0, c, g=0; long long a, z; cin >> z; a=z/3600; b=(z-a*3600)/60; c=(z-a*3600)%60; cout<< a <<' '<< b << ' ' << c; }