Problem visitor
User Kiameimon
Submission Time 2024-12-11 12:05:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

visitor.cpp: In function ‘int main()’:
visitor.cpp:21:41: error: ‘using pii = struct std::pair<int, int>’ {aka ‘struct std::pair<int, int>’} has no member named ‘l’
21 | pii arr[k]; for(pii &i : arr) cin >> i.l >> i.r;
| ^
visitor.cpp:21:48: error: ‘using pii = struct std::pair<int, int>’ {aka ‘struct std::pair<int, int>’} has no member named ‘r’
21 | pii arr[k]; for(pii &i : arr) cin >> i.l >> i.r;
| ^