Borderou de evaluare (job #758296)

Utilizator cont_de_testeCont Teste cont_de_teste Data 15 iunie 2012 08:28:31
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:15: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void solve()’: user.cpp:38: warning: unused variable ‘i’ user.cpp:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:43: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:79: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result /tmp/cc9Z5Gpv.o: In function `solve()': user.cpp:(.text+0x50): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
160ms688kbOK10
216ms376kbOK10
336ms460kbOK10
4100ms456kbOK10
564ms648kbOK10
688ms868kbOK10
7120ms1084kbOK10
8208ms1100kbOK10
9204ms1100kbOK10
10256ms1100kbOK10
Punctaj total100

Ceva nu functioneaza?