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
s302339045
p04012
u461636820
1536031874
Python
Python (3.4.3)
py
Accepted
17
2940
102
w = input() for i in set(w): 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,199,471
s593349839
p04012
u525423408
1535694351
Python
Python (3.4.3)
py
Accepted
17
2940
138
w=input() a="abcdefghijklmnopqrstuvwxyz" for i in range(26): if w.count(a[i]) % 2 !=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,472
s181351952
p04012
u513081876
1535429373
Python
Python (3.4.3)
py
Accepted
17
2940
133
w = list(input()) ans = 0 for i in set(w): if w.count(i) % 2 != 0: ans =1 break print('Yes' if ans ==0 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,473
s640774404
p04012
u624475441
1534763399
Python
Python (3.4.3)
py
Accepted
17
2940
90
w=input() for c in w: if w.count(c)%2: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,474
s423286228
p04012
u599547273
1534708225
Python
Python (3.4.3)
py
Accepted
17
2940
74
w = input() print("No" if sum(w.count(c) % 2 for c in set(w)) else "Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,475
s716762827
p04012
u599547273
1534708196
Python
Python (3.4.3)
py
Accepted
17
2940
65
w = input() print("No" if sum(w.count(c)%2for c in w) else "Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,476
s233710656
p04012
u599547273
1534708006
Python
Python (3.4.3)
py
Accepted
17
2940
59
w=input();print("YNeos"[sum(w.count(c)%2for c in w)!=0::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,477
s547044167
p04012
u599547273
1534707978
Python
Python (3.4.3)
py
Accepted
17
2940
59
w=input() print("YNeos"[sum(w.count(c)%2for c in w)!=0::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,478
s933533453
p04012
u052347048
1534707828
Python
Python (3.4.3)
py
Accepted
18
2940
142
a=input() lis=set(a) li = [] for i in lis: if a.count(i) % 2 == 0: li.append(a.count(i)) print("Yes" if sum(li)==len(a) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,479
s658249279
p04012
u599547273
1534707692
Python
Python (3.4.3)
py
Accepted
17
2940
65
w=input() print("YNeos"[sum(map(lambda x:w.count(x)%2,w))!=0::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,480
s223392327
p04012
u221345507
1534700776
Python
Python (3.4.3)
py
Accepted
20
2940
181
import sys w=input() alphabet=[chr(i) for i in range(97,97+26)] for i in range (len(alphabet)): if w.count(alphabet[i])%2!=0: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,481
s071431411
p04012
u317785246
1534621871
Python
Python (3.4.3)
py
Accepted
17
2940
180
m = {} for x in input(): if x in m: m[x] += 1 else: m[x] = 1 lst = [x % 2 for x in m.values()] if lst.count(1) > 0: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,482
s663593785
p04012
u050428930
1534525215
Python
Python (3.4.3)
py
Accepted
17
2940
137
s={} for i in input(): s[i]=s.get(i,0)+1 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,199,483
s189856987
p04012
u270681687
1534501944
Python
Python (3.4.3)
py
Accepted
18
3060
227
w = input() a = [chr(ord('a') + i) for i in range(26)] b = [] for i in w: b.append(i) flag = 0 for i in a: if b.count(i) % 2 == 1: flag = 1 break if flag == 1: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,484
s753183528
p04012
u692632484
1534501700
Python
Python (3.4.3)
py
Accepted
17
2940
170
w=input() mp={"tmp":0} for c in w: if c in mp: mp[c]+=1 else: mp[c]=1 res=True for v in mp.values(): if v%2!=0: res=False break print("Yes" if res else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,485
s333858709
p04012
u631277801
1534501636
Python
Python (3.4.3)
py
Accepted
21
3316
214
from collections import Counter w = input() cnt = Counter(w) isBeautiful = True for v in cnt.values(): if v%2 == 1: isBeautiful = False if isBeautiful: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,486
s447293345
p04012
u761320129
1534501586
Python
Python (3.4.3)
py
Accepted
20
3316
143
from collections import Counter w = input() ctr = Counter(w) for v in ctr.values(): if v%2: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,487
s516706845
p04012
u759651152
1534210843
Python
Python (3.4.3)
py
Accepted
21
3316
263
#-*-coding:utf-8-*- from collections import Counter def main(): w = list(input()) counter = Counter(w) for c in set(w): if counter[c] % 2 != 0: 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,199,488
s046127289
p04012
u052347048
1534120694
Python
Python (3.4.3)
py
Accepted
17
2940
136
text = input() judge = 0 for i in set(text): if text.count(i) % 2 == 0:judge += 1 print("Yes" if judge == len(set(text)) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,489
s784653272
p04012
u761989513
1534033693
Python
Python (3.4.3)
py
Accepted
17
2940
94
w = input() for i in set(w): 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,199,490
s962605619
p04012
u277802731
1534018655
Python
Python (3.4.3)
py
Accepted
17
3060
275
#44b w = input() w = sorted(w) ans = True if len(w)% 2!=0: ans = False else: for i in range (len(w)//2): if w[2*i] == w[2*i+1]: ans = True else: ans = False break print('Yes' if ans == 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,199,491
s787928577
p04012
u082573321
1533696184
Python
Python (3.4.3)
py
Accepted
18
2940
157
w = input() syuugou = set(w) for i in syuugou: kosuu = w.count(i) if kosuu % 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,199,492
s286120018
p04012
u278864208
1533692424
Python
Python (3.4.3)
py
Accepted
17
2940
296
w = input() alpha_dic = {} for i in range(97,97+26): alpha_dic[chr(i)] = 0 for character in w: alpha_dic[character] +=1 counter = 0 for key in alpha_dic: if alpha_dic[key]%2 == 0: counter += 1 else: print('No') break if counter == 26: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,493
s043661059
p04012
u043211170
1533443729
Python
Python (3.4.3)
py
Accepted
17
3060
210
w=input() x={} for s in w: if s in x.keys(): x[s]+=1 else: x[s]=1 f=False for v in x.values(): if v%2==1: print('No') f=True break if not(f): print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,494
s561696983
p04012
u043211170
1533443663
Python
Python (3.4.3)
py
Accepted
21
3060
173
w=input() x={} for s in w: if s in x.keys(): x[s]+=1 else: x[s]=1 for v in x.values(): 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,199,495
s003323539
p04012
u690536347
1533347604
Python
Python (3.4.3)
py
Accepted
20
3316
132
from collections import Counter as c d=c(input()) if not list(filter(lambda x:x%2, d.values())): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,496
s634543041
p04012
u780364430
1533238499
Python
Python (3.4.3)
py
Accepted
17
2940
92
w = input() if any([w.count(i) % 2 for i in set(w)]): print('No') else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,497
s038470977
p04012
u115682115
1533156573
Python
Python (3.4.3)
py
Accepted
21
3316
159
import collections w = collections.Counter(input()) for i in w.values(): if i%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,199,498
s372463919
p04012
u065923107
1532982722
Python
Python (3.4.3)
py
Accepted
17
3060
264
s=list(input()) s.sort() n=len(s) c=1 f=1 now=s[0] for i in range(1,n): if now==s[i]: c+=1 else: if c%2==1: f=-1 c=1 now=s[i] else: if c%2==1: f=-1 if f<0: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,499
s593059652
p04012
u004025573
1532882106
Python
Python (3.4.3)
py
Accepted
17
3064
263
s=list(input()) s.sort() n=len(s) c=1 f=1 now=s[0] for i in range(1,n): if now==s[i]: c+=1 else: if c%2==1: f=-1 c=1 now=s[i] else: if c%2==1: f=-1 if f<0: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,500
s854344683
p04012
u599547273
1532879818
Python
Python (3.4.3)
py
Accepted
17
2940
77
w = input() print("Yes" if all([w.count(c)%2==0 for c in set(w)]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,501
s314264644
p04012
u451017206
1532817315
Python
Python (3.4.3)
py
Accepted
21
3316
123
s = input() from collections import Counter a=all([v%2==0 for v in Counter(s).values()]) if a:print('Yes') else:print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,502
s424254674
p04012
u832039789
1532662925
Python
Python (3.4.3)
py
Accepted
17
2940
167
alphabet = [chr(c+ord('a')) for c in range(26)] s = input() flag = True for c in alphabet: if s.count(c)%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,199,503
s613654750
p04012
u415905784
1532398270
Python
Python (3.4.3)
py
Accepted
17
3060
172
w = input() d = {} for s in set(w): d[s] = 0 for s in w: d[s] += 1 ans = True for s, n in d.items(): if n % 2: ans = False break print('Yes' if ans else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,504
s573242992
p04012
u653642801
1532398136
Python
Python (3.4.3)
py
Accepted
17
2940
185
def main(): w = list(input()) for i in w: if w.count(i)%2 != 0: 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,199,505
s145823114
p04012
u419686324
1532398041
Python
Python (3.4.3)
py
Accepted
18
2940
128
w = input() d = {} for x in w: d[x] = d.get(x, 0) + 1 print("Yes" if all(map(lambda x: 0 == (x % 2), d.values())) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,506
s554868221
p04012
u439396449
1532397972
Python
Python (3.4.3)
py
Accepted
21
3316
157
from collections import Counter w = input() c = Counter(w) ans = 'Yes' for v in c.values(): if v % 2 == 1: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,507
s542881523
p04012
u006657459
1532397801
Python
Python (3.4.3)
py
Accepted
21
3316
142
from collections import Counter c = Counter(input()) for v in c.values(): 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,199,508
s020365595
p04012
u443569380
1532314914
Python
Python (3.4.3)
py
Accepted
21
3316
177
from collections import Counter import sys w = input() count_L = Counter(w) for i in count_L.items(): if i[1] % 2 != 0: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,509
s558496980
p04012
u562935282
1532303196
Python
Python (3.4.3)
py
Accepted
18
3060
233
w = input() d = {} for i in range(len(w)): if w[i] in d.keys(): d[w[i]] += 1 else: d[w[i]] = 1 flg = True for v in d.values(): if v % 2 != 0: flg = False break print('Yes' if flg else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,510
s389270274
p04012
u379689509
1531865253
Python
Python (3.4.3)
py
Accepted
17
2940
200
w = str(input()) ar = [] a = 0 for j in range(97, 123): b = w.count(chr(j)) if b %2 == 1: print("No") a = 0 break else: a = 1 if a == 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,199,511
s789796126
p04012
u627417051
1531436371
Python
Python (3.4.3)
py
Accepted
17
3060
164
w = list(input()) N = len(w) w.sort() for i in range(int(N // 2)): if w[0] == w[1]: w.remove(w[0]) w.remove(w[0]) if w == []: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,512
s691960355
p04012
u099566485
1531425757
Python
Python (3.4.3)
py
Accepted
17
2940
127
w=input() for c in 'abcdefghijklmnopqrstuvwxyz': if w.count(c)%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,199,513
s664337821
p04012
u232852711
1531363945
Python
Python (3.4.3)
py
Accepted
17
2940
268
w = input() d = {} for ww in w: if ww not in d.keys(): d[ww] = 1 else: d[ww] += 1 def solve(d): for key, item in d.items(): if item%2 == 1: print('No') return print('Yes') return solve(d)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,514
s407222682
p04012
u215065194
1531356775
Python
Python (3.4.3)
py
Accepted
20
3316
141
import collections s=input() c = collections.Counter(s) res='Yes' for k in c: if c[k] % 2 != 0: 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,199,515
s576949737
p04012
u029315034
1531193649
Python
Python (3.4.3)
py
Accepted
17
2940
200
w = input() dic = {} for i in w: if i in dic: dic[i] += 1 else: dic[i] = 1 ans ='Yes' for v in dic.values(): if v % 2 != 0: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,516
s261312368
p04012
u118605645
1531012904
Python
Python (3.4.3)
py
Accepted
17
3064
434
def init_d(): d = {'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} return d W = input() d = init_d() n = len(W) for i in ra...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,517
s220517883
p04012
u624475441
1530975226
Python
Python (3.4.3)
py
Accepted
17
2940
126
w=input() for c in 'abcdefghijklmnopqrstuvwxyz': if w.count(c)%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,199,518
s740208801
p04012
u050428930
1530939446
Python
Python (3.4.3)
py
Accepted
17
3060
150
s=[chr(i) for i in range(97,123)] N=list(input()) for i in s: p=N.count(i) if p%2!=0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,519
s056448879
p04012
u785220618
1530917478
Python
Python (3.4.3)
py
Accepted
17
2940
209
# -*- coding: utf-8 -*- w = input() A = {} for i in w: if i not in A: A[i] = 1 else: A[i] += 1 for a in A.keys(): if A[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,199,520
s294440058
p04012
u064408584
1530613246
Python
Python (3.4.3)
py
Accepted
20
3316
132
from collections import Counter s=Counter(input()) for i in s: if s[i]%2==1: print('No') break else:print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,521
s370478096
p04012
u588341295
1530571927
Python
Python (3.4.3)
py
Accepted
21
3316
240
# -*- coding: utf-8 -*- from collections import Counter w = list(input()) # 各文字ごとに数を集計 str_dict = Counter(w) for key, value in str_dict.items(): if value % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,522
s500485657
p04012
u944209426
1530500798
Python
Python (3.4.3)
py
Accepted
20
3316
134
w=input() import collections c=collections.Counter(w) t=0 for x in c.values(): if x%2!=0: t+=1 print('No' if t else 'Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,523
s270682412
p04012
u409064224
1530230010
Python
Python (3.4.3)
py
Accepted
17
3060
330
s = input() #l = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] l = [] roll = ord('z')-ord('a')+1 for i in range(roll): l.append(0) for i in range(len(s)): num = ord(s[i]) l[num-97] += 1 #print(num) for i in range(roll): if l[i]%2 != 0: print("No") break else: pri...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,524
s833185117
p04012
u137667583
1530228717
Python
Python (3.4.3)
py
Accepted
17
3060
262
w = input() alph = ["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"] ck = 0 for i in range(0, 26): if w.count(alph[i])%2 == 1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,525
s003597398
p04012
u552122040
1530048020
Python
Python (3.4.3)
py
Accepted
17
2940
145
import sys w = list(input()) elements = set(w) for char in elements: if w.count(char) % 2 == 1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,526
s755517240
p04012
u333139319
1529795713
Python
Python (3.4.3)
py
Accepted
17
2940
151
w=input() a=1 for i in range(len(w)): if w.count(w[i])%2==0: a=a*1 else: a=a*0 if a==0: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,527
s834426947
p04012
u108808596
1529554259
Python
Python (2.7.6)
py
Accepted
11
2808
155
from collections import Counter c = Counter(raw_input()) b = True for k,v in c.items(): if v%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,199,528
s400908974
p04012
u724892495
1529526793
Python
Python (3.4.3)
py
Accepted
17
2940
109
w = input() S = set(w) for s in S: if w.count(s)%2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,529
s393464428
p04012
u444856278
1528916232
Python
Python (3.4.3)
py
Accepted
21
3316
191
from collections import Counter w = Counter(input()) ans = True for items in w.values(): if items % 2 != 0: ans = False break print("Yes") if ans else print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,530
s901691657
p04012
u403301154
1528778223
Python
Python (3.4.3)
py
Accepted
17
2940
151
w=input() t=[] for i in range(len(w)): if w[i] in t: t.remove(w[i]) else: t.append(w[i]) if len(t) == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,531
s451022653
p04012
u459283268
1528603634
Python
Python (3.4.3)
py
Accepted
17
2940
115
import sys w = input() for i in w: if w.count(i) % 2 == 1: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,532
s081341371
p04012
u288087195
1528511115
Python
Python (3.4.3)
py
Accepted
17
3060
245
s = input() array = [] for i in range(len(s)): array.append(s[i]) #print(array) yes = 1 for i in range(len(array)): counter = array.count(array[i]) if counter % 2 == 1: yes = 0 break if yes == 1: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,533
s339349411
p04012
u026788530
1528425984
Python
Python (3.4.3)
py
Accepted
18
2940
247
w = input() lis = {} for i in w: if i in lis: lis[i] = not(lis[i]) else: lis[i] = False flag = True for b in lis.values(): if not(b): print("No") flag = False break if(flag): print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,534
s576692718
p04012
u894440853
1528375493
Python
Python (3.4.3)
py
Accepted
17
2940
81
S = input() print("Yes" if all([S.count(e) % 2 == 0 for e in set(S)]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,535
s067522463
p04012
u894440853
1528375215
Python
Python (3.4.3)
py
Accepted
17
2940
118
S = input() S_elements = set(S) for e in S_elements: if S.count(e) % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,536
s106453983
p04012
u136395536
1528297903
Python
Python (3.4.3)
py
Accepted
17
3064
278
w = input() length = len(w) letters = [] for i in range(length): if w[i] not in letters: letters.append(w[i]) wareru = True for i in range(len(letters)): if(w.count(letters[i])%2 != 0): wareru = False if wareru: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,537
s155652315
p04012
u136090046
1528251202
Python
Python (3.4.3)
py
Accepted
17
2940
131
s = input() set_s = set(s) tmp = True for i in set_s: if s.count(i) %2 != 0: tmp = False print("Yes" if tmp else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,538
s173721257
p04012
u399280934
1527820885
Python
Python (3.4.3)
py
Accepted
17
2940
98
s=input() for i in set(s): if s.count(i)%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,539
s580656743
p04012
u399280934
1527820793
Python
Python (3.4.3)
py
Accepted
17
2940
110
s=input() for j in range(97,123): if s.count(chr(j))%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,540
s635432084
p04012
u112523623
1527788548
Python
Python (3.4.3)
py
Accepted
20
3316
298
import collections if __name__ == "__main__": w = input() d = collections.defaultdict(int) for c in w: d[c] += 1 is_beautiful = True for v in d.values(): if v % 2 != 0: is_beautiful = False break print("Yes" if is_beautiful else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,541
s912551175
p04012
u047535298
1527196400
Python
Python (3.4.3)
py
Accepted
17
2940
157
dic = dict() s = input() for c in s: if c not in dic.keys(): dic[c]=0 dic[c]+=1 print(["No","Yes"][all(map(lambda x: x%2==0, dic.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,199,542
s031235336
p04012
u761320129
1527071699
Python
Python (3.4.3)
py
Accepted
20
3316
175
from collections import Counter S = input() ctr = Counter(S) for v in ctr.values(): if v%2 == 0: continue else: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,543
s469212761
p04012
u846150137
1526993654
Python
Python (3.4.3)
py
Accepted
21
3316
146
from collections import Counter c=Counter(list(input())) for i,j in c.most_common(): if j%2 ==1: 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,199,544
s120279137
p04012
u214617707
1526616972
Python
Python (3.4.3)
py
Accepted
21
3316
257
from collections import defaultdict dic = defaultdict(int) w = input() for i in range(len(w)): dic[w[i]] += 1 flag = True for v in dic.values(): if v % 2 != 0: flag = False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,545
s230596590
p04012
u354638986
1526590802
Python
Python (3.4.3)
py
Accepted
17
2940
304
def main(): w = input() w_dic = dict() for i in w: w_dic[i] = w_dic.get(i, 0) + 1 for i in w_dic: if w_dic[i] % 2 == 1: print("No") break else: print("Yes") if __name__ == "__main__": main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,546
s520774770
p04012
u926678805
1526166905
Python
Python (3.4.3)
py
Accepted
17
2940
107
w=input() for c in set(w): if w.count(c)%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,547
s343089588
p04012
u777923818
1526009851
Python
Python (3.4.3)
py
Accepted
22
3316
205
# -*- coding: utf-8 -*- from collections import Counter def inpl(): return list(map(int, input().split())) C = Counter(input()) if all([v%2==0 for v in C.values()]): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,548
s860214390
p04012
u675044240
1525787632
Python
Python (3.4.3)
py
Accepted
17
2940
133
w = list(input()) for i in w: if w.count(i) % 2 == 0: continue else: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,549
s733868905
p04012
u985076807
1525627900
Python
Python (3.4.3)
py
Accepted
17
3060
228
# coding: utf-8 d = {} for ch in list(input()): if ch not in d: d[ch] = 1 else: d[ch] += 1 for k,v in d.items(): if v % 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,199,550
s502346359
p04012
u634208461
1525360362
Python
Python (3.4.3)
py
Accepted
17
2940
109
A = input() W = [] for i in A: W.append(i) W.sort() if W[0::2] == W[1::2]: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,551
s270995786
p04012
u118019047
1525198149
Python
Python (3.4.3)
py
Accepted
17
2940
104
w = input() for i in w: if w.count(i)%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,552
s665217177
p04012
u327248573
1525131366
Python
Python (3.4.3)
py
Accepted
17
2940
164
word = input() char_set = set(list(word)) flag = 0 for w in char_set: if list(word).count(w) % 2 == 1: flag = 1 if flag: print('No') else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,553
s721105892
p04012
u403355272
1525063609
Python
Python (3.4.3)
py
Accepted
17
3060
165
W = input() W_change = set(W) course = True for i in W_change: n = W.count(i) if n % 2 != 0: course = False break if course: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,554
s353420749
p04012
u573970531
1524631826
Python
Python (3.4.3)
py
Accepted
17
3060
217
in1 = list(input()) in1.sort() i = 1 flg = True if len(in1) %2 != 0: flg=False else: while i < len(in1): if in1[i] != in1[i-1]: flg = False break i+=2 if flg: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,555
s154280595
p04012
u520158330
1524593018
Python
Python (3.4.3)
py
Accepted
25
3444
196
from collections import defaultdict w = input() wl = defaultdict(int) for i in w: wl[i] += 1 if len(list(filter(lambda x:x%2!=0,wl.values())))==0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,556
s619784558
p04012
u040380068
1524510947
Python
Python (2.7.6)
py
Accepted
10
2568
255
w = raw_input() wl = [] for i in range(0, len(w)): wl.append(w[i]) wl.sort() if len(wl) % 2 != 0: print("No") else: flag = True for i in range(0, len(wl)/2): if wl[2*i] != wl[2*i+1]: flag = False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,557
s175802364
p04012
u826263061
1524447290
Python
Python (3.4.3)
py
Accepted
17
2940
173
w = input() w_set = set(w) fine = True for c in w_set: n=w.count(c) if n%2 != 0: fine = False break if fine: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,558
s917038823
p04012
u856232850
1523841128
Python
Python (3.4.3)
py
Accepted
17
2940
165
a = input() b = 0 for i in range(len(a)): if a.count(a[i]) % 2 ==0: b += 1 else: b -= 1000 if b >= 1: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,559
s409355091
p04012
u218843509
1523748975
Python
Python (3.4.3)
py
Accepted
17
2940
179
import sys w_list = list(input()) w_element = list(set(w_list)) for w in w_element: if w_list.count(w) % 2 != 0: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,560
s962686532
p04012
u281303342
1523708239
Python
Python (3.4.3)
py
Accepted
21
3316
147
from collections import Counter C = Counter(input()) R = "Yes" for k,v in C.most_common(): if v%2 == 1: R = "No" break 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,199,561
s406103381
p04012
u226108478
1523637380
Python
Python (3.4.3)
py
Accepted
21
3316
292
# -*- coding: utf-8 -*- # AtCoder Beginner Contest # Problem B if __name__ == '__main__': from collections import Counter w = Counter(input()) result = 'Yes' for count in w.values(): if count % 2 != 0: print('No') exit() print(result)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,562
s527046438
p04012
u766407523
1523395814
Python
Python (3.4.3)
py
Accepted
17
2940
104
w = input() for i in w: if w.count(i)%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,563
s566708371
p04012
u766407523
1523395174
Python
Python (3.4.3)
py
Accepted
17
2940
184
c = {} for i in input(): if i not in c: c[i] = 1 else: c[i] += 1 for i in c.values(): if i %2 != 0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,564
s476694975
p04012
u200239931
1522891940
Python
Python (3.4.3)
py
Accepted
25
3436
753
import math import sys from collections import Counter def getinputdata(): # 配列初期化 array_result = [] data = input() array_result.append(data.split(" ")) flg = 1 try: while flg: data = input() array_temp = [] if(data != ""): ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,565
s451814067
p04012
u058580040
1522669512
Python
Python (3.4.3)
py
Accepted
17
2940
360
import sys import io def run(input: io.TextIOBase, output: io.TextIOBase): d = set() for i in input.readline().strip(): if i in d: d.remove(i) else: d.add(i) if len(d) == 0: r = "Yes" else: r = "No" output.write(r + '\n') if __name__ == '__...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,566
s059769201
p04012
u027622859
1522515260
Python
Python (3.4.3)
py
Accepted
17
2940
181
w = list(input()) w_set = set(w) for s in w_set: count_2 = w.count(s) if count_2 % 2 == 0: result = "Yes" else: result = "No" break print(result)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,567
s641281561
p04012
u667949809
1522362773
Python
Python (3.4.3)
py
Accepted
17
2940
243
alp = "abcdefghijklmnopqrstyvwxyz" alp = (list(alp)) w = list(input()) flag = 0 for i in range(26): if w.count(alp[i]) % 2 == 0: continue else: flag = 1 break if flag == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,568
s286883081
p04012
u562016607
1522197038
Python
Python (3.4.3)
py
Accepted
17
3064
230
def test(W): c=[0 for i in range(26)] for i in W: c[ord(i)-97]+=1 for i in range(26): if c[i]%2==1: return False return True w=input() if test(w): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,569
s578875255
p04012
u729707098
1521927506
Python
Python (3.4.3)
py
Accepted
20
3316
132
import collections s = input() c = collections.Counter(s) if all(i[1]%2==0 for i in c.most_common()): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,570