Last time Until now, I was solving the AtCoder Problems recommendation problem, but I thought that I lacked more basic power, so I will do this.
#13 As expected, one A problem is not enough, so I will solve two A problems.
** Thoughts ** ABC086-A just costs $ a * b mod (2) $
a, b = map(int,input().split())
if a*b % 2 != 0:
print('Odd')
else:
print('Even')
ABC081-A only counts '1' in s
s = list(str(input()))
print(s.count('1'))
I was frustrated at ABC today, so I will solve the past questions for the time being. see you
Recommended Posts