Submission #00083
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:7:5: error: ‘unordered_map’ was not declared in this scope
unordered_map<int,int>m;
^~~~~~~~~~~~~
./Main.cpp:7:5: note: ‘std::unordered_map’ is only available from C++11 onwards
./Main.cpp:3:13: error: expected primary-expression before ‘long’
#define int long
^~~~
./Main.cpp:7:19: note: in expansion of macro ‘int’
unordered_map<int,int>m;
^~~
./Main.cpp:11:9: error: ‘m’ was not declared in this scope
m[a]++;
^
./Main.cpp:18:15: error: ‘m’ was not declared in this scope
cout<<m[v]<<"\n";
^
セット
テストケース