Pagini recente » Borderou de evaluare (job #1477468) | Borderou de evaluare (job #2274825) | Borderou de evaluare (job #1116774) | Borderou de evaluare (job #185464) | Borderou de evaluare (job #2814018)
Borderou de evaluare (job #2814018)
Raport evaluator
Compilare:
main.cpp: In member function 'std::pair<int, std::vector<long long int> > Graph::bellmanFord(int)':
main.cpp:566:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
566 | inQueue[source] = seen[source] = 1;
main.cpp: In function 'int main()':
main.cpp:720:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wformat=]
720 | printf("%d\n", solution.size());
| ~^ ~~~~~~~~~~~~~~~
| | |
| int std::vector<std::vector<int> >::size_type {aka long unsigned int}
| %ld
main.cpp:721:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
721 | for(int i = 0; i<solution.size(); ++i){
| ~^~~~~~~~~~~~~~~~
main.cpp:722:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
722 | for(int j = 0; j<solution[i].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:702:21: warning: unused variable 'z' [-Wunused-variable]
702 | int n, m, x, y, z;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Corect | 10 | 30 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 | 30 |
5 | 6ms | 462kb | Corect | 10 |
6 | 21ms | 1478kb | Corect | 10 |
7 | 35ms | 2588kb | Corect | 10 | 30 |
8 | 101ms | 5951kb | Corect | 10 |
9 | 197ms | 11980kb | Corect | 10 |
10 | 250ms | 18587kb | Corect | 10 | 10 |
Punctaj total | 100 |