Pagini recente » Borderou de evaluare (job #957171) | Borderou de evaluare (job #2537271) | Borderou de evaluare (job #324097) | Borderou de evaluare (job #2871504) | Borderou de evaluare (job #2072969)
Borderou de evaluare (job #2072969)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellmanford()’:
user.cpp:39:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); ++ k) {
^
user.cpp: In function ‘void dijkstra()’:
user.cpp:64:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); ++ k) {
^
user.cpp: In function ‘void mincutflow()’:
user.cpp:107:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); ++ k) {
^
user.cpp: In function ‘int main()’:
user.cpp:132:42: warning: narrowing conversion of ‘g[j].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >()’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[i].push_back({j, g[j].size(), 0, 1, distPct(i, j)});
^
user.cpp:133:44: warning: narrowing conversion of ‘(g[i].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >() + 4294967295u)’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[j].push_back({i, g[i].size() - 1, 0, 0, -distPct(i, j)});
^
user.cpp:138:40: warning: narrowing conversion of ‘g[i].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >()’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[src].push_back({i, g[i].size(), 0, 1, 0});
^
user.cpp:139:44: warning: narrowing conversion of ‘(g[src].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >() + 4294967295u)’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[i].push_back({src, g[src].size() - 1, 0, 0, 0});
^
user.cpp:141:48: warning: narrowing conversion of ‘g[dest].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >()’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[i + n].push_back({dest, g[dest].size(), 0, 1, 0});
^
user.cpp:142:51: warning: narrowing conversion of ‘(g[(i + n)].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >() + 4294967295u)’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[dest].push_back({i + n, g[i + n].size() - 1, 0, 0, 0});
^
user.cpp:120:38: 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);
^
user.cpp:121:40: 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);
^
user.cpp:123:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:127:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &x[i], &y[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 520kb | Suma minima gresita | 2 |
2 | 0ms | 520kb | Raspuns gresit! | 0 |
3 | 0ms | 548kb | Raspuns gresit! | 0 |
4 | 12ms | 636kb | Raspuns gresit! | 0 |
5 | 24ms | 888kb | Raspuns gresit! | 0 |
6 | 48ms | 992kb | Raspuns gresit! | 0 |
7 | 84ms | 1048kb | Raspuns gresit! | 0 |
8 | 160ms | 1840kb | Raspuns gresit! | 0 |
9 | 268ms | 2104kb | Raspuns gresit! | 0 |
10 | 396ms | 2368kb | Raspuns gresit! | 0 |
11 | Depăşit | 3048kb | Time limit exceeded. | 0 |
12 | Depăşit | 3048kb | Time limit exceeded. | 0 |
13 | Depăşit | 6008kb | Time limit exceeded. | 0 |
14 | Depăşit | 6520kb | Time limit exceeded. | 0 |
15 | Depăşit | 7256kb | Time limit exceeded. | 0 |
16 | Depăşit | 7620kb | Time limit exceeded. | 0 |
17 | Depăşit | 8220kb | Time limit exceeded. | 0 |
18 | Depăşit | 8624kb | Time limit exceeded. | 0 |
19 | Depăşit | 8628kb | Time limit exceeded. | 0 |
20 | Depăşit | 8624kb | Time limit exceeded. | 0 |
Punctaj total | 2 |