Problem moneychanger
User ZiErn
Submission Time 2023-11-10 11:37:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int32_t main()’:
moneychanger.cpp:12:5: error: expected ‘,’ or ‘;’ before ‘for’
12 | for (int j=0; j<n; j++){
| ^~~
moneychanger.cpp:12:19: error: ‘j’ was not declared in this scope
12 | for (int j=0; j<n; j++){
| ^