The contest is over; the editorial is available here.
The language of this round is J.
The traditional A+B program (A and B are written in one line and separated with space) looks as follows:
print =: 1!:2&2 read =: 1!:1[3 in =. (read-.LF)-.CR print +/ ". in exit ''
The main source of information about the language is http://code.jsoftware.com/wiki/Main_Page. Version used is J804. Several notes:
- to test your solutions locally, use jsonsole solution.ijs < input.txt. It's also possible to use jsonsole solution.ijs, in this case after entering test press Ctrl+z+Enter.
- you can run your code on Codeforces platform, using Custom Test tab.
- the language is not compiled, if your code has syntax error, you'll get verdict "Wrong answer on test 1".
- note that Codeforces uses Windows-style line endings, #13#10.
You can download language from http://www.jsoftware.com/download/j804/install/ or from Codeforces mirror (password d12595cdb253e0fb):
On April 10 19:35 (Moscow time) the first Wild-card round of VK Cup 2016 will take place, and it will be a Surprise Language Round. The rules:
- There are two parallel rounds happening at once: Wild Card Round 1 and Wild Card Round 1 (Online Mirror). The main round is for teams which have passed VK Cup Qualification. Online mirror is open for everybody (not just VK Cup participants) as an individual competition. Teams which have already advanced to Round 2 can take part in the main round out of competition.
- 50 additional places in Round 2 will be awarded to top 50 teams of VK Cup who passed Qualification but didn't advance to Round 2 from Round 1 (regardless of whether they participated in Round 1). A team has to solve at least one problem to advance.
- The contest will be unrated for everybody.
- The round uses ACM ICPC rules: the standing is defined by the number of solved problems, ties are resolved based on penalty time. Initially the penalty is 0, and for each solved problem it is increased by submission time (since the start of the contest) + 20 minutes for each failed submission. The solution is considered to be correct if it passes all tests from a predefined test set; you know whether the solution is right immediately after sending it. There are no hacks
- The round has 8-10 problems, sorted by estimated complexity, and runs for 2.5 hours.
- Solutions are accepted only in one language, which will be announced at the beginning of the contest. The language really exists, we didn't invent it for this occasion.
- Please reread this post at the beginning of the contest: we will announce the language and add instructions to install the compiler (the contest interface will provide an option to run your solutions online) and links to useful manuals (in English). Other than that, learning the language is up to the competitor.
We hope that the language we chose will be unknown to most of the competitors. For reference, here is the list of Surprise/Unknown Language Rounds which took place on Codeforces earlier.