Problem gentlepairs
User Joashhh
Submission Time 2024-11-14 14:44:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gentlepairs.cpp: In function ‘int main()’:
gentlepairs.cpp:6:7: error: ‘arr’ declared as array of ‘auto’
6 | auto arr[a];
| ^~~
gentlepairs.cpp:11:3: error: ‘arr’ was not declared in this scope
11 | arr[i] = make_pair(x,y);
| ^~~
gentlepairs.cpp:15:14: error: ‘arr’ was not declared in this scope
15 | pair p1 = arr[i];
| ^~~