結果
| 問題 | No.525 二度寝の季節 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-08-29 03:37:44 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 262 bytes | 
| コンパイル時間 | 598 ms | 
| コンパイル使用メモリ | 71,876 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-17 16:41:56 | 
| 合計ジャッジ時間 | 1,445 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 33 | 
ソースコード
#include <iostream>
#include <algorithm>
#include <vector>
#include <math.h>
using namespace std;
typedef long long int ll;
int main(){
	int n,d;
	scanf("%d:%d", &n, &d);
	d+=5;
	if(d>=60){
		d%=60;
		n++;
	}
	if(n==24){
		n=0;
	}
	printf("%02d:%02d\n",n,d );
}
            
            
            
        