Borderou de evaluare (job #3193115)

Utilizator johnutddDobrin Ionut johnutdd Data 14 ianuarie 2024 08:43:46
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool cupleaza(int)': main.cpp:22:17: error: 'it' was not declared in this scope; did you mean 'st'? 22 | if (!dr[it] || cupleaza(dr[elem])) | ^~ | st main.cpp: In function 'int main()': main.cpp:52:23: error: 'strlen' was not declared in this scope 52 | int lungime = strlen(s); | ^~~~~~ main.cpp:4:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 3 | #include <vector> +++ |+#include <cstring> 4 | main.cpp:62:32: error: 'x' was not declared in this scope 62 | G[i].push_back(x); | ^ Non zero exit status: 1

Ceva nu functioneaza?