結果
| 問題 |
No.525 二度寝の季節
|
| コンテスト | |
| ユーザー |
r2en_
|
| 提出日時 | 2017-07-04 03:41:24 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 228 bytes |
| コンパイル時間 | 434 ms |
| コンパイル使用メモリ | 63,972 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-05 13:15:21 |
| 合計ジャッジ時間 | 1,439 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 33 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int a = 0;
int h = 0;
int m = 0;
scanf("%d:%d", &h, &m);
a = h * 60 + m;
a = (a + 5) % (24 * 60);
printf("%02d:%02d\n",a/60,a%60);
return 0;
}
r2en_