結果
| 問題 | No.525 二度寝の季節 | 
| コンテスト | |
| ユーザー |  Kurichan0806 | 
| 提出日時 | 2017-10-31 19:00:07 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 365 bytes | 
| コンパイル時間 | 593 ms | 
| コンパイル使用メモリ | 66,260 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-22 11:10:53 | 
| 合計ジャッジ時間 | 1,592 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 33 | 
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <utility>
#include <iomanip>
using namespace std;
int main(void) {
	int h, m;
	char x;
	cin >> h >> x >> m;
	m += 5;
	if (m >= 60) {
		m %= 60;
		h++;
	}
	if (h >= 24)
		h %= 24;
	cout << setfill('0') << setw(2) << h << ":" << setfill('0') << setw(2) << m << endl;
	return 0;
}
            
            
            
        