結果
問題 |
No.525 二度寝の季節
|
ユーザー |
![]() |
提出日時 | 2017-08-13 16:49:55 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 2,329 ms |
コンパイル使用メモリ | 193,632 KB |
最終ジャッジ日時 | 2025-01-05 02:19:14 |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | AC * 1 WA * 32 |
ソースコード
#include <bits/stdc++.h> int main() { std::string s; std::cin >> s; int a[2]{}; a[0] = std::stoi(s); std::cin >> s >> s; a[1] = std::stoi(s); int b = a[0] * 60 + a[1] + 5; printf("%02d:%02d\n", b/60%24, a[1]%60); }