Problem weddingcoins
User Elaine
Submission Time 2023-01-14 19:24:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:14:11: error: ‘n’ was not declared in this scope
14 | ans +=n/coins[i];
| ^