結果
| 問題 | No.525 二度寝の季節 |
| コンテスト | |
| ユーザー |
tenkyu9
|
| 提出日時 | 2018-03-06 05:49:27 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 386 bytes |
| 記録 | |
| コンパイル時間 | 481 ms |
| コンパイル使用メモリ | 99,168 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-04 12:55:58 |
| 合計ジャッジ時間 | 1,373 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 33 |
ソースコード
#include<iostream>
#include<string>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<cstring>
#include<map>
#include<vector>
#include<queue>
using namespace std;
typedef long long ll;
int main(){
int h, m;
char c;
cin >> h >> c >> m;
int t=(h*60+m+5)%1440;
cout << setw(2) << setfill('0') << t/60 << c << setw(2) << setfill('0') << t%60 << endl;
return 0;
}
tenkyu9