Pakgamer2022's blog

By Pakgamer2022, history, 23 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?
»
23 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.

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

    How to count them.

    • »
      »
      »
      23 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.)