Borderou de evaluare (job #1452673)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 21 iunie 2015 16:37:46
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:77:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:83:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( A ); len1 = strlen( A ); ^ user.cpp:84:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( B ); len2 = strlen( B ); ^ /tmp/ccno7Pj0.o: In function `main': user.cpp:(.text.startup+0x5f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms244kbOK10
30ms248kbOK10
40ms244kbIncorect0
54ms244kbOK10
60ms248kbIncorect0
70ms240kbOK10
80ms240kbIncorect0
90ms240kbIncorect0
100ms248kbOK10
Punctaj total60

Ceva nu functioneaza?