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
s215286344
p04012
u282228874
1552107455
Python
Python (3.4.3)
py
Accepted
17
2940
95
w = input() for i in w: if w.count(i)%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,271
s736230995
p04012
u555947166
1552004298
Python
Python (3.4.3)
py
Accepted
24
3768
127
import string w = input() if all([(w.count(i)+1) % 2 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,199,272
s629991256
p04012
u695857481
1551996819
Python
Python (3.4.3)
py
Accepted
19
2940
156
import sys w = input() alpha = [chr(i) for i in range(97, 97+26)] for c in alpha: n = w.count(c) if (n % 2): print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,273
s039479247
p04012
u610232844
1551902003
Python
Python (3.4.3)
py
Accepted
21
3188
218
import re list = input() list_set = set(list) for set_string in list_set: cheak = re.findall(set_string, list) if len(cheak) % 2 ==0: continue else: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,274
s569034456
p04012
u030626972
1551853706
Python
Python (3.4.3)
py
Accepted
17
2940
100
w=input() for i in set(w): if w.count(i)%2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,275
s596174483
p04012
u186838327
1551783834
Python
Python (3.4.3)
py
Accepted
18
2940
149
w = list(str(input())) x = list(set(w)) flag = 0 for i in range(len(x)): flag += (w.count(x[i]))%2 if flag == 0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,276
s938793982
p04012
u503228842
1551683598
Python
Python (3.4.3)
py
Accepted
17
2940
231
wlist = list(input()) counter = {} for i in wlist: if i in counter: counter[i] += 1 else: counter[i] = 1 a = list(counter.values()) if all(elem %2 ==0 for elem in a): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,277
s905928430
p04012
u390901416
1551638667
Python
Python (3.4.3)
py
Accepted
17
2940
217
a = input() # ssdrtf b = set(a) # 重複をなくす c = 0 for i in b: if a.count(i) % 2 == 1: # もし奇数ならだめ c = 1 break 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,199,278
s858094936
p04012
u860670906
1551593401
Python
Python (3.4.3)
py
Accepted
17
2940
205
S=input() cnt ={} flg = True for s in S: if s not in cnt.keys(): cnt[s]=1 else: cnt[s]+=1 for i in cnt.values(): if i % 2 !=0: flg = False print('Yes' if flg else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,279
s071143322
p04012
u118211443
1551588790
Python
Python (3.4.3)
py
Accepted
20
3064
161
w=input() al=[0]*26 def amari(a): return a%2 for i in range(len(w)): al[ord(w[i])-97]+=1 ans=list() ans=map(amari,al) print('No'if 1 in ans else "Yes" )
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,280
s436588772
p04012
u619197965
1551588251
Python
Python (3.4.3)
py
Accepted
18
2940
153
w=[i for i in input()] result=True for i in range(len(w)): if w.count(w[i])%2==1: result=False break print("Yes" if result else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,281
s450560747
p04012
u566574814
1551578336
Python
Python (3.4.3)
py
Accepted
17
2940
169
w = list(input()) a = [] ans = 0 for i in range(len(w)): a.append(w.count(w[i])) if a[i]%2 != 0: ans = 1 break print("Yes" if ans == 0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,282
s044446518
p04012
u864667985
1551550536
Python
Python (3.4.3)
py
Accepted
18
2940
180
w = input() dic = {} for i in range(ord('a'), ord('z')+1): dic[chr(i)] = 0 for s in w: dic[s] += 1 print('Yes') if all([v % 2 == 0 for v in dic.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,199,283
s718898272
p04012
u860670906
1551424876
Python
Python (3.4.3)
py
Accepted
19
2940
205
S=input() cnt ={} flg = True for s in S: if s not in cnt.keys(): cnt[s]=1 else: cnt[s]+=1 for i in cnt.values(): if i % 2 !=0: flg = False print('Yes' if flg else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,284
s242647468
p04012
u155236040
1551409161
Python
Python (3.4.3)
py
Accepted
22
3316
162
import collections,sys w = list(input()) c = collections.Counter(w) for s,num in c.items(): if num%2 != 0: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,285
s418243769
p04012
u301302814
1551400676
Python
Python (3.4.3)
py
Accepted
18
2940
204
# coding: utf-8 S = input() cnt = {} flg = True for s in S: if s not in cnt: cnt[s] = 1 else: cnt[s] += 1 for i in cnt.values(): if i % 2 != 0: flg = False print('Yes' if flg else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,286
s325080136
p04012
u370331385
1551389950
Python
Python (3.4.3)
py
Accepted
17
3060
229
w = input() w = list(w) w.sort() judge = 1 if(len(w)%2 == 1): print('No') else: for i in range(int(len(w)/2)): if(w[2*i] != w[2*i+1]): judge = 0 break if(judge == 1): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,287
s801066150
p04012
u023229441
1551237662
Python
Python (3.4.3)
py
Accepted
18
2940
94
s=input() s=list(s) for i in s: if s.count(i)%2==1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,288
s157584072
p04012
u033524082
1551226170
Python
Python (3.4.3)
py
Accepted
18
3064
277
import sys w=input() l=[w[i] for i in range(len(w))] l.sort() m=[0]*26 m[0]+=1 i=0 v=0 for i in range(1,len(w)): if l[i] in l[:i]: m[v]+=1 else: v+=1 m[v]+=1 i+=1 for c in m: if c%2==1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,289
s898653815
p04012
u706695185
1551181225
Python
Python (3.4.3)
py
Accepted
18
2940
107
w = list(input()) 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,199,290
s641605930
p04012
u275934251
1551123560
Python
Python (3.4.3)
py
Accepted
17
3060
157
w=list(input()) a=[] ans=0 for i in range(len(w)): a.append(w.count(w[i])) if a[i]%2!=0: ans=1 break print("Yes" if ans==0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,291
s725245238
p04012
u275934251
1551123384
Python
Python (3.4.3)
py
Accepted
18
3060
181
w=list(input()) a=[] for i in range(len(w)): a.append(w.count(w[i])) ans=0 for i in range(len(w)): if a[i]%2!=0: ans=1 break print("Yes" if ans==0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,292
s015635805
p04012
u887207211
1550978370
Python
Python (3.4.3)
py
Accepted
18
2940
138
w = input() result = [] for alp in 'abcdefghijklmnopqrstuvwxyz': if(w.count(alp)%2 != 0): print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,293
s002059226
p04012
u928784113
1550957368
Python
Python (3.4.3)
py
Accepted
17
2940
134
w = input() W = [] for i in w: W.append(i) ans = "Yes" for i in set(W): if W.count(i) % 2 != 0: ans = "No" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,294
s154764346
p04012
u076503518
1550956937
Python
Python (3.4.3)
py
Accepted
25
3444
179
from collections import Counter w = list(input().rstrip()) c = Counter(w) if all([True if cnt[1] % 2 == 0 else False for cnt in c.items()]): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,295
s284341934
p04012
u007550226
1550859539
Python
Python (3.4.3)
py
Accepted
17
2940
114
w = input() for c in set(list(w)): if w.count(c) % 2 != 0: print('No') break else:print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,296
s130232929
p04012
u595893956
1550812697
Python
Python (3.4.3)
py
Accepted
17
2940
83
s=input() c=0 for i in s: if s.count(i)%2 != 0: c=1 print("YNeos"[c::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,297
s656487379
p04012
u296783581
1550775216
Python
Python (3.4.3)
py
Accepted
17
2940
137
a = input() b=set(a) bool = True for i in b: if a.count(i)%2!=0: bool = False if bool: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,298
s682763273
p04012
u812973725
1550732764
Python
Python (2.7.6)
py
Accepted
10
2568
186
w = list(raw_input()) alpha = [chr(i) for i in range(97,97+26)] cnt = [0]*26 for i in w: cnt[ord(i)-97] += 1 res = 'Yes' for i in cnt: if i%2 != 0: res = 'No' print res
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,299
s600720315
p04012
u294000907
1550720903
Python
Python (3.4.3)
py
Accepted
17
2940
160
#!/usr/bin/env python3 # -*- coding: utf-8 -*- w=input() s=set(w) r=True for i in s: if w.count(i)%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,199,300
s897026448
p04012
u543954314
1550693246
Python
Python (3.4.3)
py
Accepted
18
2940
92
w = input() for i in set(w): if w.count(i)%2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,301
s277231481
p04012
u796942881
1550637305
Python
Python (3.4.3)
py
Accepted
17
2940
151
w = list(input()) flg = True for i in range(len(w)): if w.count(w[i]) % 2 != 0: flg = False break print("Yes" if flg else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,302
s801225210
p04012
u492030100
1550597868
Python
Python (3.4.3)
py
Accepted
17
2940
130
w=[i for i in input()] print('Yes' if all([True if w.count(ch)%2==0 else False for ch in 'abcdefghijklmnopqrstuvwxyz']) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,303
s514675738
p04012
u604412462
1550533624
Python
Python (3.4.3)
py
Accepted
18
3060
261
s = sorted(input()) count = 0 if len(s)%2 == 1: print('No') else: for i in range(0, len(s), 2): if s[i] == s[i+1]: continue else: count += 1 if count == 0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,304
s015592953
p04012
u952130512
1550487953
Python
Python (3.4.3)
py
Accepted
18
2940
188
w=input() s=[0]*123 for i in range(len(w)): s[ord(w[i-1])]+=1 c=1 for i in range(97,97+26): if s[i]%2==1: c=0 break if c==1: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,305
s250566424
p04012
u518064858
1550383598
Python
Python (3.4.3)
py
Accepted
18
2940
149
s=input() p=list(set(list(s))) a=[] for i in p: a.append(s.count(i)) for x in a: if 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,199,306
s757162114
p04012
u931462344
1550362862
Python
Python (3.4.3)
py
Accepted
17
2940
117
w = input() wset = set(w) for i in wset: if w.count(i) % 2 != 0: print("No") exit(0) print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,307
s075939160
p04012
u177756077
1550287820
Python
Python (3.4.3)
py
Accepted
18
2940
168
w=str(input()) w2=set(w) flag=0 for i in w2: cnt=0 cnt=w.count(i) if cnt%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,199,308
s016818867
p04012
u268318377
1550179763
Python
Python (3.4.3)
py
Accepted
18
2940
118
w = input() x = set(w) ans = 'Yes' for i in x: if w.count(i) % 2 == 1: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,309
s948636124
p04012
u859897687
1550037814
Python
Python (3.4.3)
py
Accepted
17
2940
181
w = input() c={} for i in range(len(w)): if not w[i] in c: c[w[i]] =0 c[w[i]] +=1 ans = "Yes" for k in c.keys(): if c[k] %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,199,310
s750230169
p04012
u129978636
1550028307
Python
Python (3.4.3)
py
Accepted
17
2940
161
w=sorted(input()) s=list(set(w)) for i in range(len(s)): if(w.count(s[i])%2 == 0): continue else: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,311
s628265297
p04012
u964763428
1549825913
Python
Python (3.4.3)
py
Accepted
19
2940
164
S = input() SS = list(set(S)) num = [] for i in range(len(SS)): num.append(S.count(SS[i])) if all(n%2==0 for n in num): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,312
s139642998
p04012
u367130284
1549778878
Python
Python (3.4.3)
py
Accepted
22
3316
231
import collections a=list(input()) d=collections.defaultdict(str) for s in a: if s not in d: d[s]=1 else: d[s]+=1 c=0 for t in dict(d).values(): if t%2!=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,313
s137835306
p04012
u114954806
1549646869
Python
Python (3.4.3)
py
Accepted
21
3316
171
from collections import Counter lst=[] for i in input(): lst.append(i) for j in Counter(lst).values(): if j%2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,314
s517825216
p04012
u483645888
1549553441
Python
Python (3.4.3)
py
Accepted
17
3060
226
w = input() dic = {} flag = True for wd in w: if wd not in dic: dic[wd] = 0 dic[wd] += 1 for dicw in dic: if dic[dicw] % 2 == 1: flag = False break if flag == True: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,315
s746991383
p04012
u411858517
1549343378
Python
Python (3.4.3)
py
Accepted
18
3060
197
w = input() d = {} for i in range(len(w)): if w[i] in d: d[w[i]] += 1 else: d[w[i]] = 1 res = 'Yes' for key in d: if d[key]%2 != 0: res ='No' print(res)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,316
s774886560
p04012
u223133214
1549086567
Python
Python (3.4.3)
py
Accepted
18
2940
146
w=input() w_list=list(w) for a in w_list: if w_list.count(a)%2==0: ans=True else: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,317
s368960936
p04012
u977389981
1549033662
Python
Python (3.4.3)
py
Accepted
21
3316
114
from collections import Counter w = Counter(input()) print('Yes' if all(v % 2 == 0 for v in w.values()) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,318
s185809910
p04012
u316386814
1548936827
Python
Python (3.4.3)
py
Accepted
18
2940
151
w = input() se = set() for s in w: if s in se: se.remove(s) else: se.add(s) ans = 'Yes' if len(se) == 0 else 'No' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,319
s903843677
p04012
u676707608
1548931396
Python
Python (3.4.3)
py
Accepted
17
2940
151
a=list(input()) b=[] for i in range(len(a)): if a[i] in b: b.remove(a[i]) else: b.append(a[i]) print('Yes' if b==[] else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,320
s391829927
p04012
u239981649
1548904521
Python
Python (3.4.3)
py
Accepted
22
3316
197
import collections Sigma = list("abcdefghijklmnopqrstuvwxyz") w = list(input()) c = collections.Counter(w) for _ in Sigma: if c[_] % 2: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,321
s667232941
p04012
u762955009
1548899759
Python
Python (3.4.3)
py
Accepted
19
2940
183
char_cnt = {} for c in input(): if c in char_cnt: char_cnt[c] += 1 else: char_cnt[c] = 1 print("Yes" if all([v % 2 == 0 for v in char_cnt.values()]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,322
s229698879
p04012
u811156202
1548630325
Python
Python (3.4.3)
py
Accepted
18
2940
295
w = input() w_dict = {} for a in range(len(w)): if w[a] not in w_dict: w_dict[w[a]] = 1 else: w_dict[w[a]] += 1 checker = '' for a in w_dict.values(): if not a % 2 == 0: checker += '*' break if checker == '': print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,323
s736487030
p04012
u089230684
1548468876
Python
Python (3.4.3)
py
Accepted
18
3060
226
X=input() counts={} for I in X: counts[I]=counts.get(I,0)+1 items=list(counts.items()) for K in range(len(items)): word,count=items[K] if count%2!=0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,324
s964620612
p04012
u950708010
1548362890
Python
Python (3.4.3)
py
Accepted
25
3768
175
import string import collections w = input() w2 = collections.Counter(w) query = string.ascii_lowercase ans = 'Yes' for i in query: if w2[i]%2 == 1: ans ='No' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,325
s265031823
p04012
u711295009
1548213477
Python
Python (3.4.3)
py
Accepted
18
3064
420
listW = list(input()) listW.sort() counter=0 bef=0 index=0 flag=0 while index < len(listW): if index==0: bef=listW[index] counter=1 elif listW[index]==bef: counter+=1 else: if counter%2==0: bef=listW[index] counter=1 else: flag=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,199,326
s452245739
p04012
u529518602
1548112297
Python
Python (3.4.3)
py
Accepted
18
2940
122
w = input() w_base = set(w) for i in w_base: if w.count(i) % 2 == 1: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,327
s536405773
p04012
u709630872
1548101527
Python
Python (3.4.3)
py
Accepted
18
2940
121
w = input() w_base = set(w) for i in w_base: if w.count(i) % 2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,328
s935606956
p04012
u934740772
1547954234
Python
Python (3.4.3)
py
Accepted
17
3060
191
alpha=[0]*26 w=input() for i in range(len(w)): alpha[ord(w[i])-ord('a')]+=1 ans=0 for i in range(26): if alpha[i]%2!=0: ans=1 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,199,329
s884112606
p04012
u572561929
1547840064
Python
Python (3.4.3)
py
Accepted
18
2940
140
w = input() s = list(set(w)) ans = 'Yes' for i in range(len(s)): if w.count(s[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,199,330
s579452864
p04012
u882209234
1547781165
Python
Python (3.4.3)
py
Accepted
18
3060
237
w = input() dic = {} for c in w: if c in dic: dic[c] += 1 else: dic[c] = 1 flag = True for v in dic.values(): if v % 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,199,331
s426330406
p04012
u729133443
1547746530
Python
Python (3.4.3)
py
Accepted
18
2940
56
s=input();print('YNeos'[any(s.count(t)%2for t in s)::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,332
s620451002
p04012
u171366497
1547687341
Python
Python (3.4.3)
py
Accepted
18
2940
185
w=str(input()) alpha='abcdefghijklmnopqrstuvwxyz' def main(w): for j in range(len(alpha)): if w.count(alpha[j])%2==1: return 'No' return 'Yes' print(main(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,199,333
s125569570
p04012
u983918956
1547686184
Python
Python (3.4.3)
py
Accepted
21
3316
154
from collections import Counter w = input() c = Counter(w).values() ans = "Yes" for e in c: if e % 2 == 1: ans = "No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,334
s807269867
p04012
u619819312
1547638066
Python
Python (3.4.3)
py
Accepted
18
2940
104
s=input() c=0 for i in range(len(s)): if s.count(s[i])%2!=0: c=1 print("Yes"if c!=1else"No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,335
s224940401
p04012
u365928729
1547525828
Python
Python (3.4.3)
py
Accepted
22
3316
260
from collections import Counter import sys m =input() m_list = list(m) #print(m_list) m_dict = Counter(m_list) #print(m_dict) ans_list = m_dict.values() for i,e in enumerate(ans_list): if e%2 !=0: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,336
s546565999
p04012
u189575640
1547500153
Python
Python (3.4.3)
py
Accepted
19
2940
267
import sys # A,B,C = [int(n) for n in input().split()] # N = int(input()) S = str(input()) # T = str(input()) t = {} for s in S: if not(s in t): t[s] = 1 else: t[s]+=1 ans = [n % 2 for n in t.values()] print("Yes" if 1 not in ans else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,337
s499721438
p04012
u231647664
1547413015
Python
Python (3.4.3)
py
Accepted
21
3316
195
import collections def mod(x): return x % 2 a = input() b = list(a) c = collections.Counter(b) countc = c.values() modc = map(mod, countc) if 1 in modc: print('No') else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,338
s125167105
p04012
u762682474
1547125981
Python
Python (3.4.3)
py
Accepted
18
2940
227
def execute(w): if len(w) % 2 == 1: return 'No' for i in range(len(w) // 2): if w.count(w[i]) % 2 == 1: return 'No' return 'Yes' if __name__ == '__main__': print(execute(input()))
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,339
s152579679
p04012
u597374218
1547001284
Python
Python (3.4.3)
py
Accepted
18
2940
69
s=input() print("Yes" if all([s.count(i)%2==0 for 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,199,340
s231398002
p04012
u597374218
1547001197
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,199,341
s577436399
p04012
u597374218
1547001060
Python
Python (3.4.3)
py
Accepted
18
2940
85
s=input() print("Yes" if all([int(s.count(i))%2==0 for i in list(set(s))]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,342
s389324740
p04012
u216631280
1546817911
Python
Python (3.4.3)
py
Accepted
17
2940
99
w = input() 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,199,343
s158499354
p04012
u726439578
1546816570
Python
Python (3.4.3)
py
Accepted
17
2940
116
w=input() wl=list(w) ws=set(wl) 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,199,344
s228708616
p04012
u593063683
1546720216
Python
Python (3.4.3)
py
Accepted
18
3060
218
#B w = input() dic = {chr(i+ord('a')): 0 for i in range(0, 26)} for c in w: dic[c] += 1 #print(dic) # result = 'No' for i in range(26): if dic[chr(i+ord('a'))] % 2 != 0: break else: result = 'Yes' print(result)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,345
s081054844
p04012
u740284863
1546515010
Python
Python (3.4.3)
py
Accepted
29
2940
176
w = str(input()) count = 1 for i in range(len(w)): s = w.count(w[i]) if s % 2 != 0: print("No") count -=1 break if count == 1: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,346
s926971125
p04012
u281303342
1546476483
Python
Python (3.4.3)
py
Accepted
21
3316
173
from collections import Counter W = input() Ans = "Yes" C = Counter(W).items() for c in C: _x,cnt = c if cnt%2 != 0: Ans = "No" break print(Ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,347
s908632004
p04012
u972398652
1546417086
Python
Python (3.4.3)
py
Accepted
17
2940
148
w = input() alpha_dict = {i: w.count(i) for i in w} for i in alpha_dict.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,199,348
s681605496
p04012
u972398652
1546416636
Python
Python (3.4.3)
py
Accepted
17
2940
168
w = input() alpha_dict = {} for i in w: alpha_dict[i] = w.count(i) for i in alpha_dict.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,199,349
s180618717
p04012
u089032001
1546369191
Python
Python (3.4.3)
py
Accepted
21
3316
138
from collections import Counter S = Counter(list(input())) for k, v in S.items(): if v % 2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,350
s970271058
p04012
u586149955
1546306959
Python
Python (3.4.3)
py
Accepted
23
3316
136
import collections f = list(filter(lambda n: n % 2 == 1, collections.Counter(input()).values())) print('Yes' if len(f) == 0 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,351
s916960567
p04012
u586478468
1546275248
Python
Python (3.4.3)
py
Accepted
18
2940
162
w = list(input()) count=0 for i in range(97, 123): if(w.count(chr(i))%2!=0): print("No") count+=1 break if(count==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,199,352
s381977091
p04012
u126823513
1546258565
Python
Python (3.4.3)
py
Accepted
18
2940
99
w = input() if all([w.count(i) % 2 == 0 for i in set(w)]): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,353
s140479742
p04012
u272557899
1546214091
Python
Python (3.4.3)
py
Accepted
21
3316
139
import collections w = input() c = collections.Counter(w) for i in c: if 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,199,354
s887306533
p04012
u048945791
1546201776
Python
Python (3.4.3)
py
Accepted
21
3060
172
w = input() d = dict() for s in w: d[s] = 0 for s in w: d[s] += 1 for v in d.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,199,355
s836485342
p04012
u226108478
1546171531
Python
Python (3.4.3)
py
Accepted
26
3444
264
# -*- coding: utf-8 -*- def main(): from collections import Counter w = Counter(list(input())) for value in w.values(): if value % 2 != 0: print('No') exit() print('Yes') if __name__ == '__main__': main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,356
s813592736
p04012
u434208140
1546032484
Python
Python (3.4.3)
py
Accepted
21
3316
128
from collections import Counter as c w=c(input()) f=0 for m in range(97,123): if(w[chr(m)]%2>0):f=1;break print("YNeos"[f::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,357
s491352387
p04012
u785578220
1546016142
Python
Python (3.4.3)
py
Accepted
21
3316
198
import collections l = list(input()) c = collections.Counter(l) a = list(c.items()) r = 1 for i in range(len(a)): if a[i][1]%2!=0: r = 0 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,199,358
s027634945
p04012
u916806287
1545916924
Python
Python (3.4.3)
py
Accepted
17
2940
76
w = input() print("Yes" if all(w.count(s)%2 == 0 for s in set(w)) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,359
s353500099
p04012
u023515228
1545862760
Python
Python (3.4.3)
py
Accepted
18
2940
56
s=0 for c in input():s^=1<<ord(c) print('YNeos'[s>0::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,360
s614994635
p04012
u023515228
1545862491
Python
Python (3.4.3)
py
Accepted
18
2940
63
s=0 for c in input():s^=1<<(ord(c)-97) print(['Yes','No'][s>0])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,361
s658381158
p04012
u052332717
1545851465
Python
Python (3.4.3)
py
Accepted
17
2940
139
w = input() s = 'qwertyuiopasdfghjklzxcvbnm' for i in s: 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,199,362
s318284995
p04012
u886274153
1545829685
Python
Python (3.4.3)
py
Accepted
18
2940
281
w = input() mp = dict() for c in w: if c in mp: mp[c] += 1 else: mp[c] = 1 def check(w): c = "Yes" for i in w: if i % 2 == 0: continue else: c = "No" break return c print(check(mp.values()))
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,363
s156629381
p04012
u886274153
1545827906
Python
Python (3.4.3)
py
Accepted
18
2940
227
w = input() alp = "abcdefghijklmnopqrstuvwxyz" def check(w): c = "Yes" for i in alp: if w.count(i)%2 == 0: continue else: c = "No" break return c print(check(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,199,364
s290238118
p04012
u371467115
1545798235
Python
Python (3.4.3)
py
Accepted
18
2940
66
w=list(input()) w.sort() print("Yes" if w[::2]==w[1::2] else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,365
s048073396
p04012
u049420296
1545715422
Python
Python (3.4.3)
py
Accepted
17
3060
298
w = input() n = len(w) alpha = [chr(i) for i in range(ord('a'), ord('z')+1)] all_even = True for i in range(26): cnt = 0 for j in range(n): if alpha[i] == w[j]: cnt += 1 if cnt % 2 != 0: all_even = False if all_even: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,366
s786013824
p04012
u762420987
1545618856
Python
Python (3.4.3)
py
Accepted
17
2940
180
w = list(input()) counter = 0 for _ in w: if w.count(_)%2 == 0: counter += 1 else: print("No") break if counter == len(w): print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,367
s160129022
p04012
u385167811
1545599072
Python
Python (3.4.3)
py
Accepted
17
3060
240
s = input().rstrip() s = sorted(s) while True: if len(s) == 0: print("Yes") break l = s.count(s[0]) if l % 2 != 0: print("No") break else: for i in range(l): s.remove(s[0])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,368
s295629233
p04012
u941753895
1545550281
Python
Python (3.4.3)
py
Accepted
18
2940
101
w=list(input()) a=list(set(w)) for i in a: 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,199,369
s023088701
p04012
u094565093
1545518039
Python
Python (3.4.3)
py
Accepted
18
2940
114
w=list(input()) s=set(w) ans='Yes' for i in s: if w.count(i) %2 !=0: ans='No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,370