Problem potatosalad
User Greninja
Submission Time 2024-02-22 22:32:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:8:11: error: ‘K’ was not declared in this scope
8 | cin>>N>>K;
| ^
potatosalad.cpp:11:12: error: ‘trees’ was not declared in this scope
11 | cin >> trees[i];
| ^~~~~