Pagini recente » Borderou de evaluare (job #1661988) | Borderou de evaluare (job #563284) | Borderou de evaluare (job #2884678) | Borderou de evaluare (job #104281) | Borderou de evaluare (job #1862545)
Borderou de evaluare (job #1862545)
Raport evaluator
Compilare:
user.cpp: In function ‘int Dijkstra(int)’:
user.cpp:29:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < adj[node].size(); i++){
^
user.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:40: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:41: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:42: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:46: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 | 1208kb | OK | 10 |
2 | 0ms | 1212kb | OK | 10 |
3 | 0ms | 1232kb | OK | 10 |
4 | 4ms | 1244kb | OK | 10 |
5 | 20ms | 1520kb | OK | 10 |
6 | 44ms | 1852kb | OK | 10 |
7 | 56ms | 1940kb | OK | 10 |
8 | 140ms | 2812kb | OK | 10 |
9 | 92ms | 2108kb | OK | 10 |
10 | 268ms | 4948kb | OK | 10 |
Punctaj total | 100 |