Problem personalspace
User FIips
Submission Time 2024-12-23 16:02:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

personalspace.cpp:10:8: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
10 | pi arr[n];
| ^
| yn
personalspace.cpp: In function ‘int32_t main()’:
personalspace.cpp:26:39: error: ‘arr’ was not declared in this scope
26 | for(int i = 0; i < n; i++) cin >> arr[i].first;
| ^~~
personalspace.cpp:28:10: error: ‘arr’ was not declared in this scope
28 | cin >> arr[i].second;
| ^~~