Pagini recente » Borderou de evaluare (job #351090) | Borderou de evaluare (job #1742206) | Borderou de evaluare (job #2460734) | Borderou de evaluare (job #2039702) | Borderou de evaluare (job #2268123)
Borderou de evaluare (job #2268123)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = startIndex[gCost]; i < buckets[gCost].size(); ++i) {
~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:74:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (ni == di & nj == dj) {
~~~^~~~~
main.cpp:29:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in", "r", stdin);
^
main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
main.cpp:32:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d", &n, &m, &si, &sj, &di, &dj);
^
main.cpp:36:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Killed by Signal 11 | 0 |
2 | 2ms | 262kb | OK | 10 |
3 | 4ms | 393kb | Killed by Signal 11 | 0 |
4 | 4ms | 655kb | Killed by Signal 11 | 0 |
5 | 6ms | 655kb | Killed by Signal 11 | 0 |
6 | 27ms | 1835kb | Killed by Signal 11 | 0 |
7 | 64ms | 2228kb | Killed by Signal 11 | 0 |
8 | 143ms | 3145kb | Killed by Signal 11 | 0 |
9 | 240ms | 4325kb | Killed by Signal 11 | 0 |
10 | 249ms | 4325kb | Killed by Signal 11 | 0 |
Punctaj total | 10 |