Codeforces Round #419 (Div. 2), problem: (A) Karen and Morning Solution In C/C++ C/C++ Programming August 7, 2017 0 Admin #include<bits/stdc++.h> int m,s,t; int main(){ t=0; scanf(“%d:%d”,&m,&s); while(m/10+m%10*10!=s){ s++,t++; if(s>59)m++,s=0; if(m>23)m=0; } printf(“%d\n”,t); } Continue