Borderou de evaluare (job #1304671)

Utilizator heracleRadu Muntean heracle Data 29 decembrie 2014 01:18:12
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%ld",rez); ^ user.cpp:21:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(h+1,Q,in); ^ 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:21:20: /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
10ms348kbOK10
20ms448kbOK10
30ms568kbOK10
440ms10976kbIncorect0
58ms2388kbIncorect0
616ms4540kbIncorect0
720ms5620kbIncorect0
832ms8304kbIncorect0
936ms9904kbIncorect0
1040ms10972kbIncorect0
Punctaj total30

Ceva nu functioneaza?