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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s497626886 | p04012 | u133936772 | 1581750588 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 83 | w = input()
s = {w.count(c) for c in set(w)}
print('YNeos'[any(i%2 for i in s)::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,471 |
s521006021 | p04012 | u045953894 | 1581738210 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 167 | w = sorted(input())
flag = 0
for i in w:
c = w.count(i)
if c % 2 == 0:
pass
else:
print('No')
flag = 1
break
if flag == 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,472 |
s560519580 | p04012 | u534450736 | 1581712814 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 170 | alphabet = "abcdefghijklmnopqrstuvwxyz"
w = list(input())
for alpha in alphabet:
if w.count(alpha) % 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,198,473 |
s995021608 | p04012 | u047816928 | 1581699204 | Python | Python (3.4.3) | py | Accepted | 20 | 2940 | 82 | w = input()
for c in w:
if w.count(c)&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,474 |
s704437070 | p04012 | u080364835 | 1581647278 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | wl = list(input())
for w in wl:
if wl.count(w) % 2 != 0:
print('No')
exit()
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,475 |
s409340007 | p04012 | u287920108 | 1581618008 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | w = input()
lst = sorted(w)
for _ in range(len(lst)//2):
if lst[-1] == lst[-2]:
lst = lst[:-2]
print('Yes' if len(lst)==0 else 'No') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,476 |
s596793085 | p04012 | u996434204 | 1581542413 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 169 | w = input()
s = set(list(w))
flag = True
for ss in s:
if w.count(ss) % 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,198,477 |
s809159191 | p04012 | u953794676 | 1581534596 | Python | Python (3.4.3) | py | Accepted | 23 | 2940 | 174 | e = input()
set_e = set(e)
is_beautiful = 'Yes'
for i in set_e:
if e.count(i)%2 == 1:
is_beautiful = 'No'
break
else:
pass
print(is_beautiful) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,478 |
s433565165 | p04012 | u670133596 | 1581509190 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 254 | W = input()
alpha = []
num = []
for char in W:
if char in alpha:
num[alpha.index(char)] += 1
else:
alpha.append(char)
num.append(1)
ans = 'Yes'
for n in num:
if n % 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,479 |
s900180206 | p04012 | u980909653 | 1581450969 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 161 | s = input()
from collections import Counter
c = Counter(s)
bl = True;
for v in c.values():
if v%2==1:
bl = False
ans = 'Yes' if bl else 'No'
print(ans)
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,480 |
s305387819 | p04012 | u189487046 | 1581450320 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | w = input()
wd = list(set(w))
for word in wd:
if w.count(word) % 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,481 |
s493520877 | p04012 | u772649753 | 1581396495 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | w = input()
n = "0"
for i in w:
if w.count(i) % 2 == 1:
n = n + "1"
if n == "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,482 |
s494781237 | p04012 | u083960235 | 1581389149 | Python | Python (3.4.3) | py | Accepted | 40 | 5148 | 826 | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_upper... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,483 |
s187702011 | p04012 | u630027862 | 1581388061 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 185 | w = input()
w_list = list(w)
w_set = set(w_list)
for val in w_set:
if w_list.count(val) % 2 == 0:
continue
else:
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,484 |
s050441030 | p04012 | u721970149 | 1581279401 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 323 | # 入力 文字列1つ
w = input()
w_list = list(w)
alphabet = dict.fromkeys("abcdefghijklmnopqrstuvwxyz",0)
beautiful = True
for i in range(len(w)) :
alphabet[w_list[i]] += 1
for i in alphabet :
if alphabet[i]%2 != 0 :
beautiful = False
if beautiful == 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,485 |
s193326603 | p04012 | u273010357 | 1581272556 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | w = input()
fl = True
for j in w:
if w.count(j)&1:
fl = False
print('Yes') if fl 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,486 |
s615134840 | p04012 | u861141787 | 1581243762 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 206 | w = input()
a = [0 for _ in range(26)]
for i in range(len(w)):
s = ord(w[i]) - ord("a")
a[s] += 1
for i in range(26):
if a[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,198,487 |
s169501329 | p04012 | u046592970 | 1581218375 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | a = list(input())
b = set(a)
cnt = 0
for i in b:
if a.count(i) % 2 != 0:
cnt += 1
if cnt == 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,488 |
s043855645 | p04012 | u745812846 | 1581209976 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 183 | s = input()
d = dict()
for c in s:
if c in d:
d[c] += 1
else:
d[c] = 1
for v in d.values():
if v % 2 !=0:
print("No")
exit(0)
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,489 |
s794006487 | p04012 | u325206354 | 1581179362 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 157 | from collections import Counter
a = input()
b=Counter(a)
x=b.values()
for s in x:
if 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,490 |
s132116451 | p04012 | u124498235 | 1581121433 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 144 | import collections
w = input()
a = list(w)
b = collections.Counter(a)
for i in b.keys():
if b[i] %2 == 1:
print ("No")
exit()
print ("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,491 |
s710743074 | p04012 | u934868410 | 1581099703 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 160 | s = input()
d = dict()
for c in s:
if c in d:
d[c] += 1
else:
d[c] = 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,198,492 |
s059567603 | p04012 | u984276646 | 1581013439 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 157 | S = input()
D = {}
for i in S:
if i in D:
D[i] += 1
D[i] %= 2
else:
D[i] = 1
if sum(D[i] for i in D) == 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,493 |
s863702859 | p04012 | u961683150 | 1581007826 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | w= input()
w_set =set(w)
for i in w_set:
if w.count(i)%2==1:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,494 |
s586773720 | p04012 | u131267733 | 1580965005 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 194 | s= input()
char_list = [ chr(ord('a')+num) for num in range( 26 ) ]
ind = 0
for i in char_list:
if s.count(i) % 2 != 0:
ind = 1
break
if ind == 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,495 |
s043465188 | p04012 | u885440767 | 1580962688 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 146 | from collections import Counter
s = input()
s = Counter(s)
for i in s.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,198,496 |
s028723177 | p04012 | u732412551 | 1580960987 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 100 | from collections import Counter
C = Counter(input())
print("YNeos"[any(v&1 for v in C.values())::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,497 |
s074887312 | p04012 | u143212659 | 1580945799 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 238 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
W = list(input())
for w in set(W):
if W.count(w) % 2 != 0:
print('No')
exit(0)
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,198,498 |
s923195000 | p04012 | u628976407 | 1580943617 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 138 | from collections import Counter
n = Counter(input())
for i in n.values():
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,198,499 |
s894445715 | p04012 | u556610039 | 1580938880 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 306 | str = input()
list = []
for x in range(len(str)):
list.append(str[x])
list.sort()
if len(str) % 2 != 0: print("No")
else:
iscount = True
for x in range(int(len(str) / 2)):
if list[2 * x] != list[2 * x + 1]: iscount = False
if iscount == 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,500 |
s699087879 | p04012 | u490553751 | 1580864963 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 191 | w = list(input())
import collections
c = collections.Counter(w)
li = list(c.values())
ans = "Yes"
for i in range(len(li)) :
if li[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,501 |
s399874469 | p04012 | u075155299 | 1580838765 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 184 | #!/usr/bin/env python3
s=input()
d={}
for i in s:
if i in d:
d[i]=d[i]+1
else:
d[i]=1
c="Yes"
for k,v in d.items():
if v%2 !=0:
c="No"
print(c)
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,502 |
s071729439 | p04012 | u572193732 | 1580837564 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 247 | w = input()
w_dict = dict()
for i in range(len(w)):
if w[i] in w_dict:
w_dict[w[i]] += 1
else:
w_dict[w[i]] = 1
for v in w_dict.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,198,503 |
s970913195 | p04012 | u353855427 | 1580687174 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | w = input()
w_set = set(w)
for i in w_set:
if w.count(i) % 2 ==1:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,504 |
s311229942 | p04012 | u506858457 | 1580686759 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 161 | import collections
w=input()
c = collections.Counter(w)
d=list(c.values())
for i in range(len(d)):
if d[i]%2!=0:
print('No')
break
else:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,505 |
s792039828 | p04012 | u230621983 | 1580676056 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | w = input()
cs = set(w)
ans = 'Yes'
for c in cs:
if w.count(c)%2 != 0:
ans = 'No'
break
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,506 |
s075449841 | p04012 | u762420987 | 1580612800 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 154 | from collections import Counter
w = Counter(input())
for v in w.values():
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,198,507 |
s156465514 | p04012 | u361381049 | 1580610879 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 161 | w = list(input())
moji = set()
ans = 'Yes'
for i in range(len(w)):
moji.add(w[i])
for i in moji:
if (w.count(i) % 2)!= 0:
ans = 'No'
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,508 |
s756219756 | p04012 | u840958781 | 1580601814 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | w=input()
for i in range(len(w)):
if w.count(w[i])%2==0:
ans="Yes"
else:
ans="No"
break
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,509 |
s380890105 | p04012 | u751843916 | 1580598266 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 109 | n=input()
l=set(list(n))
b=True
for x in l:
if n.count(x)%2==1:b=False
if b: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,510 |
s356320886 | p04012 | u989345508 | 1580582013 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 301 | def groupby(a):
a2=[[a[0],1]]
for i in range(1,len(a)):
if a2[-1][0]==a[i]:
a2[-1][1]+=1
else:
a2.append([a[i],1])
return a2
w=list(input())
w.sort()
w=groupby(w)
for i in w:
if i[1]%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,198,511 |
s467101129 | p04012 | u113971909 | 1580526567 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 146 | a=list(input())
a.sort()
ans = 'Yes'
if len(a)%2==1:
ans='No'
else:
for i in range(0,len(a),2):
if a[i]!=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,198,512 |
s940702676 | p04012 | u478888559 | 1580510819 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 196 | from collections import Counter
w = input()
count = Counter(w)
judge = True
for v in count.values():
if v % 2 == 1:
judge = False
if judge:
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,513 |
s145705502 | p04012 | u445404615 | 1580503063 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | w = input()
t = set()
for i in w:
t.add(i)
for i in t:
if w.count(i) % 2 != 0:
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,514 |
s932449858 | p04012 | u110996038 | 1580484582 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 162 | w = input()
f = True
for i in range(ord('a'),ord('z')+1):
x = w.count(chr(i))
if(x%2==1):
f = False
if(f):
print("Yes")
else:
print("No")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,515 |
s923306441 | p04012 | u589578850 | 1580422595 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 226 | w = [i for i in input()]
letters = "abcdefghijklmnopqrstuvwxyz"
flg = True
for letter in letters:
num = w.count(letter)
if num % 2 != 0:
flg = False
break
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,198,516 |
s252545790 | p04012 | u264681142 | 1580361830 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 88 | w = input()
for c in w:
if w.count(c) % 2:
print("No")
quit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,517 |
s672637345 | p04012 | u998082063 | 1580354564 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 206 | w = list(input())
tmp = []
for i in w:
if w.count(i) % 2 == 0:
if i in tmp:
continue
else:
tmp.append(i)
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,518 |
s330538203 | p04012 | u682997551 | 1580351334 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 233 | import sys
w = input()
letters = dict()
for c in w:
if c in letters:
letters[c] += 1
else:
letters[c] = 1
for _, v in letters.items():
if v % 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,519 |
s989964858 | p04012 | u170183831 | 1580319913 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 180 | def solve(w):
d = {}
for l in w:
d[l] = (d[l] + 1) if l in d else 1
return 'Yes' if all(v % 2 == 0 for v in d.values()) else 'No'
_w = input()
print(solve(_w)) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,520 |
s077545456 | p04012 | u857070771 | 1580218120 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 134 | w=input()
l=list(i for i in w)
m=list(set(l))
for j in range(len(m)):
if l.count(m[j]) % 2 != 0:
print('No')
exit(0)
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,521 |
s198767286 | p04012 | u686036872 | 1580108706 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | S = list(input())
for i in range(ord("a"), ord("z")+1):
if S.count(chr(i))%2 != 0:
print("No")
break
else:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,522 |
s653824944 | p04012 | u698197687 | 1580098500 | Python | Python (3.4.3) | py | Accepted | 22 | 3316 | 294 | from collections import Counter
def is_this_a_beautiful_sentence(sentence):
letter_count = Counter(sentence)
for c in letter_count.values():
if c % 2 == 1:
return 'No'
return 'Yes'
if __name__=='__main__':
print(is_this_a_beautiful_sentence(input())) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,523 |
s182937785 | p04012 | u858436319 | 1580002978 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 266 | abc ="abcdefghijklmnopqrstuvwxyz"
word = input()
num = 0
for i in range(26):
for j in range(len(word)):
if word[j] == abc[i]:
num = num + 1
if num % 2 != 0:
break
num = 0
if num % 2 != 0:
print("No")
else:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,524 |
s394526876 | p04012 | u805841327 | 1579891767 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | w=input()
check=False
for i in w:
if(not w.count(i)%2==0):
check=True
break
if (check):
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,525 |
s119593048 | p04012 | u843722521 | 1579878545 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 170 | from collections import defaultdict
s=list(input())
d=defaultdict(int)
for i in s:
d[i]+=1
for i in d.values():
if i%2:
print("No")
break
else:
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,526 |
s036890909 | p04012 | u790048565 | 1579781840 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 346 | w = input()
letters = ['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', ]
counts = []
for letter in letters:
counts.append(w.count(letter))
isEven = True
for c in counts:
if (c % 2 == 1):
isEven = False
result = 'Yes' if isEve... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,527 |
s465590185 | p04012 | u241159583 | 1579754542 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 201 | w = list(input())
count_w = list(set(w))
count_number = 0
for i in range(len(count_w)):
if w.count(count_w[i]) % 2 == 0:
count_number += 1
print("Yes" if count_number == len(count_w) else "No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,528 |
s551719430 | p04012 | u355865104 | 1579749465 | Python | Python (3.4.3) | py | Accepted | 19 | 3188 | 293 | import re
if __name__ == "__main__":
word = input()
s = re.compile("[a-z]+")
ans = "Yes"
if s.fullmatch(word) is not None:
unique_w = list(set(word))
for w in unique_w:
if word.count(w) % 2 != 0:
ans = "No"
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,529 |
s139439922 | p04012 | u995062424 | 1579746890 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 196 | w = input()
a = 0
for i in range(len(w)):
a = w.count(w[i])
if(a%2 != 0):
print("No")
break
else:
if(i == len(w)-1):
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,198,530 |
s210535269 | p04012 | u053699292 | 1579737967 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 323 | abc_list = ['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']
if __name__ == '__main__':
w = input()
w = [s.split()[0] for s in w]
check = 0
for i in abc_list:
if w.count(i) % 2 != 0:
check = 1
break
if check == 0:
print('Yes')
else:
print('N... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,531 |
s711610612 | p04012 | u780206746 | 1579700697 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 240 | from collections import Counter
in_s = input()
def judge(s):
cnt = Counter(list(s))
for _, v in cnt.items():
if v % 2 != 0:
return False
return True
if judge(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,198,532 |
s797403230 | p04012 | u071868443 | 1579673349 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 133 | w = str(input())
uniques = list(set(w))
judge = 'Yes'
for i in uniques:
if list(w).count(i) % 2 == 1:
judge = 'No'
print(judge) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,533 |
s838181750 | p04012 | u344959886 | 1579639025 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | import sys
w=list(input())
s=set(w)
for i in s:
if w.count(i) % 2 != 0:
print("No")
sys.exit()
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,534 |
s733160136 | p04012 | u149991748 | 1579630305 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | s = input()
res = 'Yes'
for i in range(len(s)):
hantei = s.count(s[i])
if hantei%2 == 1:
res = 'No'
break
print(res) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,535 |
s901102745 | p04012 | u690037900 | 1579435763 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 174 | s=[]
t=input()
for i in range(ord("a"),ord("z")+1):
s.append(t.count(chr(i)))
for i in range(len(s)):
if s[i]%2 != 0:
print("No")
exit(0)
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,536 |
s150905277 | p04012 | u072717685 | 1579396215 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 134 | from collections import Counter
c1 = Counter(input())
for c in c1:
if c1[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,198,537 |
s754848451 | p04012 | u072717685 | 1579387289 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | w = input()
checked_char = ""
r = 'Yes'
for c in w:
if c not in checked_char:
if (w.count(c)) % 2 == 1:
r = 'No'
break
checked_char += c
print(r) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,538 |
s183844493 | p04012 | u871596687 | 1579380736 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 107 | n = list(input())
for i in n:
if n.count(i)%2 != 0:
print("No")
exit()
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,539 |
s437765258 | p04012 | u106342872 | 1579369706 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 303 | w = str(input())
w = list(w)
flag = True
for c in [chr(i) for i in range(97, 97+26)]:
count = 0
for i in range(len(w)):
if w[i] == c:
count += 1
if count % 2 == 0:
pass
else:
flag = False
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,540 |
s271995230 | p04012 | u293459994 | 1579358564 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 219 | s = input()
w = {}
ret = 'Yes'
for i in range(len(s)):
if s[i] in w:
w[s[i]] = w[s[i]] + 1
else:
w[s[i]] = 1
for num in w:
if (w[num] % 2) == 1:
ret = 'No'
break
print(ret) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,541 |
s426875408 | p04012 | u896791216 | 1579353411 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 149 | w = input()
ans = "Yes"
for letter in set(w):
cnt = w.count(letter)
if cnt % 2 != 0:
ans = "No"
else:
continue
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,542 |
s635194691 | p04012 | u072717685 | 1579329239 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 186 | w = input()
checked_char = []
r = 'Yes'
for i in range(len(w)):
if w[i] not in checked_char:
if (w.count(w[i])) % 2 == 1:
r = 'No'
checked_char.append(w[i])
print(r) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,543 |
s528201611 | p04012 | u548303713 | 1579288100 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 226 | w=list(input())
alpha=[0 for i in range(26)]
ans="Yes"
for i in range(len(w)):
alpha[ord(w[i])-97]+=1
#print(alpha)
for i in range(26):
num=alpha[i]
if num!=0 and num%2!=0:
ans="No"
break
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,544 |
s824250768 | p04012 | u779170803 | 1579244750 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 528 | INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
ws=STR()
alp='abcdefghijklmnopqrstuvwxyz'
ans=[0]*26
flg=1
for ... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,545 |
s138303433 | p04012 | u867848444 | 1579231125 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | w=input()
w_set=set(w)
for i in w_set:
if w.count(i)%2!=0:
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,546 |
s373790069 | p04012 | u403331159 | 1579229487 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 225 | w=input()
if len(w)%2!=0:
print("No")
exit()
for i in range(0,25):
cnt=w.count(chr(ord("a")+i))
if cnt%2!=0:
print("No")
exit()
cnt=w.count("z")
if cnt%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,547 |
s519496230 | p04012 | u671211357 | 1579229210 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 229 | w=input()
ans=[]
for i in range(len(w)):
count = 0
for j in range(len(w)):
if w[i]==w[j]:
count+=1
if count%2==1:
ans.append(count)
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,198,548 |
s496344953 | p04012 | u846652026 | 1579193484 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | s=input()
ss=set(s)
ans="Yes"
for sss in ss:
if s.count(sss)%2==1:
ans="No"
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,549 |
s091500709 | p04012 | u117193815 | 1579140761 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | n = list(input())
for i in n:
if n.count(i)%2!=0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,550 |
s665212237 | p04012 | u117193815 | 1579140711 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 102 | n = list(input())
for i in n:
if n.count(i)%2!=0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,551 |
s894947329 | p04012 | u380524497 | 1579140385 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 190 | W = sorted(input())
n = len(W)
if n % 2 == 1:
print('No')
exit()
for i in range(0, n, 2):
w1, w2 = W[i], W[i+1]
if w1 != w2:
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,552 |
s436315098 | p04012 | u768896740 | 1579140358 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 181 | import collections
s = list(input())
c = collections.Counter(s)
for i in c.values():
if i % 2 == 0:
continue
else:
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,553 |
s396555485 | p04012 | u225388820 | 1579140312 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 176 | s=input()
dic={}
for i in s:
if i in dic:
dic[i]+=1
else:
dic[i]=1
for i in dic.values():
if i%2==1:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,554 |
s095361594 | p04012 | u761989513 | 1579140187 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 153 | import collections
w = input()
wc = collections.Counter(w).most_common()
for i in wc:
if i[1] % 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,555 |
s292628608 | p04012 | u832039789 | 1579140090 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 99 | s = input()
for c in s:
if s.count(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,198,556 |
s782506179 | p04012 | u506287026 | 1579124955 | Python | Python (3.4.3) | py | Accepted | 28 | 3444 | 252 | from collections import defaultdict
chars = input()
d = defaultdict(int)
for c in chars:
d[c] += 1
is_Yes = True
for cnt in d.values():
if cnt % 2 != 0:
is_Yes = False
break
if is_Yes:
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,557 |
s291172091 | p04012 | u580697892 | 1579062023 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 280 | # coding: utf-8
from collections import Counter
alp = "abcdefghijklmnopqrstuvwxyz"
w = input()
cnt = dict(Counter(w))
flag = True
for a in alp:
try:
if cnt[a] % 2 == 1:
flag = False
exit()
except:
pass
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,558 |
s531371772 | p04012 | u710907926 | 1578980214 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | s = input()
for a in set(s):
if s.count(a) % 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,559 |
s633086166 | p04012 | u485566817 | 1578960747 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 175 | w = input()
word_list = "abcdefghijklmnopqrstuvwxyz"
flag = True
for i in word_list:
if w.count(i) % 2:
flag = False
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,560 |
s745833675 | p04012 | u609061751 | 1578939501 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 226 | import sys
input = sys.stdin.readline
from collections import Counter
w = list(input().rstrip())
c = Counter(w)
for i in c.values():
if i % 2 != 0:
print("No")
sys.exit()
else:
pass
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,561 |
s293612353 | p04012 | u243572357 | 1578854329 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | a = list(input())
b = set(a)
flag = 'Yes'
for i in b:
if a.count(i) % 2 != 0:
flag = 'No'
break
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,562 |
s136792456 | p04012 | u314089899 | 1578849324 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | w = str(input())
alphabets = [chr(ord('a') + i) for i in range(26)]
for alphabet in alphabets:
if w.count(alphabet)%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,563 |
s961812045 | p04012 | u971237642 | 1578780872 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | # -*- coding: utf-8 -*-
w = input()
isBeaut = True
for i in set(w):
if w.count(i)%2 == 1:
isBeaut = False
if isBeaut:
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,564 |
s184427857 | p04012 | u350836088 | 1578707603 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 173 | s = input()
dic = {}
for i in s:
if i in dic:
dic[i] += 1
else:
dic[i] = 1
for i in dic:
if dic[i]%2 != 0:
print('No')
break
else:
print('Yes')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,565 |
s377806187 | p04012 | u672316981 | 1578681024 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 260 | w = str(input())
alp = 'abcdefghijklmnopqrstuvwxyz'
flag = True
for i in range(len(alp)):
cnt = 0
for j in range(len(w)):
if alp[i]==w[j]:
cnt += 1
if cnt%2!=0:
flag = False
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,566 |
s090786945 | p04012 | u823044869 | 1578537404 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | w = input()
sw = set(w)
for s in sw:
if w.count(s)%2 != 0:
print("No")
exit(0)
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,567 |
s830948358 | p04012 | u735008991 | 1578453047 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | w = input()
print("Yes" if all([w.count(c) %
2 == 0 for c in "abcdefghijklemopqrstuvwxyz"])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,568 |
s092527739 | p04012 | u268792407 | 1578437348 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 119 | w=input()
li=[w[i] for i in range(len(w))]
for i in w:
if li.count(i) % 2==1:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,569 |
s439370600 | p04012 | u332542234 | 1578432498 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 280 | # AtCoder Beginner Contest 044 - B
# -*- encoding: UTF-8 -*-
alpha = "abcdefghijklmnopqrstuvwxyz"
cd = {}
for c in alpha:
cd[c] = 0
w = input()
for c in w:
cd[c] = cd[c] + 1
result = "Yes"
for v in cd.values():
if v % 2 == 1:
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,198,570 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.