Problem gentlepairs
User newperson
Submission Time 2024-06-19 16:02:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gentlepairs.cpp:1:2: error: invalid preprocessing directive #inlclude; did you mean #include?
1 | #inlclude <bits/stdc++.h>
| ^~~~~~~~
| include
gentlepairs.cpp: In function ‘int main()’:
gentlepairs.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> N;
| ^~~
gentlepairs.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlclude <bits/stdc++.h>
gentlepairs.cpp:9:2: error: ‘vector’ was not declared in this scope
9 | vector<pair<int,int>> v;
| ^~~~~~
gentlepairs.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #inlclude <bits/stdc++.h>
gentlepairs.cpp:9:9: error: ‘pair’ was not declared in this scope
9 | vector<pair<int,int>