eolymp
bolt
Try our new interface for solving problems
Problems

Olympiad

published at 11/17/21, 1:46:40 pm

hskfka

published at 1/2/24, 8:38:29 pm

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; }''