Problem catlunch
User cobnet
Submission Time 2025-03-11 20:54:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:21:29: error: ‘intg’ was not declared in this scope; did you mean ‘int’?
21 | if(gotchips==true){for(intg=0;g<sdm;g++){nv.pop();t+=kyew[c];}}
| ^~~~
| int
catlunch.cpp:21:36: error: ‘g’ was not declared in this scope
21 | if(gotchips==true){for(intg=0;g<sdm;g++){nv.pop();t+=kyew[c];}}
| ^