Блог пользователя cry

Автор cry, история, 5 лет назад, По-английски

You can now name your variables with emojis in C++20 :D

Proof of C++20 submission: https://codeforces.me/contest/80/submission/140848199

It does not work in other C++ versions, such as C++17: https://codeforces.me/contest/80/submission/140847859

This is a revolutionary moment in variable naming, and an incredible breakthrough for the community <3

  • Проголосовать: нравится
  • +153
  • Проголосовать: не нравится

»
5 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится
similar one(not in Codeforces)
»
5 лет назад, скрыть # |
 
Проголосовать: нравится +30 Проголосовать: не нравится

I would like to know if this complies with rule #4 from "Can-do's and Can't-do's":

It is forbidden to obfuscate the solution code as well as create obstacles for its reading and understanding. That is, it is forbidden to use any special techniques aimed at making the code difficult to read and understand the principle of its work.

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +56 Проголосовать: не нравится

Solved Watermelon problem with this powerful technique! https://codeforces.me/contest/4/submission/140885488

Finally my variables names describe its purpose

»
4 года назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

Doesn't works anymore.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

sadly it doesn't work anymore