結果
| 問題 |
No.8027 114514
|
| コンテスト | |
| ユーザー |
0214sh7
|
| 提出日時 | 2017-03-31 22:26:03 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 125 bytes |
| コンパイル時間 | 140 ms |
| コンパイル使用メモリ | 29,568 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-07 14:29:01 |
| 合計ジャッジ時間 | 2,342 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 10 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:14: warning: 'N' is used uninitialized [-Wuninitialized]
6 | scanf("%d",N);
| ~~~~~^~~~~~~~
main.cpp:4:13: note: 'N' was declared here
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;
}
0214sh7