Borderou de evaluare (job #792598)

Utilizator avatar AndreiCiurea Andrei Ciurea AndreiCiurea IP ascuns
Problemă Bile 2 (clasa a 6-a) Compilator c-32
Rundă Tema 14 Clasa a 6-a Status evaluat
Dată 2 nov. 2024 19:13:12 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:33:29: warning: the comparison will always evaluate as 'false' for the address of 'b' will never be NULL [-Waddress] 33 | if(b[kb]!=c[kc] || b==0) | ^~ main.c:6:13: note: 'b' declared here 6 | int a[2002],b[2002],c[2002]; | ^ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin,"%d",&a[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:24:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin,"%d",&c[i]); | ^~~~~~~~~~~~~~~~~~~~~~
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 245 kb OK 10
6 1 ms 245 kb OK 10
7 2 ms 245 kb OK 10
8 2 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100