0_0_39757279_5947.cpp:2:7: error: expected nested-name-specifier before 'nemaspace'
2 | using nemaspace std;
| ^~~~~~~~~
0_0_39757279_5947.cpp: In function 'int main()':
0_0_39757279_5947.cpp:5:5: error: 'string' was not declared in this scope
5 | map<string,int>m;
| ^~~~~~
0_0_39757279_5947.cpp:5:5: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bitset:52,
from .\stdc++.h:52:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stringfwd.h:77:33: note: 'std::string'
77 | typedef basic_string<char> string;
| ^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:66:11: note: 'std::pmr::string'
66 | using string = basic_string<char>;
| ^~~~~~
0_0_39757279_5947.cpp:5:1: error: 'map' was not declared in this scope
5 | map<string,int>m;
| ^~~
0_0_39757279_5947.cpp:5:1: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:63,
from .\stdc++.h:152:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: 'std::map'
100 | class map
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:80:13: note: 'std::pmr::map'
80 | using map
| ^~~
0_0_39757279_5947.cpp:5:12: error: expected primary-expression before 'int'
5 | map<string,int>m;
| ^~~
0_0_39757279_5947.cpp:10:1: error: 'm' was not declared in this scope
10 | m[str]++;
| ^
0_0_39757279_5947.cpp:14:18: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
14 | while(gets(str)) cout<<m[str]<<endl;
| ^~~~
| std::cout
In file included from .\stdc++.h:146:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
0_0_39757279_5947.cpp:14:24: error: 'm' was not declared in this scope; did you mean 'tm'?
14 | while(gets(str)) cout<<m[str]<<endl;
| ^
| tm
0_0_39757279_5947.cpp:14:32: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
14 | while(gets(str)) cout<<m[str]<<endl;
| ^~~~
| std::endl
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/unique_ptr.h:42,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/memory:78,
from .\stdc++.h:56:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:735:5: note: 'std::endl' declared here
735 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
|