Borderou de evaluare (job #1303232)

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

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:15: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:56: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:57: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:15: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
10ms340kbOK10
24ms448kbOK10
312ms560kbOK10
440ms10960kbOK10
5Depăşit1632kbTime limit exceeded.0
6Depăşit1980kbTime limit exceeded.0
7Depăşit2412kbTime limit exceeded.0
8Depăşit3464kbTime limit exceeded.0
9Depăşit4092kbTime limit exceeded.0
10Depăşit4512kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?