Pagini recente » Borderou de evaluare (job #1190479) | Borderou de evaluare (job #2724705) | Borderou de evaluare (job #1784326) | Borderou de evaluare (job #1486528) | Borderou de evaluare (job #2268119)
Borderou de evaluare (job #2268119)
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:71: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 | OK | 10 |
2 | 2ms | 262kb | OK | 10 |
3 | 4ms | 524kb | OK | 10 |
4 | 8ms | 917kb | OK | 10 |
5 | 7ms | 917kb | OK | 10 |
6 | 35ms | 2490kb | OK | 10 |
7 | 114ms | 6553kb | OK | 10 |
8 | 262ms | 13762kb | OK | 10 |
9 | 400ms | 19132kb | Time limit exceeded | 0 |
10 | 286ms | 9568kb | OK | 10 |
Punctaj total | 90 |