Problem mandarins
User usernamehere
Submission Time 2024-03-17 16:40:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mandarins.cpp: In function ‘int main()’:
mandarins.cpp:13:33: error: expected ‘)’ before ‘;’ token
13 | ios_base::sync_with_stdio(false;); cin.tie(0); cout.tie(0);
| ~ ^
| )
mandarins.cpp:13:34: error: expected primary-expression before ‘)’ token
13 | ios_base::sync_with_stdio(false;); cin.tie(0); cout.tie(0);
| ^
mandarins.cpp:3:12: error: expected ‘,’ or ‘;’ before ‘long’
3 | #define ll long long
| ^~~~
mandarins.cpp:15:2: note: in expansion of macro ‘ll’
15 | ll n, k;
| ^~
mandarins.cpp:16:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
16 | cin >> n >> k;
| ^
| yn
mandarins.cpp:16:14: error: ‘k’ was not declared in this scope
16 | cin >> n >> k;
| ^