Borderou de evaluare (job #1301529)

Utilizator george_stelianChichirim George george_stelian Data 26 decembrie 2014 01:27:51
Problema Prefix2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:38: 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:39:40: 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); ^ user.cpp:40:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(sir+1,100010,stdin); ^ 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:40:30: /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
10ms300kbOK10
20ms376kbOK10
316ms1272kbOK10
420ms1272kbOK10
520ms1280kbOK10
672ms3276kbOK10
7144ms5472kbOK10
8344ms10880kbOK10
9Depăşit10876kbTime limit exceeded.0
10Depăşit10876kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?