結果
| 問題 | No.1642 Registration |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-13 21:26:07 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 433 bytes |
| 記録 | |
| コンパイル時間 | 620 ms |
| コンパイル使用メモリ | 112,524 KB |
| 実行使用メモリ | 7,968 KB |
| 最終ジャッジ日時 | 2026-06-22 13:46:20 |
| 合計ジャッジ時間 | 1,356 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <map>
#include <queue>
#include <cmath>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i=0;i < (int)(n);i++)
int main(){
string s;
cin >> s;
int n = s.size();
if (n == 1) cout << "00"+s << endl;
else if (n == 2) cout << "0"+s << endl;
else cout << s << endl;
return 0;
}