0_0_17394086_28570.cpp:16:23: error: 'getHashval' declared as an 'inline' variable
inline ULL getHashval(n, l) {
^
0_0_17394086_28570.cpp:16:23: error: 'n' was not declared in this scope
0_0_17394086_28570.cpp:16:26: error: 'l' was not declared in this scope
inline ULL getHashval(n, l) {
^
0_0_17394086_28570.cpp:16:27: error: expression list treated as compound expression in initializer [-fpermissive]
inline ULL getHashval(n, l) {
^
0_0_17394086_28570.cpp:16:29: error: expected ',' or ';' before '{' token
inline ULL getHashval(n, l) {
^
0_0_17394086_28570.cpp: In function 'int main()':
0_0_17394086_28570.cpp:41:35: error: 'getHashval' cannot be used as a function
hashset.insert(getHashval(j, l));
^
0_0_17394086_28570.cpp:47:42: error: 'getHashval' cannot be used as a function
hashset.erase(getHashval(j - m * l, l));
^
0_0_17394086_28570.cpp:49:35: error: 'getHashval' cannot be used as a function
hashset.insert(getHashval(j, l));
^
|