Problem | labs |
---|---|
User | dakingwawin |
Submission Time | 2024-12-21 10:07:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
labs.cpp: In function ‘int32_t main()’:
labs.cpp:9:27: error: invalid declarator before ‘arr’
9 | int map<string, int > arr;
| ^~~
labs.cpp:16:8: error: conflicting declaration ‘auto s’
16 | map[s] = k;
| ^
labs.cpp:14:11: note: previous declaration as ‘std::string s’
14 | string s = "";
| ^
labs.cpp:3:18: error: ‘long long’ specified with ‘auto’
3 | #define int long long
| ^~~~
labs.cpp:21:13: note: in expansion of macro ‘int’
21 | for(auto int h ; arr){
| ^~~
labs.cpp:21:8: error: declaration of ‘auto h’ has no initializer
21 | for(auto int h ; arr){
| ^~~~
labs.cpp:21:21: error: ‘arr’ was not declared in this scope
21 | for(auto int h ; arr){
| ^~~
labs.cpp:21:24: error: expected ‘;’ before ‘)’ token
21 | for(auto int h ; a