Borderou de evaluare (job #1672466)

Utilizator xtreme77Patrick Sava xtreme77 Data 2 aprilie 2016 19:22:09
Problema Diez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 56

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:157:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( IN , "r" , stdin ) ; ^ user.cpp:158:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( OUT , "w" , stdout ) ; ^ user.cpp:160:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d %d\n" , &n , &m ) ; ^ user.cpp:161:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets ( sir ) ; ^ user.cpp:173:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d", &tip ) ; ^ user.cpp:177:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d %c\n" , &pos , &c ) ; ^ user.cpp:187:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d %d %d\n" , &a , &b , &len ) ; ^ user.cpp: In function ‘long long unsigned int hasher(int, int)’: user.cpp:115:9: warning: ‘bloc’ may be used uninitialized in this function [-Wmaybe-uninitialized] int bloc ; ^ user.cpp: In function ‘int main()’: user.cpp:88:9: warning: ‘bloc’ may be used uninitialized in this function [-Wmaybe-uninitialized] int bloc ; ^ /tmp/ccSagSyz.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms332kbOK4
20ms436kbIncorect0
360ms940kbIncorect0
4628ms2668kbIncorect0
51560ms4984kbOK4
62280ms6460kbOK4
71624ms5772kbOK4
8Depăşit9564kbTime limit exceeded.0
92216ms5960kbOK4
102328ms6456kbOK4
112188ms5920kbOK4
122240ms6512kbOK4
132196ms5996kbOK4
142152ms5788kbOK4
152228ms6600kbOK4
162184ms5956kbOK4
17Depăşit9808kbTime limit exceeded.0
18Depăşit11584kbTime limit exceeded.0
19Depăşit12288kbTime limit exceeded.0
20Depăşit10704kbTime limit exceeded.0
21Depăşit11192kbTime limit exceeded.0
22Depăşit10976kbTime limit exceeded.0
231524ms5036kbOK4
242952ms6484kbOK4
25Depăşit9468kbTime limit exceeded.0
Punctaj total56

Ceva nu functioneaza?