Borderou de evaluare (job #761989)

Utilizator avatar Andreea3425 Diaconu Andreea Andreea3425 IP ascuns
Problemă Alee (clasa a 10-a) Compilator c-32
Rundă Tema 20 clasa a 7-a Status evaluat
Dată 12 feb. 2024 19:53:43 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:36:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | fscanf(fin, "%d %d", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:38:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin, "%d %d", &lin, &col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:41:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | fscanf(fin, "%d %d %d %d", &l1, &c1, &l2, &c2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:83:5: /usr/include/bits/stdio2.h:79:10: warning: 'dist' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:34:39: note: 'dist' was declared here 34 | int n,m,l,c,i,lin,col,l1,c1,l2,c2,dist,lc,cc,ret; | ^~~~
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 249 kb Incorect 0
7 9 ms 249 kb OK 10
8 1 ms 245 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 60