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
s974358096
p04012
u223904637
1569718102
Python
Python (3.4.3)
py
Accepted
17
2940
127
l=list(input()) s=set(l) f=0 for i in s: if l.count(i)%2==1: f+=1 if f==0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,771
s446983768
p04012
u502028059
1569624688
Python
Python (3.4.3)
py
Accepted
17
2940
170
w = input() ans = 'Yes' wset = list(set(w)) for i in range(len(wset)): counter = w.count(wset[i]) if counter % 2 != 0: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,772
s492635725
p04012
u605712324
1569622895
Python
Python (3.4.3)
py
Accepted
17
2940
214
S = input() count_table = {} for ch in S: if not ch in count_table: count_table[ch] = 0 count_table[ch] += 1 if all(x%2 == 0 for x in count_table.values()): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,773
s558168444
p04012
u556589653
1569614295
Python
Python (3.4.3)
py
Accepted
18
3064
330
w = input() A = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] a = 0 k = [] for i in range(len(w)): k.append(w[i]) for i in range(26): if k.count(A[i])%2 == 0 or k.count(A[i]) == 0: continue else: a += 1 print("No") break if a == 0: pr...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,774
s306214991
p04012
u385244248
1569483508
Python
Python (3.4.3)
py
Accepted
17
2940
213
import sys w = list(input()) ww = set(w) for i in ww: s = 0 for l in w: if i == l: s += 1 if s%2 == 0: continue else: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,775
s339736369
p04012
u396495667
1569430864
Python
Python (3.4.3)
py
Accepted
20
2940
98
w = input() ans =1 for i in w: if w.count(i) %2 !=0: ans =0 print('Yes' if ans==1 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,776
s397460028
p04012
u723590269
1569414461
Python
Python (3.4.3)
py
Accepted
30
3444
231
import collections w = str(input()) w = collections.Counter(w) flg = 0 for i in range(len(w)): tmp = w.most_common()[i][1] if tmp % 2 == 1: flg = 1 if flg == 1: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,777
s279538529
p04012
u428397309
1569381300
Python
Python (3.4.3)
py
Accepted
17
2940
163
# -*- coding: utf-8 -*- w = input() for c in w: if w.count(c) % 2 == 0: continue else: print("No") exit() else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,778
s891610836
p04012
u893063840
1569329498
Python
Python (3.4.3)
py
Accepted
21
3316
191
# -*- coding: utf-8 -*- from collections import Counter w = input() c = Counter(w) ans = "Yes" for value in c.values(): if value % 2 == 1: ans = "No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,779
s682376681
p04012
u924374652
1569283926
Python
Python (3.4.3)
py
Accepted
17
2940
179
w = list(input()) alphabet = [chr(ord("a") + i) for i in range(26)] result = "Yes" for letter in alphabet: if w.count(letter) % 2 != 0: result = "No" break print(result)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,780
s269456757
p04012
u556371693
1569275477
Python
Python (3.4.3)
py
Accepted
24
3764
205
w=input() c=0 if len(w)%2==1: print('No') else: import string for _ in string.ascii_lowercase: if not w.count(_)%2==0: c+=1 if c==0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,781
s702380061
p04012
u077291787
1569266518
Python
Python (3.4.3)
py
Accepted
21
3316
250
# ABC044B - 美しい文字列 / Beautiful Strings from collections import Counter def main(): S = input().rstrip() flg = all(i % 2 == 0 for i in Counter(S).values()) print("Yes" if flg else "No") if __name__ == "__main__": main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,782
s231354641
p04012
u474925961
1569265783
Python
Python (3.4.3)
py
Accepted
17
2940
209
import sys if sys.platform =='ios': sys.stdin=open('input_file.txt') S=input() a=set([S.count(l) for l in "qwertyuiopasdfghjklzxcvbnm"]) if all(i%2==0 for i 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,198,783
s202442037
p04012
u953753178
1569245499
Python
Python (3.4.3)
py
Accepted
17
2940
149
a = input() res = 0 for i in range(len(a)): if a.count(a[i]) % 2 == 0: res += 1 if res == len(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,198,784
s427829752
p04012
u404794295
1569240397
Python
Python (3.4.3)
py
Accepted
20
3316
195
w=input() from collections import defaultdict ans="Yes" count=defaultdict(lambda: 0) for i in range(len(w)): count[w[i]]+=1 for i in count.values(): if 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,198,785
s255751624
p04012
u661980786
1569189429
Python
Python (3.4.3)
py
Accepted
18
3060
308
w = sorted(list(input())) w_l = [] for i in range(0,len(w)): w_l.append(w[i]) try: if w[i] != w[i+1]: w_l.append(" ") except: pass w_l = "".join(w_l).split() for j in w_l: if len(j)%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,198,786
s705976399
p04012
u819710930
1569167470
Python
Python (3.4.3)
py
Accepted
19
3060
94
w=input() print('No' if any(w.count(chr(i))%2 for i in range(ord('a'),ord('z')+1)) 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,198,787
s737777924
p04012
u469254913
1569110482
Python
Python (3.4.3)
py
Accepted
17
2940
209
w = input() N = len(w) isBeautiful = True for i in range(N): temp = w.count(w[i]) if temp % 2 == 1: isBeautiful = False break if isBeautiful: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,788
s350271362
p04012
u813371068
1569085606
Python
Python (3.4.3)
py
Accepted
17
2940
107
w = input() S = set(w) f = all(w.count(s) % 2 == 0 for s in S) [print('Yes') if f == True else print('No')]
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,789
s007897906
p04012
u937642029
1569072962
Python
Python (3.4.3)
py
Accepted
17
2940
146
w=list(input()) w.sort() ans="Yes" for i in range(len(w)//2): if(w[2*i]!=w[2*i+1]): ans="No" if(len(w)%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,198,790
s180351934
p04012
u580093517
1569001590
Python
Python (3.4.3)
py
Accepted
18
2940
76
w = input() print("Yes" if all(w.count(i)%2 == 0 for i in set(w)) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,791
s258963225
p04012
u580093517
1568925760
Python
Python (3.4.3)
py
Accepted
17
2940
76
S = input() print("Yes" if all(S.count(s)%2 == 0 for s in set(S)) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,792
s091114217
p04012
u062484507
1568920029
Python
Python (3.4.3)
py
Accepted
20
3316
187
from collections import Counter W = input() counter = Counter(W) Flag = True for v in counter.values(): if v % 2 != 0: Flag = False ans = 'Yes' if Flag 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,198,793
s772351705
p04012
u396495667
1568918270
Python
Python (3.4.3)
py
Accepted
17
2940
99
w = input() ans =1 for i in w: if w.count(i) %2 ==1: ans =0 print('Yes' if ans ==1 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,794
s383708586
p04012
u296518383
1568839841
Python
Python (3.4.3)
py
Accepted
24
3316
145
import collections w=input() c=collections.Counter(w) c=list(c.items()) c=[c[i][1]%2 for i in range(len(c))] print("Yes" if sum(c)==0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,795
s494536272
p04012
u608355135
1568835842
Python
Python (3.4.3)
py
Accepted
20
3188
209
import re w = input() i =0 k = 0 a = 'abcdefghijklmnopqrstuvwxyz' for i in range(26): if ((len(re.findall(a[i] , w)) %2) == 0): k += 1 i +=1 if k == 26: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,796
s752029666
p04012
u670180528
1568771104
Python
Python (3.4.3)
py
Accepted
18
2940
56
i=input();print("YNeos"[any(i.count(x)%2for x in i)::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,797
s792161383
p04012
u354916249
1568685532
Python
Python (3.4.3)
py
Accepted
17
2940
101
w = input() for i in w: if w.count(i) % 2 == 1: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,798
s706125015
p04012
u460737328
1568682922
Python
Python (3.4.3)
py
Accepted
19
2940
123
w = input() s = set(list(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,198,799
s330009510
p04012
u291766461
1568629309
Python
Python (3.4.3)
py
Accepted
21
3316
158
from collections import Counter w = input() counter = Counter(w) for v in counter.values(): if v % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,800
s475095311
p04012
u152638361
1568615289
Python
Python (3.4.3)
py
Accepted
18
2940
245
w =list(input()) ans = "Yes" if len(w)%2 !=0: ans = "No" else: w.sort() for i in range(len(w)//2): if w[2*(i-1)] == w[2*i-1]: continue else: ans ="No" break print print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,801
s237274745
p04012
u635540732
1568594977
Python
Python (3.4.3)
py
Accepted
18
2940
132
a=list(input()) ans=0 for i in range(len(a)): if a.count(a[i])%2==0: ans+=1 if ans==len(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,198,802
s465498170
p04012
u033606236
1568589270
Python
Python (3.4.3)
py
Accepted
17
2940
133
s = sorted(list(input())) for i in range(len(s)): if s.count(s[i]) % 2 != 0: print("No") exit() else:print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,803
s174837770
p04012
u480138356
1568517284
Python
Python (3.4.3)
py
Accepted
17
3064
408
import sys input = sys.stdin.readline def main(): w = input().strip() dic = {} for c in w: if c in dic: dic[c] += 1 else: dic[c] = 1 ok = True for key, value in dic.items(): if value&1: ok = False break if ok: ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,804
s842394560
p04012
u114933382
1568514704
Python
Python (3.4.3)
py
Accepted
18
3060
217
dict = {} data = input() for i in range(len(data)): if data[i] in dict.keys(): dict[data[i]] = (dict[data[i]] + 1)%2 else: dict[data[i]] = 1 if 1 in dict.values(): print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,805
s678045949
p04012
u053856575
1568475569
Python
Python (3.4.3)
py
Accepted
18
3064
281
W=input() count=1 w=[] for j in range(len(W)): w.append(W[j]) w.sort() w.append("") for i in range(len(w)-1): if w[i]==w[i+1]: count+=1 else: if count %2 !=0: print("No") exit() else: 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,198,806
s974953749
p04012
u066455063
1568422902
Python
Python (3.4.3)
py
Accepted
21
3316
191
from collections import Counter w = input() c = Counter(w) word = [] for i in c: word.append(i[0]) for i in word: if c[i] % 2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,807
s618802387
p04012
u252828980
1568396542
Python
Python (3.4.3)
py
Accepted
17
2940
146
s = list(input()) n = 0 for i in range(len(s)): if s.count(s[i])%2 == 0: n += 1 if n == len(s): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,808
s798432064
p04012
u760767494
1568389802
Python
Python (3.4.3)
py
Accepted
17
2940
118
w=input() a='Yes' s='qwertyuiopasdfghjklzxcvbnm' for i in range(26): if w.count(s[i])%2!=0: a='No' break 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,198,809
s033800661
p04012
u077898957
1568305343
Python
Python (3.4.3)
py
Accepted
20
3060
115
import sys w = input() for i in w: if w.count(i) % 2 == 1: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,810
s576646345
p04012
u699699071
1568255477
Python
Python (3.4.3)
py
Accepted
18
2940
145
w=input() for i in range(len(w)): if w.count(w[i])%2==0: pass else: break else: print("Yes") exit(0) print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,811
s756633982
p04012
u592248346
1568250117
Python
Python (3.4.3)
py
Accepted
19
2940
121
w = list(input()) x = set(w) for i in x: if w.count(i)%2!=0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,812
s605895987
p04012
u592248346
1568250066
Python
Python (3.4.3)
py
Accepted
17
3064
110
w = list(input()) for i in w: if w.count(i)%2!=0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,813
s535751980
p04012
u868600519
1568209231
Python
Python (3.4.3)
py
Accepted
20
3316
128
from collections import Counter counter = Counter(input()) print('Yes' if all(c % 2 == 0 for c in counter.values()) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,814
s959374620
p04012
u868600519
1568208755
Python
Python (3.4.3)
py
Accepted
21
3316
150
from collections import defaultdict a = defaultdict(int) for w in input(): a[w] += 1 print('Yes' if sum(c % 2 for c in a.values()) == 0 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,815
s038401531
p04012
u172569352
1568208538
Python
Python (3.4.3)
py
Accepted
17
2940
304
def q69(w): word_count = {} for i in w: if i in word_count: word_count[i] += 1 else: word_count[i] = 1 for i in word_count.values(): if i % 2 != 0: return 'No' return 'Yes' w = list(input()) print(q69(w))
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,816
s028510622
p04012
u594244257
1568208473
Python
Python (3.4.3)
py
Accepted
17
2940
287
def solve(): w = input() word_dict = {} for word in w: if word in word_dict: word_dict[word] += 1 else: word_dict[word] = 1 ret = all(count%2 == 0 for count in word_dict.values()) print('Yes' if ret else 'No') solve()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,817
s998863233
p04012
u595716769
1568179339
Python
Python (3.4.3)
py
Accepted
17
2940
141
s = input() flag = 1 for i in range(len(s)): if s.count(s[i])%2 == 1: print("No") flag = 0 break if flag == 1: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,818
s474847302
p04012
u015187377
1568172202
Python
Python (3.4.3)
py
Accepted
17
3060
184
s=input() s=sorted(s) a=1 if len(s)%2==1: a=0 else: for i in range(len(s)//2): if s[2*i]==s[2*i+1]: a*=1 else: a*=0 if a==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,198,819
s892151193
p04012
u791489811
1568164680
Python
Python (3.4.3)
py
Accepted
18
2940
180
w=input() for i in range(97,123): cnt=0 for j in range(len(w)): if w[j]==chr(i): cnt+=1 if cnt%2==1: print("No") exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,820
s138209767
p04012
u414558682
1568141606
Python
Python (3.4.3)
py
Accepted
17
2940
387
# coding: utf-8 # Your code here! w = input() # print(w) dic = {} for i in range(len(w)): # print(w[i]) key = w[i] if key in dic: dic[key] += 1 else: dic[key] = 1 # print(dic) flag = True for val in list(dic.values()): # print(val % 2) if val % 2 != 0: flag = Fa...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,821
s378591881
p04012
u790710233
1568134732
Python
Python (3.4.3)
py
Accepted
17
2940
74
w = input() print('Yes' if sum(w.count(c) % 2 for c in w) == 0 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,822
s582740469
p04012
u790710233
1568134573
Python
Python (3.4.3)
py
Accepted
20
3316
115
from collections import Counter c = Counter(input()) print('Yes' if sum(v % 2 for v in c.values()) == 0 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,823
s569335610
p04012
u862757671
1568121204
Python
Python (3.4.3)
py
Accepted
17
3064
150
w1 = [s for s in input()] w2 = [w1.count(a) for a in list(set(w1))] w3 = [w for w in w2 if w % 2 == 0] print(('Yes' if len(w3) == len(w2) else 'No'))
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,824
s174197499
p04012
u476124554
1568118494
Python
Python (3.4.3)
py
Accepted
17
2940
281
w = input() counter = {} flg = -1 for c in w: if not c in counter: counter[c] = 1 else: counter[c] += 1 for i in counter.values(): if i % 2 == 0: flg = 1 else: flg = 0 break if flg == 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,198,825
s651047963
p04012
u407016024
1568072995
Python
Python (3.4.3)
py
Accepted
17
2940
99
w = input() for x in w: 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,198,826
s276570269
p04012
u270144704
1568069527
Python
Python (3.4.3)
py
Accepted
17
2940
204
import sys w=input() dic={} for s in w: if s in dic: dic[s]+=1 else: dic[s]=1 for value in dic.values(): if value % 2 != 0: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,827
s447204393
p04012
u597455618
1568056507
Python
Python (3.4.3)
py
Accepted
17
2940
78
w = input() print("Yes" if all([w.count(i)%2 == 0 for i in set(w)]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,828
s091192784
p04012
u500589232
1568055750
Python
Python (3.4.3)
py
Accepted
17
3060
157
s = str(input()) alphabets = set(s) flag = 0 for char in alphabets: if s.count(char) % 2 !=0: flag = 1 if flag == 1: print('No') else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,829
s345500541
p04012
u993161647
1568052547
Python
Python (3.4.3)
py
Accepted
29
3960
144
import string w = input() if all([w.count(low_alpha) % 2 == 0 for low_alpha in string.ascii_lowercase ]): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,830
s246572092
p04012
u580362735
1568048783
Python
Python (3.4.3)
py
Accepted
17
3060
152
w = list(map(input().count,[chr(i) for i in range(97, 97+26)])) for i in range(len(w)): if w[i]%2 != 0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,831
s522092671
p04012
u322354465
1568040824
Python
Python (3.4.3)
py
Accepted
21
3316
146
import collections cha_num = collections.Counter(input()) if all([v % 2 == 0 for v in cha_num.values()]): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,832
s210867880
p04012
u951480280
1567980555
Python
Python (3.4.3)
py
Accepted
17
3060
178
w = input() dic = {} for i in range(len(w)): dic[w[i]] = w.count(w[i]) a = list(dic.values()) c = 0 for i in range(len(a)): c += a[i]%2 print("Yes" if c == 0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,833
s382345197
p04012
u951480280
1567980431
Python
Python (3.4.3)
py
Accepted
17
3060
197
w = input() dic = {} for i in range(len(w)): dic[w[i]] = w.count(w[i]) a = list(dic.values()) a = [n%2 for n in a] c = 0 for i in range(len(a)): c += a[i] print("Yes" if c == 0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,834
s995922423
p04012
u686508464
1567979904
Python
Python (3.4.3)
py
Accepted
24
3768
153
import string str = input() ans = 'Yes' for char in string.ascii_lowercase: if str.count(char) % 2 == 1: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,835
s860904319
p04012
u640603056
1567979902
Python
Python (3.4.3)
py
Accepted
17
3064
462
#インポート import sys #入力用 def ILI(): return list(map(int, sys.stdin.readline().rstrip().split())) def ISI(): return map(int, sys.stdin.readline().rstrip().split()) def II(): return int(sys.stdin.readline().rstrip()) def ISS(): return sys.stdin.readline().rstrip().split() def IS(): return sys.stdin.readline().rstrip() w ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,836
s557892345
p04012
u976225138
1567922321
Python
Python (3.4.3)
py
Accepted
17
2940
96
w = input() if not any([w.count(s) % 2 for s 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,198,837
s179619858
p04012
u976225138
1567922277
Python
Python (3.4.3)
py
Accepted
17
2940
97
w = input() if all([w.count(s) % 2 == 0 for s 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,198,838
s480220443
p04012
u319690708
1567894915
Python
Python (3.4.3)
py
Accepted
21
3316
161
from collections import Counter n = input() c_nn = Counter(n) for i in c_nn.values(): if i%2 != 0: print("No") break else: print("Yes") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,839
s159109741
p04012
u557136512
1567795587
Python
Python (3.4.3)
py
Accepted
17
2940
305
text = input() count_dict = {} for ch in text: if ch not in count_dict: count_dict[ch] = 1 elif ch in count_dict: count_dict[ch] += 1 flag = True for num in count_dict.values(): if num % 2 == 0: pass elif num % 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,198,840
s976305878
p04012
u143903328
1567771738
Python
Python (3.4.3)
py
Accepted
17
3060
228
dic = {} s = input() cue = 0 for i in s: if i in dic: dic[i] += 1 else: dic[i] = 1 for i in dic: if dic[i] % 2 != 0: cue = 1 break if cue == 0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,841
s461299556
p04012
u177411511
1567755384
Python
Python (3.4.3)
py
Accepted
22
3316
287
import sys from collections import deque, Counter stdin = sys.stdin ni = lambda: int(ns()) na = lambda: list(map(int, stdin.readline().split())) ns = lambda: stdin.readline() w = input() c = Counter(w) ans = 'Yes' for i in c.values(): if i % 2 != 0: ans = "No" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,842
s008519065
p04012
u033606236
1567723999
Python
Python (3.4.3)
py
Accepted
17
2940
78
s = input() print("Yes" if all([s.count(i)%2 == 0 for i in set(s)]) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,843
s620670199
p04012
u910756197
1567723569
Python
Python (3.4.3)
py
Accepted
34
3960
128
import string s = input() if all([s.count(c) % 2 == 0 for c in string.ascii_lowercase]): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,844
s098249730
p04012
u033606236
1567722942
Python
Python (3.4.3)
py
Accepted
17
2940
117
s = input() print('Yes' if [s.translate(str.maketrans(i,"" or "a")) for i in s if s.count(i)%2 != 0] == [] else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,845
s034706723
p04012
u872056745
1567698566
Python
Python (3.4.3)
py
Accepted
20
3316
235
from collections import Counter w = input() char_counter = Counter() for c in w: char_counter[c] += 1 is_beautiful = "Yes" for c in char_counter.most_common(): if c[1] % 2 == 1: is_beautiful = "No" print(is_beautiful)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,846
s336039957
p04012
u488127128
1567672545
Python
Python (3.4.3)
py
Accepted
17
2940
117
w = input() s = set(w) for i in s: if w.count(i)%2 != 0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,847
s511984722
p04012
u193604641
1567655298
Python
Python (2.7.6)
py
Accepted
10
2568
251
def main(): s = raw_input() memo = {} for c in s: if c not in memo: memo[c] = 0 memo[c] += 1 result = True for x in memo.values(): if x % 2 > 0: result = False break print("Yes" if result else "No") main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,848
s136623381
p04012
u539018546
1567642639
Python
Python (3.4.3)
py
Accepted
17
2940
108
w=input() for i in range(len(w)): if w.count(w[i])%2!=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,849
s171953008
p04012
u396391104
1567631771
Python
Python (3.4.3)
py
Accepted
17
2940
88
w = list(input()) for c in w: if w.count(c)%2: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,850
s199254907
p04012
u134712256
1567530885
Python
Python (3.4.3)
py
Accepted
17
2940
135
w = input() flag = "Yes" for i in range(len(w)): if w.count(w[i])%2==0: continue else: flag = "No" print(flag)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,851
s819474951
p04012
u600402037
1567524031
Python
Python (3.4.3)
py
Accepted
17
2940
81
W = input() print('Yes' if all([W.count(x)%2==0 for x in set(W)]) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,852
s433776851
p04012
u600402037
1567523708
Python
Python (3.4.3)
py
Accepted
21
3316
142
import collections W = input() c = collections.Counter(W) answer = 'Yes' for w in c: if c[w] % 2 == 1: answer = 'No' print(answer)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,853
s797794554
p04012
u734876600
1567479148
Python
Python (3.4.3)
py
Accepted
17
2940
178
a = "abcdefghijklmnopqrstuvwxyz" w = input() f = 0 for c in a: d = w.count(c) if d % 2 != 0: f = 1 break if f == 1: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,854
s531008832
p04012
u187857228
1567460386
Python
Python (3.4.3)
py
Accepted
17
2940
198
def test(): w = list(input()) str = [] for i in set(w): str.append(w.count(i)) print("Yes" if all(i % 2 == 0 for i in str) else "No") if __name__ == "__main__": 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,198,855
s960553207
p04012
u171421802
1567446127
Python
Python (3.4.3)
py
Accepted
17
2940
93
s=input() for a in s: if s.count(a)%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,856
s695427683
p04012
u559103167
1567360802
Python
Python (3.4.3)
py
Accepted
18
2940
109
w = input() flag = 0 for i in w: if w.count(i)%2 == 1: flag = 1 print("Yes" if flag==0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,857
s245392822
p04012
u263226212
1567282025
Python
Python (3.4.3)
py
Accepted
17
2940
303
# -*- coding: utf-8 -*- # input w = input() # solve ans = True for i in range(len(w)): if len(w) != 0: tmp = w[0] count = w.count(tmp) w = w.replace(tmp, '') if count % 2 != 0: ans = False else: break # output print('Yes' if ans else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,858
s468487503
p04012
u116002573
1567273354
Python
Python (3.4.3)
py
Accepted
17
3064
219
def main(): w = input() d = dict() for c in w: d[c] = d.get(c, 0) + 1 for c in d: if d[c] % 2 != 0: return "No" return "Yes" if __name__ == '__main__': print(main())
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,859
s636217509
p04012
u003501233
1567265527
Python
Python (3.4.3)
py
Accepted
17
2940
128
w = input() ans=True for i in w: if w.count(i) % 2 ==1 : ans = False if ans == True: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,860
s950111903
p04012
u395202850
1567257241
Python
Python (3.4.3)
py
Accepted
18
2940
198
w = input() for i in range(len(w)): if len(w) == 0: print("Yes") break if w.count(w[0]) % 2 == 0: w = w.replace(w[0], "") else: print("No") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,861
s101015588
p04012
u346629192
1567228886
Python
Python (3.4.3)
py
Accepted
20
3316
142
import collections w = list(input()) c = collections.Counter(w) if all((x%2 == 0 for x in c.values())): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,862
s383169257
p04012
u187462782
1567224994
Python
Python (3.4.3)
py
Accepted
17
2940
83
s = input() print('Yes' if all([s.count(char) % 2 == 0 for char 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,198,863
s501843643
p04012
u770077083
1567221319
Python
Python (3.4.3)
py
Accepted
17
2940
171
w = input() evens = [] for x in w: if x in evens: evens.remove(x) else: evens.append(x) if len(evens) == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,864
s483370916
p04012
u163791883
1567217671
Python
Python (3.4.3)
py
Accepted
17
3060
175
words = list(input()) li = {} for w in words: if w in li: li[w] += 1 else: li[w] = 1 for i in li.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,198,865
s034849149
p04012
u618373524
1567217650
Python
Python (3.4.3)
py
Accepted
17
3060
253
w = input() alp = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] for i in alp: if w.count(i)%2 != 0: ans = 0 break else: ans= 1 print("Yes" if ans == 1 else"No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,866
s493363993
p04012
u643714578
1567190275
Python
Python (3.4.3)
py
Accepted
17
2940
138
a=sorted(input()) b=0 for i in range(len(a)-1): if i%2==0 and a[i]!=a[i+1]: b=1 if len(a)%2==1: b=1 print("Yes" if b==0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,867
s942876957
p04012
u264265458
1567139166
Python
Python (3.4.3)
py
Accepted
17
2940
134
a=list(input()) sum=0 b=list(set(a)) for i in range(len(b)): if a.count(b[i])%2==0: sum+=1 print("Yes" if sum==len(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,198,868
s976786931
p04012
u835482198
1567138466
Python
Python (3.4.3)
py
Accepted
20
3316
205
from collections import Counter c = Counter(input()) valid = True for key, value in c.items(): if value % 2 == 1: valid = False break if valid: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,869
s399647215
p04012
u647522078
1567121391
Python
Python (3.4.3)
py
Accepted
17
2940
114
w = input() w_s = set(w) for s in w_s: if w.count(s) % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,870