結果
| 問題 | No.651 E869120 and Driving |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-02-23 22:34:56 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| + 339µs | |
| コード長 | 350 bytes |
| 記録 | |
| コンパイル時間 | 292 ms |
| コンパイル使用メモリ | 84,092 KB |
| 実行使用メモリ | 9,708 KB |
| 最終ジャッジ日時 | 2026-09-02 08:41:14 |
| 合計ジャッジ時間 | 1,170 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include <iostream>
#include <algorithm>
#include <iomanip>
#define rep(i, a, n) for(int i = a;i < n;i++)
#define repr(i, a, n) for(int i = a;i > n;i--)
using namespace std;
int main(){
int a;
cin >> a;
double t = a / 100.0;
double m = (t - (int)t) * 60;
cout << 10+(int)t << ':';
cout << setfill('0') << setw(2) << m << endl;
return 0;
}