Problem general
User Halud
Submission Time 2025-02-02 20:38:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

general.cpp:6:44: error: ‘N’ was not declared in this scope
6 | int helper(int x, int y, pair<int, int> p[N]){
| ^
general.cpp: In function ‘long long int helper(...)’:
general.cpp:7:7: error: ‘p’ was not declared in this scope
7 | if(p[x -1].first == p[y-1].first){
| ^
general.cpp:7:9: error: ‘x’ was not declared in this scope
7 | if(p[x -1].first == p[y-1].first){
| ^
general.cpp:7:26: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
7 | if(p[x -1].first == p[y-1].first){
| ^
| yn