katukutu's blog

By katukutu, history, 9 years ago, In English

I have java version 1.8.0_65 installed in my mac laptop, whenever I try to run topcoder ContestAppletProd.jnlp file, it shows "Application blocked by Java Security, reason: Your security settings have blocked an application signed in with an expired or not yet valid certificate from running". I know these problem have been posted tons of time, and some people suggest unintstaling java 8 and then installing some older version, but so far I could not even uninstall java 8. Can anyone please help? :(

Full text and comments »

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

By katukutu, history, 9 years ago, In English

In general, both STL set and map has O(log(N)) complexity for insert, delete, search etc operations. But in some problems, where N<=10^5, O(NlogN) algorithms using set gives TLE, while map gets AC. Can someone please explain how map gives a better runtime than set? Thanks in advance :)

Full text and comments »

Tags stl
  • Vote: I like it
  • +14
  • Vote: I do not like it

By katukutu, 10 years ago, In English
  • Vote: I like it
  • +5
  • Vote: I do not like it