Pagini recente » Borderou de evaluare (job #2515531) | Borderou de evaluare (job #1473276) | Borderou de evaluare (job #1629868) | Borderou de evaluare (job #392922) | Borderou de evaluare (job #1774965)
Borderou de evaluare (job #1774965)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra()’:
user.cpp:138:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<G[v].size(); ++i){
^
user.cpp: In function ‘int main()’:
user.cpp:192:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[u].size(); ++i){
^
user.cpp:168:37: 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:170:39: 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:172:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:176:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &from, &to, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 416kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 476kb | OK | 10 |
5 | 24ms | 784kb | OK | 10 |
6 | 44ms | 1376kb | OK | 10 |
7 | 72ms | 1576kb | OK | 10 |
8 | 80ms | 2104kb | OK | 10 |
9 | 236ms | 4040kb | OK | 10 |
10 | 312ms | 5148kb | OK | 10 |
Punctaj total | 100 |