Pagini recente » Borderou de evaluare (job #259048) | Borderou de evaluare (job #2221470) | Borderou de evaluare (job #40314) | Borderou de evaluare (job #1227914) | Borderou de evaluare (job #1445477)
Borderou de evaluare (job #1445477)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int)’:
user.cpp:15:51: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
if (a[i + x][j + x] - a[i - 1][j - 1] <= w + b[i + x][j] - b[i - 1][j + x + 1] <= w)
^
user.cpp: In function ‘int main()’:
user.cpp:26:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.in", "r", stdin);
^
user.cpp:27:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.out", "w", stdout);
^
user.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld\n", &n, &w);
^
user.cpp:36:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccYktkiJ.o: In function `main':
user.cpp:(.text.startup+0xbd): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1264ms | 22256kb | Te-am blatuit! | 0 |
Punctaj total | 0 |