Problem lightningrod
User eliasxyz
Submission Time 2025-05-28 22:17:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:7:2: error: ‘vector’ was not declared in this scope
7 | vector<pair<ll,ll>> P;
| ^~~~~~
lightningrod.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>
+++ |+#include <vector>
2 | using namespace std;
lightningrod.cpp:7:19: error: expected primary-expression before ‘>’ token
7 | vector<pair<ll,ll>> P;
| ^~
lightningrod.cpp:7:22: error: ‘P’ was not declared in this scope
7 | vector<pair<ll,ll>> P;
| ^
lightningrod.cpp:8:6: error: ‘i’ was not declared in this scope
8 | for(i=0;i<N;i++){
| ^