Problem routine
User louisleehi
Submission Time 2023-12-25 14:17:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

routine.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
cc1plus: error: ‘::main’ must return ‘int’
routine.cpp: In function ‘int main()’:
routine.cpp:5:5: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
routine.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin.tie(0);
| ^~~
routine.cpp:10:5: error: ‘pair’ was not declared in this scope
10 | pair<int,int> arr[n];
| ^~~~
routine.cpp:10:10: error: expected primary-expression before ‘int’
10 | pair<int,int> arr[n];
| ^~~
routine.cpp:12:16: error: ‘arr’ was not declared in this scope
12 | cin >> arr[i].first;
| ^~~
routine.cpp:15:16: error: ‘arr’ was not declared in this scope
15 | cin >> arr[i].second;
| ^~~
rout