結果
| 問題 |
No.1642 Registration
|
| コンテスト | |
| ユーザー |
shishimaiotoshi
|
| 提出日時 | 2021-08-15 00:59:37 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 354 bytes |
| コンパイル時間 | 1,485 ms |
| コンパイル使用メモリ | 168,196 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-06 05:23:16 |
| 合計ジャッジ時間 | 1,998 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n, o) for(int i = 0;i < (n);i++)
#define ou(x) cout << x << endl
#define ll long long
#define re return 0
int main(){
string n;
cin >> n;
if(n.length() < 3) {
while(n.length() != 3){
n = "0" + n;
}
ou(n);
re;
}
ou(n);
re;
}
shishimaiotoshi