Borderou de evaluare (job #288057)

Utilizator avatar ivan.tudor Ivan Tudor ivan.tudor IP ascuns
Problemă Debarcare (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 mar. 2017 10:36:33 Scor 90

Raport evaluator

Compilare: user.cpp: In function 'int main()': user.cpp:37:29: 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:37:29: /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 384 kb OK 10
2 0 ms 388 kb OK 10
3 0 ms 376 kb OK 10
4 0 ms 392 kb OK 10
5 0 ms 388 kb OK 10
6 0 ms 384 kb OK 10
7 0 ms 380 kb OK 10
8 0 ms 388 kb OK 10
9 0 ms 384 kb OK 10
10 0 ms 384 kb Incorect 0
Punctaj total 90