| Problem | doll_noi |
|---|---|
| User | trollSecOps |
| Submission Time | 2024-02-24 09:12:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
doll_noi.cpp: In function ‘int main()’:
doll_noi.cpp:42:35: error: invalid initialization of reference of type ‘const std::vector<int>&’ from expression of type ‘std::set<int>’
42 | solutions.push_back(solve(dolls));
| ^~~~~
doll_noi.cpp:16:35: note: in passing argument 1 of ‘i32 solve(const std::vector<int>&)’
16 | i32 solve(const std::vector<i32>& dolls){
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~