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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s295446684 | p04012 | u864453204 | 1559674315 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | w = list(input())
d = set(w)
for s in d:
if w.count(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,071 |
s834427516 | p04012 | u346395915 | 1559619158 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 147 | w = input()
li = set(w)
ans = [w.count(i) for i in li]
for i in ans:
if 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,072 |
s248195620 | p04012 | u463655976 | 1559610182 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | w = 0
codea = "a".encode()[0]
for x in input():
w ^= 1 << (x.encode()[0] - codea)
print("No" if w!=0 else "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,073 |
s675637327 | p04012 | u564060397 | 1559603687 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | a=list(input())
b=set(a)
for i in b:
c=a.count(i)
if c%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,074 |
s198938138 | p04012 | u243699903 | 1559596664 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | w=input()
for ch in w:
if w.count(ch)%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,075 |
s114917403 | p04012 | u564060397 | 1559595584 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | w=input()
n=list(set(w))
for i in n:
x=w.count(i)
if x%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,076 |
s270551871 | p04012 | u498620941 | 1559539943 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 227 | w = list(input())
ans = {}
for i in w :
if i in ans : ans[i] += 1
else : ans[i] = 1
count = 0
for i in ans.keys():
if ans[i] % 2 == 0 :
pass
else: count += 1
if count == 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,077 |
s754633021 | p04012 | u374531474 | 1559530250 | Python | Python (3.4.3) | py | Accepted | 25 | 3444 | 197 | from collections import defaultdict
w = input()
d = defaultdict(int)
for l in w:
d[l] += 1
ans = True
for n in d.values():
if n % 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,199,078 |
s344568818 | p04012 | u081408595 | 1559462798 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 205 | # your code goes here
s = input()
d = {}
flag = True
for i in s:
if i in d:
d[i] += 1
else:
d[i] = 1
for k in d:
if d[k] % 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,079 |
s112608108 | p04012 | u623687794 | 1559425702 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 189 | from collections import Counter
s=input()
c=Counter(s)
flag=0
a=list(c.values())
for i in range(len(a)):
if a[i]%2==1:
flag=1
break
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,199,080 |
s898156997 | p04012 | u483640741 | 1559343641 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | w=input()
n=list(set(w))
for i in n:
x=w.count(i)
if x%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,081 |
s599365873 | p04012 | u353652911 | 1559275190 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 75 | s=input()
print("Yes" if all([s.count(i)%2==0 for i in set(s)]) 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,082 |
s054432777 | p04012 | u353652911 | 1559274938 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 173 | l=input()
n=len(l)
ans=[]
for i in range(n):
if l.count(l[i])%2==0:
ans.append(0)
else:
ans.append(1)
print("Yes" if 1 not in 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,083 |
s054492174 | p04012 | u960653324 | 1559270745 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | w = str(input())
al = [chr(i) for i in range(97, 97+26)]
ans = "Yes"
for a in al:
if w.count(a)%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,084 |
s437314698 | p04012 | u587482466 | 1559269697 | Python | Python (3.4.3) | py | Accepted | 29 | 4188 | 792 | # -*- coding: utf-8 -*-
import itertools
import sys
import math
from functools import lru_cache
# 1整数
# n = int(input())
# 空白区切り2変数
from queue import Queue
from operator import mul
from functools import reduce
from queue import Queue
from operator import mul
from functools import reduce
from functools import lru_cach... | 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,085 |
s448049210 | p04012 | u587482466 | 1559269614 | Python | Python (3.4.3) | py | Accepted | 29 | 4188 | 792 | # -*- coding: utf-8 -*-
import itertools
import sys
import math
from functools import lru_cache
# 1整数
# n = int(input())
# 空白区切り2変数
from queue import Queue
from operator import mul
from functools import reduce
from queue import Queue
from operator import mul
from functools import reduce
from functools import lru_cach... | 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,086 |
s375156757 | p04012 | u846694620 | 1559268502 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 232 | import collections
def main():
w = input()
d = collections.defaultdict(bool)
for c in w:
d[c] ^= True
print('Yes' if all(v == False for v in d.values()) else '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,199,087 |
s319535325 | p04012 | u073549161 | 1559268386 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 193 | w = input()
d = dict()
for i in range(len(w)):
c = w[i]
count = d.get(c, 0)
d[c] = count + 1
f = True
for k in d:
if d[k] % 2 != 0:
f = False
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,199,088 |
s231881772 | p04012 | u319410662 | 1559268327 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 112 | from collections import Counter
w = input()
c = Counter(w)
print("Yes" if sum([c[k]%2 for k in c])==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,089 |
s364846036 | p04012 | u006657459 | 1559268242 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 141 | from collections import Counter
c = Counter(input())
for v in c.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,090 |
s511519739 | p04012 | u095089755 | 1559262976 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 221 | w = list(input())
store = [0 for i in range(26)]
for i in range(len(w)):
store[ord(w[i]) - 97] += 1
for i in range(len(store)):
store[i] = store[i] % 2
if sum(store) == 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,091 |
s353845020 | p04012 | u717001163 | 1559247684 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 191 | w=input()
l=dict()
for c in w:
if c in l:
l[c] += 1
else:
l[c] = 1
flag = True
for v in l.values():
if v % 2 != 0:
flag = False
print(("No","Yes")[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,092 |
s855977489 | p04012 | u366959492 | 1559158732 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 243 | w=input()
abc=["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"]
flag=True
for i in abc:
if w.count(i)%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,199,093 |
s766113248 | p04012 | u063550903 | 1559156196 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 195 | from collections import Counter
w = input()
w = Counter(w)
value,count = zip(*w.most_common())
count = list(count)
for i in count:
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,199,094 |
s592992046 | p04012 | u460245024 | 1559148486 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | w = list(input())
w_set = set(w)
for c in w_set:
if w.count(c)%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,095 |
s021659280 | p04012 | u449473917 | 1559139920 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | a=input()
b=list(a)
ans=0
for i in b:
if a.count(i)%2!=0:
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,096 |
s406337495 | p04012 | u133886644 | 1559103551 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 260 | import sys
input = sys.stdin.readline
S = list(input().strip())
m = {}
for v in S:
if m.get(v) != None:
m[v] += 1
else:
m[v] = 1
for v in m.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,097 |
s172613106 | p04012 | u416758623 | 1559046444 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 197 | import collections
w = list(input())
flag = True
wc = collections.Counter(w)
for i in wc.values():
if i % 2 != 0:
print("No")
flag =False
break
if flag:
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,098 |
s357214690 | p04012 | u266874640 | 1558997584 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 257 | w = input()
alphabet_list = [chr(i) for i in range(97,97+26)]
for i in range(len(alphabet_list)):
count = 0
for j in w:
if alphabet_list[i] == j:
count += 1
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,199,099 |
s585739376 | p04012 | u765590009 | 1558977139 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 140 | import sys
s = list(input())
for count_s in s:
if (int(s.count(count_s)%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,199,100 |
s825647425 | p04012 | u181668771 | 1558936447 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 217 | from collections import Counter
w = input()
c = Counter(list(w))
isBeautiful = True
for i in c.values():
if i % 2:
isBeautiful = False
break
if isBeautiful:
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,101 |
s874323446 | p04012 | u501163846 | 1558932277 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 180 | from collections import Counter
s=list(str(input()))
c=Counter(s)
l=list(c.values())
flag=False
for i in range(len(l)):
if l[i]%2!=0:
flag=True
print("YNeos"[flag::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,199,102 |
s905330623 | p04012 | u365364616 | 1558901346 | Python | Python (3.4.3) | py | Accepted | 21 | 3444 | 193 | from collections import Counter
w = input()
c = Counter(list(w))
ans = True
for v in c.values():
if v % 2:
ans = False
break
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,103 |
s820423003 | p04012 | u723180465 | 1558900260 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 228 | from collections import defaultdict
d = defaultdict(lambda: 0)
s = input().strip()
for c in s:
d[c] += 1
ans = True
for _, v in d.items():
if v % 2 != 0:
ans = False
break
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,104 |
s276590768 | p04012 | u591779169 | 1558857711 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 88 | 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,199,105 |
s948035823 | p04012 | u652081898 | 1558760031 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 146 | from collections import Counter
s = input()
c = Counter(s)
for i in c.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,199,106 |
s739167790 | p04012 | u167681750 | 1558752951 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 109 | from collections import Counter
print("Yes" if all(i % 2 == 0 for i in Counter(input()).values()) 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,107 |
s703492694 | p04012 | u570545890 | 1558731015 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 151 | import collections
w = [c for c in input()]
c = collections.Counter(w)
for i in c.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,199,108 |
s754818419 | p04012 | u856169020 | 1558717518 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 212 | w = str(input())
s = {}
for wrd in w:
if s.get(wrd) is None:
s[wrd] = 1
else:
s[wrd] += 1
ans = 1
for wrd in s:
if s[wrd] %2 !=0:
ans = 0
break
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,109 |
s872068802 | p04012 | u524747996 | 1558704724 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 205 | import sys
w = input()
d ={}
for i in w:
if i in d:
d[i] += 1
else:
d[i] = 1
for n in d.values():
if n % 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,199,110 |
s884029815 | p04012 | u802772880 | 1558651711 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | w=input()
ws=list(set(w))
ans='Yes'
for i in ws:
if w.count(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,199,111 |
s718239531 | p04012 | u008489560 | 1558642056 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 187 | w = sorted(input())
ret = 'Yes'
if len(w) % 2 == 0:
for i in range(0, len(w)-1, 2):
if w[i] != w[i+1]:
ret = 'No'
break
else:
ret = 'No'
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,199,112 |
s318280306 | p04012 | u381739460 | 1558625535 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 162 | a = str(input())
s = len(a)
while s % 2 == 0:
x = a[0:1]
a = a.replace(x,"")
s = len(a)
if s == 0:
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,199,113 |
s977999972 | p04012 | u131406102 | 1558547329 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 351 | a = list(input())
a = sorted(a)
def count(a):
b =[]
for i in range(0,len(a)-2):
if a[i] != a[i+1]:
b.append( i+1)
return b
b = count(a)
b.append(len(a))
for i in reversed(range(0,len(b)-1)):
b[i+1] =b[i+1] - b[i]
d = 0
for i in range(0,len(b)):
d = d +b[i]%2
if d ==0:
pri... | 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,114 |
s465492728 | p04012 | u919633157 | 1558533126 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | w=sorted(input())
s={}
for i in w:
s[i]=s.get(i,0)+1
ans='Yes'
for v in s.values():
if v%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,115 |
s075386396 | p04012 | u941438707 | 1558492646 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | w=input()
l="abcdefghijklmnopqrstuvwxyz"
ans=0
for i in l:
if w.count(i)%2==1:
ans=1
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,199,116 |
s431959507 | p04012 | u391731808 | 1558190648 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | n={c:0 for c in "abcdefghijklmnopqrstuvwxyz"}
for s in input():
n[s] = 1 - n[s]
print("YNeos"[sum(n.values())>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,199,117 |
s334487181 | p04012 | u042716570 | 1558070036 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 188 | w = [c for c in str(input())]
def f(w):
set_w = list(set(w))
for n in set_w:
if w.count(n) % 2 == 1:
return 'No'
break
return 'Yes'
print(f(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,199,118 |
s861364510 | p04012 | u977193988 | 1557957421 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 153 | w=list(input())
W=list(set(w))
m=0
for i in range(len(W)):
if w.count(W[i])%2==0:
m+=1
if m==len(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,199,119 |
s877807529 | p04012 | u379959788 | 1557938077 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 255 | #B問題
w = input()
ww = sorted(w)
flag = True
if len(w) % 2 != 0:
flag = False
else:
ww = sorted(w)
for i in range(0, len(ww), 2):
if ww[i] != ww[i+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,199,120 |
s112955416 | p04012 | u379959788 | 1557937625 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 714 | #B問題
w = input()
a = w.count("a") % 2
b = w.count("b") % 2
c = w.count("c") % 2
d = w.count("d") % 2
e = w.count("e") % 2
f = w.count("f") % 2
g = w.count("g") % 2
h = w.count("h") % 2
i = w.count("i") % 2
j = w.count("j") % 2
k = w.count("k") % 2
l= w.count("l") % 2
m = w.count("m") % 2
n = w.count("n") % 2
o = w.coun... | 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,121 |
s658076680 | p04012 | u315703650 | 1557929767 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 220 | import sys
w = input()
if len(w)%2!=0:
print("No")
sys.exit()
ww = sorted(w)
flag = True
for i in range(0,len(ww),2):
if ww[i]!=ww[i+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,199,122 |
s777452596 | p04012 | u542932305 | 1557889070 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 240 | w = input().rstrip()
dct = {}
for c in w:
if c in dct:
dct[c] += 1
else:
dct[c] = 1
values = list(dct.values())
result = 'Yes'
for i in values:
if i % 2 != 0:
result = 'No'
break
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,123 |
s404898127 | p04012 | u923712635 | 1557887126 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 168 | w = input()
li = [0]*26
flag = True
for i in w:
li[ord(i)-97]+=1
for i in li:
if(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,199,124 |
s781362783 | p04012 | u532966492 | 1557852429 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 |
s=input()
flag=0
for i in list("abcdefghijklmnopqrstuvwxyz"):
if s.count(i)%2!=0:
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,199,125 |
s919713025 | p04012 | u903948194 | 1557802243 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 152 | import collections
d = collections.Counter(input())
for k, v in d.items():
if v % 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,126 |
s026554896 | p04012 | u957872856 | 1557794128 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 182 | a = input()
b = []
count = 0
for i in a:
c = a.count(i)
b.append(c)
for i in b:
count += 1
if i % 2 != 0:
print("No")
break
elif count == len(b):
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,127 |
s247866391 | p04012 | u504562455 | 1557772246 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 156 | w = input()
flag_yes = True
for alph in w:
if w.count(alph)%2 == 1:
flag_yes = False
break
if flag_yes == 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,128 |
s152221388 | p04012 | u507116804 | 1557715797 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 164 | w=list(input())
s=list(set(w))
k=len(s)
b=0
for i in range(k):
if w.count(s[b])%2!=0:
print("No")
break
else:
b+=1
if b==k:
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,129 |
s919873981 | p04012 | u581187895 | 1557693357 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | import sys
input = sys.stdin.readline
s = input().strip()
arr = [(s.count(num)%2==0) for num in s]
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,199,130 |
s035816472 | p04012 | u565438278 | 1557594219 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 207 |
alphabets = "abcdefghijklmnopqrstuvwxyz"
judge_flag = "Yes"
words = input().rstrip()
for i in alphabets:
if (words.count(i))%2 == 0:
pass
else:
judge_flag = "No"
print(judge_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,131 |
s357921561 | p04012 | u993622994 | 1557521332 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 158 | w = input()
w = sorted(w)
set_w = list(set(w))
for i in range(len(set_w)):
if w.count(set_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,199,132 |
s329885033 | p04012 | u278886389 | 1557369704 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 119 | from collections import Counter
S = list(input())
print("No" if sum(map(lambda x:x%2,Counter(S).values())) else "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,133 |
s379037859 | p04012 | u150641538 | 1557257819 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | s=input()
f=True
for a in s:
if s.count(a)%2 != 0:
f=False
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,199,134 |
s805398951 | p04012 | u591779169 | 1557237591 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,199,135 |
s011119102 | p04012 | u064246852 | 1557212676 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 68 | w=input()
print("YNeos"[any(map(lambda c:w.count(c)%2, set(w)))::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,199,136 |
s868264076 | p04012 | u039360403 | 1557208200 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | 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,199,137 |
s446011727 | p04012 | u209918867 | 1557191559 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | s=input();print('YNeos'[sum(s.count(c)%2for c in set(s))>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,199,138 |
s526580937 | p04012 | u041196979 | 1557187612 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 146 | from collections import Counter
w = input()
if len([s for s, n in Counter(w).items() if n % 2 != 0]) == 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,139 |
s795253160 | p04012 | u300637346 | 1557159677 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 150 | w=input()
for i in range(len(w)):
if w.count(w[i]) % 2 != 0:
print('No')
exit()
else:
w.replace(w[i],'')
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,140 |
s934315594 | p04012 | u806855121 | 1557153286 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 179 | w = input()
d = {}
for c in w:
if c in d.keys():
d[c] += 1
else:
d[c] = 1
if all([x % 2== 0 for x in d.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,141 |
s679804339 | p04012 | u077291787 | 1557137719 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 184 | # ABC044B - 美しい文字列 / Beautiful Strings
s = list(input())
s_set = set(s)
for i in s_set:
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,142 |
s566881201 | p04012 | u875347753 | 1557120014 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | w = list(input())
ans = "Yes"
for i in w:
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,199,143 |
s311344204 | p04012 | u246820565 | 1557098651 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | w = list(input())
ans = 'Yes'
for i in w:
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,199,144 |
s489709534 | p04012 | u055941944 | 1557093059 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 282 | w=str(input())
x=["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"]
z=[]
for i in range(len(x)):
if w.count(x[i])%2!=0:
z.append(11)
else:
z.append(3)
if 11 in z:
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,145 |
s581429995 | p04012 | u271469978 | 1556950487 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 131 | w = input()
alph = set(list(w))
for c in alph:
if w.count(c) % 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,146 |
s130174980 | p04012 | u059262067 | 1556948612 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 142 | x = input()
s = set(list(x))
f = 0
for i in s:
if x.count(i) % 2 == 1:
f = 1
break
if f == 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,147 |
s714312036 | p04012 | u167751176 | 1556925141 | Python | Python (3.4.3) | py | Accepted | 28 | 3444 | 276 | from collections import defaultdict
def main():
b = defaultdict(int)
w = input()
for c in w:
b[c] += 1
beauty = True
for num in b.values():
if num%2 == 1:
beauty = False
break
if beauty:
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,199,148 |
s052399484 | p04012 | u732870425 | 1556924755 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 155 | w=list(input())
alpha=list('abcdefghijklmnopqrstuvwxyz')
for i in alpha:
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,149 |
s127373489 | p04012 | u734548018 | 1556920115 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 195 |
def solve(w):
for c in list(set(w)):
if w.count(c)%2 != 0:
return False
return True
if __name__ == "__main__":
if solve(str(input())):
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,150 |
s435593007 | p04012 | u491656579 | 1556908740 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 173 | import sys
from collections import Counter
w = input()
w_cnt = Counter(w)
for i in w_cnt.values():
if 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,199,151 |
s844966623 | p04012 | u728566015 | 1556856983 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 173 | w = str(input())
w_list = list(w)
w_unique = list(set(w_list))
for char in w_unique:
if w.count(char) % 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,152 |
s371892374 | p04012 | u592248346 | 1556839189 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | w = list(input())
x = set(w)
for i in x:
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,153 |
s120122605 | p04012 | u120691615 | 1556767172 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 158 | from collections import Counter
w = input()
cnt = Counter(w)
ans = "Yes"
for i in cnt.values():
if 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,199,154 |
s238600259 | p04012 | u120691615 | 1556766952 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 195 | W = input()
cnt = {}
for w in W:
if w in cnt:
cnt[w] += 1
else:
cnt[w] = 1
ans = "Yes"
for i in cnt.values():
if 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,199,155 |
s625754070 | p04012 | u589381719 | 1556758373 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 160 | s = input()
target = set(s)
flg=True
for i in target:
if s.count(i) % 2 != 0:
print("No")
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,156 |
s236308806 | p04012 | u651277159 | 1556750865 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 153 | W = input()
r = {}
for w in W:
r.setdefault(w, 0)
r[w] += 1
print("Yes" if len(list(filter(lambda x: x % 2 == 1, r.values()))) == 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,157 |
s092125855 | p04012 | u382431597 | 1556664822 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 138 | import sys
w = input()
for i in range(26):
if w.count(chr(ord("a") + 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,199,158 |
s120227832 | p04012 | u017271745 | 1556649324 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 187 | w = input()
num = {}
for i in w:
if i not in num:
num[i] = 0
num[i] += 1
ans = 'Yes'
for i in num.values():
if 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,199,159 |
s025746951 | p04012 | u731368968 | 1556630875 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 148 | w=input()
for i in range(ord('a'),ord('a')+26):
if w.count(chr(i))%2==1:
print('No')
import sys
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,199,160 |
s900214173 | p04012 | u767664985 | 1556581533 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | W = input()
for i in range(97, 97+26+1):
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,161 |
s768672063 | p04012 | u949414593 | 1556542786 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 116 | w=input()
from collections import Counter
c = Counter(w)
print("Yes" if all(n%2 == 0 for n in c.values()) 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,162 |
s841766231 | p04012 | u655834330 | 1556506038 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 368 | from collections import defaultdict
def read_input():
s = input().strip()
return s
def submit():
s = read_input()
char_dic = defaultdict(int)
for c in s:
char_dic[c] += 1
for item in char_dic.items():
if item[1] % 2 == 1:
print('No')
return
print... | 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,163 |
s980361350 | p04012 | u442030035 | 1556498299 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 139 | from collections import Counter
w = input()
c = Counter(w)
if all(i % 2 == 0 for i 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,164 |
s585420487 | p04012 | u576434377 | 1556495897 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 272 | ws = input()
hash_map = {}
for w in ws:
if w in hash_map.keys():
hash_map[w] += 1
else:
hash_map[w] = 1
is_beatiful = True
for k in hash_map.keys():
if hash_map[k] % 2 != 0:
is_beatiful = False
print("Yes" if is_beatiful 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,165 |
s788070391 | p04012 | u733337827 | 1556466119 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | w = input()
check = set(w)
for c in check:
if (w.count(c) % 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,166 |
s027623452 | p04012 | u220345792 | 1556410664 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 231 | w = input()
flag = False
arr = []
for i in w:
arr.append(i)
set_arr = list(set(arr))
for i in set_arr:
count_num = arr.count(i)
if count_num % 2 != 0:
flag = True
break
if flag:
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,167 |
s711461634 | p04012 | u609738635 | 1556401517 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 380 | # -*- coding: utf-8 -*-
def solve(w):
flag = True
W = list(w)
W_set = set(W)
for i in range(len(W_set)):
index = W.count(list(W_set)[i])
if(index%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,168 |
s786556846 | p04012 | u141642872 | 1556262547 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 186 | w = input()
d = {}
for c in w:
if c in d.keys():
d[c] += 1
else:
d[c] = 1
ans = "Yes"
for c in w:
if d[c] % 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,199,169 |
s651294591 | p04012 | u436982376 | 1556134942 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 187 | w=input()
wlist=[]
for i in range(len(w)):
if w[i] in wlist:
wlist.remove(w[i])
else:
wlist.append(w[i])
if len(wlist)==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,170 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.