Borderou de evaluare (job #583846)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | CE (Caracteristică Euler) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 28 feb. 2021 23:02:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:104:9: error: 'memset' was not declared in this scope
104 | memset(a,0,sizeof(a));
| ^~~~~~
main.cpp:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <queue>
+++ |+#include <cstring>
3 |
main.cpp:121:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
121 | if(map[i][j]==1 & a[i][j]==0) {
| ~~~~~~~~~^~~