Borderou de evaluare (job #2005521)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 27 iulie 2017 13:04:26
Problema Slide Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:149:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("slide.in", "r", stdin); ^ user.cpp:150:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("slide.out", "w", stdout); ^ user.cpp:152:36: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (str + 1, 1000010, 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:152:36: /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
10ms292kbOK10
20ms304kbOK10
30ms308kbOK10
4Depăşit9784kbTime limit exceeded.0
5Depăşit10536kbTime limit exceeded.0
6Depăşit18576kbTime limit exceeded.0
7Depăşit9032kbTime limit exceeded.0
8Depăşit13340kbTime limit exceeded.0
9Depăşit16044kbTime limit exceeded.0
10Depăşit20376kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?