結果
問題 | No.651 E869120 and Driving |
ユーザー |
![]() |
提出日時 | 2018-02-23 22:27:03 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 526 bytes |
コンパイル時間 | 717 ms |
コンパイル使用メモリ | 81,600 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 08:53:21 |
合計ジャッジ時間 | 1,124 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include <iostream>#include <iomanip>#include <cstring>#include <algorithm>#include <math.h>#include <queue>#include <functional>#include <map>#include <vector>#include <string>using namespace std;typedef long long ll;typedef pair<int, int> P;int dx[] = { 1, 0, -1, 0 };int dy[] = { 0, 1, 0, -1 };const ll MOD = 1000000007;const ll INF = 100000;int a;int main(void){cin >> a;int s = a * 60 / 100;cout << s / 60 + 10 << ':';if (s % 60 < 10)cout << '0';cout << s % 60 << endl;}