Submission #00148
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0004 - AZAS |
| ユーザー名 |
メタル桃子
|
| 投稿日時 |
2018-07-30 09:51:43 |
| 言語 |
C++11 |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
549 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:3:3: error: ‘cin’ was not declared in this scope
cin >> n >> x;
^~~
./Main.cpp:3:3: note: suggested alternative: ‘main’
cin >> n >> x;
^~~
main
./Main.cpp:5:7: error: ‘i’ was not declared in this scope
rep(i, 0, x) cin >> a[i];
^
./Main.cpp:5:3: error: ‘rep’ was not declared in this scope
rep(i, 0, x) cin >> a[i];
^~~
./Main.cpp:28:3: error: ‘cout’ was not declared in this scope
cout << ans << endl;
^~~~
./Main.cpp:28:18: error: ‘endl’ was not declared in this scope
cout << ans << endl;
^~~~
./Main.cpp:28:18: note: suggested alternative: ‘enum’
cout << ans << endl;
^~~~
enum
セット
テストケース