Borderou de evaluare (job #739333)

Utilizator ursu-valiJerdea Florin ursu-vali Data 22 aprilie 2012 19:06:14
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void solve()’: user.cpp:34: warning: comparison between signed and unsigned integer expressions user.cpp:62: warning: comparison between signed and unsigned integer expressions user.cpp:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:80: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:81: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:23: /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/ccEKQ5Xe.o: In function `read()': user.cpp:(.text+0x2ba): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x293): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms656kbOK5
24ms680kbOK5
34ms480kbOK5
44ms624kbOK5
54ms740kbOK5
64ms788kbOK5
7272ms1056kbIncorect0
8476ms1060kbIncorect0
9Depăşit1156kbTime limit exceeded.0
10Depăşit1152kbTime limit exceeded.0
11Depăşit1164kbTime limit exceeded.0
12Depăşit1100kbTime limit exceeded.0
13Depăşit1128kbTime limit exceeded.0
14Depăşit1160kbTime limit exceeded.0
15Depăşit1016kbTime limit exceeded.0
16Depăşit1136kbTime limit exceeded.0
17Depăşit1140kbTime limit exceeded.0
18Depăşit1132kbTime limit exceeded.0
19Depăşit1152kbTime limit exceeded.0
20Depăşit1144kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?