Please add support for YoptaScript language

Revision en1, by 2147483648, 2022-12-13 08:15:52

Inspired by the Gleefre's article, I suggest adding YoptaScript language support to Codeforces — the world's first scripting programming language for gopniks and real boys. More information about the language can be found on the official website.

YoptaScript — is a very powerful language that can run at speed of JavaScript and is even more expressive than python (IMHO). I think that it is really worth adding as supported language because it is a very mature language, which has a very reach set of features.

Here is an implementation of binary heap sort benchmark in YoptaScript: https://pastebin.com/k5b8WVJB (and I'll be glad to create a PR if wanted).

The best open source YoptaScript implementation is YoptaScript, which can be installed here.

YoptaScript can also be included for your project using the package manager npm: npm install -g yopta

Or type npm install -g yopta to install YoptaScript globally.

On my computer, heapSort benchmark results in a range of [293..346] ms with an average time o 301.69 ms.

The problem 1А — Театральная площадь can be solved like this:

гыы lines внатуре readline().поделитьЯгу(" ") нахуй
гыы x внатуре Очканавт.чирикГони(lines[0] / lines[2]) нахуй
гыы y внатуре Очканавт.чирикГони(lines[1] / lines[2]) нахуй
наПечать(x * y) нахуй
Tags yopta, script, yoptascript, javascript

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English 2147483648 2022-12-13 08:20:17 0 (published)
ru2 Russian 2147483648 2022-12-13 08:17:55 0 (опубликовано)
en1 English 2147483648 2022-12-13 08:15:52 1663 Initial revision for English translation (saved to drafts)
ru1 Russian 2147483648 2022-12-13 08:08:00 1674 Первая редакция (сохранено в черновиках)