Borderou de evaluare (job #3196346)
Utilizator | Data | 23 ianuarie 2024 18:34:12 | |
---|---|---|---|
Problema | Retea2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int Calculeaza_Distanta(std::string, std::string)':
main.cpp:48:17: error: 'strlen' was not declared in this scope
48 | int n = strlen(cuv1.c_str());
| ^~~~~~
main.cpp:8:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
7 | #include <iomanip>
+++ |+#include <cstring>
8 |
main.cpp: In function 'void Prim()':
main.cpp:184:30: error: 'sqrt' is not a member of 'std'
184 | suma += std::sqrt(Dmin);
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !