Pagini recente » Borderou de evaluare (job #607329) | Borderou de evaluare (job #243412) | Borderou de evaluare (job #2433904) | Borderou de evaluare (job #888257) | Borderou de evaluare (job #2271120)
Borderou de evaluare (job #2271120)
Raport evaluator
Compilare:
main.cpp: In function 'void Dijkstra()':
main.cpp:36:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=N; ++i)MinD[i]=Inf;
~^~~
main.cpp:44:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=A[a][0].Node; ++i){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:27:39: 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);
^
main.cpp:28:41: 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);
^
main.cpp: In function 'void Read()':
main.cpp:61:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
main.cpp:68:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 5ms | 262kb | OK | 10 |
5 | 28ms | 786kb | OK | 10 |
6 | 54ms | 1310kb | OK | 10 |
7 | 74ms | 1966kb | OK | 10 |
8 | 169ms | 3485kb | OK | 10 |
9 | 117ms | 2883kb | OK | 10 |
10 | 310ms | 4718kb | OK | 10 |
Punctaj total | 100 |