Please add support for YoptaScript language

Правка en2, от 2147483648, 2022-12-13 08:20:17

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) нахуй
Теги yopta, script, yoptascript, javascript

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский 2147483648 2022-12-13 08:20:17 0 (published)
ru2 Русский 2147483648 2022-12-13 08:17:55 0 (опубликовано)
en1 Английский 2147483648 2022-12-13 08:15:52 1663 Initial revision for English translation (saved to drafts)
ru1 Русский 2147483648 2022-12-13 08:08:00 1674 Первая редакция (сохранено в черновиках)