Borderou de evaluare (job #739334)

Utilizator ursu-valiJerdea Florin ursu-vali Data 22 aprilie 2012 19:07:28
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/ccLEaZNO.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
14ms652kbOK5
24ms676kbOK5
34ms476kbOK5
44ms616kbOK5
54ms744kbOK5
64ms784kbOK5
7276ms1056kbIncorect0
8476ms1064kbIncorect0
9Depăşit1148kbTime limit exceeded.0
10Depăşit1144kbTime limit exceeded.0
11Depăşit1160kbTime limit exceeded.0
12Depăşit1100kbTime limit exceeded.0
13Depăşit1120kbTime limit exceeded.0
14Depăşit1156kbTime limit exceeded.0
15Depăşit1008kbTime limit exceeded.0
16Depăşit1136kbTime limit exceeded.0
17Depăşit1132kbTime limit exceeded.0
18Depăşit1132kbTime limit exceeded.0
19Depăşit1144kbTime limit exceeded.0
20Depăşit1132kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?