Pagini recente » Borderou de evaluare (job #325256) | Borderou de evaluare (job #2562857) | Borderou de evaluare (job #2979886) | Borderou de evaluare (job #1829260) | Borderou de evaluare (job #2469065)
Borderou de evaluare (job #2469065)
Raport evaluator
Compilare:
main.cpp: In function 'void bfs(int)':
main.cpp:46:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<muchii[u].size(); i++)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void belford(int, int)':
main.cpp:66:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u].size(); i++)
~^~~~~~~~~~~~
main.cpp: In function 'bool dijkstra(int, int)':
main.cpp:88:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u.nod].size(); i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:147:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=u+1; i<=u+muchii[x].size(); i++){
~^~~~~~~~~~~~~~~~~~~~
main.cpp:118:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("atac2.in", "r", stdin);
^
main.cpp:119:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.out", "w", stdout);
^
main.cpp:121:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &u, &x);
^
main.cpp:123:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &oras[i]);
^
main.cpp:125:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x1, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 5 |
2 | 3ms | 393kb | OK | 5 |
3 | 3ms | 393kb | OK | 5 |
4 | 4ms | 393kb | OK | 5 |
5 | 4ms | 393kb | OK | 5 |
6 | 5ms | 393kb | OK | 5 |
7 | 5ms | 393kb | OK | 5 |
8 | 7ms | 524kb | OK | 5 |
9 | 7ms | 524kb | OK | 5 |
10 | 10ms | 524kb | OK | 5 |
11 | 54ms | 1376kb | OK | 5 |
12 | 99ms | 2084kb | OK | 5 |
13 | 3ms | 524kb | OK | 5 |
14 | 9ms | 524kb | OK | 5 |
15 | 22ms | 720kb | OK | 5 |
16 | 38ms | 876kb | OK | 5 |
17 | 80ms | 1368kb | OK | 5 |
18 | 96ms | 1400kb | OK | 5 |
19 | 130ms | 1675kb | OK | 5 |
20 | 248ms | 2244kb | OK | 5 |
Punctaj total | 100 |