Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 8th, 2020 159 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  private void delivery() {
  2.  
  3.  
  4.             for (days = 0; comps < k; days++) {
  5.                 for (int i = 0; i < n; i++) {
  6.                     addEdges(days * n + i, (days + 1) * n + i, INF);
  7.                 }
  8.  
  9.                 for (int i = 0; i < m; i++) {
  10.                     addEdges(days * n + tunnels.get(i).first, (days + 1) * n + tunnels.get(i).second, 1);
  11.                     addEdges(days * n + tunnels.get(i).second, (days + 1) * n + tunnels.get(i).first, 1);
  12.                 }
  13.  
  14.  
  15.                 t = (days + 1) * n + sink;
  16.                 comps += findMaxFlow();
  17.             }
  18.             System.out.println(days);
  19.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top