結果
問題 | No.651 E869120 and Driving |
ユーザー | ajiruajiru |
提出日時 | 2020-02-06 01:16:20 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 261 bytes |
コンパイル時間 | 652 ms |
コンパイル使用メモリ | 69,624 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-24 09:02:43 |
合計ジャッジ時間 | 1,161 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include <iostream> #include <iomanip> using namespace std; int main(void) { int h = 10, m = 0; int a; cin >> a; int t = 60 * a / 100; h += t / 60; m += t % 60; cout << setfill('0') << right << setw(2) << h << ':' << setw(2) << m << endl; return 0; }