Pagini recente » Borderou de evaluare (job #3160691) | Borderou de evaluare (job #2623123) | Borderou de evaluare (job #1503394) | Borderou de evaluare (job #2367234) | Borderou de evaluare (job #1688373)
Borderou de evaluare (job #1688373)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:43:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod.first].size(); i++)
^
user.cpp:56:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<dist.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:64: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);
^
user.cpp:65: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);
^
user.cpp:67:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:74:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 904kb | OK | 10 |
2 | 0ms | 912kb | OK | 10 |
3 | 0ms | 936kb | OK | 10 |
4 | 0ms | 956kb | OK | 10 |
5 | 20ms | 1260kb | OK | 10 |
6 | 40ms | 1620kb | OK | 10 |
7 | 56ms | 1584kb | OK | 10 |
8 | 68ms | 1848kb | OK | 10 |
9 | 204ms | 3812kb | OK | 10 |
10 | 264ms | 4860kb | OK | 10 |
Punctaj total | 100 |