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.
Awesome !! .. .
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
Sorry, I have a question. Can there new languages solved almost problems in 2 secs and 256 megabytes memory?
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.
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
"10-20 times slower" is definitely not about C# :)
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.
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?
Does anyone know , how Codeforces manages malware programs/code ! How they have implemented SandBox ? Is the System on Windows or Linux ?
I don't know about sandboxing, but it definitely runs Windows.
It cannot self-replicate and access the internet and the file system, thats enough to make sure server is OK.
GJ!
Is it guaranteed that C# Array.Sort is implemented as Introsort or is it still Quicksort with worst case O(n2)?
It seems that it (at least the
Sort<T>(T[])
overload) uses introsort and runs in : http://msdn.microsoft.com/en-us/library/kwx6zbd4.aspxThe same article about .NET 4, not 4.5, still says it's O(n2). Which one is used here?
CF uses .net 4.5
Python 3.4.2 is available now :) please put on your system as soon as possible
By the way, CF has Python 3.4, you can check it using code:
It will say, that python is 3.4, however CF says, it's 3.3.
http://i.imgur.com/6fLNYcU.png
Yes! That's right! Thank you very much
i write simple code for an easy problem using C# but i found"Runtime error"? please any one help me??
http://mirror.codeforces.com/submissions/prog.amrayman/page/1
Not found any your submission using C#
Maybe he has more than one account?