Borderou de evaluare (job #742560)

Utilizator danalex97Dan H Alexandru danalex97 Data 30 aprilie 2012 16:49:04
Problema Binar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:58: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:64: 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 /usr/include/c++/4.4/fstream:43, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:64: /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/ccAL8DL7.o: In function `main': user.cpp:(.text+0x344): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms548kbOK10
24ms916kbOK10
3Depăşit1744kbTime limit exceeded.0
4Depăşit3400kbTime limit exceeded.0
5Depăşit4740kbTime limit exceeded.0
6Depăşit5416kbTime limit exceeded.0
7Depăşit5704kbTime limit exceeded.0
8Depăşit5952kbTime limit exceeded.0
9Depăşit6252kbTime limit exceeded.0
10Depăşit6252kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?