Submission #51311
ソースコード
ステータス
項目 |
データ |
問題 |
0957 - 9月X日 |
ユーザー名 |
p1918
|
投稿日時 |
2019-07-10 18:34:55 |
言語 |
C++ |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
417 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp:1:1: error: ‘include’ does not name a type
include<iostream>
^~~~~~~
./Main.cpp: In function ‘int main()’:
./Main.cpp:5:3: error: ‘cin’ was not declared in this scope
cin>>x;
^~~
./Main.cpp:5:3: note: suggested alternative: ‘main’
cin>>x;
^~~
main
./Main.cpp:7:5: error: ‘cout’ was not declared in this scope
cout<<"thu\n"<<endl;
^~~~
./Main.cpp:7:20: error: ‘endl’ was not declared in this scope
cout<<"thu\n"<<endl;
^~~~
./Main.cpp:7:20: note: suggested alternative: ‘enum’
cout<<"thu\n"<<endl;
^~~~
enum
./Main.cpp:10:5: error: ‘cout’ was not declared in this scope
cout<<"fri\n"<<endl;
^~~~
./Main.cpp:10:20: error: ‘endl’ was not declared in this scope
cout<<"fri\n"<<endl;
^~~~
./Main.cpp:10:20: note: suggested alternative: ‘enum’
cout<<"fri\n"<<endl;
^~~~
enum
./Main.cpp:13:5: error: ‘cout’ was not declared in this scope
cout<<"sat\n"<<endl;
^~~~
./Main.cpp:13:20: error: ‘endl’ was not declared in this scope
cout<<"sat\n"<<endl;
^~~~
./Main.cpp:13:20: note: suggested alternative: ‘enum’
cout<<"sat\n"<<endl;
^~~~
enum
./Main.cpp:16:5: error: ‘cout’ was not declared in this scope
cout<<"sun\n"<<endl;
^~~~
./Main.cpp:16:20: error: ‘endl’ was not declared in this scope
cout<<"sun\n"<<endl;
^~~~
./Main.cpp:16:20: note: suggested alternative: ‘enum’
cout<<"sun\n"<<endl;
^~~~
enum
./Main.cpp:19:5: error: ‘cout’ was not declared in this scope
cout<<"mon\n"<<endl;
^~~~
./Main.cpp:19:20: error: ‘endl’ was not declared in this scope
cout<<"mon\n"<<endl;
^~~~
./Main.cpp:19:20: note: suggested alternative: ‘enum’
cout<<"mon\n"<<endl;
^~~~
enum
./Main.cpp:22:5: error: ‘cout’ was not declared in this scope
cout<<"tue\n"<<endl;
^~~~
./Main.cpp:22:20: error: ‘endl’ was not declared in this scope
cout<<"tue\n"<<endl;
^~~~
./Main.cpp:22:20: note: suggested alternative: ‘enum’
cout<<"tue\n"<<endl;
^~~~
enum
./Main.cpp:25:5: error: ‘cout’ was not declared in this scope
cout<<"wed\n"<<endl;
^~~~
./Main.cpp:25:20: error: ‘endl’ was not declared in this scope
cout<<"wed\n"<<endl;
^~~~
./Main.cpp:25:20: note: suggested alternative: ‘enum’
cout<<"wed\n"<<endl;
^~~~
enum
セット
テストケース