ky28059's blog

By ky28059, history, 5 years ago, In English

Hi, my code keeps getting TLE on problem C of the CPC polygon practice contest. Can anyone help?


fun main() { repeat (10000) { Thread.sleep(1000) } println("qpwoeirut orz") }
  • Vote: I like it
  • +22
  • Vote: I do not like it

»
5 years ago, hide # |
← Rev. 2  
Vote: I like it +25 Vote: I do not like it

this works

fun main() {
    repeat (10000) {
        Thread.sleep(1000)
    }
    println("agnimandur apple ary begin bucket charlie chessbot codetiger codicon darren dottomato dreamr dutin elephant fishy fishy fishy gilgm izhang jake joepher khanh kmp llm moo nave octopi PIG pikaninja qpwoeirut seal skittles steventan treezariox vroom wox purple purple purple orz")
}

credit: BucketPotato

Edit 1: I've double checked, and as I expected, the code passes within the TL. If you're wondering whether your name is misplaced, the code also ACs (the output is correct) :).