Problem weddingcoins
User estkn
Submission Time 2026-05-21 23:18:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:5:13: error: expected ‘;’ before ‘vector’
5 | cin >> N
| ^
| ;
6 | vector<long long> d = {1000000,500000,100000,10000,5000,1000,500,100, 50,10,5,1};
| ~~~~~~
weddingcoins.cpp:9:24: error: ‘d’ was not declared in this scope
9 | for (long long c : d) {
| ^