Borderou de evaluare (job #794103)

Utilizator avatar avram.popa Avram-Popa avram.popa IP ascuns
Problemă Pacman (clasa a 8-a) Compilator cpp-32
Rundă pitic_se_intalneste_cu_pitic_pitic Status evaluat
Dată 10 nov. 2024 19:32:34 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin,"%d ",&n); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:21:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin,"%c ",&tip); | ~~~~~~^~~~~~~~~~~~~~~~ main.cpp:23:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fscanf(fin,"%d ",&v[i]); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:25:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin,"%d ",&nr[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:27:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin,"%d ",&mat[i][j]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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",&l); | ~~~~~~^~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 249 kb OK 10
6 9 ms 512 kb OK 10
7 19 ms 532 kb OK 10
8 29 ms 765 kb OK 10
9 219 ms 4960 kb OK 10
10 329 ms 4960 kb OK 10
Punctaj total 100