Borderou de evaluare (job #753100)

Utilizator avatar maria.bertolon Nerdvana 7 Maria Bertolon maria.bertolon IP ascuns
Problemă Unific (clasa a 7-a) Compilator c-32
Rundă Tema 14 clasa a 7-a Status evaluat
Dată 28 dec. 2023 20:22:21 Scor 91

Raport evaluator

Compilare: main.c: In function 'main': main.c:99:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:103:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fscanf( fin, "%lld", &e ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:149:3: /usr/include/bits/stdio2.h:79:10: warning: 'cifmax' 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:95:28: note: 'cifmax' was declared here 95 | int n, i, nrs, nrcifmax, cifmax; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 249 kb a) corect b) incorect 1
3 1 ms 249 kb OK 10
4 19 ms 249 kb OK 10
5 179 ms 245 kb OK 10
6 389 ms 499 kb OK 10
7 269 ms 249 kb OK 10
8 369 ms 249 kb OK 10
9 367 ms 249 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 91