Borderou de evaluare (job #799211)

Utilizator avatar CodinAlexandru Codin Alexandru CodinAlexandru IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator c-32
Rundă Tema 17 Clasa a 5-a Status evaluat
Dată 8 dec. 2024 11:30:44 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:6:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6 | fscanf( fin, "%d%d%d", &n, &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:9:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin, "%d%d%d", &a, &b, &c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:18:2: /usr/include/bits/stdio2.h:111:10: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:4:31: note: 'j' was declared here 4 | int n,x,y,a,b,c,i,d,e,j; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 249 kb OK 10
3 169 ms 249 kb OK 10
4 169 ms 270 kb OK 10
5 389 ms 249 kb OK 10
6 499 ms 249 kb OK 10
7 569 ms 249 kb OK 10
8 599 ms 249 kb OK 10
9 749 ms 270 kb OK 10
10 909 ms 245 kb OK 10
Punctaj total 100