MikeMirzayanov's blog

By MikeMirzayanov, 12 years ago, translation, In English

As you probably know there are International Workers' Day holidays in Russia in the beginning of May. Am I the only person who see a contradiction here? Workers and continuous holydays!

So I decided that the best way to spend May, 2nd is to do something useful. So meet new languages on Codeforces:

  • Python 3 (3.3.1)
  • MS C# .NET 4
  • Go (1.1 RC1)

Also I made an attempt to setup Clojure, but his AOT nature makes any solution (even A+B) to run for at least 1 second :( I believe it is possible to precompile Clojure solution into bytecode, but I haven't found the way yet. Maybe someone can help me?

There are three days before round. Three days to test new languages. Please write comments in case of any issues.

P.S. As extra bonus — I've updated Python 2 to 2.7.4.

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

| Write comment?
»
12 years ago, # |
  Vote: I like it +13 Vote: I do not like it

Awesome !! .. .

»
12 years ago, # |
  Vote: I like it +7 Vote: I do not like it

Sweet! For a long time I've wanted a good as fall back language when Python gets too slow. Now I might just code everything in Go

»
12 years ago, # |
  Vote: I like it +10 Vote: I do not like it

Sorry, I have a question. Can there new languages solved almost problems in 2 secs and 256 megabytes memory?

  • »
    »
    12 years ago, # ^ |
      Vote: I like it +33 Vote: I do not like it

    It's not guaranteed. Some of these languages can work up to 10-20 times slower than C++/Pascal and I think (as Mike probably do) that split TLs is a bad idea — you should know your favorite language, with all its pros&cons, including syntax sugar and big execution time.

    • »
      »
      »
      12 years ago, # ^ |
        Vote: I like it -37 Vote: I do not like it

      There's work too slow for solving many problems. But someone like Python or C# than other language so I think split TLs is good idea :D

      • »
        »
        »
        »
        12 years ago, # ^ |
          Vote: I like it +22 Vote: I do not like it

        "10-20 times slower" is definitely not about C# :)

    • »
      »
      »
      11 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      My C++ code often takes a second to compile on my machine. I assume compile times on the judge are nearly instant and don't alter the run time.

      • »
        »
        »
        »
        11 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Judge machines are rather old, and compilation takes some time. However, it is not counted in 'execution time'. Solution compiles once and then the resulting executable is being runned on a test.

        Stupid question: what's your message have to do with mine?

»
12 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Does anyone know , how Codeforces manages malware programs/code ! How they have implemented SandBox ? Is the System on Windows or Linux ?

  • »
    »
    12 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I don't know about sandboxing, but it definitely runs Windows.

  • »
    »
    12 years ago, # ^ |
      Vote: I like it -20 Vote: I do not like it

    It cannot self-replicate and access the internet and the file system, thats enough to make sure server is OK.

»
12 years ago, # |
  Vote: I like it -9 Vote: I do not like it

GJ!

»
12 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Is it guaranteed that C# Array.Sort is implemented as Introsort or is it still Quicksort with worst case O(n2)?

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Python 3.4.2 is available now :) please put on your system as soon as possible

»
9 years ago, # |
  Vote: I like it -14 Vote: I do not like it

i write simple code for an easy problem using C# but i found"Runtime error"? please any one help me??