| Problem | weddingcoins |
|---|---|
| User | j0ashhh |
| Submission Time | 2026-02-16 20:03:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp:3:39: error: ‘N’ has not been declared
3 | int minCoins(vector<long long> coins, N){
| ^
weddingcoins.cpp: In function ‘int minCoins(std::vector<long long int>, int)’:
weddingcoins.cpp:4:23: error: ‘N’ was not declared in this scope
4 | vector<long long> dp(N+1, LLONG_MAX);
| ^
weddingcoins.cpp:8:26: error: ‘no_take’ was not declared in this scope; did you mean ‘take’?
8 | int take = LLONG_MAX; no_take = LLONG_MAX;
| ^~~~~~~
| take
weddingcoins.cpp:12:12: error: expected ‘;’ before ‘}’ token
12 | take++
| ^
| ;
13 | }
| ~
weddingcoins.cpp:24:12: error: expected ‘;’ before ‘}’ token
24 | return -1
| ^
| ;
25 | }
| ~ <