Problem platonic5
User chien
Submission Time 2025-06-19 10:49:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic5.cpp: In function ‘int main()’:
platonic5.cpp:4:5: error: ‘cin’ was not declared in this scope
4 | cin >> n >> m;
| ^~~
platonic5.cpp:13:14: error: ‘abs’ was not declared in this scope
13 | sum+=abs(A[j]-A[j-1]);
| ^~~
platonic5.cpp:15:5: error: ‘cout’ was not declared in this scope
15 | cout << sum;
| ^~~~