Borderou de evaluare (job #1623835)

Utilizator akaprosAna Kapros akapros Data 1 martie 2016 22:03:11
Problema Palindroame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:110: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:111: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:112: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:37:28: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] if ((d == 0 && !p[x]) || (d == 1 && !p[y])) ^ /tmp/cczfcDJu.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
10ms456kbOK100
Punctaj total100

Ceva nu functioneaza?