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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s749788558 | p04012 | u604655161 | 1590286620 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 281 | def ABC_44_B():
w = input()
k=0
s=0
for i in range(len(w)):
if w.count(w[i])%2 == 0:
s+=0
else:
s+=1
if s == 0:
print('Yes')
else:
print('No')
if __name__ == '__main__':
ABC_44_B() | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,071 |
s010530794 | p04012 | u332793228 | 1590284947 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 74 | 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,198,072 |
s747369675 | p04012 | u332793228 | 1590284796 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | w=input()
c=0
for i in range(len(w)):
if w.count(w[i])%2==0:
c+=1
else:
break
print("Yes" if c==len(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,073 |
s746635599 | p04012 | u742729271 | 1590277890 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 132 | s = input()
for i in range(len(s)):
n = s.count(s[i])
if n%2==1:
print("No")
break
if i == len(s)-1:
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,074 |
s100138357 | p04012 | u551437236 | 1590217401 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 242 | s = input()
sl = [0 for _ in range(26)]
for i in range(len(s)):
sl[ord(s[i])-97] += 1
ans = 0
for j in sl:
if j%2 == 0:
pass
elif j%2 != 0:
ans = 1
break
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,198,075 |
s759620175 | p04012 | u057415180 | 1590204202 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 168 | w = input()
if len(w)%2 != 0:
print('No')
exit()
else:
for i in w:
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,076 |
s215647952 | p04012 | u294721290 | 1590170080 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 132 | w = input()
n = len(w)
for i in range(n):
if w.count(w[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,077 |
s379164275 | p04012 | u779293207 | 1590165613 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 149 | from collections import Counter
w=input()
w1= set(w)
w2=Counter(w)
for i in w1:
if w2[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,078 |
s693709846 | p04012 | u680503348 | 1590087720 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 138 | s = input()
C = [0]*26
for i in s:
C[ord(i)-ord('a')] += 1
res = "Yes"
for i in C:
if i % 2 != 0:
res = "No"
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,079 |
s683842224 | p04012 | u564004296 | 1590085413 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 483 | import collections
#文字列を一文字ずつ取得したいとき
def inputStrOnebyOne():
s = list(input())
return s
#整数を一つずつリストに入れる
def inputOnebyOne_Int():
a = list(int(x) for x in input().split())
return a
def main():
w = list(input())
C = collections.Counter(w)
ret = "Yes"
for c in C.values():
if ... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,080 |
s121709694 | p04012 | u842747358 | 1590067360 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | w = input()
li = [0] * 123
for i in range(len(w)):
li[ord(w[i])] += 1
ans = 'Yes'
for j in li:
if j % 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,081 |
s990984412 | p04012 | u941047297 | 1590023544 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 145 | from collections import Counter
W = list(input())
C = Counter(W)
if all([c % 2 == 0 for c 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,198,082 |
s853198088 | p04012 | u167647458 | 1590017850 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | w = input()
for i in set(w):
if w.count(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,083 |
s124140839 | p04012 | u234189749 | 1590008249 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 111 | w = input()
a = set(w)
b = 'Yes'
for i in a:
if w.count(i)%2 != 0:
b = 'No'
break
print(b) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,084 |
s979554361 | p04012 | u203669169 | 1589996041 | Python | Python (3.4.3) | py | Accepted | 41 | 5344 | 504 | #! /usr/bin/env python3
from fractions import gcd
# from math import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import accumu... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,085 |
s393690080 | p04012 | u871980676 | 1589949925 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 188 | from collections import defaultdict as dd
w=input()
dic=dd(int)
for char in w:
dic[char] += 1
for val in dic.values():
if val%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,086 |
s169375045 | p04012 | u482157295 | 1589949088 | Python | Python (3.4.3) | py | Accepted | 22 | 3316 | 157 | from collections import Counter
w = input()
w_set = set(w)
w = Counter(w)
for i in w_set:
if w[i]%2 != 0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,087 |
s514337709 | p04012 | u884323674 | 1589947823 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 230 | w = input()
d = {}
for i in range(len(w)):
if w[i] not in d:
d[w[i]] = 1
else:
d[w[i]] += 1
for count in d.values():
if count % 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,088 |
s119010142 | p04012 | u663767599 | 1589941148 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 146 | from collections import Counter
w = input()
c = Counter(w)
if all(map(lambda x: x % 2 == 0, 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,198,089 |
s662781261 | p04012 | u810288681 | 1589925559 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 116 | s = input()
ss = set(s)
ans = 'Yes'
for i in ss:
if s.count(i)%2!=0:
ans = 'No'
break
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,090 |
s160979507 | p04012 | u728611988 | 1589915408 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 112 | w = input()
for i in range(len(w)):
if w.count(w[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,091 |
s522339456 | p04012 | u888100977 | 1589888717 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 189 | dic = {}
s = input()
for i in s:
if i not in dic:
dic[i] = 1
else:
dic[i] += 1
for key in dic:
if dic[key]%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,092 |
s809790044 | p04012 | u102223485 | 1589857465 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | w = list(input())
w.sort()
i = 0
if len(w) % 2 == 1:
print('No')
exit()
while i < len(w)-1:
if w[i] != w[i+1]:
print('No')
exit()
i += 2
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,093 |
s881823294 | p04012 | u579015878 | 1589856759 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 99 | w=list(input())
for x in w:
key=w.count(x)
if key%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,094 |
s026202966 | p04012 | u255595446 | 1589728949 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 398 | """
N = list(map(int,input().split()))
S = [str(input()) for _ in range(N)]
S = [list(map(int,list(input()))) for _ in range(h)]
print(*S,sep="")
"""
import sys
sys.setrecursionlimit(10**6)
input = lambda: sys.stdin.readline().rstrip()
w = input()
while w != "":
if w.count(w[0])%2==0:
w = w.replace(w[0],... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,095 |
s221902444 | p04012 | u339199690 | 1589725577 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 155 | from collections import Counter
w = list(input())
C = Counter(w)
for c in C.values():
if c % 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,096 |
s062396553 | p04012 | u229518917 | 1589677915 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 167 | w=list(input())
s=set(w)
flag=True
for i in s:
if w.count(i)%2==0:
continue
else:
flag=False
break
print('Yes' if flag==True 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,097 |
s706974464 | p04012 | u380534719 | 1589666582 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 99 | s=input()
t=set(list(s))
for i in t:
if s.count(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,098 |
s518111802 | p04012 | u662430503 | 1589657770 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 239 | def main():
string = input()
flg=0
while len(string)!=0:
if(string.count(string[0])%2==0):
string=string.replace(string[0],'')
else:
flg=1
break
if flg==0:
print('Yes')
else:
print('No')
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,099 |
s885309925 | p04012 | u480300350 | 1589657366 | Python | Python (3.4.3) | py | Accepted | 25 | 3768 | 3,015 | #!/usr/bin/env python3
import sys
# import math
from string import ascii_lowercase, ascii_uppercase, ascii_letters, digits, hexdigits
# import re # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)
# from operator import itemgetter ... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,100 |
s527200258 | p04012 | u896847891 | 1589653130 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 176 | from sys import exit
w = input()
d = dict()
for letter in w:
d[letter] = d.get(letter, 0) + 1
for key in d:
if d[key] % 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,101 |
s137687483 | p04012 | u517630860 | 1589651494 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | # -*- coding: utf-8 -*-
w = input()
print(['Yes', 'No'][any(w.count(c) % 2 for c in set(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,102 |
s839390989 | p04012 | u517630860 | 1589650350 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 186 | # -*- coding: utf-8 -*-
count = {}
for c in input():
if c in count:
count[c] = not(count[c])
else:
count[c] = False
print(['Yes', 'No'][False in count.values()]) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,103 |
s599577051 | p04012 | u751717561 | 1589640769 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 152 | a =list(input())
from collections import Counter
a=Counter(a)
for i in a.items():
if i[1]%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,104 |
s998065640 | p04012 | u391819434 | 1589597086 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | W=input()
ans='Yes'
A='abcdefghijklmnopqrstuvwxyz'
i=0
while i<26:
if W.count(A[i])%2==1:
ans='No'
i+=1
print(ans) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,105 |
s323972626 | p04012 | u629350026 | 1589594164 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 170 | s=str(input())
s=list(s)
sset=set(s)
sset=list(sset)
for i in range(0,len(sset)):
temp=s.count(sset[i])
if temp%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,106 |
s201608637 | p04012 | u156383602 | 1589592827 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | s=input()
ok=True
for i in s:
if s.count(i)%2 != 0:
ok=False
break
if ok:
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,107 |
s860243605 | p04012 | u513081876 | 1589581629 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 119 | w = input()
for i in set(list(w)):
if w.count(i) % 2 != 0:
print('No')
break
else:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,108 |
s052076185 | p04012 | u835534360 | 1589570645 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 237 | from collections import Counter
def main():
w = input()
x = Counter(w)
for c, n in x.items():
if n % 2:
print('No')
return
print('Yes')
return
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,109 |
s647286498 | p04012 | u518958552 | 1589569250 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 209 | from collections import Counter
w = input()
w = list(w)
s = Counter(w)
n = 0
for i in s.values():
if i % 2 == 0:
n += int(i/2)
if len(w)/2 == n:
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,110 |
s169973327 | p04012 | u891218252 | 1589568617 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 250 | from collections import defaultdict
w = list(input())
alphabet_count_dict = defaultdict(int)
for c in w:
alphabet_count_dict[c] += 1
for k, v in alphabet_count_dict.items():
if v % 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,111 |
s486835629 | p04012 | u198930868 | 1589505782 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 140 | import collections
s = input()
t = collections.Counter(s)
v = t.values()
if all([vv % 2 == 0 for vv in v]):
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,112 |
s881299872 | p04012 | u844895214 | 1589501865 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 348 | from sys import stdin
def S(): return stdin.readline().rstrip()
def I(): return int(stdin.readline().rstrip())
def LS(): return list(stdin.readline().rstrip().split())
def LI(): return list(map(int,stdin.readline().rstrip().split()))
w = S()
for i in range(len(w)):
if w.count(w[i]) % 2 == 1:
print('No')
... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,113 |
s458239724 | p04012 | u146803137 | 1589498974 | Python | Python (3.4.3) | py | Accepted | 22 | 3444 | 265 | import math
import copy
neko = "Yes"
w = input()
for a in ['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']:
nya = len(w)
if (nya-len(w.replace(a,'')))%2:
neko = "No"
break
print(neko) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,114 |
s374032775 | p04012 | u370852395 | 1589478323 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 175 | from collections import Counter
l=[]
count=0
l=list(input())
for i in Counter(l).values():
if i%2==1:
count+=1
if count!=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,115 |
s580704598 | p04012 | u513081876 | 1589466942 | Python | PyPy3 (7.3.0) | py | Accepted | 56 | 61824 | 178 | w = input()
ww = set(w)
check = []
ans = 0
for i in ww:
check.append(w.count(i))
for i in check:
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,116 |
s866335209 | p04012 | u461403632 | 1589443555 | Python | Python (3.8.2) | py | Accepted | 21 | 9064 | 72 | 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,198,117 |
s633282698 | p04012 | u018984506 | 1589427053 | Python | Python (3.8.2) | py | Accepted | 20 | 9064 | 284 | from sys import exit
w = input()
n = len(w)
cnt = [0]
c = w[0]
sw = sorted(w)
for i in range(n):
if sw[i] == c:
cnt[-1] += 1
else:
c = sw[i]
cnt.append(1)
for i in range(len(cnt)):
if cnt[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,118 |
s828416156 | p04012 | u394731058 | 1589403840 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 252 | import sys
input = sys.stdin.readline
def main():
ans = 'Yes'
w = input().rstrip('\n')
s = set(w)
for i in s:
if w.count(i)%2 != 0:
ans = 'No'
break
print(ans)
if __name__ == '__main__':
main() | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,119 |
s033297689 | p04012 | u047485390 | 1589400902 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 198 | a = [0]*26
s = input()
for i in range(len(s)) :
a[ord(s[i])-ord('a')] += 1
cek = True
for i in range(len(a)) :
if a[i] % 2 == 1:
cek = False
break
if (cek) :
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,120 |
s033420717 | p04012 | u761062383 | 1589392505 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 200 | ss = input()
ll = {}
for i in range(97, 97 + 26):
ll[chr(i)] = 0
for s in ss:
ll[s] += 1
for l in ll.keys():
if ll[l] % 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,121 |
s536011247 | p04012 | u408958033 | 1589338414 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 976 | def cin():
return map(int,input().split())
def cino(test=False):
if not test:
return int(input())
else:
return input()
def cina():
return list(map(int,input().split()))
def hashing(my_list):
freq = {}
for item in my_list:
if (item in freq):
freq[item] += 1
... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,122 |
s169590044 | p04012 | u761109680 | 1589337417 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 263 | buf = input()
d = {}
for s in buf:
if (s in d) == False:
d[s] = 1
else:
d[s] += 1
nums = d.values()
oddExist = False
for num in nums:
if num % 2 != 0:
oddExist = True
if oddExist == False:
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,123 |
s208693727 | p04012 | u215341636 | 1589296656 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 203 | w = input()
alpha = 'abcdefghijklmnopqrstuvwxyz'
ans = [0] * 26
word = 'Yes'
for i in w:
ans[alpha.index(i)] += 1
for i in ans:
if i % 2 == 0:
pass
else:
word = 'No'
break
print(word) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,124 |
s141305703 | p04012 | u278855471 | 1589294920 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 187 | w = input()
word_count = {c:w.count(c) for c in set(w)}
flg = True
for count in word_count.values():
if count % 2:
flg = False
if flg:
print('Yes')
else:
print('No')
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,125 |
s545289766 | p04012 | u134019875 | 1589270691 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 226 | w = sorted(input())
if len(w) % 2:
print('No')
else:
for i in range(0, len(w), 2):
if w[i] == w[i+1]:
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,126 |
s293217661 | p04012 | u242031676 | 1589255710 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | a=list(map(input().count,"abcdefghijklmnopqrstuvwxyz"))
ng=False
for x in a:
if x%2: ng=True
print("YNeos"[ng::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,127 |
s389232822 | p04012 | u511457539 | 1589250335 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 172 | w = str(input())
w = sorted(w)
check = list(sorted(set(w)))
for i in range(len(check)):
if w.count(check[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,128 |
s483700414 | p04012 | u178079174 | 1589242150 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | w = list(input())
ans = 'Yes'
for i in set(w):
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,129 |
s267178233 | p04012 | u351264758 | 1589209348 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | w = input()
s = 'a'
ans = 'Yes'
for i in range(26):
if w.count(s) % 2 != 0:
ans = 'No'
break
s = chr(ord(s) + 1)
print(ans)
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,130 |
s878862073 | p04012 | u227085629 | 1589167066 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 194 | w = input()
a = "abcdefghijklmnopqrstuvwxyz"
w_list = list(a)
hoge = 0
for word in w_list:
s = w.count(word)
if s%2 != 0:
print('No')
hoge += 1
break
if hoge == 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,131 |
s226507409 | p04012 | u178432859 | 1589158693 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 114 | l = list(input())
s = set(l)
for i in s:
if l.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,132 |
s628156928 | p04012 | u652445326 | 1589157803 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 174 | word = input()
result = "Yes"
abc = (set(word))
abc = "".join(abc)
for i in abc:
if word.count(i) %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,133 |
s944756185 | p04012 | u082945913 | 1589157335 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 226 | s = input()
lAlp = [0 for i in range(26)]
for i in range(len(s)):
num = ord(s[i]) - ord('a')
lAlp[num] += 1
for i in range(26):
if(lAlp[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,134 |
s124733793 | p04012 | u133356863 | 1589147979 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 179 | w=list(input())
w.sort()
if len(w)%2==0:
for i in range(0,len(w),2):
if w[i]!=w[i+1]:
print('No')
exit()
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,135 |
s400779460 | p04012 | u397953026 | 1589084534 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 191 | w=input()
ans={}
k=0
for i in w:
if i not in ans:
ans[i]=1
else :
ans[i]+=1
for i in ans:
if ans[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,136 |
s139389160 | p04012 | u711238850 | 1589082145 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 142 | from collections import Counter
s = list(input())
c = Counter(s)
for i in c.values():
if i%2!=0:
print("No")
exit()
print("Yes")
| p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,137 |
s370709189 | p04012 | u056358163 | 1589071857 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 187 | from collections import defaultdict
w = input()
d = defaultdict(int)
for s in w:
d[s] += 1
for _, v in d.items():
if v % 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,138 |
s427576456 | p04012 | u973108807 | 1589052544 | Python | Python (3.4.3) | py | Accepted | 27 | 3444 | 149 | import collections
dic = collections.Counter(list(input()))
for i, v in dic.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,198,139 |
s969611231 | p04012 | u535171899 | 1589037458 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 137 | from collections import Counter
w = input()
w_count = Counter(w)
if all(v%2==0 for v in w_count.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,198,140 |
s593254970 | p04012 | u746154235 | 1588990979 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 416 | w=input()
dic = {
'a': 0,
'b': 0,
'c': 0,
'd': 0,
'e': 0,
'f': 0,
'g': 0,
'h': 0,
'i': 0,
'j': 0,
'k': 0,
'l': 0,
'm': 0,
'n': 0,
'o': 0,
'p': 0,
'q': 0,
'r': 0,
's': 0,
't': 0,
'u': 0,
'v': 0,
'w': 0,
'x': 0,
'y': 0,
'z': 0
}
for i in w:
dic[i] +=1
flg=True
for ke... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,141 |
s492902294 | p04012 | u927870520 | 1588985874 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 151 | import collections
w=input()
W=collections.Counter(w)
for i in W.values():
if not i%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,142 |
s742552645 | p04012 | u851704997 | 1588968061 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 244 | w = input()
List = []
for k in range(len(w)):
tmp = w[k]
List.append(tmp)
num2alpha = lambda c: chr(c+96)
for i in range(1,27):
tmp2 = List.count(num2alpha(i))
if(tmp2 % 2 == 0):
pass
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,143 |
s972007610 | p04012 | u426649993 | 1588907312 | Python | Python (3.4.3) | py | Accepted | 25 | 3444 | 275 | from collections import defaultdict
def main():
w = input()
dic = defaultdict(int)
for c in w:
dic[c] += 1
for d in dic:
if dic[d] % 2 == 1:
print('No')
exit()
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,144 |
s656593346 | p04012 | u152614052 | 1588907026 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 147 | from collections import Counter
s=list(input())
c = Counter(s)
ans = "Yes"
for _,i in c.items():
if 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,145 |
s864920759 | p04012 | u940533000 | 1588905440 | Python | Python (3.4.3) | py | Accepted | 31 | 3700 | 208 | from collections import Counter
w = input()
dic = Counter(w)
#print(dic.values())
flag = 1
for val in dic.values():
if val % 2 != 0:
flag = 0
break
if flag == 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,146 |
s771821185 | p04012 | u730257868 | 1588902907 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 376 | w = list(str(input()))
x = list()
num = list()
y = 0
for a in w:
judge = 0
i = 0
while i<y:
if a == x[i]:
num[i] += 1
judge = 1
break
i += 1
if judge == 0:
x.append(a)
y += 1
num.append(1)
i = 0
ans = "Yes"
while i<y:
if (... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,147 |
s131607330 | p04012 | u596979123 | 1588901628 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 175 | from collections import Counter
w = list(input())
c = Counter(w)
for i in range(len(w)):
if int(c[w[i]]) % 2 == 1:
print('No')
break
else:
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,148 |
s588601334 | p04012 | u970809473 | 1588886719 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 225 | s = input()
al = 'abcdefghijklmnopqrstuvwxyz'
tmp = [0]*26
for i in range(len(s)):
if tmp[al.index(s[i])] == 0:
tmp[al.index(s[i])] = 1
else:
tmp[al.index(s[i])] = 0
if 1 in tmp:
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,149 |
s698064719 | p04012 | u339503988 | 1588865686 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 116 | from collections import Counter
w=input()
c=Counter(w).values()
s="Yes"
for i in c:
if i%2==1:
s="No"
print(s) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,150 |
s828285863 | p04012 | u443996531 | 1588834977 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 159 | w = sorted(input())
if len(w)%2==1:
print("No")
else:
ans = ("Yes")
for i in range(1,len(w),2):
if not w[i]==w[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,151 |
s822547248 | p04012 | u190079347 | 1588826906 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 162 | import collections
w = [i for i in input()]
c = collections.Counter(w)
ls = list(c.values())
for i in ls:
if i % 2 != 0:
print("No")
exit()
print("Yes") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,152 |
s023231202 | p04012 | u683406607 | 1588813532 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 114 | w = input()
s_unique = set(w)
if all([w.count(s) % 2 == 0 for s in s_unique]):
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,153 |
s693692100 | p04012 | u246661425 | 1588812439 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 193 | words = list(input())
dic = {}
for word in words:
if word not in dic:
dic[word] = 1
else:
dic[word] += 1
if all(v % 2 == 0 for v in dic.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,198,154 |
s752931642 | p04012 | u483748949 | 1588809086 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | w = input()
l = [i for i in w]
s = set(l)
for n in s:
if l.count(n) % 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,155 |
s770256661 | p04012 | u712445873 | 1588796689 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 198 | s = input()
cnt = {}
for i in s:
if i not in cnt:
cnt[i] = 1
else:
cnt[i] += 1
for i in cnt:
if cnt[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,156 |
s620568424 | p04012 | u551109821 | 1588790821 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 167 | w = list(input())
W = list(set(w))
cnt = [0]*len(W)
for i in w:
cnt[W.index(i)] += 1
for i in cnt:
if i%2!=0:
print('No')
exit()
print('Yes') | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,157 |
s302337485 | p04012 | u444722572 | 1588782696 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 153 | from collections import Counter
w=input()
w_list=Counter(w)
flg=1
for key in w_list:
if w_list[key]%2!=0:
flg=0
print("Yes" if flg else "No") | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,158 |
s320729969 | p04012 | u459215900 | 1588781870 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 262 | word_list = input()
word_dict = {}
for word in word_list:
if word in word_dict:
word_dict[word] +=1
else:
word_dict[word] = 1
Flag = 'Yes'
for key_count in word_dict.values():
if key_count % 2 != 0:
Flag = 'No'
print(Flag) | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,159 |
s505432732 | p04012 | u383450070 | 1588777105 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 227 | lst=list(str(input()))
temp = []
for i in range(len(lst)):
if lst[i] not in temp:
temp.append(lst[i])
cnt=0
for j in range(len(temp)):
if lst.count(temp[j])%2==1:
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,160 |
s870307116 | p04012 | u792512290 | 1588740974 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 167 | w = input()
ans = {}
for i in w:
if i in ans:
ans[i] += 1
else:
ans[i] = 1
if all([i % 2 == 0 for i in ans.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,198,161 |
s733919412 | p04012 | u057964173 | 1588736053 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 290 | import sys
def input(): return sys.stdin.readline().strip()
def resolve():
w=list(input())
w.sort()
if len(w)%2!=0:
ans='No'
else:
ans='Yes'
for i in range(0,len(w)-1,2):
if w[i]!=w[i+1]:
ans='No'
print(ans)
resolve() | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,162 |
s826181583 | p04012 | u057964173 | 1588735943 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 354 | import sys
def input(): return sys.stdin.readline().strip()
def resolve():
def main():
w=list(input())
w.sort()
if len(w)%2!=0:
return 'No'
else:
for i in range(0,len(w)-1,2):
if w[i]!=w[i+1]:
return 'No'
return... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,163 |
s999252687 | p04012 | u057964173 | 1588735038 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 244 | import sys
def input(): return sys.stdin.readline().strip()
def resolve():
from collections import Counter
s=input()
s=Counter(s)
if all (n%2==0 for n in s.values()):
print('Yes')
else:
print('No')
resolve() | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p>
<ul>
<li>Each lowercase letter of the English alph... | abaccaba
| Yes
| 1,198,164 |
s284148824 | p04012 | u702208001 | 1588733855 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 81 | 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,198,165 |
s934782179 | p04012 | u057964173 | 1588730310 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 325 | import sys
def input(): return sys.stdin.readline().strip()
def resolve():
w=list(input())
l=[0]*26
alphabets=list(chr(ord('a')+i) for i in range(26))
for i in w:
l[alphabets.index(i)]+=1
ans='Yes'
for j in l:
if j%2!=0:
ans='No'
break
print(ans)
reso... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,166 |
s704590863 | p04012 | u560867850 | 1588721627 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 116 | from collections import Counter
s = Counter(input())
print("Yes" if all(n % 2 == 0 for n in s.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,198,167 |
s881732001 | p04012 | u029000441 | 1588715483 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 870 | import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math ... | p04012 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters.
We will call <var>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,168 |
s141336868 | p04012 | u588785393 | 1588714349 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 200 | w = input()
d = dict()
ans = 'Yes'
for i in w:
if d.get(i) is None:
d[i] = 1
else:
d[i] += 1
for i in d.values():
if 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,169 |
s666861128 | p04012 | u788337030 | 1588704179 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 199 | from collections import Counter
w = input()
c = Counter(w)
ans = True
for value in c.values():
if value % 2 == 1:
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,198,170 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.