Problem minerals
User Shadow1
Submission Time 2025-03-20 20:38:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minerals.cpp:1:16: error: ‘vector’ does not name a type
1 | void dnc(const vector<int>& a, const vector<int>& b) {
| ^~~~~~
minerals.cpp:1:22: error: expected ‘,’ or ‘...’ before ‘<’ token
1 | void dnc(const vector<int>& a, const vector<int>& b) {
| ^
minerals.cpp: In function ‘void dnc(int)’:
minerals.cpp:2:16: error: ‘a’ was not declared in this scope
2 | int n = sz(a);
| ^
minerals.cpp:2:13: error: ‘sz’ was not declared in this scope
2 | int n = sz(a);
| ^~
minerals.cpp:4:22: error: ‘b’ was not declared in this scope
4 | Answer(a[0], b[0]);
| ^
minerals.cpp:4:9: error: ‘Answer’ was not declared in this scope
4 | Answer(a[0], b[0]);
| ^~~~~~
minerals.cpp:8:5: error: ‘vector’ was not declared in this scope
8 | vector&l