Pagini recente » Borderou de evaluare (job #2025367) | Borderou de evaluare (job #1464314) | Borderou de evaluare (job #1519579) | Borderou de evaluare (job #305427) | Borderou de evaluare (job #2632955)
Borderou de evaluare (job #2632955)
Raport evaluator
Compilare:
main.cpp: In function 'void bellmanford()':
main.cpp:45:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int dijkstra()':
main.cpp:76:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:179:17: warning: variable 'k' set but not used [-Wunused-but-set-variable]
int i , j , k , poz , u , v;
^
main.cpp:177:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost.in" , "r" , stdin);
^
main.cpp:178:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost.out" , "w" , stdout);
^
main.cpp:181:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:184:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf" , &x , &y);
^
main.cpp: In function 'int bs()':
main.cpp:173:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Corect! | 5 |
2 | 3ms | 393kb | Raspuns gresit! | 0 |
3 | 5ms | 655kb | Raspuns gresit! | 0 |
4 | 12ms | 1179kb | Corect! | 5 |
5 | 19ms | 1572kb | Raspuns gresit! | 0 |
6 | 29ms | 2093kb | Corect! | 5 |
7 | 46ms | 2486kb | Raspuns gresit! | 0 |
8 | 66ms | 3268kb | Corect! | 5 |
9 | 110ms | 3923kb | Raspuns gresit! | 0 |
10 | 125ms | 4575kb | Raspuns gresit! | 0 |
11 | 208ms | 6017kb | Raspuns gresit! | 0 |
12 | 201ms | 6017kb | Raspuns gresit! | 0 |
13 | 277ms | 7061kb | Corect! | 5 |
14 | 385ms | 7716kb | Raspuns gresit! | 0 |
15 | 514ms | 8765kb | Corect! | 5 |
16 | 504ms | 9158kb | Raspuns gresit! | 0 |
17 | 629ms | 10203kb | Raspuns gresit! | 0 |
18 | 594ms | 10727kb | Corect! | 5 |
19 | 650ms | 10727kb | Time limit exceeded | 0 |
20 | 575ms | 10727kb | Corect! | 5 |
Punctaj total | 40 |