Problem platonic5
User haiquan
Submission Time 2025-06-19 10:51:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic5.cpp: In function ‘int main()’:
platonic5.cpp:7:15: error: ‘sync’ is not a member of ‘std::ios_base’
7 | ios_base::sync-with_stdio(0);
| ^~~~
platonic5.cpp:7:20: error: ‘with_stdio’ was not declared in this scope
7 | ios_base::sync-with_stdio(0);
| ^~~~~~~~~~
platonic5.cpp:8:15: error: expected ‘;’ before ‘long’
8 | cin.tie(0)
| ^
| ;
......
12 | long long n, m, x, sum, diff;
| ~~~~
platonic5.cpp:13:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
13 | cin >> n >> m;
| ^
| yn
platonic5.cpp:13:17: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
13 | cin >> n >> m;
| ^
| tm
platonic5.cpp:15:5: error: ‘sum’ was not declared in this scope