Problem coins
User LL
Submission Time 2025-12-10 15:50:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arnavaz.cpp:3:1: error: ‘vector’ does not name a type
3 | vector<int> coin_flips(vector<int> b, int c) {
| ^~~~~~
arnavaz.cpp:15:15: error: ‘vector’ was not declared in this scope
15 | int find_coin(vector<int> b) {
| ^~~~~~
arnavaz.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | using namespace std;
arnavaz.cpp:15:22: error: expected primary-expression before ‘int’
15 | int find_coin(vector<int> b) {
| ^~~
shahrnaz.cpp:3:1: error: ‘vector’ does not name a type
3 | vector<int> coin_flips(vector<int> b, int c) {
| ^~~~~~
shahrnaz.cpp:15:15: error: ‘vector’ was not declared in this scope
15 | int find_coin(vector<int> b) {
| ^~~~~~
shahrnaz.cpp:1:1: note: ‘std::vector’ is defined in header ‘<v