Borderou de evaluare (job #1299326)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 23 decembrie 2014 16:38:23
Problema Prefix2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:13:28: 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:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.in","r",stdin); ^ user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.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:13:28: /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
14ms240kbOK10
2Depăşit236kbTime limit exceeded.0
3Depăşit248kbTime limit exceeded.0
4Depăşit248kbTime limit exceeded.0
5Depăşit248kbTime limit exceeded.0
6Depăşit264kbTime limit exceeded.0
7Depăşit288kbTime limit exceeded.0
8Depăşit332kbTime limit exceeded.0
9Depăşit332kbTime limit exceeded.0
10Depăşit328kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?