結果
問題 |
No.651 E869120 and Driving
|
ユーザー |
![]() |
提出日時 | 2020-04-30 02:12:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 267 bytes |
コンパイル時間 | 1,583 ms |
コンパイル使用メモリ | 167,404 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 21:51:45 |
合計ジャッジ時間 | 2,147 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; double n = a / 100.0; int h = (int)n; double x = (n - h) * 60; int m = (int)x; //cout << n << ',' << x << endl; cout << 10 + h << ':'; if (x < 10) cout << 0; cout << x << endl; }