結果
| 問題 |
No.525 二度寝の季節
|
| コンテスト | |
| ユーザー |
Lavender
|
| 提出日時 | 2019-09-05 19:45:08 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 331 bytes |
| コンパイル時間 | 1,379 ms |
| コンパイル使用メモリ | 166,700 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-12 22:50:55 |
| 合計ジャッジ時間 | 2,473 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 WA * 13 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
char c;
int h,m;
cin>>h>>c>>m;
m+=5;
if(m>59){
m-=60;
h++;
if(h>23)h=0;
}
if(h<10&&m>9)cout<<"0"<<h<<c<<m<<endl;
if(h>9&&m<10)cout<<h<<c<<"0"<<m<<endl;
if(h<10&&m<10)cout<<"0"<<h<<c<<"0"<<m<<endl;
return 0;
}
Lavender