Pagini recente » Borderou de evaluare (job #315634) | Borderou de evaluare (job #2774926) | Borderou de evaluare (job #20183) | Borderou de evaluare (job #1903025) | Borderou de evaluare (job #2073004)
Borderou de evaluare (job #2073004)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellmanford()’:
user.cpp:32:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); ++ k) {
^
user.cpp:46: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:71: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 mincutflow(int&)’:
user.cpp:115: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:156: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:157: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:162: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:163: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:165: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:166: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:144: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:145: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:147:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:151: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]);
^
user.cpp: In function ‘void binar()’:
user.cpp:140:93: warning: ‘lastCost’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d.%04d %d.%04d", last / 10000, last % 10000, lastCost / 10000, lastCost % 10000);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 520kb | Corect! | 5 |
2 | 0ms | 516kb | Corect! | 5 |
3 | 32ms | 548kb | Suma minima gresita | 2 |
4 | 192ms | 636kb | Suma minima gresita | 2 |
5 | 376ms | 884kb | Suma minima gresita | 2 |
6 | Depăşit | 1004kb | Time limit exceeded. | 0 |
7 | Depăşit | 1100kb | Time limit exceeded. | 0 |
8 | Depăşit | 2040kb | Time limit exceeded. | 0 |
9 | Depăşit | 2292kb | Time limit exceeded. | 0 |
10 | Depăşit | 2572kb | Time limit exceeded. | 0 |
11 | Depăşit | 3044kb | Time limit exceeded. | 0 |
12 | Depăşit | 3048kb | Time limit exceeded. | 0 |
13 | Depăşit | 6012kb | Time limit exceeded. | 0 |
14 | Depăşit | 6520kb | Time limit exceeded. | 0 |
15 | Depăşit | 7252kb | Time limit exceeded. | 0 |
16 | Depăşit | 7616kb | 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 | 8628kb | Time limit exceeded. | 0 |
Punctaj total | 16 |