Borderou de evaluare (job #790893)

Utilizator visanrVisan Radu visanr Data 22 septembrie 2012 16:35:42
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:82: 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/ccgvgcZA.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
34ms248kbOK5
44ms248kbOK5
54ms252kbOK5
6652ms308kbOK5
74ms248kbOK5
8904ms520kbOK5
9Depăşit360kbTime limit exceeded.0
10Depăşit300kbTime limit exceeded.0
11Depăşit2032kbTime limit exceeded.0
12Depăşit1188kbTime limit exceeded.0
13Depăşit740kbTime limit exceeded.0
14Depăşit1616kbTime limit exceeded.0
15Depăşit2388kbTime limit exceeded.0
16Depăşit1820kbTime limit exceeded.0
17Depăşit1808kbTime limit exceeded.0
18Depăşit1596kbTime limit exceeded.0
19Depăşit2208kbTime limit exceeded.0
20Depăşit2364kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?