Pagini recente » Borderou de evaluare (job #1705493) | Borderou de evaluare (job #1265928) | Borderou de evaluare (job #2540816) | Borderou de evaluare (job #74282) | Borderou de evaluare (job #2268112)
Borderou de evaluare (job #2268112)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < buckets[gCost].size(); ++i) {
~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:69:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (ni == di & nj == dj) {
~~~^~~~~
main.cpp:28: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:29: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:31: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:35: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 | Incorect | 0 |
2 | 2ms | 262kb | Incorect | 0 |
3 | 4ms | 524kb | Incorect | 0 |
4 | 8ms | 917kb | Incorect | 0 |
5 | 7ms | 917kb | Incorect | 0 |
6 | 34ms | 2490kb | Incorect | 0 |
7 | 112ms | 6553kb | OK | 10 |
8 | 263ms | 13762kb | Incorect | 0 |
9 | 400ms | 20312kb | Time limit exceeded | 0 |
10 | 255ms | 9568kb | OK | 10 |
Punctaj total | 20 |