HOMIARA_RUBY's blog

By HOMIARA_RUBY, history, 7 years ago, In English

I'm learning OOP using Java. So you may find my question 'like dumb'. I have followed Java coders code like this not this. why? I thought Java has garbage collection system(not like destructor in C++) which is called randomly(As far I know). So creating lot of objects will result MLE(if no garbage collection is called during execution time and if an object take N space and we create M objects then it should take N*M space which may result MLE). So in Codeforces 'custom invocation' I tried to do experiment and see what happens. I did the same experiment in 'Ideone'. I found almost no difference (i thought M times larger for M objects) in terms of memory. Why?

I have asked the question here because Codeforces community is more responsive.

Full text and comments »

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

By HOMIARA_RUBY, history, 8 years ago, In English

http://ideone.com/0MRF6u

how to solve this problem? I want to solve it but couldn't find any approach? no tutorial or source code is available. I spent enough time for it.

Full text and comments »

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

By HOMIARA_RUBY, history, 8 years ago, In English

ACM ICPC DHAKA SITE REGIONAL CONTEST 2016 is going on.. for live standing https://algo.codemarshal.org/contests/ICPCDH2016/standings predict who will be the winner..

Full text and comments »

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