Borderou de evaluare (job #3347875)

Utilizator altomMirel Fanel altom Data 18 martie 2026 17:27:18
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void sterge(const std::string&)': main.cpp:40:5: error: 'vector' was not declared in this scope 40 | vector<pair<trie_node*, int>> path; // (node, idx used to go to child) | ^~~~~~ main.cpp:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? 2 | #include <fstream> +++ |+#include <vector> 3 | using namespace std; main.cpp:40:32: error: expected primary-expression before '>' token 40 | vector<pair<trie_node*, int>> path; // (node, idx used to go to child) | ^~ main.cpp:40:35: error: 'path' was not declared in this scope 40 | vector<pair<trie_node*, int>> path; // (node, idx used to go to child) | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?