結果
| 問題 |
No.1642 Registration
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-13 21:26:07 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 433 bytes |
| コンパイル時間 | 888 ms |
| コンパイル使用メモリ | 95,936 KB |
| 最終ジャッジ日時 | 2025-01-23 18:08:51 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}