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
s223243977
p04012
u345778634
1591928771
Python
Python (3.4.3)
py
Accepted
17
2940
214
def main(): w = input() A = [0]*26 for char in w: A[ord(char) - ord('a')] += 1 for a in A: if a%2 != 0: print("No") return print("Yes") return main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,971
s376599294
p04012
u642012866
1591922553
Python
Python (3.4.3)
py
Accepted
20
3316
165
from collections import Counter w = list(input()) cnt = Counter(w) for v in cnt.values(): if v % 2 == 1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,972
s705400019
p04012
u709799578
1591913713
Python
Python (3.4.3)
py
Accepted
21
3316
145
import collections w = list(input()) c = collections.Counter(w) ans = 'Yes' for s in c.values(): 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,197,973
s136897192
p04012
u750651325
1591909724
Python
Python (3.4.3)
py
Accepted
20
3316
211
import collections as cl import sys w = list(input()) c = cl.Counter(w) ans_1 = c.values() for i in ans_1: if int(i) % 2 == 0: pass 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,197,974
s687580877
p04012
u629540524
1591905223
Python
Python (3.4.3)
py
Accepted
17
2940
93
w = input() if all(w.count(i)%2 == 0 for i in set(w)): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,975
s301004478
p04012
u500376440
1591904094
Python
Python (3.4.3)
py
Accepted
17
2940
167
w=input() check=list(set(w)) flag=True for i in range(0,len(check)): if w.count(check[i])%2!=0: flag=False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,976
s620095870
p04012
u629540524
1591903694
Python
Python (3.4.3)
py
Accepted
17
2940
95
w = input() if all([w.count(i)%2 == 0 for i in set(w)]): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,977
s959055074
p04012
u500376440
1591903345
Python
Python (3.4.3)
py
Accepted
17
2940
136
w=input() flag=True for i in range(0,len(w)): if w.count(w[i])%2!=0: flag=False if flag==True: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,978
s324787344
p04012
u641460756
1591848510
Python
Python (3.4.3)
py
Accepted
21
3316
153
import collections w = list(input()) c = collections.Counter(w) for i in c.values(): if (i % 2 == 1): print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,979
s213189809
p04012
u697658632
1591820651
Python
Python (3.4.3)
py
Accepted
17
2940
138
w = input() for i in range(ord('a'), ord('z') + 1): c = chr(i) if w.count(c) % 2 == 1: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,980
s865094318
p04012
u771007149
1591795335
Python
Python (3.4.3)
py
Accepted
20
3316
225
#ABC044-B w = list(input()) from collections import Counter c = Counter(w) flg = True #print(c) for i in c.values(): if i % 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,197,981
s097611789
p04012
u293825440
1591760032
Python
Python (3.4.3)
py
Accepted
21
3316
160
w = list(input()) from collections import Counter bea = Counter(w).values() for i in bea: if i % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,982
s713947137
p04012
u343977188
1591755816
Python
Python (3.4.3)
py
Accepted
21
3316
138
import collections w=list(str(input())) p=collections.Counter(w).values() for i in p: if i%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,983
s508129480
p04012
u958506960
1591755255
Python
Python (3.4.3)
py
Accepted
21
3316
163
from collections import Counter w = input() c = Counter(w) cnt = 0 for i in c.values(): if i % 2 == 0: cnt += 1 print('Yes' if cnt == len(c) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,984
s450746448
p04012
u065099501
1591715271
Python
Python (3.4.3)
py
Accepted
17
2940
117
w = input() do = set(w) ans='Yes' for s in do: if w.count(s)%2 == 0: continue else: ans='No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,985
s902519523
p04012
u694649864
1591675565
Python
Python (3.4.3)
py
Accepted
20
3316
207
from collections import Counter w = input() flag = True wordCount = Counter(w).values() for i in wordCount: if i % 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,197,986
s182012573
p04012
u957957759
1591673171
Python
Python (3.4.3)
py
Accepted
17
2940
221
w=input() s='abcdefghijklmnopqrstuvwxyz' c=0 if len(w)%2==1: print('No') else: for i in range(len(s)): if w.count(s[i])%2==1: c+=1 if c>0: print('No') else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,987
s775268551
p04012
u822179469
1591668866
Python
Python (3.4.3)
py
Accepted
17
2940
133
w = list(input()) for i in w : if w.count(i)%2 == 1: print('No') break if w.count(i)%2 == 0: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,988
s932849189
p04012
u168416324
1591668447
Python
Python (3.4.3)
py
Accepted
17
2940
183
alp=list("qwertyuiopasdfghjklzxcvbnm") s=list(input()) out=[0]*len(alp) for c in s: out[alp.index(c)]+=1 res="Yes" for x in out: if x%2==1: res="No" break print(res)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,989
s085136002
p04012
u509739538
1591648052
Python
Python (3.4.3)
py
Accepted
22
3444
2,896
import math from collections import deque from collections import defaultdict #自作関数群 def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChar(): return input() def readChars(): return input().split() def factorization(n): res = [] if n%2==0: res.append(2) for i in...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,990
s635650730
p04012
u382423941
1591595900
Python
Python (3.4.3)
py
Accepted
20
3316
142
import collections w = input() ctr = collections.Counter(w) if all([v % 2 == 0 for v in ctr.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,197,991
s703547705
p04012
u156815136
1591575035
Python
Python (3.4.3)
py
Accepted
18
3060
768
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] #from fractions import gcd #from itertools import combinations # (string,3) 3回 #from collections import deque #from collections import defaultdict #import bisect # # d = m - k[i] - k[...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,992
s984692668
p04012
u987164499
1591571093
Python
Python (3.4.3)
py
Accepted
20
3316
148
s = input() from collections import Counter c = Counter(s) for i in c.values(): if i%2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,993
s487506422
p04012
u581403769
1591543357
Python
Python (3.4.3)
py
Accepted
18
3060
296
w = input() l = list(w) wl = sorted(l) flag = True for i in range(0, len(wl), 2): if len(wl) % 2 == 1: print('No') flag = False break else: if wl[i] != wl[i + 1]: 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,197,994
s235458257
p04012
u630511239
1591531574
Python
Python (3.4.3)
py
Accepted
17
2940
118
w = input() N = len(w) ans = 'Yes' for i in range(N): if w.count(w[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,197,995
s044131603
p04012
u763249708
1591531008
Python
Python (3.4.3)
py
Accepted
17
2940
180
w = input() ap = {} for s in w: if s in ap: ap[s] += 1 else: ap[s] = 1 for k in ap: if ap[k] % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,996
s239176760
p04012
u227082700
1591530575
Python
Python (3.4.3)
py
Accepted
17
2940
75
w=input() for i in w: if (w.count(i))%2==1:exit(print("No")) print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,997
s792195462
p04012
u497952650
1591529498
Python
Python (3.4.3)
py
Accepted
20
3316
186
from collections import Counter w = input() c = Counter(w) flag = True for j in c.values(): if (j%2) != 0: flag = False if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,998
s345631264
p04012
u241159583
1591529489
Python
Python (3.4.3)
py
Accepted
21
3316
136
from collections import Counter w = Counter(input()) for i in w.values(): if i%2!=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,999
s924285869
p04012
u492749916
1591516928
Python
Python (3.4.3)
py
Accepted
17
3064
247
import sys w = str(input()) arr = [] for i in range(0,len(w)): arr.append(w[i]) arr = sorted(arr) if len(arr)%2 == 1: print("No") sys.exit() for i in range(0,len(w),2): if arr[i] != arr[i+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,000
s535077019
p04012
u213908267
1591507717
Python
Python (3.4.3)
py
Accepted
17
2940
182
def countstr(s) : for i in range(len(s)) : if s.count(s[i]) % 2 : return False return True w = input() if countstr(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,001
s215638536
p04012
u085329544
1591488637
Python
Python (3.4.3)
py
Accepted
17
2940
136
w = input() l = [chr(i) for i in range(97, 97+26)] for j in range(26): if w.count(l[j])%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,002
s379679975
p04012
u125545880
1591488238
Python
Python (3.4.3)
py
Accepted
21
3316
252
import collections def main(): S = input() itemS = list(zip(*collections.Counter(S).items())) for item in itemS[1]: if item%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,198,003
s658844701
p04012
u811436126
1591417168
Python
Python (3.4.3)
py
Accepted
21
3316
155
from collections import Counter w = list(input()) c = Counter(w) for v in c.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,004
s555775477
p04012
u757274384
1591403844
Python
Python (3.4.3)
py
Accepted
17
2940
102
w = input() w_set = set(w) for i in w_set: 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,005
s870664453
p04012
u344122377
1591387758
Python
Python (3.4.3)
py
Accepted
17
2940
153
d = {} s = input() for c in s : d[c] = 0 for c in s : d[c] += 1 for x in d.values() : if x % 2 == 1 : print("No") exit(0) print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,006
s327505220
p04012
u911622131
1591387550
Python
Python (3.4.3)
py
Accepted
18
2940
159
# coding = SJIS Alfa = "abcdefghijklmnopqrstuvwxyz" w = str(input()) for i in Alfa: 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,007
s072770482
p04012
u737840172
1591383757
Python
Python (3.4.3)
py
Accepted
17
2940
350
# Vicfred # https://atcoder.jp/contests/abc044/tasks/abc044_b # implementation w = input() english = {} for ch in w: if ch in english: english[ch] += 1 else: english[ch] = 1 beautiful = True for value in english.values(): if value%2 == 1: beautiful = False if beautiful: print...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,008
s040824499
p04012
u974935538
1591375970
Python
Python (3.4.3)
py
Accepted
20
3316
184
import collections w = list(input()) tmp = collections.Counter(w) ans = "Yes" for i in tmp.values(): if i%2 != 0: ans = "No" break else: pass 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,009
s808241076
p04012
u143051858
1591375103
Python
Python (3.4.3)
py
Accepted
17
2940
120
w = input() for i in range(len(w)): if w.count(w[i:i+1]) % 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,010
s521207157
p04012
u374082254
1591290046
Python
Python (3.4.3)
py
Accepted
26
3444
189
import collections w = input() flag = True for v in collections.Counter(w).values(): if v % 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,198,011
s761359645
p04012
u736474437
1591272898
Python
Python (3.4.3)
py
Accepted
17
2940
142
w=input() flag=True for i in str(w): if int(str(w).count(i))%2==0: continue else: flag=False print("Yes" if flag==True else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,012
s439291630
p04012
u411237324
1591247523
Python
Python (3.4.3)
py
Accepted
17
2940
241
W = list(input()) L = ['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 e in L: if W.count(e) % 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,013
s617980952
p04012
u514118270
1591243052
Python
Python (3.4.3)
py
Accepted
21
3316
150
from collections import Counter w = list(input()) c = Counter(w) for v in c.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,014
s556515429
p04012
u446601167
1591191201
Python
Python (3.4.3)
py
Accepted
21
3316
209
from collections import Counter w = input() ans = True dict_w = Counter(w) #print(dict_w) for x in dict_w.values(): if int(x)%2 != 0: ans = False if ans: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,015
s572863120
p04012
u199356004
1591169047
Python
Python (3.4.3)
py
Accepted
17
2940
164
W=list(input()) d = {} for c in W: d[c] = d[c]+1 if (c in d) else 1 result = "Yes" for c in d: if d[c] % 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,016
s272487633
p04012
u095844416
1591161402
Python
Python (3.4.3)
py
Accepted
20
3316
279
w = str(input()) n = 1 if len(w) == 2*n + 1: print ('No') l=[] for i in w: l.append(i) sort=sorted(l) import collections c = collections.Counter(sort) v_list = list(c.values()) ans='Yes' for i in v_list: if i % 2 != 0: ans='No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,017
s028511252
p04012
u806403461
1591158443
Python
Python (3.4.3)
py
Accepted
17
2940
154
w = input() w = list(w) length = len(w) ans = 'Yes' for a in range(length): if w.count(w[a]) % 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,018
s455391664
p04012
u806403461
1591158230
Python
Python (3.4.3)
py
Accepted
17
2940
234
w = input() w = list(w) length = len(w) w.sort() ans = 'No' if length % 2 == 0: for a in range(0, length, 2): if w[a] == w[a+1]: ans = 'Yes' else: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,019
s562932183
p04012
u923662841
1591155796
Python
Python (3.4.3)
py
Accepted
17
2940
107
w = 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,020
s898470754
p04012
u366886346
1591152613
Python
Python (3.4.3)
py
Accepted
17
2940
175
w=input() wset=set(w) yn=0 for i in range(len(wset)): str=wset.pop() if w.count(str)%2==1: yn=1 break if yn==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,021
s888748198
p04012
u460129720
1591148716
Python
Python (3.4.3)
py
Accepted
21
3316
143
from collections import Counter w = input() cnt = Counter(w) ans = 'Yes' for i in cnt.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,022
s551511823
p04012
u977389981
1591145780
Python
Python (3.4.3)
py
Accepted
21
3316
108
from collections import Counter print('Yes' if all(v % 2 == 0 for v in Counter(input()).values()) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,023
s219140505
p04012
u977389981
1591145631
Python
Python (3.4.3)
py
Accepted
20
3316
134
from collections import Counter w = input() ans = 'Yes' for v in Counter(w).values(): if v % 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,024
s380868058
p04012
u934119021
1591109535
Python
Python (3.4.3)
py
Accepted
21
3316
242
from collections import defaultdict w = input() if len(w) % 2 != 0: print('No') else: d = defaultdict(int) for e in w: d[e] += 1 ans = 'Yes' for e in dict(d).values(): if e % 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,025
s152051300
p04012
u036190609
1591065942
Python
Python (3.4.3)
py
Accepted
21
3316
249
from collections import Counter w = input() l = sorted(w) counter = Counter(l) for i in counter.values(): if i % 2 == 0: flag = "yes" else: print("No") flag = "no" break if flag == "yes": 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,026
s783314462
p04012
u922449550
1591044851
Python
Python (3.4.3)
py
Accepted
21
3316
170
from collections import defaultdict d = defaultdict(int) w = input() for wi in w: d[wi] += 1 for wi in d: if d[wi] % 2 == 1: print('No') quit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,027
s162995093
p04012
u453642820
1590961789
Python
Python (3.4.3)
py
Accepted
21
3316
154
from collections import Counter W=list(input()) w=Counter(W) for k,v in w.items(): if v%2==1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,028
s398892998
p04012
u556598512
1590953550
Python
Python (3.4.3)
py
Accepted
18
2940
218
#!/bin/usr/env S = input() tmp = {} ans = [] for i in S: if (i in tmp): tmp[i] += 1 else: tmp[i] = 1 for j in tmp.values(): if j % 2 == 1: print("No") exit() else: pass 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,029
s184100877
p04012
u238940874
1590937195
Python
Python (3.4.3)
py
Accepted
17
2940
115
w=input() for i in range(len(w)): if int(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,030
s504311673
p04012
u435721973
1590897562
Python
Python (3.4.3)
py
Accepted
17
2940
131
x = input() flag = 0 for i in x: if int(x.count(i) % 2) != 0: flag = 1 if flag == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,031
s063776964
p04012
u782930273
1590876936
Python
Python (3.4.3)
py
Accepted
21
3316
122
from collections import Counter count = Counter(input()) print("Yes" if all(c % 2 == 0 for c in count.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,032
s356202861
p04012
u193927973
1590871703
Python
Python (3.4.3)
py
Accepted
17
3060
150
s=list(input()) tmps=list(set(s)) flag=False for i in tmps: if s.count(i)%2==1: flag=True break if flag: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,033
s642649160
p04012
u940780117
1590868384
Python
Python (3.4.3)
py
Accepted
18
3060
164
w=input() ans=dict() for i in range(len(w)): if w[i] in ans: ans[w[i]]+=1 else: ans[w[i]]=1 for j in ans: if ans[j]%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,034
s526351980
p04012
u634873566
1590864584
Python
Python (3.4.3)
py
Accepted
21
3316
138
from collections import Counter s = input() ans = [False if i%2 else True for i in Counter(s).values()] print("Yes" if all(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,035
s209387013
p04012
u935077683
1590859454
Python
Python (3.4.3)
py
Accepted
21
3316
107
from collections import* c = Counter(input()) print("Yes" if all(v % 2 == 0 for v in c.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,036
s316400724
p04012
u285891772
1590788418
Python
Python (3.4.3)
py
Accepted
39
5148
1,038
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians#, log2 from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mul from copy import deepcopy, cop...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,037
s044791865
p04012
u285891772
1590788098
Python
Python (3.4.3)
py
Accepted
38
5144
969
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians#, log2 from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mul from copy import deepcopy, cop...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,038
s899773725
p04012
u713914478
1590783723
Python
Python (3.4.3)
py
Accepted
17
3064
144
w = input() s = set(w) flag = True for i in s: if w.count(i) % 2 == 0: pass else: flag = False if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,039
s321658424
p04012
u212328220
1590756491
Python
Python (3.4.3)
py
Accepted
18
2940
181
w = str(input()) wlst = [] for i in w: wlst.append(i) for i in wlst: if wlst.count(i) % 2 == 0: continue else: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,040
s554300854
p04012
u742899538
1590693170
Python
Python (3.4.3)
py
Accepted
21
3316
206
from collections import defaultdict w = input() count = defaultdict(int) for c in w: count[c] += 1 for k, v in count.items(): if v % 2 != 0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,041
s263762073
p04012
u112364985
1590681942
Python
Python (3.4.3)
py
Accepted
18
2940
158
import sys w=input() alphabet=[chr(i) for i in range(97,97+26)] for i in alphabet: if w.count(i)%2!=0: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,042
s143075922
p04012
u883866798
1590681282
Python
Python (3.4.3)
py
Accepted
17
2940
241
S = input() str_box = {} jodge = 1 for ss in S: if ss in str_box: str_box[ss] += 1 else: str_box[ss] = 1 for i in str_box.values(): if i % 2 != 0: jodge = 0 if jodge: 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,043
s561880732
p04012
u087731474
1590670211
Python
Python (3.4.3)
py
Accepted
17
2940
192
w = list(input()) all = sorted([x for x in set(w) if w.count(x) > 0]) beautiful = sorted([x for x in set(w) if w.count(x) % 2 == 0]) if all == beautiful: print("Yes") else : print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,044
s157510124
p04012
u574464625
1590638059
Python
Python (3.4.3)
py
Accepted
18
3060
272
#美しい文字列 044_B w=input() count=0 ans='Yes' t='' for i in range(len(w)): count=0 t=w[i] for e in range(len(w)): if t==w[e]: count=count+1 if count%2==1: ans='No' break else: ans='Yes' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,045
s559305630
p04012
u810288681
1590634130
Python
Python (3.4.3)
py
Accepted
17
2940
126
w = input() sw = set(w) ans = 'Yes' for i in sw: x = w.count(i) if x%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,046
s360467641
p04012
u991567869
1590626150
Python
Python (3.4.3)
py
Accepted
17
2940
138
w = input() l = [0]*30 for i in w: l[ord(i) - 97] += 1 for i in l: 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,047
s464803737
p04012
u991567869
1590625783
Python
Python (3.4.3)
py
Accepted
18
2940
174
w = list(input()) ans = "Yes" for i in w: cnt = 0 for j in w: if i == j: cnt += 1 if cnt%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,048
s490420157
p04012
u552738814
1590618320
Python
Python (3.4.3)
py
Accepted
17
2940
170
w = input() word_set = set(w) f = True for word in word_set: if w.count(word) % 2 != 0: f =False break if f: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,049
s710128237
p04012
u646792990
1590615226
Python
Python (3.4.3)
py
Accepted
17
2940
146
w = input() a = [0] * 26 for c in w: a[ord(c) - ord('a')] += 1 if all(map(lambda x: x % 2 == 0, 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,050
s977770543
p04012
u448720391
1590552225
Python
Python (3.4.3)
py
Accepted
21
3316
203
import collections import sys w = list(input()) n = len(set(w)) c = collections.Counter(w) for i in range(n): if (c.most_common()[i][1] % 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,051
s428715573
p04012
u888092736
1590542433
Python
Python (3.4.3)
py
Accepted
17
2940
118
cntr = [0] * 26 for c in input(): cntr[ord(c) - 97] += 1 print('No') if any(v % 2 for v in cntr) 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,052
s995821690
p04012
u888092736
1590542242
Python
Python (3.4.3)
py
Accepted
21
3316
112
from collections import Counter print('No') if any(v % 2 for v in Counter(input()).values()) 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,053
s312696505
p04012
u285891772
1590542014
Python
Python (3.4.3)
py
Accepted
39
5200
945
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, log2 from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mul from copy import deepcopy, copy...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,054
s981558980
p04012
u941644149
1590539936
Python
Python (3.4.3)
py
Accepted
29
3064
203
W = input() dic = {} for w in W: if w in dic: dic[w] += 1 else: dic[w] = 1 count = 0 for i in dic.values(): if i % 2 == 0: count += 1 if count == len(dic): 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,055
s592092712
p04012
u203843959
1590539886
Python
Python (3.4.3)
py
Accepted
21
3316
183
from collections import defaultdict w=list(input()) dic=defaultdict(int) for c in w: dic[c]+=1 for v in dic.values(): if v%2==1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,056
s647429876
p04012
u497952650
1590530321
Python
Python (3.4.3)
py
Accepted
17
2940
233
def is_beautiful(s): b = [0]*30 for i in s: b[ord(i)-97] += 1 flag = True for i in b: if i%2 != 0: flag = False return flag print("Yes" if is_beautiful(input()) 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,057
s889715859
p04012
u443736699
1590465815
Python
Python (3.4.3)
py
Accepted
17
3060
254
w = list(input()) alpha = list("abcdefghijklmnopqrstuvwxyz") count = [0] * len(alpha) for i in w: for index,j in enumerate(alpha): if i ==j: count[index] += 1 odd = "Yes" for i in count: if i % 2 == 1: odd = "No" break print(odd)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,058
s499399445
p04012
u084320347
1590462175
Python
Python (3.4.3)
py
Accepted
17
2940
140
w = input() s_w = set(w) for i in s_w: if w.count(i)%2 == 0: continue else: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,059
s815205304
p04012
u556589653
1590461223
Python
Python (3.4.3)
py
Accepted
21
3316
265
import collections w = input() s = list(w) c = collections.Counter(s) ls = list(c.most_common()) flag = 0 for i in range(len(ls)): if ls[i][1] %2 == 0: continue else: flag += 1 print("No") break if flag == 0: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,060
s248686758
p04012
u935254309
1590458975
Python
Python (3.4.3)
py
Accepted
18
3060
287
w = str(input()) d ={} flg = True for i in range(len(w)): temp = w[i] if temp in d: d[temp] += 1 else: d[temp] = 1 for i in d.values(): if i %2 !=0: flg= False if flg == 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,061
s698547459
p04012
u601575292
1590456807
Python
Python (3.4.3)
py
Accepted
17
3064
127
w = input() f = True for s in w: a = w.count(s) if a%2 != 0: f = False break if f: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,062
s067894325
p04012
u580316619
1590455374
Python
Python (3.4.3)
py
Accepted
24
3768
141
import string w=input() a=string.ascii_lowercase for i in range(26): b=w.count(a[i]) if b%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,063
s979712926
p04012
u594956556
1590451287
Python
Python (3.4.3)
py
Accepted
17
2940
173
w = input() cdict = {} for c in w: if c in cdict: cdict[c] += 1 else: cdict[c] = 1 if all(cdict[c]%2==0 for c in cdict): 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,064
s305915712
p04012
u540290227
1590441325
Python
Python (3.4.3)
py
Accepted
17
2940
271
w = input() duplex = set(w) before_w = '' result = 'Yes' diff = 0 for i in duplex: before_w = w.replace(i, '') diff = diff + (len(w) - len(before_w)) w = before_w if diff % 2 == 0: pass else: result = 'No' break print(result)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,065
s343570026
p04012
u475966842
1590430473
Python
Python (3.4.3)
py
Accepted
24
3768
143
import string As=string.ascii_lowercase w=input() l=[] for i in range(len(As)): l.append(w.count(As[i])%2==0) print(['No','Yes'][all(l)])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,066
s775859724
p04012
u556589653
1590368108
Python
Python (3.4.3)
py
Accepted
17
3064
312
#解法2 w = input() ls = [0]*26 #各文字の出現回数リスト for i in range(len(w)): ls[ord(w[i])-97] += 1 #ASCIIコードに対応した配列を+1する flag = 0 for i in range(len(ls)): if ls[i]%2 == 0: continue else: flag += 1 break if flag == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,067
s467722344
p04012
u556589653
1590367982
Python
Python (3.4.3)
py
Accepted
20
3316
282
#解法3 import collections w = input() s = list(w) c = collections.Counter(s) l = list(c.most_common()) #出現回数のリストがl flag = 0 for i in range(len(l)): if l[i][1]%2 == 0: continue else: flag += 1 break if flag == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,068
s082739447
p04012
u556589653
1590367977
Python
Python (3.4.3)
py
Accepted
17
3064
690
#解法1 w = input() ls = [] #s = list(w)などとすることで省略できる for i in range(len(w)): ls.append(w[i]) ls.sort() #文字列ソート now_str = ls[0] #nowは現在の参照対象の文字列 now = 1 #nowは現在の文字の連続数、1から数える flag = 0 #条件を満たしているかを考えるflag関数 for i in range(1,len(ls)): if ls[i] == now_str: now += 1 else: #連続数が偶数ならば if now%2 == 0: now ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,069
s380874825
p04012
u371385198
1590333705
Python
Python (3.4.3)
py
Accepted
20
3316
122
from collections import Counter w = input() c = Counter(w) print('Yes' if all([not i % 2 for i in c.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,070