Problem weddingcoins
User C0D3X
Submission Time 2026-07-12 01:27:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:9:11: error: expected ‘;’ before ‘vector’
9 | N = N*100
| ^
| ;
10 | vector<int> money = {1000000, 500000, 100000, 50000, 10000, 5000, 1000, 500, 100, 50, 10, 5, 1};
| ~~~~~~
weddingcoins.cpp:14:13: error: ‘money’ was not declared in this scope
14 | if (money[pointer] <= N){
| ^~~~~