Borderou de evaluare (job #2080734)

Utilizator EuAlexOtaku Hikikomori EuAlex Data 3 decembrie 2017 14:42:34
Problema Taramul Nicaieri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

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:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(rem[from] < g[from].size()) { ^ user.cpp: In function ‘int main()’: user.cpp:96: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:97: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:99: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:100: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:104: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:105: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:113:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < g[i].size(); ++ j) { ^ user.cpp:84: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:85: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:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:94: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
1Depăşit276kbTime limit exceeded.0
2Depăşit292kbTime limit exceeded.0
3Depăşit300kbTime limit exceeded.0
4Depăşit356kbTime limit exceeded.0
5Depăşit384kbTime limit exceeded.0
6Depăşit544kbTime limit exceeded.0
7Depăşit584kbTime limit exceeded.0
8Depăşit632kbTime limit exceeded.0
9Depăşit676kbTime limit exceeded.0
10Depăşit376kbTime limit exceeded.0
11Depăşit364kbTime limit exceeded.0
12Depăşit392kbTime limit exceeded.0
13Depăşit544kbTime limit exceeded.0
14Depăşit552kbTime limit exceeded.0
15Depăşit572kbTime limit exceeded.0
16Depăşit600kbTime limit exceeded.0
170ms296kbOk!5
18Depăşit628kbTime limit exceeded.0
19Depăşit656kbTime limit exceeded.0
2016ms712kbOk!5
Punctaj total10

Ceva nu functioneaza?