()
| 87 | |
| 88 | // does the system percolate? |
| 89 | public boolean percolates() { |
| 90 | return uf2.find(gridSize * gridSize + 1) == uf2.find(0); |
| 91 | } |
| 92 | |
| 93 | public static void main(String[] args) { |
| 94 | int n = StdIn.readInt(); |
no outgoing calls
no test coverage detected