Problem coins
User Pan
Submission Time 2024-08-06 13:21:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shahrnaz.cpp:2:20: error: ‘vector’ is not a member of ‘std’
2 | int find_coin(std::vector<int> b)
| ^~~~~~
shahrnaz.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 |
shahrnaz.cpp:2:27: error: expected primary-expression before ‘int’
2 | int find_coin(std::vector<int> b)
| ^~~