結果
| 問題 | No.525 二度寝の季節 |
| コンテスト | |
| ユーザー |
e869120
|
| 提出日時 | 2017-06-09 22:20:48 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 285 bytes |
| 記録 | |
| コンパイル時間 | 615 ms |
| コンパイル使用メモリ | 76,960 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 14:35:28 |
| 合計ジャッジ時間 | 1,541 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 33 |
ソースコード
#include<iostream>
#include<algorithm>
#include<string>
#include<vector>
#include<queue>
#include<functional>
#include<cmath>
using namespace std;
int a, b;
int main() {
scanf("%02d:%02d", &a, &b);
int c = (a * 60 + b + 5) % 1440;
printf("%02d:%02d\n", c / 60, c % 60);
return 0;
}
e869120