Pagini recente » Borderou de evaluare (job #2042279) | Borderou de evaluare (job #96986) | Borderou de evaluare (job #2300519) | Borderou de evaluare (job #1752401) | Borderou de evaluare (job #1774969)
Borderou de evaluare (job #1774969)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:81:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[u].size(); ++i){
^
user.cpp:58: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:59: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:62: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:66: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 | 432kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 500kb | OK | 10 |
5 | 24ms | 784kb | OK | 10 |
6 | 48ms | 1392kb | OK | 10 |
7 | 64ms | 1576kb | OK | 10 |
8 | 76ms | 2104kb | OK | 10 |
9 | 236ms | 4052kb | OK | 10 |
10 | 300ms | 5156kb | OK | 10 |
Punctaj total | 100 |