e-olymp
Problems

Годинник 3

published at 1/29/21, 7:28:15 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/60/24; b=z/60-a*24; c= z-z/60*60; cout<< a+1 <<' '<< b << ' ' << c; }