Problem harddisk
User undefinedcritter
Submission Time 2026-09-09 13:44:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

harddisk.cpp: In function ‘int main()’:
harddisk.cpp:38:23: error: ‘maxvalues’ was not declared in this scope; did you mean ‘maxvalues1’?
38 | maxvalues1[i] = max(maxvalues[i-1],sums1[i].second);
| ^~~~~~~~~
| maxvalues1