By A.K.Goharshady, 9 years ago, ,

Hi all!

Unknown language round #1 was up, 21st of February and now we're going to hold yet another Unknown language round.

It will be the usual ACM-ICPC unrated contest , so there is no hacking! The only feature - you will be able to submit problems using the only one, not very popular language. What? It's a secret! And I expect you'll have to learn the language at the time of contest since the used language will be a secret until ~1 minute before the start of contest.

Problem setters of this round are Alireza FarhadiSaeed IlchiSajjad GhahramanpourZahra Rohanifar and Me. We are extremely grateful to Mike Mirzayanov and Artem Rakhov.

Number of problems will be more than usual and the problems concentrate on coding abilities rather than algorithmic view and problem solving techniques.

UPD:The contest is over

Congratulations to the top 3 winners who solved all problems:

Wrong

tomek

watashi

The language for Unknown Language Round #2 is Io. Io was made in 2002, when Steve Dekorte (the author) was helping his friend, Dru Nelson, on making Cel programming language. Io is a completely object-oriented language and is similar to SmallTalk, Lua and Lisp. The version installed on Codeforces — Io-2008-01-07 (Win32).

One of Io's main aims was to reduce the size of code. So that the famous "Hello World!" application is only one line:

"Hello World!" println

And here's a complete code of the "A+B" (A and B are given in separate lines) program written in Io:

a := File standardInput readLine asNumber
b := File standardInput readLine asNumber
c := a+b
c println


During the contest, you can use the "Custom Test" tab, but we can not guarantee its performance if too many contestants will use it. In this case, be prepared to install an interpreter locally.

More information is found on Wikipedia, and the language guide is here. Find out more about Io by searching in Google. Good luck and have fun!

Please note: Io interpretor always returns 0 as exit code and we have no syntax checker, all "Runtime Error" and "Compilation Error" verdicts will be changed to "Wrong Answer". So "Wrong Answer" can be interpreted as:

• Compilation Error
• Runtime error

Note: Problems are not ordered from easiest to hardest. They are placed in random order.

The pictures show Haft-sin, one of Noruz traditions.

Unknown language round #2 will be held on Sunday, 20th of March, The new Persian year eve! 21st of March, is the first day of Persian new year and first day of spring. This day is called Noruz and is officially a holiday in Iran, Afghanistan, Albania, Uzbekistan, Kazakhstan, Azerbaijan, Tajikistan, Georgia, Iraqi Kurdistan, Turkmenistan, Kyrgyzstan and Kosovo. Noruz is celebrated by over 300 million people and for more than 3000 years.

Many people in Iran buy and keep Goldfish (or as called locally Red-fish) to celebrate Noruz

As 20th of March is the day of nationalization of Iranian oil, we like to dedicate this round to Dr.Mohammad Mosaddegh.

Announcement of Unknown Language Round #2
Announcement of Unknown Language Round #2

• +52

 9 years ago, # |   +7 Happy  New Year (Norouz)I like  Unknown Language Round 2 #
 9 years ago, # |   +12 When this match will appear on the 'Contests' page?
•  9 years ago, # ^ | ← Rev. 2 →   +3 It'll be scheduled soon :DBut this post was written sooner because Mr.Mirzayanov wanted anyone (including those who didn't take part in ULR#1) to get familiar with the rules.For sure, It'd be there after beta round #62.
•  9 years ago, # ^ |   +9 It's in the list
 9 years ago, # |   +9 Happy Nowruz to all!
 9 years ago, # |   +6 unrated?
 9 years ago, # |   +7 yes, it's unrated like unknown language round #1.
 9 years ago, # |   +13 Happy norowz to all.
 9 years ago, # |   0 Happy new year (1390)!
•  9 years ago, # ^ |   +7 Why it here?
•  9 years ago, # ^ |   +6 why not???????????
•  9 years ago, # ^ |   +5 I think both of you are to some extent right. The picture is really nice but it's too big to be just in a comment.Anyway , have fun and forget these minor things :)
 9 years ago, # |   +10 It will overlap with March Cook-Off Challenge on CodeChef!
•  9 years ago, # ^ |   0 This contest is not rated. So try giving it a go at the last 30 minutes if you prefer codechef.
 9 years ago, # |   +8 Could we not have a separate rating for the Unknown Language Rounds? It would be great and it would invite more serious participants.
•  9 years ago, # ^ |   +6 Thats a really good idea.
 9 years ago, # |   0 A .7z? Really?
 9 years ago, # |   +11 We can congratulate the participants with a victory and tomek with a second place ahead of time
 9 years ago, # |   +4 Really nice round!But wasnt 00000 a litte too evil test case on H :)
•  9 years ago, # ^ |   0 That was the first case I checked  :)Anyway, that was a great round.
 9 years ago, # | ← Rev. 2 →   +3 Nice round!Unfortunately, i was late by 40 minutes.Everyone, you must see my solution for D :)http://www.iolanguage.com/paste/p/40c888e58.html
•  9 years ago, # ^ |   0 What language do you use to generate source? :)
•  9 years ago, # ^ |   +11 Free Pascal :)
 9 years ago, # |   +3 What is the way to convert a number to integer number? n = n / 10---> here n comes to be decimal and i want it to be integer....
•  9 years ago, # ^ |   +11 n = (n - (n%10)) / 10
•  9 years ago, # ^ |   0 n floor
•  9 years ago, # ^ |   0 Do you want to just truncate a float part of a decimal or exactly convert?
•  9 years ago, # ^ |   0 trucate float part. I got it . All the above replies worked...thanks frnds.
•  9 years ago, # ^ |   0 n := (n / 10) floor
 9 years ago, # |   +4 Some functions suck as slice, exSlice seem to have different behavior between my laptop and the judge. I got some WA at sample due to this difference.I built the Io interpreter from the given archiver (on ubuntu 10.04).Anyway, this is an extremely funny contest. Thanks to the authors.
•  9 years ago, # ^ |   0 Me too.I was troubled by exSlice....
 9 years ago, # |   0 How to read two numbers in one line?
•  9 years ago, # ^ |   +6 use splitx:=File standardInput readLine splitn:= x at(0) asNumberm:= x at(1) asNumber
 9 years ago, # |   +6 as an author,i really wondered when i saw ivan.poplyshev's solution for problem D!nice work man!
•  9 years ago, # ^ |   +4 And I loved stuken.yuri's solution. Fast and wonderful.
•  9 years ago, # ^ |   +1 Thanks to you now we know io :)
 9 years ago, # |   +3 like the event...It is really fun to code in other language and got to know about Io...
 9 years ago, # |   +3 Nice contest, thanks.I think these unknown languages can be added to the list of usual languages on usual rounds.
•  9 years ago, # ^ | ← Rev. 4 →   +1 thanks ! i agree :D
 9 years ago, # | ← Rev. 2 →   +13 Today is one of the authors birthday!Happy Birthday Amir ! :D
•  9 years ago, # ^ |   0 Thanks. It's nice that you remembered it.
 9 years ago, # |   +11 Congratulation!!  2 won straight victories on Unknown Language Round!!
 9 years ago, # |   +3 Nice problems and nice language, it was very fun (: