Borderou de evaluare (job #774529)

Utilizator geniucosOncescu Costin geniucos Data 5 august 2012 16:45:05
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:9: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:13: 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:13: /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/ccbeP0dg.o: In function `main': user.cpp:(.text+0x85): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms284kbOK!10
24ms288kbOK!10
34ms316kbOK!10
44ms320kbOK!10
54ms632kbOK!10
68ms632kbOK!10
756ms2620kbOK!10
8164ms11176kbOK!10
968ms3092kbOK!10
10300ms21456kbOK!10
Punctaj total100

Ceva nu functioneaza?