Блог пользователя HOMIARA_RUBY

Автор HOMIARA_RUBY, история, 6 лет назад, По-английски

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

Автор HOMIARA_RUBY, история, 7 лет назад, По-английски

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

Автор HOMIARA_RUBY, история, 7 лет назад, По-английски

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..

Полный текст и комментарии »

  • Проголосовать: нравится
  • +12
  • Проголосовать: не нравится