QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#176309#7185. Poor Studentsucup-team1414Compile Error//C++147.1kb2023-09-11 15:07:422023-09-11 15:07:42

詳細信息

answer.code:26:28: error: ‘ll’ does not name a type
   26 | template<typename flow_t = ll, typename cost_t = ll>
      |                            ^~
answer.code:26:50: error: ‘ll’ does not name a type
   26 | template<typename flow_t = ll, typename cost_t = ll>
      |                                                  ^~
answer.code: In function ‘int main()’:
answer.code:201:13: error: missing template arguments before ‘g’
  201 |     mcSFlow g(n+k+2, 0, n+k+1);
      |             ^
answer.code:204:9: error: ‘g’ was not declared in this scope
  204 |         g.add_edge(0, i, 0, 1);
      |         ^
answer.code:212:13: error: ‘g’ was not declared in this scope
  212 |             g.add_edge(i, j+n, cost, 1);
      |             ^
answer.code:220:9: error: ‘g’ was not declared in this scope
  220 |         g.add_edge(j+n, n+k+1, 0, maxCap);
      |         ^
answer.code:223:11: error: ‘g’ was not declared in this scope
  223 |     cout<<g.minCostMaxFlow().second;
      |           ^