Problem | toxic2 |
---|---|
User | reporter |
Submission Time | 2024-03-18 18:05:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from grader.cpp:1:
toxic2.h:1:6: error: ‘vector’ in namespace ‘std’ does not name a template type
1 | std::vector<int> query_machine(std::vector<int> samples);
| ^~~~~~
toxic2.h:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | std::vector<int> query_machine(std::vector<int> samples);
toxic2.h:2:23: error: variable or field ‘answer_type’ declared void
2 | void answer_type(std::vector<char> v);
| ^~~~~~
toxic2.h:2:23: error: ‘vector’ is not a member of ‘std’
toxic2.h:2:23: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
toxic2.h:2:30: error: expected primary-expression before ‘char’
2 | void answer_type(std::vector<char> v);
| ^~~~
toxic2.cpp:1:10: fatal