Problem duckbuttons
User Karax
Submission Time 2026-01-19 16:28:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckbuttons.cpp:2:20: error: expected ‘;’ before ‘signed’
2 | using namespace std
| ^
| ;
......
5 | signed main() {
| ~~~~~~
duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:13:19: error: ‘FALSE’ was not declared in this scope
13 | bool solved = FALSE;
| ^~~~~
duckbuttons.cpp:16:37: error: expected ‘;’ before ‘long’
16 | sort(arr2.begin(), arr2.end())
| ^
| ;
duckbuttons.cpp:22:25: error: ‘maxducks’ was not declared in this scope
22 | if (arr2[i] == maxducks) {
| ^~~~~~~~
duckbuttons.cpp:29:22: error: ‘TRUE’ was not declared in this scope
29 | solved = TRUE;
| ^~~~