Problem prefixsums
User Kiameimon
Submission Time 2024-01-11 20:55:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:185:2: error: ‘fasting’ was not declared in this scope; did you mean ‘fastint’?
185 | fasting block[SQRT+100];
| ^~~~~~~
| fastint
prefixsums.cpp:189:3: error: ‘block’ was not declared in this scope; did you mean ‘std::filesystem::file_type::block’?
189 | block[ptr] += (arr[x]);
| ^~~~~
| std::filesystem::file_type::block
In file included from /usr/include/c++/9/filesystem:36,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from prefixsums.cpp:1:
/usr/include/c++/9/bits/fs_fwd.h:76:7: note: ‘std::filesystem::file_type::block’ declared here
76 | block = 4, character = 5, fifo = 6, socket = 7, unknown = 8
| ^~~~~
prefixsums.cpp:202:44: error: ‘block’ was not declared in this scope; did you mean ‘std::filesystem::file_type::block’?
202 | for(signed y = aa+1; y < bb; y++) sm +