Borderou de evaluare (job #663102)

Utilizator avatar mexeea Medeea Mincu mexeea IP ascuns
Problemă Treasure Hunt Compilator c-32
Rundă Tema 1 clasa a 7-a Status evaluat
Dată 20 sept. 2022 23:32:44 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:19:32: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=] 19 | fscanf(fin, "%ld", &harta[i][j]); | ~~^ ~~~~~~~~~~~~ | | | | | int * | long int * | %d main.c:26:32: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=] 26 | fscanf(fin, "%ld", &frag[i1][j1]); | ~~^ ~~~~~~~~~~~~~ | | | | | int * | long int * | %d main.c:76:32: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=] 76 | fscanf(fin, "%ld", &harta[i][j]); | ~~^ ~~~~~~~~~~~~ | | | | | int * | long int * | %d main.c:145:32: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=] 145 | fscanf(fin, "%ld", &harta[i][j]); | ~~^ ~~~~~~~~~~~~ | | | | | int * | long int * | %d main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d", &cer); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d%d%d%d", &n, &m, &n1, &m1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%ld", &harta[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf(fin, "%ld", &frag[i1][j1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:71:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fscanf(fin, "%d%d%d", &n, &m, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:76:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fscanf(fin, "%ld", &harta[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:140:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | fscanf(fin, "%d%d%d", &n, &m, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 380 kb OK 10
2 1 ms 372 kb OK 10
3 1 ms 241 kb OK 10
4 1 ms 245 kb OK 10
5 506 ms 3653 kb Killed by Signal 11 0
6 421 ms 4177 kb OK 10
7 12 ms 552 kb OK 10
8 519 ms 3657 kb Killed by Signal 11 0
9 232 ms 2650 kb OK 10
10 855 ms 4198 kb OK 10
Punctaj total 80