Borderou de evaluare (job #1803145)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 11 noiembrie 2016 00:21:09
Problema Tort3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tort3.in","r",stdin); ^ user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tort3.out","w",stdout); ^ user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:22:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v[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:22:21: /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/ccDUlqYv.o: In function `main': user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK5
20ms288kbOK5
30ms308kbOK5
40ms312kbOK5
50ms296kbOK5
60ms312kbOK5
7Depăşit504kbTime limit exceeded.0
8276ms2696kbOK5
9Depăşit496kbTime limit exceeded.0
10240ms2132kbOK5
11240ms2676kbOK5
12304ms1348kbOK5
13320ms1988kbOK5
14Depăşit2296kbTime limit exceeded.0
15308ms3160kbOK5
16188ms2164kbOK5
17412ms2340kbOK5
18Depăşit468kbTime limit exceeded.0
19216ms2480kbOK5
20Depăşit504kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?