Pagini recente » Borderou de evaluare (job #2957782) | Borderou de evaluare (job #2415583) | Borderou de evaluare (job #14986) | Borderou de evaluare (job #1422328) | Borderou de evaluare (job #1862538)
Borderou de evaluare (job #1862538)
Raport evaluator
Compilare:
user.cpp: In function ‘int Dijkstra(int)’:
user.cpp:25:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < adj[node].size(); i++){
^
user.cpp:23:17: warning: unused variable ‘lng’ [-Wunused-variable]
int lng = heap.top().first;
^
user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:36:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
user.cpp:37:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
user.cpp:38:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:42:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &price);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1216kb | OK | 10 |
2 | 0ms | 1208kb | Incorect | 0 |
3 | 0ms | 1240kb | Incorect | 0 |
4 | 4ms | 1252kb | Incorect | 0 |
5 | 20ms | 1524kb | Incorect | 0 |
6 | 40ms | 1848kb | Incorect | 0 |
7 | 56ms | 1940kb | Incorect | 0 |
8 | Depăşit | 3024kb | Time limit exceeded. | 0 |
9 | 96ms | 2108kb | OK | 10 |
10 | 276ms | 4956kb | Incorect | 0 |
Punctaj total | 20 |