Problem teleporting
User blob
Submission Time 2023-12-16 10:44:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

teleporting.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++.h>
| ^~~~
teleporting.cpp:4:1: error: ‘vector’ does not name a type
4 | vector<int> min_teleporters_required(const vector<int>& teleporters, const vector<int>& hideouts) {
| ^~~~~~
teleporting.cpp: In function ‘int main()’:
teleporting.cpp:37:5: error: ‘cin’ was not declared in this scope
37 | cin >> N >> Q;
| ^~~
teleporting.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include bits/stdc++.h>
teleporting.cpp:39:5: error: ‘vector’ was not declared in this scope
39 | vector<int> R(N);
| ^~~~~~
teleporting.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+