CodeForces 622B The Time
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CodeForces 622B The Time相关的知识,希望对你有一定的参考价值。
水题。
#include <stdio.h> #include <algorithm> #include <string.h> #include <queue> #include <stack> #include <map> #include <vector> using namespace std; int h,m,a; int main() { scanf("%d:%d",&h,&m); scanf("%d",&a); int mm=(h*60+m+a)%(24*60); printf("%02d:%02d\n",mm/60,mm%60); return 0; }
以上是关于CodeForces 622B The Time的主要内容,如果未能解决你的问题,请参考以下文章
坑The server time zone value '?й???????' is unrecognized or represents more than one time z(代
E. Turn Off The TV Educational Codeforces Round 29
C - Ilya And The Tree Codeforces Round #430 (Div. 2)
E. Mahmoud and Ehab and the function Codeforces Round #435 (Div. 2)
The constructor ClassPathXmlApplicationContext(String) refers to the missing type BeansException(示例代
Playrix Codescapes Cup (Codeforces Round #413, rated, Div. 1 + Div. 2) C. Fountains 树状数组维护区间最大值(示(代