Borderou de evaluare (job #693861)

Utilizator avatar mihaipriboi Mihai Luca Priboi mihaipriboi IP ascuns
Problemă Subunic (clasele 11 și 12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 7 feb. 2023 23:27:58 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:26:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fgets(s, MAX_N + 2, fin); | ~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:83:12: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized] 83 | int max, index; | ^~~~~ In file included from /usr/include/stdio.h:906, from main.cpp:3: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:26:8: /usr/include/bits/stdio2.h:215:29: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 2 ms 245 kb Incorect 0
4 1 ms 249 kb Incorect 0
5 57 ms 380 kb OK 10
6 85 ms 638 kb OK 10
7 199 ms 1163 kb OK 10
8 155 ms 2211 kb Incorect 0
9 1 ms 245 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 30