Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Chef_Ka_Baap's blog

By Chef_Ka_Baap, history, 4 years ago, In English

/* ヽ`、ヽ``、ヽ`ヽ`、、ヽ `ヽ 、ヽ``ヽヽ`ヽ、ヽ` ヽ`、ヽ``、ヽ 、``、 `、ヽ` 、` ヽ`ヽ、ヽ `、ヽ``、 ヽ、``、`、ヽ``、 、ヽヽ`、`、、ヽヽ、``、 、 ヽ`、 ヽ``、 ヽ`ヽ`、、ヽ `ヽ 、 ヽ````ヽヽヽ`、、ヽ`、、ヽ*/ code with this comment(similar) doesn't run on custom invocation so does it really helps in prevention from hacking when i removed this comment it runs on custom invocation like adding some emoji or something in comments?

  • Vote: I like it
  • -27
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it +1 Vote: I do not like it

I don't know if this helps or not, but writing correct code and logic surely does, try that instead. And even if your code escapes hacking, it would fail on main tests anyway.

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    1)No, that is not true. See this. I hacked one of the people I know and I am the only one who did that. If he didn't get hacked in contest, he was gonna pass system testing(I also made 12 other people to fail the same test).

    2)Adding useless comments everywhere is called obfuscation and it is not allowed as stated in rule 16 here. But if a useless comment is made only once in the beginning(not spammed everywhere), I guess it is allowed.