lynsrz's blog

By lynsrz, history, 7 years ago, In English

I been trying problem 546C - Soldier and Cards , but it shows me wrong answer. While when I put those test cases on my pc compiler they seems to give right answer. I have tried many times but seems i cant figure out where the problem is . Please check where is the error. 27770721

Full text and comments »

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

By lynsrz, history, 7 years ago, In English

I need help with this problem 762C - Two strings. I am getting a TLE I just used brute force approach. I couldnt understand the code of others. Please someone explain.

Full text and comments »

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

By lynsrz, history, 7 years ago, In English

Hello guys , I want to know how do you optimize the runtime memory of a java program? I solved a problem and it took 20100KB , while memory it took for some programmer's code was 0KB .

Also, Is there anyway I could determine the memory usage and time in IntelliJIdea? Thanks in advance :)

Full text and comments »

  • Vote: I like it
  • +11
  • Vote: I do not like it