| Problem | chinese | 
|---|---|
| User | TheInvadr | 
| Submission Time | 2024-12-26 20:37:02 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 chinese.cpp: In function ‘int main()’:
chinese.cpp:16:37: error: invalid types ‘int[int]’ for array subscript
   16 |     for(int i = 0;i<n;i++)cin>>day[i];
      |                                     ^
chinese.cpp:17:39: error: invalid types ‘int[int]’ for array subscript
   17 |     for(int i = 0;i<n;i++)cin>>night[i];
      |                                       ^
chinese.cpp:21:36: error: expected primary-expression before ‘)’ token
   21 |     sort(night,night+n,greater<int>);
      |                                    ^
chinese.cpp:23:43: error: invalid types ‘int[int]’ for array subscript
   23 |     for(int i = 0;i<n;i++)sum+=max(0,day[i]+night[i]-x);
      |                                           ^
chinese.cpp:23:52: error: invalid types ‘int[int]’ for array subscript
   23 |     for(int i = 0;i<n;i++)sum+=max(0,day[i]+night[i]-x);
      |                                                    ^
In f