Problem moneychanger
User angelahaha
Submission Time 2023-11-10 11:15:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:13:18: error: expected unqualified-id before ‘=’ token
13 | for (int = 0; i < n; i++){
| ^
moneychanger.cpp:13:17: error: expected ‘;’ before ‘=’ token
13 | for (int = 0; i < n; i++){
| ^~
| ;
moneychanger.cpp:13:18: error: expected primary-expression before ‘=’ token
13 | for (int = 0; i < n; i++){
| ^
moneychanger.cpp:13:28: error: expected ‘)’ before ‘;’ token
13 | for (int = 0; i < n; i++){
| ~ ^
| )
moneychanger.cpp:13:33: error: expected ‘;’ before ‘)’ token
13 | for (int = 0; i < n; i++){
| ^
| ;
moneychanger.cpp: At global scope:
moneychanger.cpp:18:5: error: expec