Submission #00147
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp:1:1: error: ‘include’ does not name a type
include<bits/stdc++.h>
^~~~~~~
./Main.cpp: In function ‘int main()’:
./Main.cpp:5:3: error: ‘cin’ was not declared in this scope
cin>>n;
^~~
./Main.cpp:5:3: note: suggested alternative: ‘main’
cin>>n;
^~~
main
./Main.cpp:7:5: error: ‘cout’ was not declared in this scope
cout<<"SANGI is a contest which gives iPad."<<endl;
^~~~
./Main.cpp:7:51: error: ‘endl’ was not declared in this scope
cout<<"SANGI is a contest which gives iPad."<<endl;
^~~~
./Main.cpp:7:51: note: suggested alternative: ‘enum’
cout<<"SANGI is a contest which gives iPad."<<endl;
^~~~
enum
./Main.cpp:9:5: error: ‘cout’ was not declared in this scope
cout<<1<<endl;
^~~~
./Main.cpp:9:14: error: ‘endl’ was not declared in this scope
cout<<1<<endl;
^~~~
./Main.cpp:9:14: note: suggested alternative: ‘enum’
cout<<1<<endl;
^~~~
enum
./Main.cpp:11:5: error: ‘cout’ was not declared in this scope
cout<<n<<endl;;
^~~~
./Main.cpp:11:14: error: ‘endl’ was not declared in this scope
cout<<n<<endl;;
^~~~
./Main.cpp:11:14: note: suggested alternative: ‘enum’
cout<<n<<endl;;
^~~~
enum
./Main.cpp:15:7: error: ‘cout’ was not declared in this scope
cout<<2<<endl<<2<<endl;
^~~~
./Main.cpp:15:16: error: ‘endl’ was not declared in this scope
cout<<2<<endl<<2<<endl;
^~~~
./Main.cpp:15:16: note: suggested alternative: ‘enum’
cout<<2<<endl<<2<<endl;
^~~~
enum
セット
テストケース