water's blog

By water, 11 years ago, In English

When I was sovling the[problem:356C],my java code got TEL but c++ code got AC,why? The core code of them is the same. JAVA:4857792 C++:4857784

  • Vote: I like it
  • 0
  • Vote: I do not like it

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

May be this happens because of Scanner. Try to read data using BufferedReader, it is faster.