Pagini recente » Borderou de evaluare (job #1080460) | Borderou de evaluare (job #998322) | Borderou de evaluare (job #993327) | Borderou de evaluare (job #1394662) | Borderou de evaluare (job #2632957)
Borderou de evaluare (job #2632957)
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 | Corect! | 5 |
3 | 5ms | 655kb | Corect! | 5 |
4 | 11ms | 1179kb | Corect! | 5 |
5 | 17ms | 1572kb | Corect! | 5 |
6 | 26ms | 2093kb | Corect! | 5 |
7 | 40ms | 2486kb | Corect! | 5 |
8 | 60ms | 3268kb | Corect! | 5 |
9 | 92ms | 3792kb | Corect! | 5 |
10 | 91ms | 4575kb | Corect! | 5 |
11 | 178ms | 5885kb | Corect! | 5 |
12 | 178ms | 5885kb | Corect! | 5 |
13 | 221ms | 6930kb | Corect! | 5 |
14 | 301ms | 7585kb | Corect! | 5 |
15 | 413ms | 8634kb | Corect! | 5 |
16 | 425ms | 9027kb | Corect! | 5 |
17 | 523ms | 10072kb | Corect! | 5 |
18 | 492ms | 10596kb | Corect! | 5 |
19 | 546ms | 10596kb | Corect! | 5 |
20 | 489ms | 10596kb | Corect! | 5 |
Punctaj total | 100 |