結果
| 問題 |
No.651 E869120 and Driving
|
| コンテスト | |
| ユーザー |
d_sei
|
| 提出日時 | 2019-08-20 11:07:11 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 330 bytes |
| コンパイル時間 | 694 ms |
| コンパイル使用メモリ | 72,628 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-06 11:46:07 |
| 合計ジャッジ時間 | 1,067 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include<iostream>
#include<algorithm>
#include <vector>
#include<cmath>
using namespace std;
typedef long long int lont;
int main() {
int a;
cin >> a;
int H = 10;
int M = 0;
int K = (3 * a) / 5;
H += K / 60;
M += K % 60;
if (M < 10) {
cout << H << ':' << 0 << M << endl;
}
else {
cout << H << ':' << M << endl;
}
}
d_sei