s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time int64 0 100 | memory stringlengths 4 6 | code_size int64 15 14.7k | code stringlengths 15 14.7k | problem_id stringlengths 6 6 | problem_description stringlengths 358 9.83k | input stringlengths 2 4.87k | output stringclasses 807
values | __index_level_0__ int64 1.1k 1.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s839845649 | p04012 | u141786930 | 1574570492 | Python | Python (3.4.3) | py | Accepted | 25 | 3316 | 221 | import collections
def main():
w = input()
c = collections.Counter(w)
ans = 'Yes'
for i in c.values():
if i%2==1:
ans = 'No'
print(ans)
if __name__ == '__main__':
main() | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,671 |
s688273317 | p04012 | u644972721 | 1574404089 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 278 | w = sorted(input())
n = len(w)
a = 0
t = list()
for i in range(n - 1):
if w[i] == w[i + 1]:
a += 1
else:
t.append(a)
a = 0
t.append(a)
for i in range(len(t)):
if t[i] % 2 == 0:
a = -1
if a == -1:
print("No")
else:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,672 |
s228685131 | p04012 | u768993705 | 1574334339 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 76 | w = input()
print('Yes' if all([w.count(i)%2==0 for i in set(w)]) else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,673 |
s163452757 | p04012 | u768993705 | 1574334264 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 87 | w = input()
for i in set(w):
if w.count(i)%2:
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,674 |
s669165551 | p04012 | u768993705 | 1574334030 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | w = input()
for i in range(ord('a'), ord('z')+1):
if w.count(chr(i))%2:
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,675 |
s963992924 | p04012 | u836737505 | 1574315332 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 153 | from collections import Counter
w = input()
a = Counter(w)
for k, v in a.items():
if v % 2:
print("No")
break
else:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,676 |
s146622322 | p04012 | u143278390 | 1574282441 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 152 | import collections
w=input()
c=collections.Counter(w)
for moji,count in c.items():
if(count%2 != 0):
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,677 |
s341905432 | p04012 | u864197622 | 1574223499 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 157 | from collections import Counter as C
A = C([a for a in input()]).values()
for a in A:
if a % 2:
print("No")
break
else:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,678 |
s209998594 | p04012 | u754022296 | 1573970274 | Python | Python (3.4.3) | py | Accepted | 23 | 3316 | 157 | from collections import defaultdict
d = defaultdict(int)
for i in input():
d[i] += 1
for i in d.values():
if i%2:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,679 |
s839680420 | p04012 | u287500079 | 1573951387 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 192 | w = str(input())
cnt = [0] * 26
for i in range(len(w)):
cnt[ord(w[i]) - ord('a')] += 1
ans = 'Yes'
for i in range(26):
if cnt[i] % 2 == 1:
ans = 'No'
break
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,680 |
s993299586 | p04012 | u452015170 | 1573855670 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 393 | w = input()
letterlist = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
numletter = []
for i in range(len(letterlist)) :
numletter += [w.count(letterlist[i])]
i = 0
while i < len(numletter) :
num = numletter[i]
if num % 2 ==... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,681 |
s444448059 | p04012 | u576917603 | 1573763769 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | a=input()
set=set(a)
for i in set:
if a.count(i)%2!=0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,682 |
s900680153 | p04012 | u663438907 | 1573761632 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | w = list(str(input()))
ans = 'Yes'
for i in range(len(w)):
if w.count(w[i]) % 2 == 1:
ans = 'No'
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,683 |
s450262824 | p04012 | u799164835 | 1573701400 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 228 | w = input()
lst = [0] * 26
for i in range(len(w)):
char_code = ord(w[i]) - ord("a")
lst[char_code] += 1
sum = 0
for i in range(26):
lst[i] %= 2
sum += lst[i]
if sum == 0:
print('Yes')
else:
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,684 |
s899280065 | p04012 | u779728630 | 1573674178 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | w = input()
f = True
for i in range(len(w)):
if w.count(w[i]) % 2 == 1:
print("No")
f = False
break
if f:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,685 |
s141286867 | p04012 | u390883247 | 1573643114 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 209 | w = input()
Data = {}
for c in w:
if c in Data.keys():
Data[c] += 1
else:
Data[c] = 1
ans = 'Yes'
for v in Data.values():
if v % 2 == 1:
ans = 'No'
break
print(ans)
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,686 |
s568162790 | p04012 | u727787724 | 1573633379 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 138 | # coding: utf-8
# Your code here!
s=list(input())
ans='Yes'
for i in range(len(s)):
if s.count(s[i])%2!=0:
ans='No'
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,687 |
s437486213 | p04012 | u735069283 | 1573623623 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 212 | w = str(input())
H = True
if len(w)%2!=0:
H = False
else:
l=[]
for i in range(len(w)):
l += w[i]
l.sort()
for j in range(0,len(w),2):
if l[j]!=l[j+1]:
H =False
print('Yes' if H else 'No')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,688 |
s404816678 | p04012 | u052499405 | 1573618352 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 275 | #!/usr/bin/env python3
import sys
sys.setrecursionlimit(10**8)
input = sys.stdin.readline
count = [0] * 26
w = input().rstrip()
for ch in w:
count[ord(ch) - ord("a")] += 1
ok = True
for item in count:
if item % 2 == 1:
ok = False
print("Yes" if ok else "No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,689 |
s499702603 | p04012 | u991619971 | 1573611973 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 258 | s=str(input())
x=["a","b","c","d","e","f","g","h","i","j","k","l","n","m","o","p","q","r","s","t","u","v","w","x","y","z"]
c=0
for i in range(len(x)):
S=s.count(x[i])
if S%2!=0:
print('No')
c=1
break
if c==0:
print('Yes')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,690 |
s445988446 | p04012 | u209619667 | 1573569037 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 276 | N = list(input())
N=sorted(N)
count = 1
flag = True
for i in range(1,len(N)):
if N[i -1] == N[i] and (flag == True):
count += 1
elif flag == True:
flag = (count % 2 == 0)
count = 1
else:
break
if flag and (len(N) != 1):
print('Yes')
else:
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,691 |
s023020843 | p04012 | u256031597 | 1573441373 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 180 | w = input()
s = set(w)
flag = True
for a in s:
if w.count(a)%2==0:
pass
else:
flag = False
break
if flag:
print("Yes")
else:
print("No")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,692 |
s165672259 | p04012 | u557494880 | 1573429627 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 247 | w = input()
W = []
for i in range(len(w)):
x = ord(w[i]) - 97
W.append(x)
ans = 'Yes'
if len(w) % 2 == 1:
ans = 'No'
else:
for i in range(26):
if W.count(i) % 2 == 1:
ans = 'No'
break
print(ans)
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,693 |
s495738367 | p04012 | u350248178 | 1573276244 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 155 | w=list(input())
import collections
c=collections.Counter(w)
l=c.most_common()
for i,j in l:
if j%2!=0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,694 |
s271636758 | p04012 | u281303342 | 1573262479 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 227 | # python3 (3.4.3)
import sys
input = sys.stdin.readline
# main
from collections import Counter
W = input().rstrip()
C = Counter(W)
ans = "Yes"
for v in C.values():
if v%2 != 0:
ans = "No"
break
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,695 |
s653420853 | p04012 | u076917070 | 1573254221 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 314 | import sys
input = sys.stdin.readline
def main():
w = input().strip()
d = {}
for c in w:
if c in d:
d[c] += 1
else:
d[c] = 1
if all(v % 2 == 0 for v in d.values()):
print("Yes")
else:
print("No")
if __name__ == '__main__':
main()
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,696 |
s746039244 | p04012 | u276115223 | 1573218015 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 246 | # ABC 044: B – 美しい文字列 / Beautiful Strings
w = input()
numbers = []
is_beautiful = 'Yes'
for letter in w:
numbers.append(w.count(letter))
for num in numbers:
if num % 2 == 1:
is_beautiful = 'No'
print(is_beautiful) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,697 |
s617973171 | p04012 | u434282696 | 1573171269 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 162 | w=input()
l=[0]*26
for i in range(len(w)):
l[ord(w[i])-97]=(l[ord(w[i])-97]+1)%2
f=True
for i in range(26):
if l[i]:f=False
if f:print('Yes')
else:print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,698 |
s475931909 | p04012 | u867848444 | 1573149839 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 255 | w=input()
count={w[0]:0}
for i in w:
if i in count:
count[i]+=1
else:
count[i]=1
for i in count.values():
ans=0
if i%2==0:
ans+=1
else:
ans=0
break
print('Yes' if ans>0 else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,699 |
s504096143 | p04012 | u322185540 | 1573134299 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 154 | w = list(input())
import collections
c = collections.Counter(w)
answer = 'Yes'
for i in c.values():
if i % 2 != 0:
answer = 'No'
print(answer) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,700 |
s287994421 | p04012 | u533039576 | 1573116029 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 151 | from collections import Counter
w = input()
d = Counter(w)
ans = "Yes"
for c in d:
if d[c] % 2 == 1:
ans = "No"
break
print(ans)
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,701 |
s132383883 | p04012 | u637551956 | 1573103649 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 309 | w=str(input())
alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
beautiful = True
for i in alphabet:
if w.count(i)%2==1:
beautiful = False
break
if beautiful:
print('Yes')
else:
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,702 |
s656269657 | p04012 | u940061594 | 1573056462 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 337 | #Beautiful Strings
S = input()
S1 = []
ab = [chr(ord('a') + i) for i in range(26)]
m = 0
n = 0
for i in range(len(S)):
S1.append(S[i])
S2 = sorted(S)
for i in range(26):
for j in range(len(S)):
if S2[j] == ab[i]:
m = m + 1
if m % 2 != 0:
n = n + 1
if n == 0:
print("Yes")
else... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,703 |
s692105393 | p04012 | u533713111 | 1572920860 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 292 | w = sorted(list(input().strip()))
L = []
count = 1
for i in range(len(w)-1):
if w[i] == w[i + 1]:
count += 1
elif w[i] != w[i + 1]:
L.append(count)
count = 1
L.append(count)
def evens(l):
for j in l:
if j % 2 != 0:
return print('No')
print('Yes')
evens(L) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,704 |
s405108230 | p04012 | u100418016 | 1572893730 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 285 | arr_str = list(input())
zeros=''
zeros =zeros.zfill(26)
strs ="qwertyuiopasdfghjklzxcvbnm"
ret='Yes'
dic = dict(zip(strs, zeros))
for st in arr_str:
dic[st] = int(dic[st]) + 1
for it in dic.values():
if( int(it) % 2 == 1):
ret = 'No'
break
print(ret) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,705 |
s074597192 | p04012 | u803617136 | 1572834131 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 263 | def beautiful_strings(w):
d = {}
for c in w:
if c in d:
d[c] += 1
else:
d[c] = 1
for val in d.values():
if val % 2 == 1:
return 'No'
return 'Yes'
w = input()
print(beautiful_strings(w))
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,706 |
s467188879 | p04012 | u183840468 | 1572812461 | Python | Python (3.4.3) | py | Accepted | 29 | 3444 | 178 | from collections import Counter
w = input()
c = Counter(w)
flg = True
for v in c.values():
if v %2 ==1:
flg = False
break
print('Yes' if flg else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,707 |
s159366285 | p04012 | u923659712 | 1572678849 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | n=input()
s=set(n)
for i in s:
if n.count(i)%2!=0:
print("No")
exit()
else:
pass
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,708 |
s441676652 | p04012 | u117193815 | 1572643267 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | s=list(input())
q=list(set(s))
for i in q:
if s.count(i)%2==0:
continue
else:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,709 |
s359491724 | p04012 | u348868667 | 1572569454 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 279 | w = list(input())
tmp1 = sorted(list(set(w)))
flag = 1
for i in range(len(tmp1)):
count = 0
for j in range(len(w)):
if w[j] == tmp1[i]:
count += 1
if count%2 != 0:
flag = 0
break
if flag == 1:
print("Yes")
else:
print("No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,710 |
s373100333 | p04012 | u325956328 | 1572531848 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | w = input()
set_w = set(w)
count_w = [w.count(x) % 2 == 0 for x in set_w]
if all(count_w):
print("Yes")
else:
print("No")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,711 |
s976675552 | p04012 | u717993780 | 1572460101 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 104 | w = input()
for i in range(len(w)):
if w.count(w[i]) % 2 != 0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,712 |
s722032017 | p04012 | u746419473 | 1572454499 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 112 | w = input()
for _setw in set(w):
if w.count(_setw)%2 != 0:
print("No")
quit()
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,713 |
s826469353 | p04012 | u202570162 | 1572386182 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 127 | w = input()
flag = True
for i in range(len(w)):
if w.count(w[i])%2!=0:
flag = False
print('Yes' if flag else 'No')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,714 |
s700912232 | p04012 | u982517812 | 1572376244 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 352 | s = str(input())
t = list(s)
t.sort()
a = []
b = 1
for i in range(len(t)):
if i >= 1:
if t[i] == t[i-1]:
b = b + 1
else:
a.append(b)
b = 1
a.append(b)
for i in range(len(a)):
if a[i] % 2 != 0:
print("No")
break
else:
if i == len(a) ... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,715 |
s801508544 | p04012 | u623516423 | 1572288021 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 173 | w=input()
dic={}
for s in w:
if s in dic:
dic[s]+=1
else:
dic[s]=1
s=0
for key in dic:
if dic[key]%2!=0:
s+=1
if s == 0:
print('Yes')
else:
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,716 |
s868386008 | p04012 | u671446913 | 1572221286 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 243 | import collections
# N, K = map(int, input().split())
# A = list(map(int, input().split()))
w = input()
c = collections.Counter(w)
is_beaty = True
for n in c.values():
if n % 2 == 1:
is_beaty = False
print('Yes' if is_beaty else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,717 |
s023424975 | p04012 | u633000076 | 1572220673 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 152 | s=input()
a=[]
for i in s:
a.append(i)
co=0
for j in a:
if a.count(j)%2==0:
co+=1
if co==len(a):
print("Yes")
else:
print("No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,718 |
s352486940 | p04012 | u636290142 | 1572185017 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 255 | w = input()
beautiful_string = {}
for c in w:
if c in beautiful_string:
beautiful_string[c] += 1
else:
beautiful_string[c] = 1
for b in beautiful_string.values():
if b % 2 != 0:
print('No')
exit()
print('Yes')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,719 |
s321834405 | p04012 | u970197315 | 1572182412 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 318 | # ABC044 B - 美しい文字列 / Beautiful Strings
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
S = si()
SS = set()
for s in S:
SS.add(s)
for ss in SS:
if S.count(ss)%2==1:
print('No')
exit()
print('Yes')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,720 |
s691478494 | p04012 | u814986259 | 1572063100 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 162 | import collections
table=collections.defaultdict(int)
for x in input():
table[x]+=1
for x in table:
if table[x]%2==1:
print("No")
exit(0)
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,721 |
s392337638 | p04012 | u368882459 | 1572046959 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | w = input()
chars = set(w)
for i in chars:
if w.count(i) % 2 != 0:
print('No')
break
else:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,722 |
s922463175 | p04012 | u254871849 | 1572037577 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 150 | w = input()
alphabets = set(w)
for alp in alphabets:
if w.count(alp) % 2 != 0:
ans = "No"
break
else:
ans = "Yes"
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,723 |
s172955306 | p04012 | u247465867 | 1571995036 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 175 | #2019/10/24
# S = list(open(0).read())
S = list(input())
# print(S)
set_S = list(set(S))
beautiful = [S.count(i)%2 for i in set_S]
print('Yes' if sum(beautiful)==0 else 'No')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,724 |
s823515047 | p04012 | u432853936 | 1571982032 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 228 | ww = list(input())
w = sorted(ww)
if len(w) % 2 == 1:
print("No")
exit()
for i in range(len(w)-1):
if w[i] != w[i+1] and i % 2 == 0:
print("No")
exit()
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,725 |
s402090858 | p04012 | u628965061 | 1571967676 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | wlis=list(input())
ans=0
for i in set(wlis):
if wlis.count(i)%2!=0:
ans+=1
print("Yes" if ans==0 else "No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,726 |
s351237068 | p04012 | u457803894 | 1571886578 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 173 | import sys
w = list(input())
alphabet = "abcdefghijklmnopqrstuvwxyz"
for i in alphabet:
if w.count(i) % 2 != 0:
print("No")
sys.exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,727 |
s326496775 | p04012 | u936985471 | 1571801986 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 141 | W=input()
import collections
c=collections.Counter(W)
ans=True
for val in (c.values()):
if val%2==1:
ans=False
print(("No","Yes")[ans]) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,728 |
s737809376 | p04012 | u912115033 | 1571795509 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | s = input()
flag = 0
for i in range(len(s)):
if s.count(s[i])%2 == 1:
flag = 1
if flag == 0:
print('Yes')
else:
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,729 |
s624181413 | p04012 | u099300051 | 1571758671 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 110 | w = []
w += input()
sw =set(w)
for i in sw:
if w.count(i) % 2 == 1 :
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,730 |
s256474459 | p04012 | u388904130 | 1571666093 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 217 | import sys
import collections
string_array = list(input())
no_duplication = list(set(string_array))
for i in no_duplication:
if string_array.count(i) % 2 != 0:
print('No')
sys.exit()
print('Yes')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,731 |
s143822426 | p04012 | u088552457 | 1571615906 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 263 | # -*- coding: utf-8 -*-
import math
w = list(input())
word_counter = {}
for i in w:
if i in word_counter:
word_counter[i] += 1
else:
word_counter[i] = 1
for wc in word_counter.values():
if wc % 2 != 0:
print('No')
exit(0)
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,732 |
s216182038 | p04012 | u606878291 | 1571538805 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 213 | def main(w):
characters = set(w)
for c in characters:
if w.count(c) % 2 != 0:
return 'No'
else:
return 'Yes'
if __name__ == '__main__':
W = input()
print(main(W))
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,733 |
s749698453 | p04012 | u261891508 | 1571326497 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 104 | w=input()
for i in w:
if w.count(i)%2==0:
continue
else:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,734 |
s408029758 | p04012 | u853185302 | 1571282653 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 139 | import collections
w = list(input())
c = collections.Counter(w)
print("Yes" if sum([1 for i in c.values() if i%2==0])==len(c) else "No")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,735 |
s754554679 | p04012 | u662613022 | 1571256632 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 181 | s = input()
for c in 'abcdefghijklmnopqrstuvwxyz':
w = s.count(c)
if w % 2 == 0:
ans = 'Yes'
continue
else:
ans = 'No'
break
print(ans)
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,736 |
s221131936 | p04012 | u578049848 | 1571245941 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 292 | w = input()
if len(w)%2 == 1:
print('No')
else:
count = 0
for i in range(len(w)):
if w.count(w[i])%2 == 1:
print('No')
count = count + 1
break
else:
continue
#break
if count == 0:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,737 |
s377621516 | p04012 | u617203831 | 1571207920 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 151 | S=input()
s=list(set(S))
ans=0
for i in range(len(s)):
c=S.count(s[i])
if c%2==0:ans+=1
else:print("No") ;break
if ans==len(s):print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,738 |
s195279639 | p04012 | u856957183 | 1571083791 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 372 | mojiretsu = input()
mojiretsu_len = len(mojiretsu)
moji_list = []
hanntei = 0
for i in range(mojiretsu_len):
moji_list.append(mojiretsu[i])
for j in range(mojiretsu_len):
count_moji = moji_list.count(moji_list[j])
kisuu_hanntei = count_moji%2
if kisuu_hanntei==1:
print("No")
hanntei = ... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,739 |
s855450351 | p04012 | u396495667 | 1571077742 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | w = input()
cnt =0
for i in set(w):
if w.count(i) %2 !=0:
cnt +=1
print('Yes' if cnt ==0 else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,740 |
s119782243 | p04012 | u203383537 | 1571026543 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 87 | w=input()
if all(w.count(i)%2 == 0 for i in w):
print('Yes')
else:
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,741 |
s391594498 | p04012 | u281610856 | 1571009462 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | w = input()
ans = 'No'
for word in w:
if w.count(word) % 2 != 0:
break
else:
ans = "Yes"
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,742 |
s821505760 | p04012 | u594690363 | 1570980869 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 90 | w=input()
if all(w.count(c)%2==0 for c in set(w)):
print("Yes")
else:
print("No")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,743 |
s638049247 | p04012 | u469953228 | 1570941095 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 223 | w = input()
w = sorted(w)
w.append("A")
ans = "Yes"
count = 1
for i in range(len(w)-1):
if w[i+1] == w[i]:
count += 1
else:
if count % 2 != 0:
ans = "No"
break
else:
count = 1
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,744 |
s833328773 | p04012 | u512138205 | 1570890635 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 165 | w = input()
d = dict()
for c in w:
if c not in d:
d[c] = 0
else:
d[c] += 1
print('Yes' if all(map(lambda k: d[k] % 2 != 0, d)) else 'No')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,745 |
s291980460 | p04012 | u625741705 | 1570849395 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 344 | def a():
S = input()
if(len(S) == 1):
print("No")
return
s = list(S)
s.sort()
count = 0
prec = 'A'
for c in s:
if(prec != c):
prec = c
if(count%2 == 1):
print("No")
return
count = 0
count +=... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,746 |
s234919347 | p04012 | u654558363 | 1570843623 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 274 | from collections import defaultdict
if __name__ == "__main__":
letters = defaultdict(int)
for letter in input():
letters[letter] += 1
for letter in letters:
if letters[letter] % 2 != 0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,747 |
s549227139 | p04012 | u391059484 | 1570719848 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 187 | w = input()
alphabet = [chr(i) for i in range(ord('a'),ord('z')+1)]
for i in alphabet:
if w.count(i)%2 != 0:
print('No')
break
elif i != 'z':
pass
else:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,748 |
s300504220 | p04012 | u615817983 | 1570616529 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 142 | S = input()
d = {}
for s in S:
if s not in d:
d[s] = 1
else:
d[s] += 1
for k in d:
if d[k]%2 != 0:
print('No')
exit(0)
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,749 |
s445303695 | p04012 | u931489673 | 1570598234 | Python | Python (3.4.3) | py | Accepted | 23 | 3316 | 130 | from collections import Counter
d=Counter(input())
for k in d:
if d[k]%2!=0:
print('No')
exit()
print('Yes')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,750 |
s398744298 | p04012 | u328364772 | 1570553166 | Python | Python (3.4.3) | py | Accepted | 22 | 3444 | 208 | import collections
w = input()
w = list(w)
c = collections.Counter(w)
flag = True
for _ in c.values():
if _ % 2 == 1:
flag = False
break
if flag:
print('Yes')
else:
print('No')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,751 |
s540948610 | p04012 | u008357982 | 1570531515 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | w=list(input())
s=list(set(w))
for i in range(len(s)):
if w.count(s[i])%2>0:
print('No')
break
else:print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,752 |
s502394388 | p04012 | u408791346 | 1570492692 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 117 | w = input()
m = set(w)
for i in m:
if w.count(i)%2 != 0:
print('No')
break
else:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,753 |
s187624850 | p04012 | u231685196 | 1570425705 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 229 | w = input()
d = {}
for c in w:
if c in d:
d[c] += 1
else:
d[c] = 1
flag = True
for key in d.keys():
if d[key]%2 == 1:
flag = False
break
if flag:
print("Yes")
else:
print("No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,754 |
s622510124 | p04012 | u891635666 | 1570388771 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 195 | import collections
w = input().rstrip()
counter = collections.Counter()
for c in w:
counter[c] += 1
if sum(map(lambda x: x % 2, counter.values())) > 0:
print('No')
else:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,755 |
s865080250 | p04012 | u597047658 | 1570303416 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | import sys
w = input()
for s in set(w):
if w.count(s) % 2 == 1:
print('No')
sys.exit()
print('Yes')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,756 |
s740827549 | p04012 | u672898046 | 1570244750 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 145 | from collections import Counter
w = input()
l = list(w)
for i in Counter(l):
if Counter(l)[i] % 2 != 0:
print("No")
quit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,757 |
s022303264 | p04012 | u403986473 | 1570240928 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 218 | bun = input()
import collections
import sys
moji = [w for w in bun]
c = collections.Counter(moji)
c_list = list(c.values())
for count in c_list:
if count%2 == 1:
print('No')
sys.exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,758 |
s691232683 | p04012 | u873059840 | 1570128678 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 195 | w = input()
wordbox = []
for i in range(len(w)):
if(w[i] in wordbox):
wordbox.remove(w[i])
else:
wordbox.append(w[i])
if(wordbox):
print("No")
else:
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,759 |
s786353367 | p04012 | u945181840 | 1570058294 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 154 | from collections import Counter
w = input()
l = list(Counter(w).values())
for i in l:
if i % 2 != 0:
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,760 |
s399336579 | p04012 | u396495667 | 1570039573 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 139 | w = input()
l = list(set(w))
ans =0
for i in range(len(l)):
a = w.count(l[i])
if a %2 !=0:
ans =1
print('Yes' if ans ==0 else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,761 |
s978319609 | p04012 | u045909335 | 1570030076 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 201 | S = input()
dic = {}
for s in S:
if s in dic:
dic[s] += 1
else:
dic[s] = 1
for v in dic.values():
if v % 2 != 0:
break
else:
print('Yes')
exit()
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,762 |
s174052772 | p04012 | u089376182 | 1569982526 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | s = list(input())
unique_s = set(s)
judge_list = [s.count(char_i)%2 for char_i in unique_s]
print('Yes' if sum(judge_list)==0 else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,763 |
s517260992 | p04012 | u821989875 | 1569980546 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 269 | # coding: utf-8
target = list(input())
char_dict = {}
for s in target:
if s in char_dict:
char_dict[s] += 1
else:
char_dict[s] = 1
flag = 0
for i in char_dict.values():
if i % 2 == 1:
flag = 1
if flag == 0:
print("Yes")
elif flag == 1:
print("No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,764 |
s591562779 | p04012 | u153902122 | 1569870286 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 330 | from collections import Counter
w=str(input())
li=Counter(w)
for i in range(len(w)):
word=w[i]
if i==len(w)-1:
if li[word] % 2 == 0:
print('Yes')
break
else:
print('No')
break
if li[word]%2==0:
continue
else:
print('No')
... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,765 |
s361485283 | p04012 | u824326335 | 1569826312 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 89 | w = input()
for s in w:
if w.count(s)%2:
print("No")
break
else:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,766 |
s607246006 | p04012 | u747602774 | 1569784296 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 188 | w=list(input())
ans=sorted(w)
if len(ans)>1:
while ans[-1]==ans[-2]:
del ans[-2:]
if len(ans)==0 or len(ans)==1:
break
if len(ans)==0:
print('Yes')
else:
print('No')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,767 |
s906648937 | p04012 | u115188504 | 1569781472 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | w = list(input())
ans = "Yes"
for i in range(len(w)):
if w.count(w[i]) % 2 !=0:
ans = "No"
break
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,768 |
s041404412 | p04012 | u377989038 | 1569767051 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 141 | import collections
s = collections.Counter(input())
for i in s.values():
if i % 2 == 1:
print("No")
exit()
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,769 |
s131175121 | p04012 | u464912173 | 1569721726 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | a = input()
b=0
for i in a:
if a.count(i)%2==0:
b+=0
else:
b+=1
if b==0:
print('Yes')
else:
print('No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,770 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.