Borderou de evaluare (job #1978233)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 7 mai 2017 10:43:35
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(A+1,1000005,f);N=strlen(A+1);N=N-(A[N]=='\n'); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:14:25: /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
10ms340kbOK10
20ms452kbOK10
30ms556kbOK10
444ms10964kbOK10
58ms2388kbOK10
616ms4532kbOK10
724ms5608kbOK10
836ms8296kbOK10
940ms9904kbOK10
1048ms10960kbOK10
Punctaj total100

Ceva nu functioneaza?