結果
| 問題 |
No.651 E869120 and Driving
|
| ユーザー |
kpinkcat
|
| 提出日時 | 2023-07-30 19:58:01 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 1,000 ms |
| コード長 | 351 bytes |
| コンパイル時間 | 792 ms |
| コンパイル使用メモリ | 102,144 KB |
| 最終ジャッジ日時 | 2025-02-15 21:04:41 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include<iostream>
#include<string>
#include<algorithm>
#include<cctype>
#include<set>
#include<bitset>
#include<math.h>
#include<map>
#include<queue>
#include<iomanip>
using namespace std;
int main(){
int n, h = 10, m;
cin >> n;
m = n*60/100;
if (m > 60){
h += m/60;
m %= 60;
}
printf("%02d:%02d\n", h, m);
}
kpinkcat