moradiya84's blog

By moradiya84, 9 hours ago, In English

I am facing this problem while submitting, I am getting the message saying "SORRY YOU HAVE BEEN BLOCKED".I don't understand why this is happening, can somebody help me with this?. I can access all the question but can't submit it. [for the record I know why people get banned on cf I haven't done any of that]

UPD(img 2): this is so confusing so thing is if i randomly write anything in submission(i.e "sdjnbsbaghb")this gives me compilation error which it should but moment i submit some code with libraries and stuff it says i ma blocked!!,WHAT??

  • Vote: I like it
  • +28
  • Vote: I do not like it

»
8 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by moradiya84 (previous revision, new revision, compare).

»
7 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

I am Facing the same issue

»
6 hours ago, # |
Rev. 2   Vote: I like it +6 Vote: I do not like it
»
6 hours ago, # |
Rev. 2   Vote: I like it +7 Vote: I do not like it

Same. If it provides any additional information, tried submitting from public wifi and then from mobile hotspot, both failed. upd: Cloudflare Ray ID: 8b7b5c8d3e756fea

  • »
    »
    6 hours ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    yeah. same!!. I also removed all CF extensions I thought maybe!!. I also checked whether it was a device problem or my account facing the same problem on mobile, and my friend logged-in with his account on my laptop worked just fine for him.

  • »
    »
    6 hours ago, # ^ |
      Vote: I like it +9 Vote: I do not like it

    A particular line in your code is triggering cloudflare. I have the same issue. I found one of the offending lines, but I cannot even make a comment with that line of code. Here is a pastebin with that code: https://pastebin.com/PEGtxyVT

    If your code has that line, you won't be able to submit a code, or even write a comment or a blog.

    • »
      »
      »
      6 hours ago, # ^ |
        Vote: I like it +1 Vote: I do not like it

      I think multiple lines are triggering the issue. I don't think I have this particular line that you mentioned

      • »
        »
        »
        »
        6 hours ago, # ^ |
          Vote: I like it +3 Vote: I do not like it

        Use binary search to find the offending line in your submission :P

        • »
          »
          »
          »
          »
          6 hours ago, # ^ |
            Vote: I like it +1 Vote: I do not like it

          :)

          • »
            »
            »
            »
            »
            »
            6 hours ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            Lines 48, 66, and 70 of your last submission of Magic Grid are causing the issue for you.

            • »
              »
              »
              »
              »
              »
              »
              6 hours ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              I see, The common word in those lines is "char" like kibr mentioned in his comment

              • »
                »
                »
                »
                »
                »
                »
                »
                6 hours ago, # ^ |
                  Vote: I like it +3 Vote: I do not like it

                That's not the only line of code though.

                Even "substring" or "substr" followed by "()" will cause an issue.

»
6 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

def chars(): for me this line of code is causing all the problems when i removed this i works i don't know i couldn't even write the word it's char not chars

»
6 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

try to write "def chars():" on the comment section ... not chars but char .. i used chars cause it's not letting me write the whole thing

»
6 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

use mirror.codeforces.com, it works! special thanks to crystal, his method worked for me