Problem | belittle |
---|---|
User | reporter |
Submission Time | 2023-01-26 17:17:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
belittle.cpp:9:32: error: ISO C++ forbids declaration of ‘SparseTable’ with no type [-fpermissive]
9 | SparseTable(int _N, int a[]): N(_N) {
| ^
belittle.cpp: In member function ‘int SparseTableMin::SparseTable(long long int, long long int*)’:
belittle.cpp:9:35: error: only constructors take member initializers
9 | SparseTable(int _N, int a[]): N(_N) {
| ^
belittle.cpp: At global scope:
belittle.cpp:32:32: error: ISO C++ forbids declaration of ‘SparseTable’ with no type [-fpermissive]
32 | SparseTable(int _N, int a[]): N(_N) {
| ^
belittle.cpp: In member function ‘int SparseTableMax::SparseTable(long long int, long long int*)’:
belittle.cpp:32:35: error: only constructors take member initializers
32 | SparseTable(int _N, int a[]): N(_N) {
| ^
belittle.cpp: In f