Borderou de evaluare (job #881235)

Utilizator elfusFlorin Chirica elfus Data 17 februarie 2013 20:21:57
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:13: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, 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 ‘int main()’ at user.cpp:18: /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/cc3UUGxW.o: In function `main': user.cpp:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms296kbOK5
24ms364kbOK5
34ms1336kbOK5
44ms2216kbOK5
520ms10948kbOK5
68ms2536kbOK5
7112ms42952kbOK5
8128ms42220kbOK5
9Depăşit58580kbTime limit exceeded.0
10Depăşit59136kbTime limit exceeded.0
11Depăşit59140kbTime limit exceeded.0
12844ms47276kbOK5
13880ms50380kbOK5
14984ms53332kbOK5
15272ms16116kbOK5
16828ms19932kbOK5
17712ms34792kbOK5
18832ms59868kbOK5
19Depăşit59184kbTime limit exceeded.0
20836ms59428kbOK5
Punctaj total80

Ceva nu functioneaza?