Problem motest3
User wongyikai
Submission Time 2024-12-10 23:11:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

motest3.cpp: In function ‘int32_t main()’:
motest3.cpp:27:4: error: ‘gp_hash_table’ was not declared in this scope
27 | gp_hash_table<int,int> s;
| ^~~~~~~~~~~~~
motest3.cpp:27:18: error: expected primary-expression before ‘int’
27 | gp_hash_table<int,int> s;
| ^~~
motest3.cpp:30:5: error: ‘s’ was not declared in this scope
30 | s[r]=1;
| ^
motest3.cpp:33:18: error: expected primary-expression before ‘int’
33 | gp_hash_table<int,int> ss;
| ^~~
motest3.cpp:36:5: error: ‘ss’ was not declared in this scope
36 | ss[r]=1;
| ^~
motest3.cpp:39:8: error: ‘s’ was not declared in this scope
39 | if((s.size()==b-1 && ss.size()==a-1) || a==b | a==1){
| ^
motest3.cpp:39:25: error: ‘ss’ was not declared in this scope
39 | if((s.size()==b-1 && ss.size()==a-1) || a==b | a==1){
|