結果
問題 |
No.1642 Registration
|
ユーザー |
|
提出日時 | 2021-08-28 02:03:03 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 1,337 ms |
コンパイル使用メモリ | 157,400 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-21 09:43:04 |
合計ジャッジ時間 | 1,650 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 6 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:5:5: warning: ‘a’ is used uninitialized [-Wuninitialized] 5 | if(a<10) cout << 00 << a << endl; | ^~
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int a; if(a<10) cout << 00 << a << endl; else if(a<100) cout << 0 << a << endl; else cout << a << endl; }