Pakgamer2022's blog

By Pakgamer2022, history, 18 months ago, In English

Hello CodeForces. I am stuck at this problem. please help.

MY PYTHON CODE

HELP!

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

| Write comment?
»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

From problem statement: "If the number of distinct characters in one's user name is odd, then he is a male, otherwise she is a female." You're counting the number of characters, not distinct characters.

  • »
    »
    18 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    How to count them.

    • »
      »
      »
      18 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      That's the point of the problem. You'll need to figure it out. (Hint: Google. This is very standard and you will find answers easily.)