Borderou de evaluare (job #740716)

Utilizator avatar Himai Dragnea Mihai Alexandru Himai IP ascuns
Problemă Dreptunghiuri Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 26 oct. 2023 22:00:30 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:27:9: error: 'fopen_s' was not declared in this scope; did you mean 'fopen64'? 27 | if (fopen_s(&input, "drept.in", "r") != 0) { | ^~~~~~~ | fopen64 main.cpp:32:9: error: 'fscanf_s' was not declared in this scope; did you mean 'fscanf'? 32 | if (fscanf_s(input, "%d", &N) == 0) { | ^~~~~~~~ | fscanf main.cpp:39:13: error: 'fscanf_s' was not declared in this scope; did you mean 'fscanf'? 39 | if (fscanf_s(input, "%d %d", &drepturi[i].L, &drepturi[i].l) == 0) { | ^~~~~~~~ | fscanf main.cpp:50:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<drept>::size_type' {aka 'unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < drepturi.size(); i++) { | ~~^~~~~~~~~~~~~~~~~