Pagini recente » Borderou de evaluare (job #570130) | Borderou de evaluare (job #2907141) | Borderou de evaluare (job #603241) | Borderou de evaluare (job #1397611) | Borderou de evaluare (job #1623835)
Borderou de evaluare (job #1623835)
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 |
1 | 0ms | 456kb | OK | 100 |
Punctaj total | 100 |