Borderou de evaluare (job #1623797)

Utilizator akaprosAna Kapros akapros Data 1 martie 2016 21:44:52
Problema Palindroame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:11:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp: In function ‘int main()’: user.cpp:92:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("palind.in", "r", stdin); ^ user.cpp:93:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("palind.out", "w", stdout); ^ user.cpp:94:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp: In function ‘void det_sol()’: user.cpp:38:49: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] if ((d == 0 && !p[x]) || (d == 1 && !p[y])) ^ user.cpp:38:28: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] if ((d == 0 && !p[x]) || (d == 1 && !p[y])) ^ /tmp/ccYNX6oH.o: In function `read()': user.cpp:(.text+0x13): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbIncorect0
Punctaj total0

Ceva nu functioneaza?