Borderou de evaluare (job #1447019)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 3 iunie 2015 14:21:11
Problema Base3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("base3.in","r",stdin); ^ user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("base3.out","w",stdout); ^ user.cpp:54:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A[i] + 1); ^ 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* gets(char*)’, inlined from ‘int main()’ at user.cpp:54:23: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccxxBEAT.o: In function `main': user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms788kbOK5
20ms632kbOK5
30ms632kbOK5
40ms632kbIncorect0
50ms648kbIncorect0
60ms644kbOK5
720ms788kbIncorect0
8Depăşit2576kbTime limit exceeded.0
98ms748kbOK5
1012ms792kbIncorect0
1156ms1520kbIncorect0
1244ms892kbIncorect0
13Depăşit2592kbTime limit exceeded.0
1412ms788kbOK5
15Depăşit1788kbTime limit exceeded.0
16Depăşit1792kbTime limit exceeded.0
17Depăşit1708kbTime limit exceeded.0
18Depăşit2596kbTime limit exceeded.0
19Depăşit2596kbTime limit exceeded.0
2016ms788kbOK5
Punctaj total35

Ceva nu functioneaza?