結果

問題 No.651 E869120 and Driving
ユーザー keisuke6keisuke6
提出日時 2022-08-07 23:26:43
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 217 bytes
コンパイル時間 2,353 ms
コンパイル使用メモリ 243,972 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-17 15:19:18
合計ジャッジ時間 2,944 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
  int n = 600;
  int N;
  cin>>N;
  n += N/10*6;
  cout<<n/60<<':';
  n %= 60;
  if(n < 10) cout<<0<<n<<endl;
  else cout<<n<<endl;
}
0