Borderou de evaluare (job #3175137)

Utilizator mario_deaconescuMario Deaconescu mario_deaconescu Data 25 noiembrie 2023 12:48:37
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'std::vector<std::pair<double, double> > readPoints(std::ifstream&)': main.cpp:408:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 408 | for (int i = 0; i < n; i++) { | ~~^~~ main.cpp: In function 'int main_cablaj()': main.cpp:449:32: error: 'setprecision' is not a member of 'std' 449 | fout << std::fixed << std::setprecision(4) << totalLength << "\n"; | ^~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?