結果
| 問題 |
No.651 E869120 and Driving
|
| コンテスト | |
| ユーザー |
f843nmfwisfeuw
|
| 提出日時 | 2020-08-15 13:53:40 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 628 bytes |
| コンパイル時間 | 1,019 ms |
| コンパイル使用メモリ | 95,112 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-10 17:50:43 |
| 合計ジャッジ時間 | 1,588 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <stack>
#include <algorithm>
#include <string>
#include <map>
#include <iterator>
#include <set>
#include <queue>
#include <bitset>
#include <cassert>
using namespace std;
string m(int n) {
if (n < 10) {
return "0" + to_string(n);
} else {
return to_string(n);
}
}
int main() {
int a;
cin >> a;
int b = a / 100;
int c = a % 100;
string result;
result += to_string(10 + b);
result += ":";
result += m((c / 10) * 6);
cout << result << endl;
return 0;
}
f843nmfwisfeuw