Problem motest3
User Dolphy
Submission Time 2024-04-01 07:40:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

motest3.cpp: In function ‘int32_t main()’:
motest3.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
motest3.cpp:8:3: note: in expansion of macro ‘int’
8 | int t, a, b;
| ^~~
motest3.cpp:8:7: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
8 | int t, a, b;
| ^
| tm
motest3.cpp:8:10: error: ‘a’ was not declared in this scope
8 | int t, a, b;
| ^
motest3.cpp:8:13: error: ‘b’ was not declared in this scope
8 | int t, a, b;
| ^
motest3.cpp:23:3: error: ‘gp_hash_table’ was not declared in this scope
23 | gp_hash_table<int,int> s;
| ^~~~~~~~~~~~~
motest3.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long;
| ^~~~
motest3.cpp:23:17: note: in expansion of macro ‘int’