0_0_37874113_29644.cpp: In function 'int main()': 0_0_37874113_29644.cpp:75:38: error: 'dinic' was not declared in this scope while(bfs()) while(flow=dinic(s,INF)) maxflow+=flow; ^