Borderou de evaluare (job #754663)

Utilizator danalex97Dan H Alexandru danalex97 Data 2 iunie 2012 20:03:49
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:63: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:64: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:69: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int Cmp(int, int)’: user.cpp:22: warning: control reaches end of non-void function 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:69: /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/cc2rmj02.o: In function `main': user.cpp:(.text+0x416): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms468kbOK10
24ms700kbOK10
38ms1372kbIncorect0
424ms2560kbIncorect0
548ms3660kbIncorect0
6Depăşit4168kbTime limit exceeded.0
7Depăşit4392kbTime limit exceeded.0
8Depăşit4612kbTime limit exceeded.0
9Depăşit4820kbTime limit exceeded.0
10Depăşit4820kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?