結果
| 問題 |
No.651 E869120 and Driving
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-08 01:28:05 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 403 bytes |
| コンパイル時間 | 638 ms |
| コンパイル使用メモリ | 71,888 KB |
| 最終ジャッジ日時 | 2025-01-09 15:01:45 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include <iostream>
#include <iomanip>
void solve() {
int a;
std::cin >> a;
int t = a / 10 * 6 + 10 * 60;
std::cout << std::setw(2) << std::setfill('0') << t / 60
<< ":"
<< std::setw(2) << std::setfill('0') << t % 60
<< std::endl;
}
int main() {
std::cin.tie(nullptr);
std::ios::sync_with_stdio(false);
solve();
return 0;
}