Pagini recente » Borderou de evaluare (job #1246368) | Borderou de evaluare (job #193743) | Borderou de evaluare (job #2904150) | Borderou de evaluare (job #2004199) | Borderou de evaluare (job #1520351)
Borderou de evaluare (job #1520351)
Raport evaluator
Compilare:
user.cpp:14:33: warning: overflow in implicit constant conversion [-Woverflow]
const char destination = 4005 - 1;
^
user.cpp: In function ‘bool bfs()’:
user.cpp:88:36: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(parent, NULL, sizeof parent);
^
user.cpp:102:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (Edge edge : graph[curr]) {
^
user.cpp:104:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (edge.saturated || parent[edge.adj] != NULL || edge.adj == source)
^
user.cpp:107:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
parent[edge.adj] = edge.opposed;
^
user.cpp:115:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return parent[destination] != NULL;
^
user.cpp: In function ‘char getMaxFlow()’:
user.cpp:125:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (list<Edge>::iterator temp = graph[destination].begin(); temp != graph[destination].end(); ++temp) {
^
user.cpp:125:89: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (list<Edge>::iterator temp = graph[destination].begin(); temp != graph[destination].end(); ++temp) {
^
user.cpp:127:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (temp->opposed->saturated || parent[temp->adj] == NULL)
^
user.cpp:132:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (Edge *edge = parent[temp->adj]; edge != NULL; edge = parent[edge->adj]) {
^
user.cpp:132:78: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (Edge *edge = parent[temp->adj]; edge != NULL; edge = parent[edge->adj]) {
^
user.cpp:149:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (Edge *edge = parent[temp->adj]; edge != NULL; edge = parent[edge->adj]) {
^
user.cpp:149:78: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (Edge *edge = parent[temp->adj]; edge != NULL; edge = parent[edge->adj]) {
^
user.cpp: In function ‘int main()’:
user.cpp:178:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
graph[node].push_back(Edge(doubleNode(node), false));
^
user.cpp:179:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
graph[doubleNode(node)].push_back(Edge(node, true));
^
user.cpp:181:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
graph[node].back().setOpposed(&graph[doubleNode(node)].back());
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |