結果
問題 | No.3027 114514 |
ユーザー | 0214sh7 |
提出日時 | 2017-03-31 22:26:03 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 125 bytes |
コンパイル時間 | 269 ms |
コンパイル使用メモリ | 28,992 KB |
実行使用メモリ | 4,508 KB |
最終ジャッジ日時 | 2023-09-21 21:08:09 |
合計ジャッジ時間 | 3,119 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
コンパイルメッセージ
main.cpp: 関数 ‘int main()’ 内: main.cpp:6:14: 警告: ‘N’ is used uninitialized [-Wuninitialized] 6 | scanf("%d",N); | ~~~~~^~~~~~~~ main.cpp:4:13: 備考: ‘N’ はここで定義されています 4 | int N; | ^
ソースコード
#include <cstdio> int main(void){ int N; int a[10]={1,7,1,1,1,5,1,1,1,1}; scanf("%d",N); printf("%d",a[N]); return 0; }