Borderou de evaluare (job #734315)

Utilizator avatar 5ARaduPaunTrif Radu Paun Trif 5ARaduPaunTrif IP ascuns
Problemă Extraprime (clasa a 5-a) Compilator c-32
Rundă Tema 3 clasa a 6-a Status evaluat
Dată 30 sept. 2023 13:21:03 Scor 70

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d %d", &a, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:49:5: /usr/include/bits/stdio2.h:79:10: warning: 'max' 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:7:21: note: 'max' was declared here 7 | int x, cnt = 0, max, mi = -1; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 509 ms 10207 kb OK 10
2 499 ms 10207 kb OK 10
3 509 ms 10207 kb OK 10
4 509 ms 10207 kb OK 10
5 518 ms 10342 kb OK 10
6 528 ms 10211 kb OK 10
7 817 ms 10211 kb OK 10
8 1109 ms 10207 kb Time limit exceeded 0
9 1107 ms 10211 kb Time limit exceeded 0
10 1108 ms 10211 kb Time limit exceeded 0
Punctaj total 70