Submission #00175
ソースコード
ステータス
項目 |
データ |
問題 |
0003 - 直方体 |
ユーザー名 |
みりん
|
投稿日時 |
2020-09-02 18:01:41 |
言語 |
C++11 |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
489 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:5:5: error: ‘string’ was not declared in this scope
string s;
^~~~~~
./Main.cpp:5:5: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
./Main.cpp:1:1:
+#include <string>
#define lol long long
./Main.cpp:5:5:
string s;
^~~~~~
./Main.cpp:7:9: error: ‘cin’ was not declared in this scope
cin>>h>>w;
^~~
./Main.cpp:7:9: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
./Main.cpp:1:1:
+#include <iostream>
#define lol long long
./Main.cpp:7:9:
cin>>h>>w;
^~~
./Main.cpp:21:16: error: ‘cout’ was not declared in this scope
if(ans==0) cout<<"yes\n";
^~~~
./Main.cpp:21:16: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
./Main.cpp:22:10: error: ‘cout’ was not declared in this scope
else cout<<"no\n";
^~~~
./Main.cpp:22:10: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
セット
テストケース