Pagini recente » Borderou de evaluare (job #1941585) | Borderou de evaluare (job #126160) | Borderou de evaluare (job #2413711) | Borderou de evaluare (job #2422408) | Borderou de evaluare (job #2131804)
Borderou de evaluare (job #2131804)
Raport evaluator
Compilare:
user.cpp: In function ‘void addedge(int, int, int, int)’:
user.cpp:36:30: warning: narrowing conversion of ‘g[y].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
Edge direct = {y, g[y].size(), 0, cap, ind};
^
user.cpp:37:31: warning: narrowing conversion of ‘g[x].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
Edge inverse = {x, g[x].size(), 0, cap, ind};
^
user.cpp: In function ‘bool bfs()’:
user.cpp:54:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[from].size(); i++) {
^
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:70:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = rem[from]; i < g[from].size(); i++) {
^
user.cpp: In function ‘bool finalbfs(int)’:
user.cpp:111:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[node].size(); i++) {
^
user.cpp:108:9: warning: unused variable ‘from’ [-Wunused-variable]
int from = q.front();
^
user.cpp: In function ‘int main()’:
user.cpp:153:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[from].size(); i++) {
^
user.cpp:169:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j =0; j < g[i].size(); j++) {
^
user.cpp:179:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sol.size(); i++)
^
user.cpp: In function ‘bool finalbfs(int)’:
user.cpp:123:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1384kb | Incorect. Cablurile taiate nu corespund timpului | 0 |
2 | 0ms | 1384kb | Raspuns corect. Felicitari! | 10 |
3 | 0ms | 1384kb | Raspuns corect. Felicitari! | 10 |
4 | 8ms | 1408kb | Incorect. Cablurile taiate nu corespund timpului | 0 |
5 | 32ms | 1432kb | Incorect. Cablurile taiate nu corespund timpului | 0 |
6 | 40ms | 1460kb | Incorect. Cablurile taiate nu corespund timpului | 0 |
7 | 248ms | 1496kb | Incorect. Cablurile taiate nu corespund timpului | 0 |
8 | Depăşit | 1624kb | Time limit exceeded. | 0 |
9 | 192ms | 1500kb | Incorect. Cablurile taiate nu corespund timpului | 0 |
10 | Depăşit | 1640kb | Time limit exceeded. | 0 |
Punctaj total | 20 |