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
s655632160
p04012
u703890795
1567076001
Python
Python (3.4.3)
py
Accepted
21
3316
169
w = input() import collections W = collections.Counter(w) V = list(W.values()) f = True for v in V: if v%2 == 1: f = False if f: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,871
s867196603
p04012
u920438243
1567024916
Python
Python (3.4.3)
py
Accepted
17
2940
176
lists = list(input()) a = 0 for list in lists: if lists.count(list)%2 != 0: print("No") break else: a += 1 if a == len(lists): 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,872
s424369749
p04012
u119655368
1566994807
Python
Python (3.4.3)
py
Accepted
17
2940
154
a=input() while(True): if len(a)==0: print('Yes') break; elif a.count(a[0])%2==0: a=a.replace(a[0],''); else: print('No') break;
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,873
s091079837
p04012
u865413330
1566940505
Python
Python (3.4.3)
py
Accepted
21
3316
134
import collections w = list(input()) c = collections.Counter(w) print("Yes") if all([i % 2 == 0 for i in c.values()]) 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,874
s616937954
p04012
u642120132
1566931722
Python
Python (3.4.3)
py
Accepted
17
2940
78
w = input() print('Yes' if all(w.count(i) % 2 == 0 for i 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,198,875
s718387344
p04012
u334260611
1566915016
Python
Python (3.4.3)
py
Accepted
17
3060
243
w = list(input()) atoz = [0 for i in range(26)] for char in w: atoz[ord(char) - ord('a')] += 1 odd_flag = 0 for count in atoz: if count % 2 == 1: odd_flag = 1 break if odd_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,198,876
s046219750
p04012
u477216059
1566864517
Python
Python (3.4.3)
py
Accepted
17
2940
175
if __name__ == "__main__": l = list(input()) s = set(l) for v in s: if l.count(v) % 2 != 0: print("No") exit(0) print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,877
s054067397
p04012
u881816188
1566850851
Python
Python (3.4.3)
py
Accepted
21
3316
145
w=str(input()) from collections import Counter cw=Counter(w) for i in cw.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,878
s752512836
p04012
u989345508
1566781259
Python
Python (3.4.3)
py
Accepted
17
2940
224
w=sorted(list(input())) s="No" for i in range(len(w)//2): if w[2*i]!=w[2*i+1]: break if i==len(w)//2-1: s="Yes" print(s) #breakしてない時はelse文実行使えそうだけど無理やったわ
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,879
s283575054
p04012
u259334183
1566749986
Python
Python (3.4.3)
py
Accepted
17
2940
102
s=input() for k in s: if s.count(k)%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,880
s288703874
p04012
u987170100
1566747661
Python
Python (3.4.3)
py
Accepted
21
3316
148
from collections import Counter w = input() lst = [x for x in Counter(w).values() if x % 2 == 1] if not lst: 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,881
s520568355
p04012
u802963389
1566705534
Python
Python (3.4.3)
py
Accepted
27
3316
144
from collections import Counter s = list(input()) cs = Counter(s) for i in cs.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,882
s944228548
p04012
u243572357
1566699559
Python
Python (3.4.3)
py
Accepted
17
3060
188
s = list(input()) a = {} for i in s: if i in a: a[i] += 1 else: a[i] = 1 for j in a.values(): if j%2 == 0: continue else: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,883
s564400505
p04012
u957872856
1566680232
Python
Python (3.4.3)
py
Accepted
17
2940
76
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,884
s837975133
p04012
u948524308
1566677260
Python
Python (3.4.3)
py
Accepted
17
2940
145
w=input() alpha="abcdefghijklmnopqrstuvwxyz" for i in range(26): if w.count(alpha[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,885
s316469105
p04012
u357630630
1566675321
Python
Python (3.4.3)
py
Accepted
17
2940
255
def takahashi(): w = input() while True: if w.count(w[0]) % 2 != 0: print("No") return else: w = w.replace(w[0], "") if "" == w: print("Yes") return takahashi()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,886
s851644088
p04012
u732963817
1566673000
Python
Python (3.4.3)
py
Accepted
20
3316
150
import collections w = input() for i in collections.Counter(w).values(): if i % 2 == 1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,887
s611036879
p04012
u717626627
1566663776
Python
Python (3.4.3)
py
Accepted
17
2940
126
a = str(input()) b = list(set(a)) ans = False; for i in b: if a.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,888
s088400635
p04012
u251515715
1566657051
Python
Python (3.4.3)
py
Accepted
17
2940
91
s=input() t=list(set(s)) ans='Yes' for i in t: if s.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,889
s228584513
p04012
u169657264
1566608788
Python
Python (3.4.3)
py
Accepted
20
2940
219
w = input() a = dict() can = False for i in w: a[i] = w.count(i) for i in a.values(): if i % 2 != 0: can = False break else: can = True if can == True: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,890
s862954564
p04012
u598229387
1566606283
Python
Python (3.4.3)
py
Accepted
17
2940
199
w=list(input()) dic={} for i in w: if i in dic: dic[i]+=1 else: dic[i]=1 val=dic.values() ans='Yes' for i in val: if i %2 !=0: ans='No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,891
s000650557
p04012
u234631479
1566581610
Python
Python (3.4.3)
py
Accepted
20
3316
127
import collections c = collections.Counter(input()) for i in c.values(): if i%2 == 1: print('No') quit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,892
s610841773
p04012
u810978770
1566515102
Python
Python (3.4.3)
py
Accepted
21
3316
157
from collections import Counter s = input() c = Counter(list(s)) for word , cnt in c.most_common(): if cnt % 2 !=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,893
s596827859
p04012
u901582103
1566445777
Python
Python (3.4.3)
py
Accepted
20
3316
167
from collections import Counter w=input() d=Counter(list(w)) c=0 for k in d.keys(): if d[k]%2==0: c+=1 if c==len(d): 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,894
s357207953
p04012
u410118019
1566441752
Python
Python (3.4.3)
py
Accepted
17
2940
84
w = input() for i in w: if w.count(i) % 2: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,895
s554194216
p04012
u832058515
1566437374
Python
Python (3.4.3)
py
Accepted
17
2940
120
w = input() W = list(set(w)) for c in W: if w.count(c) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,896
s443211632
p04012
u762540523
1566421013
Python
Python (3.4.3)
py
Accepted
24
3772
160
import string def main(): w=input() s=string.ascii_lowercase for i in s: if w.count(i)%2==1: print("No") return print("Yes") 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,897
s739852008
p04012
u433532588
1566416885
Python
Python (3.4.3)
py
Accepted
18
2940
120
w = input() W = list(set(w)) for c in W: if w.count(c) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,898
s124889050
p04012
u625963200
1566407822
Python
Python (3.4.3)
py
Accepted
17
2940
146
w=input() w_uniq=list(set(w)) flag=0 for uniq in w_uniq: if w.count(uniq)%2==1: print('No') flag=1 break if flag==0: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,899
s862059305
p04012
u040033078
1566360302
Python
Python (3.4.3)
py
Accepted
21
3316
171
w = input() import collections as cl a = cl.Counter(w) b = True for i in a.values(): if i % 2 == 1: b = False if b == True: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,900
s717713413
p04012
u753803401
1566351068
Python
Python (3.4.3)
py
Accepted
25
3316
140
import collections w = collections.Counter(input()).values() for i in w: 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,901
s487123461
p04012
u771405286
1566337083
Python
Python (3.4.3)
py
Accepted
18
2940
124
w = input() retw = "Yes" for i in range(len(w)): if w.count(w[i])%2 != 0: retw = "No" break print(retw)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,902
s757251020
p04012
u437638594
1566328770
Python
Python (3.4.3)
py
Accepted
21
3316
156
import collections w = input() count = collections.Counter(w) ans = "Yes" for item in count.items(): if item[1] % 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,903
s463212041
p04012
u798316285
1566279262
Python
Python (3.4.3)
py
Accepted
17
2940
148
w=list(input()) ans="Yes" while w: if w.count(w[0])%2==0: x=w[0] while x in w: w.remove(x) else: ans="No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,904
s948802214
p04012
u183896397
1566275085
Python
Python (3.4.3)
py
Accepted
17
2940
225
w = str(input()) W = list(w) Z = list('abcdefghijklmnopqrstuvwxyz') for i in range(len(Z)): if W.count(Z[i]) % 2 != 0: print('No') break else: if i ==25: 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,905
s743113383
p04012
u256868077
1566229975
Python
Python (3.4.3)
py
Accepted
17
3060
219
s=input() sdic={} flag=False for i in range(len(s)): if(s[i] in sdic): sdic[s[i]]+=1 else: sdic[s[i]]=1 for i in sdic: if(sdic[i]%2==1): flag=True break if(flag): print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,906
s569784924
p04012
u256464928
1566181221
Python
Python (3.4.3)
py
Accepted
18
2940
76
w = input() print('Yes' if all([w.count(i)%2==0 for i 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,198,907
s994232170
p04012
u256464928
1566180997
Python
Python (3.4.3)
py
Accepted
17
3060
260
w = input() alpha = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] for i in range(26): if w.count(alpha[i])%2!=0: print("No") break elif i == 25 and w.count(alpha[i])%2==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,908
s447610034
p04012
u665038048
1566147795
Python
Python (3.4.3)
py
Accepted
21
3316
169
from collections import Counter w = list(input()) w_cnt = Counter(w) for key in w_cnt.keys(): if w_cnt[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,909
s304077301
p04012
u360116509
1566146390
Python
Python (3.4.3)
py
Accepted
21
3316
134
import collections for c in collections.Counter(input()).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,910
s573826650
p04012
u602677143
1566106050
Python
Python (3.4.3)
py
Accepted
20
3316
204
import collections w = input() c = collections.Counter(w) ans = 0 for i in range(len(c)): if c.most_common()[i][1] % 2 == 0: ans += 1 if ans == len(c): 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,911
s412168268
p04012
u002459665
1566079032
Python
Python (3.4.3)
py
Accepted
17
2940
168
w = input() s = set(w) r = True for si in s: c = w.count(si) # print(si, c) if c % 2 == 1: r = False if r: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,912
s489549992
p04012
u792670114
1566007822
Python
Python (3.4.3)
py
Accepted
17
2940
166
w = input() s = set() for c in w: s.add(c) ok = True for c in s: n = w.count(c) if n%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,913
s037983187
p04012
u842689614
1566005862
Python
Python (3.4.3)
py
Accepted
17
3060
159
w=sorted(list(input())) pw=0 flag=True while(pw<len(w) and flag): nc=w.count(w[pw]) flag=not(nc%2) pw+=nc if flag: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,914
s740253672
p04012
u037221289
1565989701
Python
Python (3.4.3)
py
Accepted
17
2940
88
S = input() if all([S.count(i) % 2 == 0 for i in S]): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,915
s180732635
p04012
u247922466
1565922626
Python
Python (3.4.3)
py
Accepted
20
3316
246
def B_BeautifulStrings(): from collections import Counter w = Counter(list(input())) ans = "Yes" for x in w.values(): if x % 2: ans = "No" print(ans) if __name__ == "__main__": B_BeautifulStrings()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,916
s112055930
p04012
u831873131
1565918031
Python
Python (3.4.3)
py
Accepted
17
2940
135
s = input() def ma(): for c in 'abcdefghijklmnopqrstuvwxyz': if s.count(c) % 2 != 0: return 'No' return 'Yes' print(ma())
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,917
s002860359
p04012
u248670337
1565903622
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,918
s798371781
p04012
u785470389
1565890430
Python
Python (3.4.3)
py
Accepted
19
3060
209
w = input() for i in range(len(w)): check = 0 for j in range(len(w)): if w[i] == w[j]: check += 1 if (check % 2) != 0: break if (check % 2) == 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,919
s991434529
p04012
u475503988
1565888347
Python
Python (3.4.3)
py
Accepted
17
2940
211
w = input() d = dict() for i in range(len(w)): if w[i] in d: d[w[i]] += 1 else: d[w[i]] = 1 ans = "Yes" for k in d.keys(): if d[k] % 2: ans = "No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,920
s292394737
p04012
u842388336
1565857287
Python
Python (3.4.3)
py
Accepted
17
2940
151
w=input() w_set=set(w) flag=True for c in w_set: cnt=w.count(c) if cnt%2==1: flag=False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,921
s949419429
p04012
u830054172
1565836582
Python
Python (3.4.3)
py
Accepted
17
3060
209
w = input() ww = list(set(w)) cnt = [] for i in range(len(ww)): cnt.append(w.count(ww[i])) flag = 0 for i in cnt: if i%2==1: flag=1 break if flag: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,922
s097081452
p04012
u994988729
1565824060
Python
Python (3.4.3)
py
Accepted
21
3316
213
from collections import Counter def isBeautiful(): w=input() c=Counter(w) for k,v in c.items(): if v%2!=0: print("No") return print("Yes") return isBeautiful()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,923
s212908619
p04012
u405660020
1565811213
Python
Python (3.4.3)
py
Accepted
17
2940
76
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,924
s433012343
p04012
u360515075
1565807998
Python
Python (3.4.3)
py
Accepted
22
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,925
s142231975
p04012
u360515075
1565807703
Python
Python (3.4.3)
py
Accepted
21
3316
152
from collections import Counter s = list(input()) S = Counter(s) for v in S.values(): if v % 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,926
s726586593
p04012
u367713721
1565804425
Python
Python (3.4.3)
py
Accepted
17
2940
201
# -*- coding:utf-8 -*- import sys li_c = list(input()) # string to char list li_uniq = set(li_c) for c in li_uniq: if li_c.count(c) % 2 != 0: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,927
s192048205
p04012
u489315616
1565800845
Python
Python (3.4.3)
py
Accepted
17
2940
151
s = input() while len(s) > 0: if s.count(s[0]) % 2 != 0: print('No') exit() else: s = s.replace(s[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,928
s103648569
p04012
u544637026
1565726442
Python
Python (3.4.3)
py
Accepted
17
2940
174
a = input() check = [0 for _ in range(26)] for v in a: check[ord(v)-ord('a')]+=1 for i in range(26): if 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,929
s103586045
p04012
u111365362
1565724829
Python
Python (3.4.3)
py
Accepted
17
3060
213
s = input() n = len(s) w = [] x = [] for i in range(n): w.append(s[i]) w.sort() for i in range(n): if i % 2 == 0: x.append(w[i]) y = x * 2 y.sort() if w == y: print('Yes') else: print('No') #print(w,y)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,930
s962809087
p04012
u131634965
1565719250
Python
Python (3.4.3)
py
Accepted
17
2940
118
s = input() s_list=set(s) for ele in s_list: if s.count(ele)%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,931
s343124237
p04012
u457554982
1565710282
Python
Python (3.4.3)
py
Accepted
17
3064
242
w=input() alphabet=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] flag=0 for i in alphabet: num=w.count(i) if num%2==1: flag=1 break if flag==0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,932
s949548570
p04012
u578850957
1565707520
Python
Python (3.4.3)
py
Accepted
17
2940
297
w = sorted(list(input())) isBeautiful = 'Yes' stringMap = {} for string in w: if string in stringMap: stringMap[string] += 1 else: stringMap[string] = 1 for string in stringMap: if stringMap[string]%2 != 0: isBeautiful = 'No' break print(isBeautiful)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,933
s690574764
p04012
u597017430
1565622206
Python
Python (3.4.3)
py
Accepted
17
3064
1,556
W = str(input()) if W.count('a') % 2 == 0: if W.count('b') % 2 == 0: if W.count('c') % 2 == 0: if W.count('d') % 2 == 0: if W.count('e') % 2 == 0: if W.count('f') % 2 == 0: if W.count('g') % 2 == 0: if W.count('h') % 2 == 0: if W.count('i') % 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,934
s796037802
p04012
u231122239
1565608140
Python
Python (3.4.3)
py
Accepted
17
2940
81
w = input() print('Yes' if all([w.count(i) % 2 == 0 for i 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,198,935
s596302504
p04012
u057308539
1565572461
Python
Python (3.4.3)
py
Accepted
18
2940
190
w = input() w_list = 'abcdefghijklmnopqrstuvwxyz' a = 0 for i in w_list: if w.count(i) % 2 == 0: a += 0 else: a += 1 if a == 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,936
s082634066
p04012
u874741582
1565556826
Python
Python (3.4.3)
py
Accepted
18
2940
141
w = input() f=0 def beautiful(w): for i in w: if w.count(i)%2 != 0: return "No" return "Yes" print(beautiful(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,937
s267109408
p04012
u753803401
1565460963
Python
Python (3.4.3)
py
Accepted
21
3316
190
import collections w = list(input()) w = collections.Counter(w) b = True for v in w.values(): if v % 2 != 0: b = False break if b: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,938
s283086808
p04012
u706929073
1565459898
Python
Python (3.4.3)
py
Accepted
17
2940
239
w = input() count = {} for w_i in w: if w_i in count: count[w_i] += 1 else: count[w_i] = 1 is_beautiful = True for v in count.values(): if 0 != v % 2: 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,198,939
s511113283
p04012
u268291479
1565447009
Python
Python (3.4.3)
py
Accepted
17
2940
269
def f(w): cnt_dict = {} for s in w: if s not in cnt_dict.keys(): cnt_dict[s] = 0 cnt_dict[s] += 1 for v in cnt_dict.values(): if v % 2 != 0: print("No") return print("Yes") w = input() f(w)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,940
s787152535
p04012
u111525113
1565444979
Python
Python (3.4.3)
py
Accepted
17
2940
130
w = str(input()) for i in range(26): if w.count(chr(i + 97)) % 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,941
s618666256
p04012
u311379832
1565407386
Python
Python (3.4.3)
py
Accepted
17
2940
184
import sys w = input() if len(w) % 2 == 1: print('No') sys.exit() for i in range(len(w)): if w.count(w[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,198,942
s018675337
p04012
u760794812
1565406466
Python
Python (3.4.3)
py
Accepted
17
2940
156
S = input() checker = 0 for i in range(len(S)): if S.count(S[i]) % 2 == 1: checker = 1 break if checker == 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,943
s035225909
p04012
u134712256
1565390146
Python
Python (3.4.3)
py
Accepted
17
2940
151
w = input() flag = True for i in set(w): if w.count(i)%2 == 1: flag = False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,944
s734314421
p04012
u134712256
1565390039
Python
Python (3.4.3)
py
Accepted
17
2940
177
w = input() only = list(set(w)) count = 0 can = True for i in only: if w.count(i) % 2 != 0: can = False break if can: 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,945
s341710697
p04012
u106103668
1565382714
Python
Python (3.4.3)
py
Accepted
18
2940
83
w = input() print('Yes') if all([w.count(i)%2==0 for i in set(w)]) 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,946
s712194612
p04012
u374974389
1565329355
Python
Python (3.4.3)
py
Accepted
17
2940
176
w = input() only = list(set(w)) count = 0 can = True for i in only: if w.count(i) % 2 != 0: can = False break if can: 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,947
s302750071
p04012
u626337957
1565302942
Python
Python (3.4.3)
py
Accepted
17
3060
195
S = input() c_dict = {} for char in S: if char in c_dict: c_dict[char] += 1 else: c_dict[char] = 1 for cnt in c_dict.values(): if cnt%2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,948
s381335741
p04012
u729535891
1565231902
Python
Python (3.4.3)
py
Accepted
17
2940
243
w = input() w_sep = [i for i in w] w_unqs = set(w_sep) num_odd = 0 for w_unq in w_unqs: num = w_sep.count(w_unq) if num % 2 == 0: continue else: num_odd += 1 if num_odd > 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,949
s458511521
p04012
u736729525
1565218700
Python
Python (3.4.3)
py
Accepted
20
3316
146
from collections import Counter r = 0 cnt = Counter(input()) for c in cnt: r += cnt[c] % 2 if r == 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,950
s935081752
p04012
u084324798
1565181110
Python
Python (3.4.3)
py
Accepted
17
2940
228
word = input() flag = True if len(word)%2 == 1: flag = False wordset = set(word) leng = len(wordset) for s in wordset: if word.count(s)%2 == 1: flag = False break if flag:print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,951
s144838550
p04012
u999669171
1565103535
Python
Python (3.4.3)
py
Accepted
17
2940
124
w = input() w_set = set( w ) for each_ch in w_set: if w.count( each_ch ) % 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,952
s876300636
p04012
u296150111
1565101454
Python
Python (3.4.3)
py
Accepted
17
2940
93
w=input() for i in range(len(w)): if w.count(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,953
s947814756
p04012
u385309449
1565039096
Python
Python (3.4.3)
py
Accepted
17
2940
150
s = input() for i in range(len(s)): if s.count(s[i]) % 2 == 0: pass else: 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,954
s184830177
p04012
u732607917
1565015642
Python
Python (3.4.3)
py
Accepted
17
2940
126
w=input() result=0 for k in set(w): if w.count(k)%2==1: result=1 break print("Yes" if result==0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,955
s151301711
p04012
u188244611
1565015333
Python
Python (3.4.3)
py
Accepted
24
3772
161
# ABC 44, B - beautiful strings import string w = input() if all([w.count(i) % 2 == 0 for i in string.ascii_lowercase]): 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,956
s957061906
p04012
u498397607
1564897391
Python
Python (3.4.3)
py
Accepted
17
2940
245
def main(): ans = func(input()) print(ans) def func(sentence): unique_list = set(sentence) for s in unique_list: if sentence.count(s) % 2 != 0: return('No') break return('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,957
s954386929
p04012
u979418645
1564880286
Python
Python (3.4.3)
py
Accepted
17
2940
224
w=input() w_list=list(w) w_unique=list(set(w_list)) c=0 for x in w_unique: if w_list.count(x)%2==0: c=c else: c+=1 if c==0: print('Yes') else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,958
s313837277
p04012
u893931781
1564861696
Python
Python (3.4.3)
py
Accepted
17
3060
286
import sys w=input() w_unique=list(set(w)) #count=[0 for i in range(25)] #print(count) count={i:0 for i in w_unique} if len(w)%2 != 0: print("No") sys.exit() for i in w: count[i]+=1 for i in w_unique: if count[i]%2 != 0: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,959
s017983154
p04012
u200785298
1564797719
Python
Python (3.4.3)
py
Accepted
17
3064
569
#!/usr/bin/env python3 import sys sys.setrecursionlimit(300000) YES = "Yes" # type: str NO = "No" # type: str def solve(w: str): count = [0] * 26 for c in w: count[ord(c) - ord('a')] += 1 for cnt in count: if cnt % 2: print(NO) return print(YES) return 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,198,960
s764615569
p04012
u333190709
1564783950
Python
Python (3.4.3)
py
Accepted
36
5204
769
#!/usr/bin/env python3 import sys, math, fractions, itertools, collections YES = "Yes" # type: str NO = "No" # type: str def solve(w: str): c = collections.Counter(w) d = c.values() flag = True for dd in d: if dd % 2 != 0: flag = False if flag: print('Yes') else: ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,961
s917345627
p04012
u277448038
1564768563
Python
Python (3.4.3)
py
Accepted
17
2940
170
#ABC044B w = input() l = len(w) sig = 0 for i in range(l): if w.count(w[i])%2 !=0: sig = 1 break if sig == 1: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,962
s668171106
p04012
u035605655
1564711757
Python
Python (3.4.3)
py
Accepted
17
2940
112
w = input() for c in w: if not 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,198,963
s069196719
p04012
u576712004
1564460523
Python
Python (3.4.3)
py
Accepted
17
2940
172
w = input() counts = [0] * 26 for c in w: counts[ord(c) - ord('a')] += 1 counts[ord(c) - ord('a')] %= 2 if max(counts) == 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,964
s917306024
p04012
u921773161
1564426053
Python
Python (3.4.3)
py
Accepted
17
3064
292
w = list(input()) w_unique = list(set(w)) w_unique_count = [] for i in range(len(w_unique)): w_unique_count.append(w.count(w_unique[i])) check = 0 for i in range(len(w_unique)): if w_unique_count[i] % 2 == 1: check = 1 if check == 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,965
s411309948
p04012
u408620326
1564370684
Python
Python (3.4.3)
py
Accepted
17
2940
93
w=input() ans='No' for wd in w: if w.count(wd)%2!=0: break else: ans='Yes' 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,966
s137580647
p04012
u514894322
1564361961
Python
Python (3.4.3)
py
Accepted
17
3060
252
s = str(input()) l = [] for char in s: l.append(char) l.sort() if len(l)%2 == 1: print('No') else: flag = True for i in range(0,len(l),2): if l[i] != l[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,198,967
s327049248
p04012
u027929618
1564116680
Python
Python (3.4.3)
py
Accepted
17
2940
135
w = list(input()) s = list("abcdefghijklmnopqrstuvwxyz") ans = "Yes" for i in s: 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,968
s050001602
p04012
u668503853
1564070470
Python
Python (3.4.3)
py
Accepted
21
3316
136
import collections w=input() li=collections.Counter(w) li2=li.values() if all([i%2==0 for i in li2]): 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,969
s750338674
p04012
u759412327
1564033385
Python
Python (3.4.3)
py
Accepted
21
3316
152
from collections import Counter w = input() c = Counter(w) f = 0 for i in c.values(): if i%2!=0: f=1 if f==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,970