Problem streakmanipulation
User ThePwo
Submission Time 2023-12-13 10:13:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

streakmanipulation.cpp: In function ‘int32_t main()’:
streakmanipulation.cpp:10:20: error: expected primary-expression before ‘)’ token
10 | if (n < (k + k - ) cout << -1 << '\n';
| ^
streakmanipulation.cpp:11:3: error: expected primary-expression before ‘else’
11 | else {
| ^~~~
streakmanipulation.cpp:10:41: error: expected ‘)’ before ‘else’
10 | if (n < (k + k - ) cout << -1 << '\n';
| ~ ^
| )
11 | else {
| ~~~~
streakmanipulation.cpp:15:2: error: expected primary-expression before ‘}’ token
15 | }
| ^