도저히 문제자체가 해석이 안되서 여쭈어 봅니다


You are given a directed graph with n vertices. For each vertex, the number of incoming and outgoing edges is provided. Give a polynomial-time algorithm to find a configuration of exactly m edges that matches the above setup for the graph, and explain your answer.


일단 이문제를 상황에 맞게 MaxFlow MinCut Bitartite Circulation Circulation with Lower bounds등으로 바꾸는 문제인데 문제자체가 원하는게 잘이해가 안가네요


지금까지 이해한 바로는 그래프가 주어졌을때 위 조건을 만족하는 변들이 총 몇개인지 (m이 얼마인지) 계산하는 알고리즘을 구하라는건가요?


미리 감사드립니다..ㅜㅜ