Problem | snakecode |
---|---|
User | haydendoo |
Submission Time | 2023-01-11 07:00:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snakecode.cpp: In function ‘void code(int, std::string*, int*)’:
snakecode.cpp:23:11: error: ‘sum’ was not declared in this scope; did you mean ‘sisum’?
23 | } sum[i] = curr/curr2; mult[i]=curr2;
| ^~~
| sisum
snakecode.cpp: In function ‘double query(int, int, int)’:
snakecode.cpp:31:17: error: ‘sum’ was not declared in this scope; did you mean ‘sisum’?
31 | double lol=(sum[r]); if(l!=0) lol-=sum[l-1];
| ^~~
| sisum