Borderou de evaluare (job #530910)

Utilizator avatar stef2003 Bud Stefan stef2003 IP ascuns
Problemă Bart (clasele 9-10) Compilator cpp | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2020 21:45:49 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.6/cstdio:44, from /usr/include/c++/4.6/ext/string_conversions.h:39, from /usr/include/c++/4.6/bits/basic_string.h:2756, from /usr/include/c++/4.6/string:54, from /usr/include/c++/4.6/bits/locale_classes.h:42, from /usr/include/c++/4.6/bits/ios_base.h:43, from /usr/include/c++/4.6/ios:43, from /usr/include/c++/4.6/ostream:40, from /usr/include/c++/4.6/iostream:40, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:14:24: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 380 kb OK 10
2 0 ms 384 kb OK 10
3 0 ms 424 kb OK 10
4 0 ms 500 kb OK 10
5 4 ms 624 kb OK 10
6 12 ms 720 kb OK 10
7 4 ms 864 kb OK 10
8 24 ms 1836 kb OK 10
9 72 ms 2316 kb OK 10
10 12 ms 2812 kb OK 10
Punctaj total 100