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

Compile Error

teleporting.cpp:1:2: error: invalid preprocessing directive #Include; did you mean #include?
1 | #Include <bits/stdc++.h>
| ^~~~~~~
| include
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