Pagini recente » Borderou de evaluare (job #1144850) | Borderou de evaluare (job #3216097) | Borderou de evaluare (job #2136021) | Borderou de evaluare (job #1309367) | Borderou de evaluare (job #2018835)
Borderou de evaluare (job #2018835)
Raport evaluator
Compilare:
user.cpp: In function ‘void match(std::vector<int>&, std::vector<int>&)’:
user.cpp:30:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < small->size(); ++i)
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:38:11: warning: narrowing conversion of ‘-1.000000001e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
up[x] = {-1e9-1}, down[x] = {1e9+1};
^
user.cpp:38:11: warning: narrowing conversion of ‘-1.000000001e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
user.cpp:38:31: warning: narrowing conversion of ‘1.000000001e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
up[x] = {-1e9-1}, down[x] = {1e9+1};
^
user.cpp:38:31: warning: narrowing conversion of ‘1.000000001e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
user.cpp:48:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < up[y].size(); ++i) up[x] = min(up[x], up[y]);
^
user.cpp:49:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < down[y].size(); ++i) down[x] = max(down[x], down[y]); }
^
user.cpp:54:38: warning: narrowing conversion of ‘(up[x].std::vector<_Tp, _Alloc>::size<int, std::allocator<int> >() + 4294967295u)’ from ‘std::vector<int>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
rez = max<int>({rez, up[x].size()-1, down[x].size()-1}); }
^
user.cpp:54:38: warning: narrowing conversion of ‘(up[x].std::vector<_Tp, _Alloc>::size<int, std::allocator<int> >() + 4294967295u)’ from ‘std::vector<int>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
user.cpp:54:56: warning: narrowing conversion of ‘(down[x].std::vector<_Tp, _Alloc>::size<int, std::allocator<int> >() + 4294967295u)’ from ‘std::vector<int>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
rez = max<int>({rez, up[x].size()-1, down[x].size()-1}); }
^
user.cpp:54:56: warning: narrowing conversion of ‘(down[x].std::vector<_Tp, _Alloc>::size<int, std::allocator<int> >() + 4294967295u)’ from ‘std::vector<int>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 9824kb | Incorect | 0 | 0 |
2 | 16ms | 9904kb | Incorect | 0 | 0 |
3 | 312ms | 17012kb | Incorect | 0 | 0 |
4 | 148ms | 13220kb | Incorect | 0 |
5 | 160ms | 13768kb | Incorect | 0 |
6 | 168ms | 13328kb | Incorect | 0 |
7 | 1036ms | 24308kb | Incorect | 0 | 0 |
8 | 328ms | 16852kb | Incorect | 0 |
9 | 308ms | 16648kb | Incorect | 0 |
10 | 320ms | 18584kb | Incorect | 0 |
Punctaj total | 0 |