Problem catlunch
User cobnet
Submission Time 2024-02-11 16:16:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:9:29: error: ‘i’ was not declared in this scope
9 | cin >> nomnomfactor[i];
| ^
catlunch.cpp:14:42: error: ‘i’ was not declared in this scope
14 | currentcroissant += nomnomfactor[i];
| ^
catlunch.cpp:18:42: error: ‘i’ was not declared in this scope
18 | currentcroissant -= nomnomfactor[i - k];
| ^