結果
問題 |
No.525 二度寝の季節
|
ユーザー |
|
提出日時 | 2021-09-04 21:25:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 228 bytes |
コンパイル時間 | 2,113 ms |
コンパイル使用メモリ | 186,940 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-21 16:15:40 |
合計ジャッジ時間 | 3,426 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 33 |
ソースコード
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; int main() { string T; cin >> T; int time = stoi(T.substr(0,2))*60 + stoi(T.substr(3,5)) + 5; time %= 1440; printf("%02d:%02d\n", time/60, time%60); }