Borderou de evaluare (job #2960508)
Utilizator | Data | 4 ianuarie 2023 15:36:53 | |
---|---|---|---|
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:74:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
74 | if (!k || result == 1 - player && draw == 1)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:82:5: error: 'memset' was not declared in this scope
82 | memset(v, -1, sizeof(v));
| ^~~~~~
main.cpp:2:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
1 | #include <fstream>
+++ |+#include <cstring>
2 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !