Borderou de evaluare (job #1734606)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 27 iulie 2016 19:27:32
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("barbar.in","r",stdin); ^ user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("barbar.out","w",stdout); ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&r,&c); ^ user.cpp:23:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccVJvaIm.o: In function `main': user.cpp:(.text.startup+0x9f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms412kbOk!10
20ms348kbOk!10
30ms412kbOk!10
40ms544kbOk!10
54ms1172kbOk!10
64ms1372kbOk!10
756ms3232kbOk!10
8140ms6160kbOk!10
9Depăşit13008kbTime limit exceeded.0
100ms1532kbWrong answer!0
Punctaj total80

Ceva nu functioneaza?