Borderou de evaluare (job #3217762)

Utilizator george_buzasGeorge Buzas george_buzas Data 24 martie 2024 16:00:26
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void kruskalMST(std::vector<std::tuple<int, int, int> >&, int)': main.cpp:41:9: error: 'memset' was not declared in this scope 41 | memset(parents, -1, sizeof(parents)); | ^~~~~~ main.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 5 | #include <queue> +++ |+#include <cstring> 6 | #define MAX_NR_NODES 200000 Non zero exit status: 1

Ceva nu functioneaza?