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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s100951996 | p04012 | u369338402 | 1564011846 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 227 | w=input()
l=[]
c=0
for i in w:
l.append(i)
l.sort()
if len(l)<2:
print('No')
exit()
for k in range(len(l)-1):
if l[k]==l[k+1]:
c+=1
elif c%2==1:
c=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,971 |
s081140346 | p04012 | u201660334 | 1564003447 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 226 | w = input()
count = {}
for i in w:
count.setdefault(i, 0)
count[i] += 1
flag = True
for i in count.values():
if i % 2 == 1:
flag = False
break
if flag == True:
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,972 |
s240962158 | p04012 | u278356323 | 1563992037 | Python | Python (3.4.3) | py | Accepted | 32 | 3316 | 260 | #ABC044b
import sys
import re
input = sys.stdin.readline
sys.setrecursionlimit(10**6)
w = input()
eimozi = "abcdefghijklmnopqrstuvwxyz"
flag = True
for i in eimozi:
flag = w.count(i) % 2 == 0
if (not flag):
break
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,973 |
s458850912 | p04012 | u178888901 | 1563936812 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 217 | x = list(input())
x.sort()
if len(x) % 2:
print('No')
else:
f = True
for i in range(0, len(x), 2):
if x[i] == x[i + 1]:
continue
else:
f = False
break
print('Yes' if f 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,974 |
s304231749 | p04012 | u476562059 | 1563830998 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 219 | a = input()
ans = "Yes"
char_list = list(a)
doubli = list(set(char_list))
#print(doubli)
for x in doubli:
#print(char_list.count(x))
if(char_list.count(x) % 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,975 |
s112119517 | p04012 | u948524308 | 1563726616 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 235 | import sys
W = input()
alpha = ["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"]
for num in alpha:
if W.count(num) %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,976 |
s954225145 | p04012 | u797016134 | 1563650415 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | w = list(input())
for i in range(len(w)):
if w.count(w[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,977 |
s519472377 | p04012 | u282657760 | 1563648202 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 224 | w = str(input())
letter = ['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']
A = 'Yes'
for letter in letter:
if w.count(letter)%2 != 0:
A = 'No'
break
print(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,978 |
s853511568 | p04012 | u016622494 | 1563605874 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 158 | #ABC -44 -B
w = input()
result = ""
for i in w:
if w.count(i) % 2 ==0:
result = "Yes"
else :
print("No")
exit()
print(result)
| 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,979 |
s881369059 | p04012 | u537782349 | 1563594891 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 185 | a = list(input())
b = {}
for i in a:
if i in b:
b[i] += 1
else:
b[i] = 1
for i in b.values():
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,980 |
s985963838 | p04012 | u538632589 | 1563570140 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 386 | w = input()
w = list(w)
w.sort()
w_dict = {}
for i in range(len(w)):
if w[i] not in w_dict:
w_dict[w[i]] = True
isBeautiful = True
for k,v in w_dict.items():
idx = w.index(k)
if idx % 2 != 0:
isBeautiful = False
if len(w_dict.items()) == 1:
if len(w) % 2 != 0:
isBeautiful = F... | 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,981 |
s132577861 | p04012 | u257332942 | 1563412855 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | s = list(input())
flag = "Yes"
for x in s:
if s.count(x) % 2 != 0:
flag = "No"
print(flag) | 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,982 |
s675672689 | p04012 | u777283665 | 1563361230 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 161 | w = input()
counts = dict()
for c in w:
counts[c] = counts.get(c, 0) + 1
for s in counts.values():
if s % 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,983 |
s213162652 | p04012 | u828766688 | 1563342544 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 205 |
w = input()
dic = {}
for i in w:
if i in dic:
dic[i] += 1
else:
dic[i] = 1
ans = "Yes"
for i in dic:
if dic[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,984 |
s951794082 | p04012 | u103341055 | 1563317158 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 257 | W = input()
D = {}
flag = 0
for w in W:
if w in D:
D[w] += 1
else:
D[w] = 1
for v in D.values():
if v % 2 == 1:
flag = 1
continue
else:
pass
if flag == 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,985 |
s542295206 | p04012 | u845620905 | 1563259553 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 154 | S = input()
ss = set(list(S))
flag = True
for w in ss:
if(S.count(w) % 2 == 1):
flag = False
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,986 |
s720978393 | p04012 | u800258529 | 1563257946 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | l='abcdefghijklmnopqrstuvwxyz'
w=input()
print('YNeos'[sum([w.count(x)%2 for x in l])!=0::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,987 |
s453239357 | p04012 | u375500286 | 1563138771 | Python | Python (3.4.3) | py | Accepted | 20 | 2940 | 92 | s=list(input())
flag="Yes"
for v in s:
if s.count(v)%2!=0:
flag="No"
print(flag) | 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,988 |
s670751787 | p04012 | u191635495 | 1563029894 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 231 | from collections import Counter
w = list(input())
if len(w) % 2 == 1:
print('No')
else:
res = [0 if e % 2 == 0 else 1 for e in Counter(w).values()]
if sum(res) == 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,989 |
s523447655 | p04012 | u933341648 | 1563028522 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 126 | w = input()
set_ = set(w)
for s in set_:
if w.count(s) % 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,990 |
s844990538 | p04012 | u405256066 | 1562989731 | Python | Python (3.4.3) | py | Accepted | 24 | 3768 | 209 | from sys import stdin
import string
w = (stdin.readline().rstrip())
flag = True
for i in string.ascii_lowercase:
if w.count(i) % 2 != 0:
flag = False
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,991 |
s630369362 | p04012 | u239342230 | 1562986366 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | w=input()
arr=[]
for i in set(w):
arr.append(w.count(i)%2==0)
print("Yes" if all(arr) 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,992 |
s961603835 | p04012 | u537782349 | 1562980805 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 194 | a = input()
b = {}
for i in range(len(a)):
if a[i] in b:
b[a[i]] += 1
else:
b[a[i]] = 1
for i in b:
if b[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,993 |
s276810388 | p04012 | u314050667 | 1562965253 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 144 | import collections as c
a = c.Counter(input())
b = a.values()
c = [i for i in b if i % 2]
if len(c) == 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,994 |
s692600338 | p04012 | u105124953 | 1562901042 | Python | Python (3.4.3) | py | Accepted | 25 | 3772 | 212 | input = input()
import string
al = string.ascii_lowercase
for a in al:
tmp = ""
for i in input:
if i==a:
tmp+=i
if(len(tmp)%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,995 |
s522822772 | p04012 | u567434159 | 1562900331 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | s = input()
for it in range(ord('a'), ord('z') + 1):
ch = chr(it)
if s.count(ch) % 2:
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,996 |
s726121021 | p04012 | u172873334 | 1562760803 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | ans = True
s = input()
for c in s:
if s.count(c) % 2 == 1:
ans = False
print('Yes' if ans 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,997 |
s728262710 | p04012 | u790812284 | 1562744957 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 201 | import sys
w=input()
#wの要素を取得
w_set=set(w)
w_l=list(w_set)
for i in range(len(w_l)):
if w.count(w_l[i])%2==0:
pass
else:
print("No")
sys.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,998 |
s843915137 | p04012 | u010090035 | 1562721874 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 253 | w = input()
word = {}
l = len(w)
for i in range(l):
n = word.get(w[i], 0)
n = n+1
word[w[i]] = n
flag = True
for i in word.values():
if(i % 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,999 |
s222288728 | p04012 | u448655578 | 1562657151 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 199 | s = list(input())
ans = {x: s.count(x) for x in s}
answer =[]
for k, v in ans.items():
answer.append(v)
for i in range(len(answer)):
if answer[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,199,000 |
s866765310 | p04012 | u637918426 | 1562634038 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | w = input()
for i in range(len(w)):
if w.count(w[i]) % 2 == 0:
if i == len(w)-1:
print('Yes')
else:
print('No')
break
| 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,199,001 |
s579544614 | p04012 | u927534107 | 1562596979 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 173 | import collections
l=list(str(input()))
c = collections.Counter(l)
values, counts = zip(*c.most_common())
if all([i%2==0 for i in counts]):
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,199,002 |
s463578008 | p04012 | u997641430 | 1562561596 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 180 | w=input()
count={chr(i):0 for i in range(97,97+26)}
for c in w:
count[c]+=1
flag=0
for i in range(97,97+26):
if count[chr(i)]%2!=0:
flag=1
print(['Yes','No'][flag]) | 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,199,003 |
s578110613 | p04012 | u375823148 | 1562561067 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 193 | w = list(input())
w.sort()
r = 1
for i in range(len(w)):
if i!=(len(w)-1) and i%2==0 and w[i]!=w[i+1]: r=0
if(i!=0):
if(w[i]!=w[i-1]): r=0
if(i==0):
r=0
if r: 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,199,004 |
s642957037 | p04012 | u123745130 | 1562525459 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | s = input()
for i in s:
if s.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,199,005 |
s766167444 | p04012 | u093500767 | 1562522056 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 157 | from collections import Counter
x = Counter(input()).values()
a = 0
for i in x:
if i%2==1:
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,199,006 |
s532244984 | p04012 | u787456042 | 1562471692 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 119 | from collections import Counter
s=[1 for i in Counter(input()).values() if i%2 == 1]
if s: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,199,007 |
s985237491 | p04012 | u173199010 | 1562376649 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 136 | s = list(input())
a = "".join(s)
flag = 0
for v in s:
if(a.count(v)%2==1):
flag=1
if(flag==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,199,008 |
s961952151 | p04012 | u173199010 | 1562376609 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 136 | s = list(input())
a = "".join(s)
flag = 0
for v in s:
if(a.count(v)%2==1):
flag=1
if(flag==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,199,009 |
s251921057 | p04012 | u672475305 | 1562281110 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 150 | w = input()
lst = list(w)
lst_set = set(lst)
for t in lst_set:
num = lst.count(t)
if num%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,199,010 |
s515273802 | p04012 | u792217717 | 1562268199 | Python | Python (3.4.3) | py | Accepted | 22 | 3316 | 150 | from collections import Counter
s = input()
ans = Counter(s).most_common()
ans = all(map(lambda x: x[1] % 2 == 0, ans))
print("Yes" if ans 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,199,011 |
s212816922 | p04012 | u539517139 | 1562253523 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 146 | from collections import Counter as c
w=input()
l=list(c(w).values())
x='Yes'
for i in range(len(l)):
if l[i]%2!=0:
x='No'
break
print(x) | 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,199,012 |
s153575912 | p04012 | u473291366 | 1562210699 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 179 | d = {}
S = input()
for s in S:
if s in d:
d[s] += 1
else:
d[s] = 1
for v in d.values():
if v % 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,199,013 |
s172029082 | p04012 | u537976628 | 1562171575 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | w = input()
w_set = set(w)
for i in w_set:
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,199,014 |
s385764055 | p04012 | u759412327 | 1562124932 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 167 | from collections import Counter
a = input()
b = Counter(a)
c = 0
for i in b.values():
if i%2!=0:
c = 1
else:
if c==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,199,015 |
s509891370 | p04012 | u222207357 | 1562042971 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | w = input()
ans = 'Yes'
for ch in w:
if w.count(ch)%2:
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,199,016 |
s279098656 | p04012 | u116670634 | 1561938816 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 136 | w = input()
p = [0] * 256
for i in w:
p[ord(i)] += 1
ans = "Yes"
for i in range(256):
if p[i] % 2:
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,199,017 |
s645462831 | p04012 | u970449052 | 1561838591 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | w=input()
for i in range(len(w)):
if w.count(w[i])%2==1:
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,199,018 |
s002372400 | p04012 | u513081876 | 1561823953 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 134 | w = input()
s = set([i for i in w])
for i in s:
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,199,019 |
s252508048 | p04012 | u480480664 | 1561785377 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 178 | def main():
word=input()
for i in word:
if word.count(i)%2!=0:
print("No")
return
print("Yes")
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,199,020 |
s056301340 | p04012 | u373499377 | 1561776331 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 364 | def main():
word = list(input())
word_set = list(set(word))
# word = input()
for str in word_set:
if word.count(str) % 2 == 1:
print('No')
return
# for str in word:
# if word.count(str) % 2 == 1:
# print('No')
# return
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,199,021 |
s315946483 | p04012 | u373499377 | 1561775581 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 192 | def main():
word = input()
for str in word:
if word.count(str) % 2 == 1:
print('No')
return
print('Yes')
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,199,022 |
s621727964 | p04012 | u474423089 | 1561770537 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 209 | def main():
l = list(input())
l_set = list(set(l))
for i in l_set:
n = l.count(i)
if n%2 != 0:
return 'No'
return 'Yes'
if __name__ == '__main__':
print(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,199,023 |
s007349841 | p04012 | u671252250 | 1561744925 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 209 | # coding: utf-8
# Your code here!
import collections
w = input()
arr = list(w)
dic = collections.Counter(arr)
for i in dic.values():
if 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,199,024 |
s344881460 | p04012 | u293523199 | 1561708425 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 230 | w_list = list(input())
w_dict = {}
for c in w_list:
if( c not in w_dict ):
w_dict[c] = 1
else:
w_dict[c] += 1
result = 'Yes'
for v in w_dict.values():
if( v % 2 ):
result = 'No'
print(result) | 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,199,025 |
s018747242 | p04012 | u855819610 | 1561582218 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 217 | w = str(input())
alp =[]
judge = "True"
for i in w:
if i not in alp:
alp.append(i)
for x in alp:
if w.count(x)%2 ==1:
judge = "False"
if judge == "True":
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,199,026 |
s548353105 | p04012 | u044025551 | 1561580906 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 113 | w=list(input())
YN=True
for i in w:
if w.count(i)%2!=0:
YN=False
break
print("Yes" if YN 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,199,027 |
s438065338 | p04012 | u674951726 | 1561580467 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 359 | w_str = str(input())
letter = 'abcdefghijklmnopqrstuvwxyz'
alphabet_count = [0]*len(letter)
for i in range(len(w_str)):
for k in range(len(letter)):
if letter[k] == w_str[i]:
alphabet_count[k] += 1
count = 0
for j in range(len(alphabet_count)):
if alphabet_count[j] % 2 == 0:
count += 1
if 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,199,028 |
s382111160 | p04012 | u802977614 | 1561579830 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 111 | w=list(input())
for i in range(26):
a=w.count(chr(97+i))
if a%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,199,029 |
s288014963 | p04012 | u015316911 | 1561506092 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 345 | w = input()
w_list = list(w)
alpha_list = [0] * 26
alpha_num = 0
alpha_fun = lambda c: ord(c) - ord('a')
for i in w_list:
alpha_list[alpha_fun(i)] += 1
flg_num = 0
flg = False
for j in alpha_list:
if j == 0 or j % 2 == 0:
flg = True
else:
flg = False
break
if flg:
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,199,030 |
s938972133 | p04012 | u714300041 | 1561486454 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 262 | from collections import defaultdict
def main():
W = input()
d = defaultdict(int)
for w in W:
d[w] += 1
for v in d.values():
if v % 2 != 0:
return 0
return 1
if main():
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,199,031 |
s665581814 | p04012 | u263830634 | 1561429201 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 117 | w = list(input())
for i in w:
a = w.count(i)
if a%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,199,032 |
s443951674 | p04012 | u123824541 | 1561423535 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 158 | S = input()
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for c in alphabet:
s = S.count(c)
if s % 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,199,033 |
s666767447 | p04012 | u123824541 | 1561423443 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 188 | S = input()
alphabet = 'abcdefghijklmnopqrstuvwxyz'
alpha_list = list(alphabet)
for c in alpha_list:
s = S.count(c)
if s % 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,199,034 |
s902387063 | p04012 | u371409687 | 1561394998 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | x=sorted(input())
ans="Yes"
for i in range(97,123):
if x.count(chr(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,199,035 |
s509865843 | p04012 | u290211456 | 1561364162 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 251 | w = input()
l = []
for i in range(len(w)):
if w[i] not in l:
l.append(w[i])
cnts = [2] * len(l)
for i in range(len(w)):
for j in range(len(l)):
if w[i] == l[j]:
cnts[j] += 1
if all(i%2 == 0 for i in cnts):
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,199,036 |
s778530047 | p04012 | u827141374 | 1561343345 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | w = input()
a = {}
for i in w:
a[i] = 1
x = 1
for i in a:
if (w.count(i) & 1) == 1:
x = 0
break
if x:
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,199,037 |
s369227038 | p04012 | u450339194 | 1561298713 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 310 | nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()
W = s()
from collections import defaultdict
counts = defaultdict(int)
for c in W:
counts[c] += 1
if all([v % 2 == 0 for v in counts.values()]):
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,199,038 |
s595234004 | p04012 | u323120917 | 1561250099 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 206 | s=input().rstrip()
x=list(s)
G=0;
t=list(set(x))
for i in range(0,len(t)):
if x.count(t[i])%2==0:
continue;
else:
G=1;
break;
if G==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,199,039 |
s911717915 | p04012 | u494927057 | 1561239915 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | w = input()
flag = True
for s in w:
if not w.count(s) % 2 == 0:
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,199,040 |
s651502756 | p04012 | u497046426 | 1561181035 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 160 | from collections import Counter
W = input()
cnt = Counter(W)
for n in cnt.values():
if n % 2 == 1:
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,199,041 |
s413091963 | p04012 | u059210959 | 1561143172 | Python | Python (3.4.3) | py | Accepted | 40 | 5460 | 874 | # encoding:utf-8
import copy
import random
import bisect #bisect_left これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys
mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in... | 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,199,042 |
s103052806 | p04012 | u905268546 | 1561087753 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | w = input()
S = "abcdefghijklmnopqrstuvwxyz"
for s in S:
if w.count(s) % 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,199,043 |
s411566000 | p04012 | u924308178 | 1561042684 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 106 | s = input()
for i in list(set(s)):
if s.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,199,044 |
s716180197 | p04012 | u902462889 | 1560891994 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 204 |
ans = "Yes"
lst_A = list(input())
lst_A.sort()
if len(lst_A) % 2 == 1:
ans = "No"
else:
for i in range(0,len(lst_A)-1,2):
if lst_A[i] != lst_A[i+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,199,045 |
s309886507 | p04012 | u316240682 | 1560891016 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 261 | word = input()
judge = []
ans = 0
for i in range(len(word)):
judge.append(word.count(word[i]))
#print(judge)
for i in range(len(judge)):
if judge[i] %2 == 0:
ans += 0
else:
ans += 1
if 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,199,046 |
s273943927 | p04012 | u606045429 | 1560837387 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 138 | from collections import Counter
W = input()
C = Counter(W)
if all(v % 2 == 0 for v in C.values()):
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,199,047 |
s274037083 | p04012 | u580904613 | 1560768117 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 115 | w = input()
for i in range(ord('a'), ord('z')):
if(w.count(chr(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,199,048 |
s488739893 | p04012 | u970308980 | 1560731739 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 203 | def abc():
from itertools import groupby
s = sorted(input().rstrip())
for k, g in groupby(s):
if len(list(g)) % 2:
print('No')
return
print('Yes')
abc()
| 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,199,049 |
s806723412 | p04012 | u114648678 | 1560705964 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 196 | w=input()
cnt=[]
ans=0
for i in range(len(w)):
cnt.append(w.count(w[i]))
for j in range(len(cnt)):
if cnt[j]%2==0:
continue
else:
ans+=1
if 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,199,050 |
s643397941 | p04012 | u245870380 | 1560630883 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | w = input()
for i in set(w):
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,199,051 |
s122306197 | p04012 | u430223993 | 1560620112 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 257 | w = input()
from collections import defaultdict
dic = defaultdict(lambda : 0)
for i in w:
dic[i] += 1
counter = 0
for key in dic.keys():
if dic[key] % 2 != 0:
counter = -1
break
if counter == 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,199,052 |
s757811132 | p04012 | u614734359 | 1560566692 | Python | Python (3.4.3) | py | Accepted | 23 | 3316 | 156 | from collections import Counter
w = [c for c in input()]
for cnt in Counter(w).values():
if cnt%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,199,053 |
s388712490 | p04012 | u663014688 | 1560459484 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 169 | w = input()
flg = True
for i in list("abcdefghijklmnopqrstuvwxyz"):
if w.count(i) % 2 != 0:
flg = False
if flg:
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,199,054 |
s963646841 | p04012 | u223646582 | 1560447590 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 167 | w=sorted(input())
if len(w)%2==1:
print('No')
else:
while len(w)>=2:
if w.pop(0)!=w.pop(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,199,055 |
s871883534 | p04012 | u136811344 | 1560440968 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 151 | w = input()
from collections import Counter
C = Counter()
for w_i in w:
C[w_i]=(C[w_i]+1)%2
if sum(C.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,199,056 |
s523144858 | p04012 | u701318346 | 1560395733 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | w = list(input())
s = set(w)
s = list(s)
ans = 'Yes'
for i in range(len(s)):
if w.count(s[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,199,057 |
s668845302 | p04012 | u865741247 | 1560359423 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 243 | from collections import defaultdict
di = defaultdict(lambda :0)
S = input()
for c in S:
di[c] += 1
flag = True
for v in di.values():
if v %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,199,058 |
s105590073 | p04012 | u102461423 | 1560319499 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 165 | s = input()
from collections import Counter
c = Counter(s)
bl = True
for v in c.values():
if v&1:
bl = False
answer = 'Yes' if bl else '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,199,059 |
s771681450 | p04012 | u822738981 | 1560218960 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 182 | # -*- coding: utf-8 -*-
w = input()
ans = 0
w1 = list(set(list(w)))
for i in range(len(w1)):
if w.count(w1[i]) % 2 == 1:
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,199,060 |
s031422262 | p04012 | u131405882 | 1560218571 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 89 | w = input()
if any(w.count(t)%2 for t in w) == 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,199,061 |
s025685100 | p04012 | u107407427 | 1560096120 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | w = input()
W = []
for k in w:
W.append(k)
for i in 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,199,062 |
s939584152 | p04012 | u569272329 | 1560055695 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | string = input()
ans = True
for c in string:
if string.count(c) % 2 != 0:
ans = False
if ans:
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,199,063 |
s842255061 | p04012 | u027002244 | 1560040246 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 232 |
a=list(input())
a.sort()
i=0
#print(a)
while True:
try:
z=a[i]
if a.count(z)%2==0:
i=i+a.count(z)
else:
print("No")
break
except:
print("Yes")
break | 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,199,064 |
s013711311 | p04012 | u733774002 | 1560021681 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | w = input()
ans = "Yes"
for i in range(len(w)):
if w.count(w[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,199,065 |
s994709704 | p04012 | u400620139 | 1560020528 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 290 | import sys
str = input()
str = sorted(str)
flag = False
for index, s in enumerate(str):
if index+1 < len(str) and s == str[index+1]:
flag ^= True
else:
if not flag:
print("No")
sys.exit()
else:
flag = False
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,199,066 |
s054060126 | p04012 | u097121858 | 1559890675 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | S = input()
C = {c: S.count(c) for c in S}
C = set(C.values())
C = {c % 2 == 0 for c in C}
print('Yes' if all(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,199,067 |
s430468294 | p04012 | u399721252 | 1559788531 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | s = list(input())
if all([ s.count(i) % 2 == 0 for i in s ] ):
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,199,068 |
s714070613 | p04012 | u559126797 | 1559777283 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 138 | s=input()
answer="Yes"
while len(s)>0:
if s.count(s[0])%2==1:
answer="No"
break
s=s.replace(s[0],"")
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,199,069 |
s111402878 | p04012 | u977642052 | 1559740425 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 227 | def resolve():
w = input()
w_sets = set()
[w_sets.add(w[x]) for x in range(0, len(w))]
for x in w_sets:
if w.count(x) % 2 != 0:
print('No')
return
print('Yes')
resolve()
| 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,199,070 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.