結果
| 問題 |
No.1642 Registration
|
| コンテスト | |
| ユーザー |
platinum
|
| 提出日時 | 2021-08-13 21:21:44 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 346 bytes |
| コンパイル時間 | 1,863 ms |
| コンパイル使用メモリ | 194,648 KB |
| 最終ジャッジ日時 | 2025-01-23 17:57:58 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (int)(n); i++)
using namespace std;
using LL = long long;
using P = pair<int,int>;
using vv = vector<vector<int>>;
const int INF = (int)1e9;
const LL LINF = (LL)1e18;
int main(){
string N;
cin >> N;
int siz = N.size();
rep(i,3-siz) N = '0' + N;
cout << N << endl;
return 0;
}
platinum