Borderou de evaluare (job #880430)

Utilizator alexclpAlexandru Clapa alexclp Data 16 februarie 2013 19:12:49
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:96: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:97: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:99: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:102: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void cautaDrumMinim()’: user.cpp:77: warning: ‘pozitieIntalnire.Pozitie::y’ may be used uninitialized in this function user.cpp:77: warning: ‘pozitieIntalnire.Pozitie::x’ may be used uninitialized in this function user.cpp: In function ‘void lee(int (*)[106], char)’: user.cpp:36: warning: ‘start.Pozitie::y’ may be used uninitialized in this function user.cpp:36: warning: ‘start.Pozitie::x’ may be used uninitialized in this function 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:102: /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/cczkBGSn.o: In function `main': user.cpp:(.text+0x69f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1050
24ms284kbOK10
34ms280kbOK10
44ms316kbOK10
54ms332kbOK10
64ms296kbOK1050
74ms296kbOK10
84ms312kbOK10
90ms252kbOK10
104ms276kbOK10
Punctaj total100

Ceva nu functioneaza?