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
s345400394
p04012
u553348533
1521707220
Python
Python (3.4.3)
py
Accepted
20
3316
188
from collections import Counter w = [i for i in input()] listW = Counter(w) ans = "Yes" for x in listW.values(): if x % 2 == 0: continue else: 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,571
s221576337
p04012
u391475811
1521420124
Python
Python (3.4.3)
py
Accepted
17
3060
213
w=input() dict={} for i in range(len(w)): if w[i] in dict: dict[w[i]]+=1 else: dict[w[i]]=1 ans=True for a,b in dict.items(): if b%2==1: print("No") ans=False break if ans: 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,572
s075100852
p04012
u773981351
1521268245
Python
Python (3.4.3)
py
Accepted
26
3444
157
from collections import Counter word = input() c = Counter(word) counts = c.values() print('Yes') if all(map(lambda x: x % 2 == 0, counts)) 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,573
s434324241
p04012
u653005308
1521168792
Python
Python (3.4.3)
py
Accepted
17
2940
107
w=input() for alphabet in w: if w.count(alphabet)%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,574
s638613536
p04012
u941884460
1520930231
Python
Python (3.4.3)
py
Accepted
17
3060
229
s = input() dict = {} for i in range(len(s)): if s[i] in dict: dict[s[i]] += 1 else: dict[s[i]] = 1 flg = True for v in dict.values(): if v%2 > 0: flg = False break if flg: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,575
s208210676
p04012
u632369368
1520754759
Python
Python (3.4.3)
py
Accepted
20
3316
215
from collections import defaultdict W = input() D = defaultdict(int) for w in W: D[w] += 1 ret = True for v in D.values(): if v % 2 == 1: ret = False break print('Yes' if ret 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,576
s588690994
p04012
u482969053
1520045742
Python
Python (3.4.3)
py
Accepted
20
3316
190
from collections import Counter def solve(): c = Counter(input()) for cnt in c.values(): if cnt %2 != 0: print("No") return print("Yes") 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,199,577
s040433133
p04012
u597436499
1519924087
Python
Python (3.4.3)
py
Accepted
17
2940
359
def check_w(arr): a = 0 if len(arr) % 2 != 0: return False else: for i in range(len(arr)-1): a += 1 if arr[i] != arr[i+1]: if a % 2 != 0: return False a = 0 return True w = list(input()) w.sort() if check_w(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,578
s771446315
p04012
u019584841
1519854818
Python
Python (3.4.3)
py
Accepted
17
2940
74
w = input() print("Yes" if all([w.count(x)%2 == 0 for x in 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,579
s661152723
p04012
u601913978
1519373083
Python
Python (3.4.3)
py
Accepted
26
3444
228
import collections dic = collections.defaultdict(lambda: 0) for i in list(input()): dic[i] += 1 flag = True for i in dic.keys(): if dic[i] % 2 != 0: flag = False if flag: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,580
s959629016
p04012
u030726788
1519365691
Python
Python (3.4.3)
py
Accepted
17
2940
176
import sys S=list(input()) S.sort() alph=list("abcdefghijklmnopqrstuvwxyz") for i in alph: if(S.count(i)%2!=0): print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,581
s110413894
p04012
u319612498
1519260769
Python
Python (3.4.3)
py
Accepted
17
3060
185
w=list(input()) x=list(set(w)) y,z=0,0 for i in range(len(x)): y=w.count(x[i]) if y%2==0: z+=1 else: print("No") break if z==len(x): 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,582
s848355070
p04012
u586577600
1519246703
Python
Python (3.4.3)
py
Accepted
21
3316
122
from collections import Counter for v in Counter(list(input())).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,199,583
s242150394
p04012
u621935300
1519180113
Python
Python (2.7.6)
py
Accepted
14
2812
137
from collections import Counter c=Counter(raw_input()) l=filter(lambda n:n%2==1, c.values()) if len(l)==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,584
s911810689
p04012
u875361824
1518431583
Python
Python (3.4.3)
py
Accepted
17
2940
223
def main(): w = input() for o in range(ord('a'), ord('z')+1): c = chr(o) if w.count(c) % 2 == 1: print("No") return 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,585
s760036025
p04012
u764600134
1518362333
Python
Python (3.4.3)
py
Accepted
24
3316
569
# -*- coding: utf-8 -*- """ https://beta.atcoder.jp/contests/abc044/tasks/abc044_b """ import sys from sys import stdin from collections import Counter input = stdin.readline def solve(w): is_beautiful = True alphabets = list(w) for _, c in Counter(alphabets).most_common(): if c % 2 != 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,586
s857897015
p04012
u103539599
1518233835
Python
Python (3.4.3)
py
Accepted
17
2940
131
w=list(input()) s=set(w) t=0 for i in s: if w.count(i)%2==1: t=1 break if t==1: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,587
s492172585
p04012
u667024514
1517175584
Python
Python (3.4.3)
py
Accepted
21
3316
167
from collections import Counter n = list(input()) for i in range(0,len(n)): if n.count(n[i]) % 2 == 1: print("No") break if i == len(n)-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,588
s414690172
p04012
u952708174
1517120973
Python
Python (3.4.3)
py
Accepted
21
3316
163
from collections import Counter w = input().strip() w_cnt = Counter(w) for i in w_cnt: if w_cnt[i]&1: import sys print('No') sys.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,589
s471181163
p04012
u743272507
1516744451
Python
Python (3.4.3)
py
Accepted
18
2940
143
w = input() s = [0]*26 for i in w: s[ord(i)-ord("a")] += 1 for j in s: if j%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,590
s122407246
p04012
u257974487
1516316988
Python
Python (3.4.3)
py
Accepted
17
2940
122
N = input() ans = "Yes" for i in range(len(N)): if N.count(N[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,591
s342284538
p04012
u811528179
1516226073
Python
Python (3.4.3)
py
Accepted
17
2940
202
s=list(map(str,input())) count=0;a=set(s) for i in a: for j in range(len(s)): if s[j]==i: count+=1 if count%2!=0: print('No') exit() 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,592
s286205640
p04012
u124843595
1515985743
Python
Python (3.4.3)
py
Accepted
17
2940
86
w=input() if all([w.count(c)%2==0 for c in 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,593
s607509998
p04012
u350179603
1515873900
Python
Python (3.4.3)
py
Accepted
21
3316
228
from collections import Counter w = list(input()) cnt = 0 counter = Counter(w) for _, c in counter.most_common(): if c%2 == 1: print("No") break else: cnt += 1 if cnt == len(set(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,594
s975712946
p04012
u075012704
1515538664
Python
Python (3.4.3)
py
Accepted
21
3316
156
from collections import Counter w = dict(Counter(input())) for v in w.values(): if v % 2 == 1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,595
s940865260
p04012
u778700306
1515373278
Python
Python (3.4.3)
py
Accepted
21
3316
139
import collections w = input() if (all([i % 2 == 0 for i in collections.Counter(w).values()])): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,596
s287892724
p04012
u136090046
1515115310
Python
Python (3.4.3)
py
Accepted
17
2940
158
val = input() set_val = set(val) res = True for i in set_val: if val.count(i) % 2 != 0: res = False break print("Yes" if res else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,597
s380065710
p04012
u143492911
1514526648
Python
Python (3.4.3)
py
Accepted
25
3444
141
import collections w=input() dict_i=collections.Counter(w) if all([i%2==0 for i in dict_i.values()]): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,598
s050136854
p04012
u143492911
1514525975
Python
Python (3.4.3)
py
Accepted
17
2940
87
w=input() if all([w.count(i)%2==0 for i in 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,599
s812455575
p04012
u550574002
1514383393
Python
Python (3.4.3)
py
Accepted
17
2940
86
w=input() if all([w.count(c)%2==0 for c in 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,600
s875367984
p04012
u636684559
1514246055
Python
Python (3.4.3)
py
Accepted
17
2940
163
w=input() dict={} for i in w: if i not in dict: dict[i]=0 dict[i]+=1 ans=0 for i in dict.values(): ans+=i%2 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,601
s017761610
p04012
u867069435
1514171071
Python
Python (3.4.3)
py
Accepted
28
3444
169
from collections import Counter w = input() c = Counter(w) ans = "Yes" k = list(c.items()) for i in range(len(k)): if k[i][1] % 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,602
s899229387
p04012
u558836062
1514003749
Python
Python (3.4.3)
py
Accepted
17
2940
163
w = input() Ans = 0 for i in range(len(w)): if w.count(w[i]) % 2 == 0: continue else: Ans = 1 break if Ans == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,603
s828807816
p04012
u853586331
1513953893
Python
Python (3.4.3)
py
Accepted
17
2940
85
w=list(input()) ans='Yes' for i in w: s=w.count(i) if s%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,604
s788438981
p04012
u996284376
1512986532
Python
Python (3.4.3)
py
Accepted
17
2940
107
a = input() ans = "Yes" for i in range(len(a)): if a.count(a[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,605
s453142379
p04012
u996284376
1512900885
Python
Python (3.4.3)
py
Accepted
17
2940
114
a = list(input()) ans = "Yes" for i in range(len(a)): if a.count(a[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,606
s060746593
p04012
u825528847
1512841934
Python
Python (3.4.3)
py
Accepted
25
3768
158
import string list_ = list(input()) for c in string.ascii_lowercase: if list_.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,607
s386395723
p04012
u813450984
1511547165
Python
Python (3.4.3)
py
Accepted
17
2940
143
w = input() def judge(w): for c in w: if w.count(c) % 2 == 0: continue else: return 'No' return 'Yes' print(judge(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,608
s470966589
p04012
u665415433
1509660389
Python
Python (3.4.3)
py
Accepted
18
2940
148
a = 'abcdefghijklmnopqrstuvwxyz' w = input() for i in range(len(a)): if w.count(a[i]) % 2 == 1: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,609
s058903636
p04012
u252745826
1508333747
Python
Python (3.4.3)
py
Accepted
21
3316
197
from collections import defaultdict w = input() cnt = defaultdict(lambda: 0) for c in w: cnt[c] += 1 for c in cnt.values(): if c % 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,610
s337960461
p04012
u425351967
1508164128
Python
Python (3.4.3)
py
Accepted
17
2940
142
w = input() l = [0]*26 for c in w: l[ord(c) - ord("a")] += 1 res = "Yes" for i in range(26): if l[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,611
s728729461
p04012
u190405389
1507685673
Python
Python (3.4.3)
py
Accepted
18
2940
111
w = input() for i in range(97, 97+26): if w.count(chr(i)) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,612
s522951466
p04012
u663710122
1506619199
Python
Python (3.4.3)
py
Accepted
28
3896
131
import string w = input() for a in string.ascii_lowercase: if w.count(a) % 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,613
s200584066
p04012
u772180901
1505933646
Python
Python (3.4.3)
py
Accepted
17
2940
98
w = list(input()) ans= "Yes" for i in 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,614
s742200178
p04012
u525441048
1505643740
Python
Python (3.4.3)
py
Accepted
20
3316
209
import collections w = input() w_cnt = collections.Counter(w) jurge = "Yes" for key in w_cnt: if w_cnt[key] % 2: jurge = "No" break if jurge == "No": 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,615
s143596367
p04012
u261886891
1505514611
Python
Python (3.4.3)
py
Accepted
17
2940
148
import sys w = input() for i in range(26): c = chr(ord('a') + i) if w.count(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,616
s238834867
p04012
u367393577
1505102706
Python
Python (3.4.3)
py
Accepted
22
3316
152
from collections import Counter import sys cnt = Counter(input()) for i in cnt: if cnt[i]%2==1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,617
s389645252
p04012
u182096840
1504460192
Python
Python (2.7.6)
py
Accepted
10
2568
162
a = raw_input().strip() l = [0]*26 for x in a: if l[ord(x)-97] == 1: l[ord(x)-97] = 0 else: l[ord(x)-97] =1 if max(l) == 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,618
s012510447
p04012
u276192130
1503783835
Python
Python (3.4.3)
py
Accepted
18
2940
100
e = list(input()) ans = 'Yes' for i in e: if e.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,619
s000649888
p04012
u650245944
1503616178
Python
Python (3.4.3)
py
Accepted
17
3060
139
w = input() c = [chr(i) for i in range(ord("a"), ord("z")+1)] for i in c: 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,620
s427655216
p04012
u667084803
1503594086
Python
Python (3.4.3)
py
Accepted
17
2940
122
import sys s=str(input()) for i in range(97,97+26): if s.count(chr(i))%2!=0: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,621
s813535150
p04012
u255555420
1503369704
Python
Python (3.4.3)
py
Accepted
17
2940
124
w=input() N=len(w) for i in range(N): if w.count(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,199,622
s547775484
p04012
u355254193
1502038140
Python
Python (2.7.6)
py
Accepted
10
2568
222
W = list(raw_input()) flagArray = [True for i in range(26)] for w in W: flagArray[ord(w)-97] = not(flagArray[ord(w)-97]) flag = True for f in flagArray: if not f: print "No" flag = False break if flag: print "Yes"
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,623
s255838214
p04012
u596276291
1501689594
Python
Python (3.4.3)
py
Accepted
20
3316
214
from collections import defaultdict def main(): w = input() for s in w: if w.count(s) % 2 != 0: print("No") return 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,624
s354687791
p04012
u839537730
1501177683
Python
Python (3.4.3)
py
Accepted
17
2940
172
w = input() flag = True for i in range(len(w)): if w.count(w[i]) % 2 != 0: flag = False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,625
s724853712
p04012
u218984487
1500836633
Python
Python (3.4.3)
py
Accepted
17
2940
194
w = list(input()) for i in range(len(w)): a = w[i] ans = w.count(a) if ans % 2 == 1: print("No") break elif ans % 2 == 0 and i == len(w)-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,626
s966955016
p04012
u996252264
1500661249
Python
Python (3.4.3)
py
Accepted
17
3064
423
def ri(): return int(input()) def rli(): return list(map(int, input().split())) def rls(): return list(input()) def pli(a): return "".join(list(map(str, a))) ls = "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".split() w = rls() flag = True for i in ls: count = 0 for j in w: if(j == i): ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,627
s441520597
p04012
u214380782
1500515132
Python
Python (3.4.3)
py
Accepted
18
3060
266
wlist = [] w = input() for letter in w: wlist.append(letter) a = [] b = [] i = 0 for letter in sorted(wlist): if i%2==1: a.append(letter) else: b.append(letter) i += 1 if sorted(a) == sorted(b): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,628
s698217361
p04012
u999343094
1497818284
Python
Python (3.4.3)
py
Accepted
21
3316
109
from collections import Counter print('No' if any(char[1]%2 for char in Counter(input()).items()) 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,629
s157515312
p04012
u809670194
1497397311
Python
Python (3.4.3)
py
Accepted
17
2940
221
w = input() exist = {} for i in w: if i not in exist: exist[i] = 1 else: exist[i] += 1 answer = "Yes" for i in exist.values(): if i%2 != 0: answer = "No" break 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,199,630
s716997151
p04012
u761320129
1497195154
Python
Python (2.7.6)
py
Accepted
11
2808
208
from collections import defaultdict w = raw_input() d = defaultdict(lambda: 0) for c in w: d[c] += 1 for count in d.values(): if count % 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,631
s760930318
p04012
u125205981
1497182557
Python
Python (3.4.3)
py
Accepted
17
2940
182
def main(): W = input() w = set(W) for s in w: if W.count(s) & 1: ans = 'No' break else: ans = 'Yes' print(ans) 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,632
s597320644
p04012
u879309973
1495627011
Python
Python (2.7.6)
py
Accepted
11
2568
204
w = list(raw_input()) M = {} for c in w: if not c in M: M[c] = 0 M[c] += 1 def run(): for k, v in M.items(): if v % 2 == 1: return "No" return "Yes" print run()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,633
s347327441
p04012
u677421794
1493950389
Python
Python (2.7.6)
py
Accepted
10
2568
231
# -*- coding: utf-8 -*- w = raw_input() alphabet = [0]*26 for i in range(len(w)): alphabet[ord(w[i])-97] += 1 for i in range(26): alphabet[i] = True if alphabet[i]%2 == 0 else False print ('Yes' if all(alphabet) 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,634
s066726668
p04012
u058240079
1493305220
Python
Python (2.7.6)
py
Accepted
11
2808
162
from collections import Counter w = raw_input() ct = Counter(w) f = True for n in ct.values(): f &= ((n % 2) == 0) if f: print 'Yes' else: print 'No'
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,635
s718298974
p04012
u419874471
1492287519
Python
Python (3.4.3)
py
Accepted
18
2940
160
w = input() for c in w: cnt = 0 for t in w: if c == t: 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,199,636
s175025051
p04012
u419874471
1492287297
Python
Python (3.4.3)
py
Accepted
17
2940
145
w = input() m = {} for t in w: m[t] = m.get(t, 0) + 1 for key in m: if m[key] % 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,637
s223982270
p04012
u419874471
1492287062
Python
Python (3.4.3)
py
Accepted
17
2940
151
w = input() m = [0] * 26 for t in w: m[ord(t) - ord('a')] += 1 for cnt in m: 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,199,638
s872816747
p04012
u419874471
1492286378
Python
Python (3.4.3)
py
Accepted
32
3956
201
import string w = input() for a in string.ascii_lowercase: cnt = 0 for t in w: if t == a: cnt = 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,199,639
s009957918
p04012
u107077660
1492123344
Python
Python (3.4.3)
py
Accepted
20
3316
127
from collections import Counter w = input() C = Counter(w) for l in C: if C[l] % 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,640
s330984260
p04012
u149051097
1491933346
Python
Python (2.7.6)
py
Accepted
14
2812
239
#!/usr/bin/env python # coding:utf-8 import os, sys import math from collections import defaultdict w = raw_input() m = defaultdict(int) for i in range(len(w)): m[w[i]]+=1 print "Yes" if all([x%2==0 for x in m.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,641
s785769635
p04012
u149051097
1491933230
Python
Python (2.7.6)
py
Accepted
14
2812
260
#!/usr/bin/env python # coding:utf-8 import os, sys import math from collections import defaultdict w = raw_input() m = defaultdict(int) for i in range(len(w)): m[w[i]]+=1 b = True for k,v in m.iteritems(): b &= (v%2==0) 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,642
s407219938
p04012
u419874471
1491932863
Python
Python (3.4.3)
py
Accepted
18
2940
323
#!/usr/bin/env python #coding:utf-8 def input_strs(): return input().split(" ") def input_nums(): return [int(i) for i in input_strs()] w = input() ok = True for c in w: p = 0 for k in w: if c == k: p += 1 ok = ok and (p % 2 == 0) if ok: print("Yes") else: print("No...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,643
s084193226
p04012
u976966750
1490129397
Python
PyPy2 (5.6.0)
py
Accepted
34
27884
133
l=[] re='Yes' s=raw_input() for i in s: if i not in l: if s.count(i)%2!=0: re='No' break print re
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,644
s777407626
p04012
u559722042
1490073681
Python
Python (3.4.3)
py
Accepted
17
2940
229
w = input() mp = dict() for c in w: if c in mp: mp[c] += 1 else: mp[c] = 1 ok = True for k,v in mp.items(): if v % 2 == 1: ok = False break if ok: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,645
s449468011
p04012
u912359563
1489752226
Python
Python (3.4.3)
py
Accepted
17
2940
78
S = input(); for c in S: if S.count(c)%2: print("No") quit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,646
s677530867
p04012
u481333386
1489284586
Python
Python (3.4.3)
py
Accepted
19
3188
132
w = input() def main(w): for c in w: if w.count(c) % 2 != 0: 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,647
s551953178
p04012
u332385682
1488398680
Python
Python (3.4.3)
py
Accepted
25
3444
416
import sys from collections import Counter def debug(x, table): for name, val in table.items(): if x is val: print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr) return None def solve(): w = input() cnt = Counter(w) for a in cnt.values(): if a % 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,648
s841144586
p04012
u622011073
1487380161
Python
Python (3.4.3)
py
Accepted
17
2940
78
a=input() for x in set(a): if a.count(x)&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,649
s166186568
p04012
u423925725
1486827181
Python
Python (3.4.3)
py
Accepted
25
3064
198
# coding: utf-8; def main(): w = input() for s in w: if list(w).count(s) % 2 == 1: print('No') return 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,650
s640340291
p04012
u045939752
1486673861
Python
Python (3.4.3)
py
Accepted
24
3064
81
S=input() ans='Yes' for c in S: if S.count(c) % 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,651
s875107846
p04012
u846552659
1486492694
Python
Python (3.4.3)
py
Accepted
23
3064
155
# -*- coding:utf-8 -*- import sys w = input() for tmp in range (len(w)): if w.count(w[tmp])%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,652
s407466349
p04012
u012693733
1484632237
Python
Python (2.7.6)
py
Accepted
18
2808
240
from collections import Counter w = raw_input() x = [] f = True for i in w: x.append(i) counter = Counter(x) for word,cnt in counter.most_common(): if not cnt % 2 == 0: f = False if f: print 'Yes' else: print 'No'
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,653
s517657611
p04012
u646352133
1483170520
Python
Python (3.4.3)
py
Accepted
26
3316
179
from collections import defaultdict w = defaultdict(int) for s in input(): w[s] += 1 for k in w: if w[k] % 2 == 0: continue else: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,654
s059216307
p04012
u637175065
1482707023
Python
Python (3.4.3)
py
Accepted
49
5404
355
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time sys.setrecursionlimit(10**7) inf = 10**20 mod = 10**9 + 7 def main(): s = input() d = collections.defaultdict(int) for c in s: d[c] += 1 for c in d.values(): if c % 2 == 1: return '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,655
s850338750
p04012
u386131832
1482605263
Python
Python (3.4.3)
py
Accepted
22
3064
280
import sys s=list(input()) s.sort() count=1 for i in range(1,len(s)): if s[i]==s[i-1]: count+=1 else: if count%2==0: count=1 else: print("No") sys.exit() if count%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,656
s689336031
p04012
u942697937
1482474583
Python
Python (2.7.6)
py
Accepted
17
2568
136
def f(w): for c in set(w): if w.count(c) % 2 != 0: return "No" return "Yes" w = raw_input() print f(w)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,657
s892998412
p04012
u580920947
1482424705
Python
Python (3.4.3)
py
Accepted
28
3316
454
# -*- coding: utf-8 -*- # problem B from collections import defaultdict letters = str(input()) # defultdict(int)は登録されていないキーが呼び出された時に、自動的に{キー: 0}を登録してくれる d = defaultdict(int) #int() = 0 for letter in letters: d[letter] += 1 k = 0 for values in d.values(): if values % 2 == 0: k += 0 else: ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,658
s238323962
p04012
u317493066
1482117794
Python
Python (3.4.3)
py
Accepted
22
3064
368
# -*- coding:utf-8 -*- def checkValue(count): for v in count.values(): if v % 2 != 0: return 'No' return 'Yes' if __name__ == "__main__": w = input() count = {} for i in range(len(w)): if w[i] in count: count[w[i]] = count[w[i]] + 1 else: ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,659
s691712668
p04012
u681132540
1481422500
Python
Python (3.4.3)
py
Accepted
22
3064
241
import sys string = input() counter = {} for c in string: if not c in counter: counter[c] = 1 else: counter[c] += 1 for v in counter.values(): if v % 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,660
s330957437
p04012
u596276291
1480864338
Python
Python (3.4.3)
py
Accepted
35
3444
232
from collections import Counter def main(): w = input() c = Counter(w) for k, v in c.items(): if v % 2 != 0: print("No") return 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,661
s609120186
p04012
u333917945
1480832069
Python
Python (3.4.3)
py
Accepted
23
3064
283
import sys w = list(input()) w.sort() if len(w) == 1: print("No") sys.exit() count = 1 for i in range(1, len(w)): if w[i] == w[i-1] : count += 1 else: if count % 2 == 1: print("No") sys.exit() 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,662
s249403345
p04012
u309289733
1480521452
Python
Python (3.4.3)
py
Accepted
23
3064
163
w = input() characters = list(w) for character in characters: if characters.count(character) %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,663
s654267763
p04012
u402953845
1480106054
Python
Python (2.7.6)
py
Accepted
16
2568
182
import sys w = sys.stdin.readline() c = 'a' for i in xrange(ord('a') - ord('A')): if w.count(chr(ord(c) + 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,664
s017379440
p04012
u402953845
1480105953
Python
Python (2.7.6)
py
Accepted
16
2568
165
import sys w = sys.stdin.readline() c = 'a' for i in xrange(26): if w.count(chr(ord(c) + 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,665
s033999724
p04012
u493916575
1479949243
Python
Python (3.4.3)
py
Accepted
24
3188
151
w = input() cnt = 26*[0] for i in w: cnt[ord(i)-ord("a")] += 1 for c in cnt: if 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,666
s654445812
p04012
u043805613
1479662195
Python
Python (2.7.6)
py
Accepted
17
2568
137
w=list(str(raw_input())) lib=list(set(w)) res="Yes" for i in range(0,len(lib)): if(w.count(lib[i])%2==1): res="No" print(res)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,667
s377705933
p04012
u010110540
1479237501
Python
Python (3.4.3)
py
Accepted
23
3064
150
S = input() set_S = set(S) sum = 0 flag = True for ch in set_S: if S.count(ch) % 2 != 0: print('No') flag = False break if flag: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,668
s325689350
p04012
u831695469
1478720392
Python
Python (3.4.3)
py
Accepted
23
3064
333
w = input() l = list(w) l.sort() ans = "Yes" if len(l)%2 != 0: print("No") exit() for i in range(int(len(l)/2)): if l[2*i] != l[2*i+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,669
s861086433
p04012
u664481257
1478642643
Python
Python (3.4.3)
py
Accepted
29
3436
514
# vim: fileencoding=utf-8 from collections import Counter def read_input(): return input() def check_beauty(s): """ >>> check_beauty("abaccaba") Yes >>> check_beauty("hthth") No """ checker = Counter(s) checker_key = [i[1] for i in checker.items() if not i[1] % 2 == 0] if len...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,670