Skip to content

Instantly share code, notes, and snippets.

@orekyuu
Created July 21, 2015 16:26
Show Gist options
  • Save orekyuu/9321ce6015ff66378ddd to your computer and use it in GitHub Desktop.
Save orekyuu/9321ce6015ff66378ddd to your computer and use it in GitHub Desktop.
逮捕
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
try {
while (true) {
String chinko = scanner.next();
if (chinko.equals("ちんこ")) {
System.out.println("まんこ");
}
scanner.close();
}
} catch (Exception e) {
System.out.println("逮捕");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment