khaledzag's blog

By khaledzag, history, 10 years ago, In English

Can anyone solve this problem using java 6.0 ?!

there are alot of people try with it using java but always got TLE or RTE

http://a2oj.com/p.jsp?ID=155

  • Vote: I like it
  • -8
  • Vote: I do not like it

| Write comment?
»
10 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Solved from first time using C++, but in JAVA... :(

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it
  • »
    »
    10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Finally AC and faster than your code :P, But why when I used BufferedReader I got RTE ??

    But when I changed it to StreamTokenizer got AC!!

    • »
      »
      »
      10 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      u try solve it with java and u got RTE

      when u see his code , you got AC

      i think u steal code from him

      RETARDED !!!!!!

      • »
        »
        »
        »
        10 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        How I stole his code, and my code faster than his C++ code :3.