Problem weddingcoins
User MegaG
Submission Time 2025-10-11 12:19:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:29:13: error: ‘N’ was not declared in this scope
29 | if (N == 0) {
| ^
weddingcoins.cpp:32:19: error: ‘N’ was not declared in this scope
32 | int use = N / coins[i];
| ^