Pagini recente » Borderou de evaluare (job #290585) | Borderou de evaluare (job #1491829) | Borderou de evaluare (job #2373875) | Borderou de evaluare (job #835165) | Borderou de evaluare (job #2268135)
Borderou de evaluare (job #2268135)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%d", &a[i][j]);
^
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: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 | 131kb | OK | 10 |
2 | 2ms | 262kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 7ms | 655kb | OK | 10 |
5 | 7ms | 524kb | OK | 10 |
6 | 32ms | 1572kb | OK | 10 |
7 | 107ms | 4980kb | OK | 10 |
8 | 233ms | 11534kb | OK | 10 |
9 | 400ms | 18214kb | Time limit exceeded | 0 |
10 | 244ms | 6422kb | OK | 10 |
Punctaj total | 90 |