Pagini recente » Borderou de evaluare (job #2939063) | Borderou de evaluare (job #3189641) | Borderou de evaluare (job #2086149) | Borderou de evaluare (job #2789095) | Borderou de evaluare (job #2073002)
Borderou de evaluare (job #2073002)
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:89: warning: ‘lastCost’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d.%03d %d.%03d", last / 1000, last % 1000, lastCost / 1000, lastCost % 1000);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 520kb | Suma minima gresita | 2 |
2 | 0ms | 520kb | Suma minima gresita | 2 |
3 | 28ms | 556kb | Suma minima gresita | 2 |
4 | 172ms | 632kb | Suma minima gresita | 2 |
5 | 316ms | 892kb | Suma minima gresita | 2 |
6 | Depăşit | 1012kb | Time limit exceeded. | 0 |
7 | Depăşit | 1100kb | Time limit exceeded. | 0 |
8 | Depăşit | 2044kb | Time limit exceeded. | 0 |
9 | Depăşit | 2292kb | Time limit exceeded. | 0 |
10 | Depăşit | 2572kb | Time limit exceeded. | 0 |
11 | Depăşit | 3048kb | Time limit exceeded. | 0 |
12 | Depăşit | 3052kb | Time limit exceeded. | 0 |
13 | Depăşit | 6008kb | Time limit exceeded. | 0 |
14 | Depăşit | 6524kb | Time limit exceeded. | 0 |
15 | Depăşit | 7256kb | Time limit exceeded. | 0 |
16 | Depăşit | 7620kb | Time limit exceeded. | 0 |
17 | Depăşit | 8224kb | Time limit exceeded. | 0 |
18 | Depăşit | 8624kb | Time limit exceeded. | 0 |
19 | Depăşit | 8624kb | Time limit exceeded. | 0 |
20 | Depăşit | 8628kb | Time limit exceeded. | 0 |
Punctaj total | 10 |