Borderou de evaluare (job #678140)

Utilizator avatar raresmihai Iordache Rares Mihai raresmihai IP ascuns
Problemă Căutare binară Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 26 nov. 2022 19:38:19 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:26:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf(fin, "%d", &n); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:29:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin, "%d", &v[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:31:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf(fin, "%d", &m); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:34:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf(fin, "%d%d", &c, &x); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 53 ms 258 kb OK 10
6 183 ms 405 kb OK 10
7 267 ms 675 kb OK 10
8 274 ms 671 kb OK 10
9 293 ms 536 kb OK 10
10 281 ms 540 kb OK 10
Punctaj total 100