Borderou de evaluare (job #1447061)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 3 iunie 2015 15:29:19
Problema Base3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:58: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:59: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:63: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:63: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/cc4MCUjd.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
116ms904kbOK5
20ms636kbOK5
30ms640kbOK5
40ms636kbOK5
50ms640kbOK5
60ms652kbOK5
70ms668kbOK5
80ms708kbOK5
90ms664kbOK5
104ms732kbOK5
114ms668kbOK5
120ms768kbOK5
1312ms792kbOK5
148ms728kbOK5
1524ms784kbOK5
1620ms792kbOK5
1720ms800kbOK5
1820ms784kbOK5
1928ms792kbOK5
208ms724kbOK5
Punctaj total100

Ceva nu functioneaza?