LightYagami674's blog

By LightYagami674, history, 4 years ago, In English

Just downloaded and installed CHelper v4.4.2 (Windows 10) and got this error:

java.lang.IncompatibleClassChangeError: Method 'com.intellij.openapi.roots.libraries.LibraryTable com.intellij.openapi.roots.impl.libraries.ProjectLibraryTable.getInstance(com.intellij.openapi.project.Project)' must be InterfaceMethodref constant

So, does anyone know the solution to this or has experienced this before?

Full text and comments »

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

By LightYagami674, history, 4 years ago, In English

Does Arrays.parallelSort() gives better performance than Arrays.sort() on codeforces?
Since parallelSort optimizes performance on multicore processors, does that work here?

Full text and comments »

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

By LightYagami674, history, 4 years ago, In English

6B - President's Office I submitted this solution — 69647174

What I am trying to do is to start dfs starting on the first cell of the president's table. If there is another table in that cell's neighbour i call the color function which is also dfs but on the deputy's table and increase the ans (res) by 1.

I do not know what is wrong in this approach. Can anyone help?

UPD: Solved thanks to CodingKnight

Full text and comments »

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