Problem platonic
User PyAce
Submission Time 2026-01-22 16:06:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic.cpp: In function ‘int main()’:
platonic.cpp:9:11: error: expected unqualified-id before ‘=’ token
9 | for (int =0;i<n;i++){
| ^
platonic.cpp:9:11: error: expected ‘;’ before ‘=’ token
platonic.cpp:9:11: error: expected primary-expression before ‘=’ token
platonic.cpp:9:14: error: ‘i’ was not declared in this scope
9 | for (int =0;i<n;i++){
| ^
platonic.cpp:9:17: error: expected ‘)’ before ‘;’ token
9 | for (int =0;i<n;i++){
| ~ ^
| )
platonic.cpp:9:18: error: ‘i’ was not declared in this scope
9 | for (int =0;i<n;i++){
| ^
platonic.cpp:14:19: error: cannot convert ‘const __gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’ to ‘long long int’ in initialization
14 | int biggest = max(AVec.begin(), AVec.end());
| ~~~^~~~~~~~~~~~~~~~~~~~~~~