Borderou de evaluare (job #1393247)

Utilizator ConstantinPetroviciPetrovici Constantin ConstantinPetrovici Data 19 martie 2015 11:14:12
Problema TwoSets Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:73:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘const char*’ [-Wformat=] if ( hashin [ nr2 ] == hashin [ nr10 ] ) printf ("%d\n" , "0" ) ; ^ user.cpp:75:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘const char*’ [-Wformat=] printf ("%d\n" , "1" ) ; ^ user.cpp:17:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("twosets.in" , "r" , stdin ) ; ^ user.cpp:18:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("twosets.out" , "w" , stdout ) ; ^ user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &t ) ; ^ user.cpp:23:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( s ) ; ^ user.cpp:50:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( s1 ) ; ^ /tmp/cciIJCVq.o: In function `main': user.cpp:(.text.startup+0x94): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms496kbIncorect00
28ms836kbIncorect00
3112ms4452kbIncorect00
4112ms4456kbIncorect00
5300ms10244kbIncorect00
6256ms10420kbIncorect0
7292ms13248kbIncorect00
8272ms10284kbIncorect0
9272ms10336kbIncorect00
10344ms13732kbIncorect0
Punctaj total0

Ceva nu functioneaza?