結果

問題 No.1642 Registration
ユーザー CA
提出日時 2021-09-13 12:02:52
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 220 bytes
コンパイル時間 560 ms
コンパイル使用メモリ 62,080 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-25 11:21:47
合計ジャッジ時間 1,133 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main() {
	int N;
	cin >> N;
	if (N > 0 || N < 10) {
		cout << "00" << N << endl;
	}
	else if (N > 9 || N < 100) {
		cout << "0" << N << endl;
	}
	else
		cout << N << endl;
}
0