| Problem | twochoices |
|---|---|
| User | dvd |
| Submission Time | 2025-05-04 16:45:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
twochoices.cpp: In function ‘int main()’:
twochoices.cpp:28:5: error: ‘vector’ was not declared in this scope
28 | vector<int> masks;
| ^~~~~~
twochoices.cpp:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
2 | #include <unordered_map>
+++ |+#include <vector>
3 | #include <string>
twochoices.cpp:28:12: error: expected primary-expression before ‘int’
28 | vector<int> masks;
| ^~~
twochoices.cpp:31:9: error: ‘masks’ was not declared in this scope
31 | masks.push_back(p.first);
| ^~~~~
twochoices.cpp:34:14: error: ‘masks’ was not declared in this scope
34 | int sz = masks.size();
| ^~~~~