koala.cpp: In function 'bool cmp(int, int, int)':
koala.cpp:3:5: error: 'memset' was not declared in this scope
3 | memset(tab,0,sizeof tab);
| ^~~~~~
koala.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | bool cmp(int N,int i,int j){
koala.cpp:6:11: error: 'min' was not declared in this scope
6 | int r=min(N/2+1,9);
| ^~~
koala.cpp:11:9: error: 'playRound' was not declared in this scope
11 | playRound(tab,cur);
| ^~~~~~~~~
koala.cpp:19:5: error: 'playRound' was not declared in this scope
19 | playRound(tab,cur);
| ^~~~~~~~~
koala.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
22 | }
| ^