Problem catlunch
User deepdapy2
Submission Time 2025-03-04 18:43:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘void solve()’:
catlunch.cpp:9:22: error: ‘a’ was not declared in this scope
9 | for(int& i : a) cin >> i;
| ^
catlunch.cpp:12:16: error: ‘a’ was not declared in this scope
12 | if(a[i] >= 0) {
| ^