Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String op = io.getWord();
- int a = io.getInt();
- int b = io.getInt();
- /*if(op == '?'){
- if(unionFind.connected(a,b)){
- System.out.println("yes");
- }else{
- System.out.println("no");
- }
- }
- else if (op == '='){
- unionFind.union(a,b);
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement