Problem justright
User GrainOrBread
Submission Time 2025-02-06 19:42:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

justright.cpp: In function ‘int main()’:
justright.cpp:19:6: error: ‘sync_with_base’ was not declared in this scope
19 | ios:sync_with_base(0);
| ^~~~~~~~~~~~~~
justright.cpp:20:12: error: expected ‘;’ before ‘long’
20 | cin.tie(0)
| ^
| ;
21 |
22 | long long n, k;
| ~~~~
justright.cpp:24:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
24 | cin >> n >> k;
| ^
| yn
justright.cpp:24:17: error: ‘k’ was not declared in this scope
24 | cin >> n >> k;
| ^