koala.cpp: In function 'int minValue(int, int)':
koala.cpp:80:5: error: 'vector' was not declared in this scope
80 | vector<int> tab(N,0);
| ^~~~~~
koala.cpp:80:12: error: expected primary-expression before 'int'
80 | vector<int> tab(N,0);
| ^~~
koala.cpp:81:5: error: 'tab' was not declared in this scope
81 | tab[0]=1;
| ^~~
koala.cpp:82:12: error: expected primary-expression before 'int'
82 | vector<int> res(N);
| ^~~
koala.cpp:83:20: error: 'res' was not declared in this scope
83 | playRound(tab, res);
| ^~~
koala.cpp: At global scope:
koala.cpp:92:1: error: 'vector' does not name a type
92 | vector<int> allValues(int N,int W,int P);
| ^~~~~~
koala.cpp: In function 'void grader()':
koala.cpp:123:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
123 | scanf("%d %d",&F,&G);
| ~~~~~^~~~~~~~~~~~~~~
koala.cpp: In function 'void runGame(int)':
koala.cpp:96:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
96 | scanf("%d %d",&N,&W);
| ~~~~~^~~~~~~~~~~~~~~
koala.cpp:98:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
98 | scanf("%d",&P[i]);
| ~~~~~^~~~~~~~~~~~