結果

問題 No.525 二度寝の季節
ユーザー shadowlink0122
提出日時 2017-06-09 22:25:59
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 307 bytes
コンパイル時間 445 ms
コンパイル使用メモリ 63,732 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-22 15:04:59
合計ジャッジ時間 1,381 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <functional>
#include <algorithm>
#include <vector>
using namespace std;

typedef long long ll;
ll i,n,a,b,c,ans;
vector<ll> vec;

int main(){
  cin >> n >> a;
  a += 5;
  if(a > 59){
    n += 1;
    a -= 60;
  }
  if(n > 23)n = 0;
  printf("%02lld%02lld\n",n,a);
  return 0;
}
0