結果
| 問題 |
No.651 E869120 and Driving
|
| ユーザー |
hanorver
|
| 提出日時 | 2018-03-19 22:35:53 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 351 bytes |
| コンパイル時間 | 729 ms |
| コンパイル使用メモリ | 79,732 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 08:58:39 |
| 合計ジャッジ時間 | 1,448 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <map>
#include <queue>
#include <cmath>
#include <stack>
#include <cstdio>
int main (void){
int num;
std::cin >> num;
int hour = 10, minute = 0;
hour += num / 100;
minute = (double(num % 100) / 100) * 60;
printf("%02d:%02d\n", hour, minute);
return 0;
}
hanorver