Problem platonic4
User Hatrix
Submission Time 2026-02-27 17:04:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic4.cpp: In function ‘int main()’:
platonic4.cpp:11:19: error: invalid types ‘long long int[long long int]’ for array subscript
11 | cin >> A[i];
| ^
platonic4.cpp:13:12: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘long long int’
13 | sort(A.begin(), A.end());
| ^~~~~
platonic4.cpp:13:23: error: request for member ‘end’ in ‘A’, which is of non-class type ‘long long int’
13 | sort(A.begin(), A.end());
| ^~~
platonic4.cpp:15:20: error: invalid types ‘long long int[long long int]’ for array subscript
15 | cout << A[M - 1];
| ^