結果
問題 | No.651 E869120 and Driving |
ユーザー | Shawn stayC |
提出日時 | 2020-06-06 14:20:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 1,480 ms |
コンパイル使用メモリ | 167,444 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-23 12:33:25 |
合計ジャッジ時間 | 2,219 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include <bits/stdc++.h> #define rep(i,n) for(int i=0; i<(n); i++) using namespace std; typedef long long ll; int main(){ int a; cin>>a; int t=a*60/100; int h=10+t/60; int m=t%60; if(m/10==0) cout << h << ":0" << m << endl; else cout << h << ":" << m << endl; }