結果
| 問題 |
No.1642 Registration
|
| コンテスト | |
| ユーザー |
mmn15277198
|
| 提出日時 | 2021-08-22 12:30:30 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 452 bytes |
| コンパイル時間 | 830 ms |
| コンパイル使用メモリ | 92,168 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-06 08:45:26 |
| 合計ジャッジ時間 | 1,419 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
#include <queue>
#include <map>
#include <cmath>
#include <iomanip>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
//cout << fixed << setprecision(15);
int n;
cin >> n;
if (n <= 9) {
cout << "00" << n << endl;
} else if (n <= 99) {
cout << 0 << n << endl;
} else {
cout << n << endl;
}
return 0;
}
mmn15277198