Borderou de evaluare (job #2960509)
Utilizator | Data | 4 ianuarie 2023 15:37:22 | |
---|---|---|---|
Problema | X si 0 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int play(char (*)[4], int)':
main.cpp:76:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
76 | if (!k || result == 1 - player && draw == 1)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:84:5: error: 'memset' was not declared in this scope
84 | memset(v, -1, sizeof(v));
| ^~~~~~
main.cpp:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include <fstream>
+++ |+#include <cstring>
4 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !