QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#289349#7857. (-1,1)-Sumpleteucup-team2929#Compile Error//C++145.7kb2023-12-23 17:10:372023-12-23 17:10:38

Details

answer.code: In function ‘int32_t main()’:
answer.code:90:24: error: ‘n’ was not declared in this scope
   90 |         g.edge.reserve(n * n + 2 * n);
      |                        ^
answer.code:127:34: error: ‘sink’ was not declared in this scope; did you mean ‘sinl’?
  127 |                 g.addEdge(i + n, sink, c[i] - init_c[i]);
      |                                  ^~~~
      |                                  sinl
answer.code:130:27: error: ‘sink’ was not declared in this scope; did you mean ‘sinl’?
  130 |         g.maxFlow(source, sink);
      |                           ^~~~
      |                           sinl