Problem moneychanger
User Adflhjk
Submission Time 2023-11-10 11:18:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp:1:19: error: ‘vector’ is not a member of ‘std’
1 | int minCoins(std::vector<int>& coins, int v) {
| ^~~~~~
moneychanger.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | int minCoins(std::vector<int>& coins, int v) {
moneychanger.cpp:1:26: error: expected primary-expression before ‘int’
1 | int minCoins(std::vector<int>& coins, int v) {
| ^~~
moneychanger.cpp:1:39: error: expected primary-expression before ‘int’
1 | int minCoins(std::vector<int>& coins, int v) {
| ^~~
moneychanger.cpp:1:44: error: expression list treated as compound expression in initializer [-fpermissive]
1 | int minCoins(std::vector<int>& coins, int v) {
| ^
moneyc