| Problem | mergevectors |
|---|---|
| User | LimCheeHann |
| Submission Time | 2026-05-04 23:07:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mergevectors.cpp:1:2: error: invalid preprocessing directive #Include; did you mean #include?
1 | #Include <iostream>
| ^~~~~~~
| include
mergevectors.cpp: In function ‘int main()’:
mergevectors.cpp:2:52: error: ‘cin’ was not declared in this scope
2 | using namespace std;int main(){long long n,m,input;cin>>n>>m;for(int i=0;i<n+m;i++){cin>>input;cout<<input<<" ";}}
| ^~~
mergevectors.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #Include <iostream>
mergevectors.cpp:2:96: error: ‘cout’ was not declared in this scope
2 | using namespace std;int main(){long long n,m,input;cin>>n>>m;for(int i=0;i<n+m;i++){cin>>input;cout<<input<<" ";}}
|