List soal PWN untuk KSL Seleksi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 rivejä
1.6 KiB

5 vuotta sitten
  1. #!/usr/bin/python
  2. import sys
  3. import os
  4. class Unbuffered(object):
  5. def __init__(self, stream):
  6. self.stream = stream
  7. def write(self, data):
  8. self.stream.write(data)
  9. self.stream.flush()
  10. def writelines(self, datas):
  11. self.stream.writelines(datas)
  12. self.stream.flush()
  13. def __getattr__(self, attr):
  14. return getattr(self.stream, attr)
  15. sys.stdout = Unbuffered(sys.stdout)
  16. print" /$$ /$$ /$$$$$$ /$$ /$$$$$$$ /$$ /$$ /$$ /$$"
  17. print" | $$ /$$/ /$$__ $$| $$ | $$__ $$| $$ /$ | $$| $$$ | $$"
  18. print" | $$ /$$/ | $$ \__/| $$ | $$ \ $$| $$ /$$$| $$| $$$$| $$"
  19. print" | $$$$$/ | $$$$$$ | $$ | $$$$$$$/| $$/$$ $$ $$| $$ $$ $$"
  20. print" | $$ $$ \____ $$| $$ | $$____/ | $$$$_ $$$$| $$ $$$$"
  21. print" | $$\ $$ /$$ \ $$| $$ | $$ | $$$/ \ $$$| $$\ $$$"
  22. print" | $$ \ $$| $$$$$$/| $$$$$$$$ | $$ | $$/ \ $$| $$ \ $$"
  23. print" |__/ \__/ \______/ |________/ |__/ |__/ \__/|__/ \__/"
  24. print" Author : Bagus Widhyasmara"
  25. print "<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>"
  26. print" "
  27. print "clue --> The 3rd answer can be read use indonesian and english language !"
  28. flag1 = "{flag=you_are_jenius}"
  29. while True:
  30. x = raw_input("enter your born place ")
  31. y = input("enter your bornn year ")
  32. z = input("how many letters o on born ? ")
  33. if z == 1:
  34. perlin = raw_input("silahkan ketik perintah linux apapun! ")
  35. os.system(perlin)
  36. print "Here ya go! ", flag1
  37. exit(0)
  38. else:
  39. print "{fIa9=YOU_VERY_STUPID_!!!}"