Submission #00014
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
include<bits/stdc++.h>
^~~~~~~
__has_include
./Main.cpp: In function ‘int main()’:
./Main.cpp:8:3: error: ‘cin’ was not declared in this scope
cin >> a >> b >> c >> d;
^~~
./Main.cpp:8:3: note: suggested alternative: ‘main’
cin >> a >> b >> c >> d;
^~~
main
./Main.cpp:20:3: error: ‘cout’ was not declared in this scope
cout << ans << endl;
^~~~
./Main.cpp:20:18: error: ‘endl’ was not declared in this scope
cout << ans << endl;
^~~~
./Main.cpp:20:18: note: suggested alternative: ‘enum’
cout << ans << endl;
^~~~
enum
セット
テストケース