Borderou de evaluare (job #1971623)

Utilizator ionicaion ionica Data 20 aprilie 2017 17:45:57
Problema Game4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:1: error: ‘vector’ does not name a type vector<int> mexes; // all nim piles ^ user.cpp: In function ‘int main()’: user.cpp:84:29: error: ‘memset’ was not declared in this scope memset(pbs, 0, sizeof(pbs)); ^ user.cpp:101:40: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses] if (xsum ^ mex[pbs[p]] ^ mex[nbs] == 0) { ^ user.cpp:131:58: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses] if (xsum ^ mex[bitSet] ^ mex[shiftBitSet(nbs, ka)] == 0) { ^ user.cpp:138:10: warning: unused variable ‘excludePrimeP’ [-Wunused-variable] int excludePrimeP = 0; ^ user.cpp: In function ‘int findMex(int)’: user.cpp:62:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:72:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &t, &c); ^ user.cpp:86:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:88:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i]); ^

Ceva nu functioneaza?