Problem mountainjourney
User verynicenut
Submission Time 2026-06-24 09:28:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountainjourney.cpp: In function ‘int main()’:
mountainjourney.cpp:3:5: error: ‘ios’ has not been declared
3 | ios::sync_with_stdio(false);
| ^~~
mountainjourney.cpp:4:5: error: ‘cin’ was not declared in this scope
4 | cin.tie(nullptr);
| ^~~
mountainjourney.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
mountainjourney.cpp:9:5: error: ‘vector’ was not declared in this scope
9 | vector<long long> A(N), B(M);
| ^~~~~~
mountainjourney.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | using namespace std;
mountainjourney.cpp:9:12: error: expected primary-expression before ‘long’
9 | vector<long long> A(N), B(M);
| ^~~