結果
| 問題 | No.525 二度寝の季節 | 
| コンテスト | |
| ユーザー |  tenkyu9 | 
| 提出日時 | 2018-03-06 05:49:27 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 386 bytes | 
| コンパイル時間 | 594 ms | 
| コンパイル使用メモリ | 79,908 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-09-14 13:53:59 | 
| 合計ジャッジ時間 | 1,791 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge6 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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;
}
            
            
            
        