Problem lightningrod
User Dynonychus
Submission Time 2023-12-31 17:12:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
lightningrod.cpp:56:5: error: redefinition of ‘int main()’
56 | int main(){
| ^~~~
lightningrod.cpp:6:8: note: ‘int main()’ previously defined here
6 | signed main() {
| ^~~~
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:74:25: error: redeclaration of ‘std::vector<std::pair<long long int, long long int> > vec’
74 | vector<pair<int, int>> vec;
| ^~~
lightningrod.cpp:63:25: note: ‘std::vector<std::pair<long long int, long long int> > vec’ previously declared here
63 | vector<pair<int, int>> vec(n);
| ^~~