Borderou de evaluare (job #752782)

Utilizator geniucosOncescu Costin geniucos Data 29 mai 2012 15:46:29
Problema Parcare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:172: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:173: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:174: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:176: 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 user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:176: /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/ccuOzYVQ.o: In function `main': user.cpp:(.text+0xb7e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOk10
20ms252kbOk10
30ms252kbEroare de prezentare0
40ms248kbMasina A nu poate iesi din parcare0
50ms252kbEroare de prezentare0
64ms248kbEroare de prezentare0
7100ms248kbEroare de prezentare0
84ms248kbEroare de prezentare0
940ms252kbEroare de prezentare0
1032ms248kbEroare de prezentare0
Punctaj total20

Ceva nu functioneaza?