Borderou de evaluare (job #1869076)

Utilizator akaprosAna Kapros akapros Data 5 februarie 2017 16:11:09
Problema Dist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 54

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:25:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(P1 + 1, maxN, stdin); ^ user.cpp:26:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s + 1, maxN, stdin); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:25:31: /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] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:26:30: /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] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbNumar mutari gresit6
20ms556kbNumar mutari gresit6
30ms600kbNumar mutari gresit6
44ms680kbNumar mutari gresit6
54ms848kbDistanta minima gresit0
612ms836kbNumar mutari gresit6
720ms844kbNumar mutari gresit6
812ms648kbNumar mutari gresit6
98ms636kbNumar mutari gresit6
100ms436kbNumar mutari gresit6
Punctaj total54

Ceva nu functioneaza?