fork(1) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. System.out.println(m3107a());
  13. System.out.println(m3108b());
  14. System.out.println(m3110c());
  15. System.out.println(m3111d());
  16. System.out.println(m3112e());
  17.  
  18. System.out.println(m3109b(m3108b()));
  19. }
  20. static String m3107a() {
  21. m3111d();
  22. return "TIFFEHNBMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU";
  23. }
  24.  
  25. static String m3108b() {
  26. String str = "DABBATHHTUUIZZIPQPQBEEB";
  27. return "TIFFEHNBMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU";
  28. }
  29.  
  30. static String m3109b(String str) {
  31. String str2 = "";
  32. String d = m3111d();
  33. String toUpperCase = str.toUpperCase();
  34. int i = 0;
  35. for (int i2 = 0; i2 < toUpperCase.length(); i2++) {
  36. char charAt = toUpperCase.charAt(i2);
  37. if (charAt >= 'A' && charAt <= 'Z') {
  38. str2 = str2 + ((char) ((((charAt - d.charAt(i)) + 26) % 26) + 65));
  39. i = (i + 1) % d.length();
  40. }
  41. }
  42. String str3 = m3112e() + str2;
  43. m3110c();
  44. return Base64.getEncoder().encodeToString(str3.getBytes());
  45. }
  46.  
  47. static String m3110c() {
  48. String str = "ABBATHHTUUIZZIPQPQBEEB";
  49. return "TIFFEHNBMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU";
  50. }
  51.  
  52. static String m3111d() {
  53. String str = "TIFFEHNBMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU";
  54. return "ABBATHHTUUIZZIPQPQBEEB";
  55. }
  56.  
  57. static String m3112e() {
  58. String str = "ABBATHHTUUIZZIPQPQBEEBD";
  59. str = "TIFFFLEHNBAMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU";
  60. return ((Character.toString(str.charAt(3)) + Character.toString(str.charAt(5))) + Character.toString(str.charAt(10))) + Character.toString(str.charAt(14));
  61. }
  62. }
Success #stdin #stdout 0.11s 320576KB
stdin
Standard input is empty
stdout
TIFFEHNBMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU
TIFFEHNBMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU
RkxBR1RIRUZMQUdJU05ESFRIRU5MRUZUU1FVQVJFQlJBQ0tFVEZPUkVOU0lDQU5EUk9JRERJT1JETkFGT1JFTlNJQ1RIRU5SSUdIVFNRVUFSRUJSQUNLRVQ=
TIFFEHNBMHLGSPTDAUGXWRUBSEUYHVEYBENZTDHYDERERPJDWPVKXHIENZTDHYDXLFNSJGAAZJOUZDAZPSZUU
ABBATHHTUUIZZIPQPQBEEB
FLAG