Pagini recente » Borderou de evaluare (job #951683) | Borderou de evaluare (job #149027) | Borderou de evaluare (job #1244847) | Borderou de evaluare (job #2672585) | Borderou de evaluare (job #2080714)
Borderou de evaluare (job #2080714)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:27: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 dfs(int, int)’:
user.cpp:52:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int &k = rem[from]; k < g[from].size(); ++ k) {
^
user.cpp: In function ‘int main()’:
user.cpp:94:40: warning: narrowing conversion of ‘g[dr].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({dr, g[dr].size(), 0, in});
^
user.cpp:95:41: 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[dr].push_back({i, g[i].size() - 1, 0, 0});
^
user.cpp:97:48: warning: narrowing conversion of ‘g[(i + 1)].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 + 1, g[i + 1].size(), 0, out});
^
user.cpp:98:48: 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 + 1].push_back({src, g[src].size() - 1, 0, 0});
^
user.cpp:102:50: 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 + 1].push_back({j, g[j].size(), 0, 1});
^
user.cpp:103:56: warning: narrowing conversion of ‘(g[(i + 1)].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 + 1, g[i + 1].size() - 1, 0, 0});
^
user.cpp:111:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < g[i].size(); ++ j) {
^
user.cpp:82:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harta.in", "r", stdin);
^
user.cpp:83:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harta.out", "w", stdout);
^
user.cpp:85:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:92:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &out, &in);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 280kb | Time limit exceeded. | 0 |
2 | Depăşit | 292kb | Time limit exceeded. | 0 |
3 | Depăşit | 304kb | Time limit exceeded. | 0 |
4 | Depăşit | 364kb | Time limit exceeded. | 0 |
5 | Depăşit | 384kb | Time limit exceeded. | 0 |
6 | Depăşit | 544kb | Time limit exceeded. | 0 |
7 | Depăşit | 588kb | Time limit exceeded. | 0 |
8 | Depăşit | 632kb | Time limit exceeded. | 0 |
9 | Depăşit | 676kb | Time limit exceeded. | 0 |
10 | Depăşit | 372kb | Time limit exceeded. | 0 |
11 | Depăşit | 364kb | Time limit exceeded. | 0 |
12 | Depăşit | 392kb | Time limit exceeded. | 0 |
13 | Depăşit | 544kb | Time limit exceeded. | 0 |
14 | Depăşit | 548kb | Time limit exceeded. | 0 |
15 | Depăşit | 576kb | Time limit exceeded. | 0 |
16 | Depăşit | 596kb | Time limit exceeded. | 0 |
17 | 0ms | 292kb | Ok! | 5 |
18 | Depăşit | 628kb | Time limit exceeded. | 0 |
19 | Depăşit | 652kb | Time limit exceeded. | 0 |
20 | 16ms | 716kb | Ok! | 5 |
Punctaj total | 10 |