eolymp
bolt
Try our new interface for solving problems
Məsələlər

Olimpiada

dərc olunub 17.11.21 13:46:40

hskfka

dərc olunub 02.01.24 20:38:29

include <bits/stdc++.h>

using namespace std; int main() { int n,m,c,d,e,f,cem=0,g,h; cin>>n>>m>>c>>d>>e>>f; g=n3600+m60+c; h=d3600+e60+f; cem=h-g; cout<<cem/3600<<" "<<(cem%3600)/60<<" "<<(cem%3600)%60; }''