| Problem | weddingcoins |
|---|---|
| User | jamallikestocode |
| Submission Time | 2026-02-09 20:26:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:9:82: error: expected ‘}’ before ‘;’ token
9 | 1000000, 500000, 100000, 50000, 10000, 5000, 1000, 500, 100, 50, 10, 5, 1;
| ^
weddingcoins.cpp:8:22: note: to match this ‘{’
8 | long long coins[]{
| ^
weddingcoins.cpp: At global scope:
weddingcoins.cpp:12:5: error: expected unqualified-id before ‘for’
12 | for(long long c : coins){
| ^~~
weddingcoins.cpp:16:5: error: ‘cout’ does not name a type; did you mean ‘count’?
16 | cout << count << endl;
| ^~~~
| count
weddingcoins.cpp:18:5: error: expected unqualified-id before ‘return’
18 | return 0;
| ^~~~~~
weddingcoins.cpp:19:1: error: expected declaration before ‘}’ token
19 | }
| ^