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
s164828131
p04012
u061361273
1594333941
Python
Python (3.8.2)
py
Accepted
25
8888
111
def test(): s = list(input()) for w in s: if s.count(w)%2!=0: print('No') return print('Yes') test()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,871
s874951633
p04012
u681444474
1594320687
Python
Python (3.8.2)
py
Accepted
25
9040
170
# coding: utf-8 w = list(input()) w_ = list(set(w)) flg = True for a in w_: if w.count(a)%2 != 0: flg = False if flg: print("Yes") else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,872
s571684054
p04012
u694665829
1594320367
Python
Python (3.8.2)
py
Accepted
28
8976
83
w=input() S=set(w) print("Yes" if all(w.count(s)%2==0 for s in S)==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,197,873
s601463951
p04012
u786020649
1594316547
Python
Python (3.8.2)
py
Accepted
26
9004
173
w=input() hm=lambda a,s:sum([a==x for x in s]) def isbeautiful(s): for a in s: if hm(a,s)%2==1: return 'No' return 'Yes' print(isbeautiful(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,197,874
s930612764
p04012
u706414019
1594261987
Python
Python (3.8.2)
py
Accepted
31
9340
150
import collections w = input() cw = collections.Counter(w) for val in cw.values(): if val%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,197,875
s941303746
p04012
u684743124
1594246740
Python
Python (3.8.2)
py
Accepted
28
8828
126
s=input() d={} for i in s: d[i]=d.get(i,0)+1 for i in set(s): if d[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,197,876
s959530569
p04012
u062999487
1594232335
Python
PyPy3 (7.3.0)
py
Accepted
71
64952
248
import collections #Counterを使いたいから c = collections.Counter(list(input())) #出現回数が多い順に要素を取得 キーと値 f = True for val in c.values(): if val%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,197,877
s162789383
p04012
u094999522
1594219435
Python
PyPy3 (7.3.0)
py
Accepted
67
64852
173
#!/usr/bin/env python3 from collections import defaultdict w = input() d = defaultdict(int) for i in w: d[i] += 1 print("YNeos"[any(i % 2 > 0 for i in d.values())::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,878
s863748371
p04012
u062691227
1594184683
Python
PyPy3 (7.3.0)
py
Accepted
76
64904
125
from collections import Counter if sum(map(lambda x: x%2, Counter(input()).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,197,879
s095374366
p04012
u289288647
1594175211
Python
Python (3.8.2)
py
Accepted
34
9388
163
import sys from collections import Counter c = Counter(input()) for i in c.most_common(): if i[1]%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,197,880
s232549013
p04012
u188138642
1594089503
Python
Python (3.8.2)
py
Accepted
30
9252
145
from collections import Counter s = input() s = Counter(s) for i in s.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,197,881
s956890340
p04012
u248556072
1594065014
Python
Python (3.8.2)
py
Accepted
27
8988
166
w = list(input()) w_set = set(w) flag = 0 for l in w_set: if w.count(l)%2 != 0: 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,197,882
s922789538
p04012
u875769753
1594049331
Python
PyPy3 (7.3.0)
py
Accepted
71
64504
134
from collections import Counter s = input() res = 'Yes' for i in Counter(s).values(): if i % 2 ==1: res = 'No' print(res)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,883
s106355855
p04012
u333404917
1594048094
Python
Python (3.8.2)
py
Accepted
27
9048
173
w = list(input()) keys = list(set(w)) cnt = 0 for k in keys: kl = len([x for x in w if x == k]) if kl % 2 != 0: cnt += 1 print("Yes" if cnt == 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,197,884
s178814037
p04012
u464205401
1594037162
Python
Python (3.8.2)
py
Accepted
31
9184
203
import collections s = input() c = collections.Counter(s) c = list(c.values()) for i in range(len(c)): if c[i]%2==0: c[i]=True else: c[i]=False if all(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,197,885
s654031338
p04012
u098982053
1594028400
Python
Python (3.8.2)
py
Accepted
30
9400
180
from collections import Counter W = Counter(list(input())) flag = 0 for key in W: if W[key]%2!=0: 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,197,886
s789582494
p04012
u163421511
1593980199
Python
Python (3.8.2)
py
Accepted
26
8996
114
s = input() for i in set(s): if s.count(i) % 2 != 0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,887
s291437077
p04012
u973549339
1593958069
Python
PyPy3 (7.3.0)
py
Accepted
64
64976
335
w = list(input()) alphabet = list(chr(ord("a") + i) for i in range(26)) enumerate = [0]*26 for x in w: for i in range(26): if x == alphabet[i]: enumerate[i] += 1 ans = 0 for i in range(26): if enumerate[i]%2 != 0 and enumerate[i] > 0 : ans = 1 if ans == 1: print("No") 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,197,888
s339929106
p04012
u634046173
1593900483
Python
Python (3.8.2)
py
Accepted
26
8924
63
s=input() print('Yes'if all(s.count(i)%2==0for i in 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,197,889
s371051908
p04012
u634046173
1593900440
Python
Python (3.8.2)
py
Accepted
28
9020
68
s=input() print('Yes'if all(s.count(i)%2==0for 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,197,890
s319259836
p04012
u634046173
1593900161
Python
Python (3.8.2)
py
Accepted
26
8928
93
s = input() r = 'Yes' for w in s: if s.count(w) % 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,197,891
s337354923
p04012
u634046173
1593900055
Python
Python (3.8.2)
py
Accepted
32
9028
105
s = input() ss = set(s) r = 'Yes' for w in ss: if s.count(w) % 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,197,892
s766997505
p04012
u978167553
1593885561
Python
Python (3.8.2)
py
Accepted
28
9096
229
w = input() cnt_dict = {} for c in w: if c not in cnt_dict.keys(): cnt_dict[c] = 0 cnt_dict[c] += 1 ans = "Yes" for c in cnt_dict.keys(): if cnt_dict[c] % 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,197,893
s961295263
p04012
u137228327
1593868926
Python
Python (3.8.2)
py
Accepted
29
9040
140
import sys st = str(input()) st = sorted(st) for i in st: if st.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,197,894
s481987705
p04012
u275685840
1593838021
Python
Python (3.8.2)
py
Accepted
28
9068
210
w = input() wl = list(w) wu = list(set(wl)) wu_len = len(wu) counter = 0 for wo in wu: if wl.count(wo) % 2 == 0: counter+=1 else: break if counter == int(wu_len): 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,197,895
s917414382
p04012
u858645668
1593821156
Python
Python (3.8.2)
py
Accepted
25
9012
188
s = input() l = [] for i in range(len(s)): l.append(s.count(s[i])) r = [] for x in l: if(x%2!=0): r.append(False) else: r.append(True) if(all(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,197,896
s183667475
p04012
u849029577
1593814703
Python
PyPy3 (7.3.0)
py
Accepted
70
64432
137
import collections w = collections.Counter(input()) for i in w.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,197,897
s113769901
p04012
u681323954
1593784818
Python
Python (3.8.2)
py
Accepted
25
8956
143
w = input() a = set(w) flg = 1 for i in a: if (w.count(i)%2 != 0) : flg = 0 break if (flg):print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,898
s193120593
p04012
u520018621
1593722609
Python
Python (3.8.2)
py
Accepted
25
9032
129
s = input() n = [0] * 26 for i in s: n[ord(i) - 97] += 1 if 1 in [x % 2 for x in n]: 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,197,899
s590976745
p04012
u357751375
1593715375
Python
Python (3.8.2)
py
Accepted
31
9044
134
w = input() y = list(set(w)) for i in range(len(y)): if w.count(y[i]) % 2 != 0: print('No') exit(0) print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,900
s781999577
p04012
u068142202
1593621630
Python
Python (3.8.2)
py
Accepted
33
9340
198
import collections w = list(input()) w_count = collections.Counter(w) flag = True for i in w_count.values(): if i % 2 != 0: flag = False if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,901
s170637641
p04012
u811176339
1593618026
Python
Python (3.8.2)
py
Accepted
29
9272
146
import collections w = input() cc = collections.Counter(w) cond = True for c in cc: cond &= cc[c] % 2 == 0 print("Yes" if cond 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,197,902
s761521637
p04012
u917558625
1593597446
Python
Python (3.8.2)
py
Accepted
23
9044
141
w=input() dp=[0]*200 for i in range(len(w)): dp[ord(w[i])]+=1 for i in range(200): if dp[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,197,903
s535105027
p04012
u779805689
1593557344
Python
PyPy3 (7.3.0)
py
Accepted
64
61856
169
D={} W=input() for w in W: if w in D: D[w]+=1 else: D[w]=1 F=True for a in D: F&=(D[a]%2==0) 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,197,904
s714105286
p04012
u710398282
1593551623
Python
Python (3.8.2)
py
Accepted
26
8972
301
def groupby(a): a2=[[a[0],1]] for i in range(1,len(a)): if a2[-1][0]==a[i]: a2[-1][1]+=1 else: a2.append([a[i],1]) return a2 w=list(input()) w.sort() w=groupby(w) for i in w: if i[1]%2==1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,905
s230351755
p04012
u492737043
1593488725
Python
Python (3.8.2)
py
Accepted
30
8992
176
w=input() alphabet=[chr(ord('a')+i) for i in range(25)] count=1 for i in range(25): count=count*(1-(w.count(alphabet[i])%2)) if count%2==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,197,906
s188057118
p04012
u108617242
1593484268
Python
PyPy3 (7.3.0)
py
Accepted
70
64956
213
from collections import Counter w = input() counter = Counter(w) ans = True for k, v in counter.items(): if v % 2 == 0: continue ans = False break if ans: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,907
s593265538
p04012
u450956662
1593479156
Python
Python (3.8.2)
py
Accepted
28
8932
157
w = input() char = [chr(ord('a') + i) for i in range(26)] for c in char: 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,197,908
s249643121
p04012
u089230684
1593472262
Python
Python (3.8.2)
py
Accepted
24
9064
354
w=input() lst=[] flag = 0 for i in w: lst.append(i) for i in range(len(w)): if lst[i] == 99: continue c = 1 j = i + 1 while j < len(w): if lst[i] == lst[j]: lst[j] = 99 c += 1 j += 1 if c % 2 != 0: print("No") flag = 1 brea...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,909
s632090742
p04012
u807807253
1593441683
Python
Python (3.8.2)
py
Accepted
24
9056
328
w = input() datalist = [x for x in w] dataset = set(datalist) list_set = list(dataset) count = 0 answers = [] for i in list_set: count = datalist.count(i) if count % 2 == 0: answers.append("Yes") else: answers.append("NO") # print(answers) if "NO" in answers: print("No") else: print...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,910
s124829305
p04012
u013202780
1593395767
Python
Python (3.8.2)
py
Accepted
34
9336
159
from collections import Counter l=[x for x in input()];n=len(set(l)); c=Counter(l) ans=[x for x in c.values() if x%2!=0] print ("No" if len(ans)>0 else "Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,911
s277812966
p04012
u047931063
1593393750
Python
Python (3.8.2)
py
Accepted
28
9036
403
# n, m, l = map(int, input().split()) # list_n = list(map(int, input().split())) # n = input() # list = [input() for i in range(N) # list = [[i for i in range(N)] for _ in range(M)] import sys input = sys.stdin.readline S = input() Sset = set(S.rstrip('\n')) # print(Sset) n = 0 for SS in Sset: if S.count(SS) ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,912
s587416215
p04012
u280552586
1593388439
Python
Python (3.8.2)
py
Accepted
32
9396
163
from collections import Counter w = list(input()) c = Counter(w) for v in c.values(): if v % 2 != 0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,913
s493691317
p04012
u643679148
1593349240
Python
Python (3.8.2)
py
Accepted
27
9004
195
s = input() acsii = [chr(i) for i in range(97, 97+26)] flag = True for i in acsii: if s.count(i) % 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,197,914
s630484641
p04012
u017050982
1593346735
Python
PyPy3 (7.3.0)
py
Accepted
72
61708
159
n = [0 for _ in range(26)] S = list(input()) ans = "Yes" for i in S: n[ord(i) - ord('a')] += 1 for i in n: if i % 2 != 0: ans = "No" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,915
s466945574
p04012
u032222383
1593320455
Python
PyPy3 (7.3.0)
py
Accepted
74
61660
196
w=input() d={} for i in range(int(len(w))): if w[i] not in d: d[w[i]]=1 else: d[w[i]]+=1 for i in d.values(): if i%2==1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,916
s809539887
p04012
u479937725
1593305788
Python
Python (3.8.2)
py
Accepted
31
9392
155
import collections w = input() C = collections.Counter(w).values() for c in C: if c%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,197,917
s114793110
p04012
u767995501
1593303086
Python
Python (3.8.2)
py
Accepted
26
8888
91
s=input() if all(s.count(i)%2==0 for i in set(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,197,918
s427960098
p04012
u697615293
1593288674
Python
Python (3.8.2)
py
Accepted
29
9116
217
a = list(input()) even_number = [x for x in range(0,101,2)] tmp_list = [] tmp_set = set(a) tmp_list = [a.count(x) for x in tmp_set] if all(x % 2 == 0 for x in tmp_list) == 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,197,919
s909444903
p04012
u088488125
1593279966
Python
Python (3.8.2)
py
Accepted
29
9000
204
w=input() dict={} alh="abcdefghijklmnopqrstuvwxyz" for i in alh: dict[i]=0 for i in w: dict[i]+=1 flag=True for i in alh: if dict[i]%2==1: flag=False if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,920
s886731436
p04012
u160224209
1593256522
Python
Python (3.8.2)
py
Accepted
31
9260
164
from collections import Counter w = input() c = Counter(w) li = set(list(w)) for i in li: if int(c[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,197,921
s256289074
p04012
u618369407
1593222588
Python
Python (3.8.2)
py
Accepted
25
9104
152
# -*- coding: utf-8 -*- w = list(str(input())) w_s = set(w) for x in w_s: if w.count(x) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,922
s860162187
p04012
u605086727
1593202867
Python
Python (3.8.2)
py
Accepted
26
9000
239
w = input() cher_count = {} for c in w: if c in cher_count: cher_count[c] += 1 else: cher_count[c] = 1 for num in cher_count.values(): if num % 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,197,923
s606693631
p04012
u656120612
1593129262
Python
Python (3.8.2)
py
Accepted
26
8896
194
flag=True a=list(input()) a=sorted(a) while len(a)>0 and flag: n=a.count(a[0]) if n%2==0: a=a[n:] else: flag=False if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,924
s065699372
p04012
u016843859
1593125972
Python
Python (3.8.2)
py
Accepted
33
9372
226
import collections w=list(input()) alpha=[chr(i) for i in range(97, 97+26)] beautiful=True C=collections.Counter(w) for i in alpha: if C[i]%2==1: beautiful=False if beautiful: 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,197,925
s455022242
p04012
u701077471
1593106551
Python
Python (3.8.2)
py
Accepted
29
9116
158
w = str(input()) count = 0 for i in w: if w.count(i) % 2 == 0: pass else: count = 1 break print("Yes" if count == 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,197,926
s610036991
p04012
u981898278
1593093763
Python
Python (3.8.2)
py
Accepted
24
9088
187
w = list(input()) for i in range(97, 123): #print("{}: {}".format(chr(i), w.count(chr(i)))) if w.count(chr(i)) % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,927
s814255963
p04012
u623349537
1593019938
Python
Python (3.8.2)
py
Accepted
29
8976
256
S = input() count = dict() for c in S: if c in count: count[c] += 1 else: count[c] = 1 yes = True for e in count.values(): if e % 2 != 0: yes = False break if yes: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,928
s518549911
p04012
u793430793
1593016433
Python
Python (3.8.2)
py
Accepted
31
9012
184
#ABC044B n=input() a=[] for i in range(len(n)): a.append(n[i]) sum_=0 for i2 in range(len(a)): sum_=sum_+a.count(a[i2])%2 if sum_ == 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,197,929
s186182074
p04012
u578580291
1592972322
Python
Python (3.8.2)
py
Accepted
29
8900
213
w = list(input()) ch = [] for i in w: if i not in ch: ch.append(i) ans = 0 for j in ch: if w.count(j) % 2 != 0: ans += 1 break if ans == 0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,930
s418250040
p04012
u257162238
1592969634
Python
Python (3.8.2)
py
Accepted
36
9324
321
import sys input = sys.stdin.readline from collections import Counter def read(): w = input().strip() return w, def solve(w): c = Counter(w) for v in c.values(): if v % 2 != 0: return "No" return "Yes" if __name__ == '__main__': inputs = read() print(solve(*inputs))...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,931
s822927616
p04012
u854992222
1592963593
Python
Python (3.8.2)
py
Accepted
26
8960
154
w = list(input()) x = set(list(sorted(w))) for i in x: if w.count(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,197,932
s360134003
p04012
u014333473
1592948296
Python
Python (3.8.2)
py
Accepted
25
8912
87
s=list(input());print(['No','Yes'][all([1 if s.count(i)%2==0 else 0 for i in set(s)])])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,933
s050181271
p04012
u759412327
1592944864
Python
Python (3.8.2)
py
Accepted
30
9060
114
from collections import * C = Counter(input()) a = "Yes" for v in C.values(): if v%2==1: a = "No" print(a)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,934
s387663028
p04012
u583507988
1592944357
Python
Python (3.8.2)
py
Accepted
25
8940
197
w = input() res = [] for i in w: if i not in res: res.append(i) #print(res) ans = 0 for j in res: if w.count(j) % 2 == 0: ans += 1 if ans == len(res): 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,197,935
s183130208
p04012
u663263525
1592931026
Python
PyPy3 (7.3.0)
py
Accepted
81
64624
158
import collections w = list(input()) c = collections.Counter(w) for v in c.values(): if v & 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,197,936
s673648385
p04012
u790012205
1592924822
Python
Python (3.8.2)
py
Accepted
28
9320
169
import sys from collections import Counter w = list(input()) C = Counter(w) for k, v in C.items(): if v % 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,197,937
s035253571
p04012
u344813796
1592882655
Python
Python (3.8.2)
py
Accepted
34
9400
171
from collections import Counter w=list(str(input())) mylist=Counter(w) for a in mylist.values(): if a%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,197,938
s517598328
p04012
u392319141
1592829878
Python
Python (3.8.2)
py
Accepted
30
9336
115
from collections import Counter print('Yes' if all(n % 2 == 0 for n in Counter(list(input())).values()) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,939
s267686063
p04012
u442877951
1592804948
Python
Python (3.8.2)
py
Accepted
32
9260
152
from collections import Counter W = str(input()) ans = "Yes" CW = Counter(W) for k,v in CW.items(): 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,197,940
s541912760
p04012
u847901871
1592800812
Python
Python (3.8.2)
py
Accepted
25
9000
173
w = sorted(input()) elements = set(w) check = 0 for e in elements: if w.count(e) % 2 != 0: 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,197,941
s995111457
p04012
u089230684
1592718193
Python
Python (3.8.2)
py
Accepted
28
9056
192
a = [0]*26 s = str(input()) for i in range(0, len(s)): p = ord(s[i]) - 97 a[p] += 1 ans = "Yes" for i in range(0, 26): if a[i]%2==1: ans = ans.replace(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,197,942
s889863206
p04012
u951289777
1592692123
Python
Python (3.8.2)
py
Accepted
29
9036
170
w = sorted(input()) elements = set(w) check = 0 for e in elements: if w.count(e) % 2 != 0: 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,197,943
s722789245
p04012
u760831084
1592688704
Python
Python (3.8.2)
py
Accepted
33
9240
200
from collections import Counter w = input() c = Counter(w) values, counters = zip(*c.most_common()) for counter in counters: if counter % 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,197,944
s147802206
p04012
u309716323
1592680349
Python
PyPy3 (7.3.0)
py
Accepted
79
65008
390
from collections import Counter def read_int(): return int(input().strip()) def read_ints(): return list(map(int, input().strip().split(' '))) def solve(): s = input().strip() G = Counter() for c in s: if c.islower(): G[c] += 1 return 'Yes' if all(val%2 == 0 for val in ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,945
s305423623
p04012
u629607744
1592674244
Python
Python (3.8.2)
py
Accepted
27
9188
475
def i(): return int(input()) def i2(): return map(int,input().split()) def s(): return str(input()) def l(): return list(input()) def intl(): return list(int(k) for k in input().split()) w = l() cnt = 0 w.sort() if len(w) == 1: print("No") else: for i in range(len(w) - 1 ): if w[i] == w[i+1]: cnt += 1 ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,946
s369217526
p04012
u492910842
1592631115
Python
PyPy3 (7.3.0)
py
Accepted
63
64368
182
s = list(input()) n = len(s) c = 0 ans = "Yes" for i in range(n): for j in range(n): if s[i] == s[j]: c += 1 if c%2 != 0: ans = "No" break c = 0 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,197,947
s846829688
p04012
u277104886
1592616997
Python
Python (3.8.2)
py
Accepted
29
8976
115
w = input() ws = set(w) for i in ws: 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,197,948
s297766699
p04012
u702018889
1592603336
Python
Python (3.8.2)
py
Accepted
29
9232
128
import collections w=input() c=collections.Counter(w) a=c.values() flag="Yes" for i in a: if i%2!=0: flag="No" print(flag)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,949
s611634609
p04012
u197237612
1592597346
Python
Python (3.8.2)
py
Accepted
30
9112
126
s = sorted(list(input())) for i in range(97, 97 + 26): if s.count(chr(i)) %2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,950
s234667127
p04012
u188827677
1592594445
Python
Python (3.8.2)
py
Accepted
34
9348
167
from collections import Counter w = input() d = {} for i in w: if i not in d: d[i] = 1 else: d[i] += 1 print("Yes" if all(i%2 == 0 for i in 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,197,951
s738293494
p04012
u971811058
1592591106
Python
Python (3.8.2)
py
Accepted
27
9040
195
s = input() k={} ok=True for i in s: if i not in k: k[i]=1 else: k[i]+=1 for i in k.values(): if i%2!=0: ok=False break if ok: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,952
s476125368
p04012
u951684192
1592538233
Python
Python (3.8.2)
py
Accepted
30
9112
217
W = input() ji={} for i in W: if i not in ji: ji[i]=1 else: ji[i]+=1 for j in ji.values(): if j % 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,197,953
s529516218
p04012
u583799976
1592532229
Python
Python (3.8.2)
py
Accepted
36
9844
171
l=input() import string a=string.ascii_lowercase for i in range(len(a)): c=l.count(a[i]) if c % 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,197,954
s953941367
p04012
u131453093
1592531993
Python
Python (3.8.2)
py
Accepted
30
8988
173
w = input() lis = list(w) dic = {i:0 for i in lis} for i in lis: dic[i] += 1 for d in dic.values(): if d % 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,197,955
s800688852
p04012
u253481827
1592501552
Python
Python (3.4.3)
py
Accepted
21
3316
294
from collections import OrderedDict w = input() count = 0 w2 = list(set(w)) # w2 = list(w2) num = [] for i in range(len(w2)): num.append(w.count(w2[i])) for i in range(len(w2)): if num[i] % 2 == 0: count += 1 if(count == len(w2)): 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,197,956
s970889497
p04012
u131411061
1592490640
Python
Python (3.4.3)
py
Accepted
20
3316
160
from collections import Counter import sys w = list(input()) for i in Counter(w).values(): if i%2!=0: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,957
s211793671
p04012
u869265610
1592478391
Python
Python (3.4.3)
py
Accepted
17
2940
115
W = list(input()) for i in range(26): if W.count(chr(ord('a') + 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,197,958
s468062334
p04012
u434966508
1592438150
Python
Python (3.4.3)
py
Accepted
17
2940
148
import sys w=str(input()) w_unq=set(w) for i in w_unq: cnt=w.count(i) if not cnt%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,197,959
s917221085
p04012
u337626942
1592362207
Python
Python (3.4.3)
py
Accepted
17
3064
238
w=input() l=len(w) dic={} for i in range(l): if w[i] not in dic: dic[w[i]]=1 else: dic[w[i]]+=1 flag=1 for val in dic.values(): if val%2==1: flag=0 if flag==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,197,960
s947064038
p04012
u073852194
1592335777
Python
Python (3.4.3)
py
Accepted
20
3316
155
from collections import Counter W = input() C = Counter(W) for v in C.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,197,961
s290302809
p04012
u559346857
1592322289
Python
Python (3.4.3)
py
Accepted
18
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,197,962
s686275440
p04012
u957198490
1592222678
Python
Python (3.4.3)
py
Accepted
18
2940
100
w=input() for i in range(0,len(w)): if w.count(w[i])%2==1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,963
s958144529
p04012
u488670118
1592183152
Python
Python (3.4.3)
py
Accepted
17
3064
286
w = list(input()) a_n = ord("a") alf_dict = {} for i in range(26): alf_dict[chr(a_n)] = 0 a_n += 1 for x in w: alf_dict[x] += 1 flag = 0 for k, v in alf_dict.items(): if v % 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,197,964
s643826159
p04012
u414772150
1592163128
Python
Python (3.4.3)
py
Accepted
20
3316
199
import collections str=input().strip() ans=True for item, count in collections.Counter(str).items(): if count%2!=0: ans=False if ans==False: 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,197,965
s990077182
p04012
u847923740
1592153276
Python
Python (3.4.3)
py
Accepted
22
3444
332
# import sys from copy import deepcopy input=sys.stdin.readline def main(): ab="abcdefghijklmnopqrstuvwxyz" w=input() b=1 for a in ab: c=w.count(a) if c%2!=0: b=0 break if b==1: print("Yes") else: print("No") if __name__=="__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,197,966
s254027845
p04012
u640922335
1592063941
Python
Python (3.4.3)
py
Accepted
21
3316
179
import collections w=input() W=[] for i in w: W.append(i) c=collections.Counter(W) l=c.values() for num in l: if num%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,197,967
s617095215
p04012
u085717502
1592059046
Python
Python (3.4.3)
py
Accepted
20
3316
248
#!/usr/bin/env python # coding: utf-8 # In[6]: from collections import Counter w = input() mycounter = Counter(w).values() # In[7]: for x in mycounter: if x%2 != 0: print("No") break else: print("Yes") # In[ ]:
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,968
s132575699
p04012
u939026953
1592011904
Python
Python (3.4.3)
py
Accepted
17
2940
115
w = input() w_set = set(w) for i in w_set: if w.count(i) % 2 == 1: print("No") 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,197,969
s669059210
p04012
u364386647
1591998098
Python
Python (3.4.3)
py
Accepted
17
2940
183
def resolve(): w = str(input()) ls = set(w) for l in ls: if w.count(l) % 2 == 1: print('No') return print('Yes') return resolve()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,970