Borderou de evaluare (job #734298)

Utilizator avatar 5ARaduPaunTrif Radu Paun Trif 5ARaduPaunTrif IP ascuns
Problemă Extraprime (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 sept. 2023 12:49:36 Scor 70

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | 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:48: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:6:21: note: 'max' was declared here 6 | int x, cnt = 0, max, mi = -1; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 518 ms 10203 kb OK 10
2 519 ms 10207 kb OK 10
3 509 ms 10203 kb OK 10
4 519 ms 10203 kb OK 10
5 519 ms 10211 kb OK 10
6 539 ms 10207 kb OK 10
7 827 ms 10207 kb OK 10
8 1109 ms 10211 kb Time limit exceeded 0
9 1108 ms 10211 kb Time limit exceeded 0
10 1109 ms 10211 kb Time limit exceeded 0
Punctaj total 70