Borderou de evaluare (job #3215616)

Utilizator victor_gabrielVictor Tene victor_gabriel Data 15 martie 2024 10:55:38
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:45:5: error: 'memset' was not declared in this scope 45 | memset(visited, false, sizeof(visited)); | ^~~~~~ main.cpp:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 2 | #include <vector> +++ |+#include <cstring> 3 | Non zero exit status: 1

Ceva nu functioneaza?