Problem chinese
User benji9736
Submission Time 2026-01-14 23:29:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

chinese.cpp: In function ‘int main()’:
chinese.cpp:14:15: error: request for member ‘begin’ in ‘gay1’, which is of non-class type ‘int [n]’
14 | sort(gay1.begin(), gay1.end());
| ^~~~~
chinese.cpp:14:29: error: request for member ‘end’ in ‘gay1’, which is of non-class type ‘int [n]’
14 | sort(gay1.begin(), gay1.end());
| ^~~
chinese.cpp:15:15: error: request for member ‘begin’ in ‘gay2’, which is of non-class type ‘int [n]’
15 | sort(gay2.begin(), gay2.end(), greater<int>());
| ^~~~~
chinese.cpp:15:29: error: request for member ‘end’ in ‘gay2’, which is of non-class type ‘int [n]’
15 | sort(gay2.begin(), gay2.end(), greater<int>());
| ^~~