Borderou de evaluare (job #1303224)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 27 decembrie 2014 19:26:13
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:14:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(c+1,Nmax,stdin); ^ user.cpp: In function ‘int main()’: user.cpp:54:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in","r",stdin); ^ user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out","w",stdout); ^ 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 ‘void read()’ at user.cpp:14:26: /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
24ms448kbOK10
312ms556kbOK10
432ms7024kbKilled by signal 11(SIGSEGV).0
5Depăşit1632kbTime limit exceeded.0
6Depăşit1980kbTime limit exceeded.0
7Depăşit2408kbTime limit exceeded.0
8Depăşit3468kbTime limit exceeded.0
9Depăşit4096kbTime limit exceeded.0
10Depăşit4508kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?