Borderou de evaluare (job #1452669)

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

Raport evaluator

Compilare: user.cpp: In function ‘bool check(int)’: user.cpp:62:12: warning: unused variable ‘Q’ [-Wunused-variable] int i, Q = 0; ^ user.cpp: In function ‘int main()’: user.cpp:79:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:85:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( A ); len1 = strlen( A ); ^ user.cpp:86:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( B ); len2 = strlen( B ); ^ /tmp/ccZOKzyL.o: In function `main': user.cpp:(.text.startup+0xf3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbOK10
30ms252kbOK10
40ms248kbIncorect0
54ms252kbOK10
60ms244kbIncorect0
70ms252kbOK10
80ms248kbIncorect0
90ms248kbIncorect0
100ms248kbOK10
Punctaj total60

Ceva nu functioneaza?