Borderou de evaluare (job #707842)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Mare1 (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 mar. 2023 12:10:17 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:28:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:31:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:78:16: warning: 'compara_nr' accessing 4040 bytes in a region of size 3604 [-Wstringop-overflow=] 78 | if(compara_nr(nr, sol)==1) { | ^~~~~~~~~~~~~~~~~~~ main.c:78:16: note: referencing argument 1 of type 'int *' main.c:78:16: warning: 'compara_nr' accessing 4040 bytes in a region of size 3604 [-Wstringop-overflow=] main.c:78:16: note: referencing argument 2 of type 'int *' main.c:7:5: note: in a call to function 'compara_nr' 7 | int compara_nr(NrMare x, NrMare y) { | ^~~~~~~~~~ main.c:127:14: warning: 'compara_nr' accessing 4040 bytes in a region of size 3604 [-Wstringop-overflow=] 127 | if(compara_nr(nr, sol)==1) { | ^~~~~~~~~~~~~~~~~~~ main.c:127:14: note: referencing argument 1 of type 'int *' main.c:127:14: warning: 'compara_nr' accessing 4040 bytes in a region of size 3604 [-Wstringop-overflow=] main.c:127:14: note: referencing argument 2 of type 'int *' main.c:7:5: note: in a call to function 'compara_nr' 7 | int compara_nr(NrMare x, NrMare y) { | ^~~~~~~~~~
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 3 ms 245 kb OK 10
6 1 ms 241 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100