Borderou de evaluare (job #1623744)

Utilizator akaprosAna Kapros akapros Data 1 martie 2016 21:24:10
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:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("palindroame.in", "r", stdin); ^ user.cpp:93:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("palindroame.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/ccMptrKq.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
10ms376kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?