Borderou de evaluare (job #790906)

Utilizator visanrVisan Radu visanr Data 22 septembrie 2012 16:53:22
Problema Pentagrame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:83: warning: comparison between signed and unsigned integer expressions user.cpp:23: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:29: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:34: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:29: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:34: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccSQwrj7.o: In function `main': user.cpp:(.text+0x112): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms248kbOK5
24ms248kbOK5
34ms252kbOK5
44ms252kbOK5
54ms252kbOK5
6544ms312kbOK5
74ms252kbOK5
8756ms520kbOK5
9Depăşit356kbTime limit exceeded.0
10Depăşit300kbTime limit exceeded.0
11Depăşit2032kbTime limit exceeded.0
12Depăşit1184kbTime limit exceeded.0
13Depăşit748kbTime limit exceeded.0
14Depăşit1624kbTime limit exceeded.0
15Depăşit2380kbTime limit exceeded.0
16Depăşit1816kbTime limit exceeded.0
17Depăşit1800kbTime limit exceeded.0
18Depăşit1592kbTime limit exceeded.0
19Depăşit2212kbTime limit exceeded.0
20Depăşit2368kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?