Borderou de evaluare (job #1442682)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 26 mai 2015 00:50:13
Problema Potrivire Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:20:49: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] int d = 0, k = 0, i, len = strlen(pointer), val; ^ user.cpp: In function ‘int main()’: user.cpp:56:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &n, &m); ^ user.cpp:57:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A); gets(B); ^ user.cpp:57:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A); gets(B); ^ /tmp/ccw0vphL.o: In function `main': user.cpp:(.text.startup+0x35): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1010
20ms272kbOK1010
30ms276kbOK1010
40ms272kbOK1010
50ms276kbOK100
60ms284kbOK10
70ms276kbOK10
80ms280kbOK10
90ms264kbIncorect0
100ms280kbOK10
Punctaj total40

Ceva nu functioneaza?