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
s204915085
p04012
u943057856
1588695622
Python
Python (3.4.3)
py
Accepted
17
2940
103
w=input() ans="Yes" for i in set(w): if w.count(i)%2==1: ans="No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,171
s502068799
p04012
u586206420
1588694066
Python
Python (3.4.3)
py
Accepted
22
3444
286
import copy s = list(input()) def make1d(n): return [copy.deepcopy(1) for i in range(0,n)] t = make1d(26) for i in range(0, len(s)): t[ord(s[i]) - 97] = t[ord(s[i]) - 97] * (-1) u = 0 for i in range(0, len(t)): u = u + t[i] if u == 26: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,172
s801250640
p04012
u113750443
1588692516
Python
Python (3.4.3)
py
Accepted
18
2940
313
def nyu(): S = list(map(str,input())) return S def kansu(S): s_flg = True for s in range(len(S)): tmp = S[s] if S.count(tmp) % 2 != 0: s_flg = False break if s_flg == True: print("Yes") else: print("No") S = nyu() kansu(S)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,173
s565604162
p04012
u774598729
1588683629
Python
Python (3.4.3)
py
Accepted
17
2940
152
w = input() def beauty(w): for c in w: if w.count(c) % 2 == 0: continue else: return('No') return('Yes') print(beauty(w))
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,174
s468847072
p04012
u340781749
1588660754
Python
Python (3.4.3)
py
Accepted
21
3316
110
from collections import Counter print('Yes' if all(c % 2 == 0 for c 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,175
s285942584
p04012
u178474644
1588657590
Python
Python (3.4.3)
py
Accepted
17
2940
376
w = input() # lenw = int(len(w)) # if lenw%2==0: # print("Yes") # else: # print("No") counter = {} alphabets = "abcdefghijklmnopqrstuvwxyz" for i in alphabets: counter[i] = 0 for i in w: counter[i] = counter[i]+1 allok = True for i in counter: if counter[i] % 2 != 0: allok = False if...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,176
s982405988
p04012
u840570107
1588650961
Python
Python (3.4.3)
py
Accepted
17
2940
167
w = input() lis = [] for a in set(w): b = w.count(a) if b % 2 == 1: print("No") break else: lis.append(b) if len(lis) == 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,198,177
s152804352
p04012
u969850098
1588633498
Python
Python (3.4.3)
py
Accepted
21
3316
288
import sys readline = sys.stdin.readline from collections import Counter def main(): w = readline().rstrip() c = Counter(w) for key, val in c.items(): if val % 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,178
s418532702
p04012
u534953209
1588610965
Python
Python (3.4.3)
py
Accepted
24
3768
173
import string alf = string.ascii_lowercase w = input() flg = 0 for x in alf: if w.count(x) % 2 == 1: flg = 1 break print('No') if flg 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,179
s521693889
p04012
u277641173
1588606100
Python
Python (3.4.3)
py
Accepted
17
2940
131
w=input() keep=0 for i in range(0,len(w)): if w.count(w[i])%2==1: keep=1 print("No") break if keep==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,180
s173462786
p04012
u318127926
1588602804
Python
Python (3.4.3)
py
Accepted
17
3060
136
w = input() for i in range(26): c = chr(i+ord('a')) 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,198,181
s493862821
p04012
u048176319
1588570827
Python
Python (3.4.3)
py
Accepted
20
3316
205
import collections w = input() c = collections.Counter(w) l = list(c.values()) ans = 0 for i in range(len(l)): if l[i] % 2 == 1: ans += 1 if ans == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,182
s470692555
p04012
u589047182
1588542348
Python
Python (3.4.3)
py
Accepted
17
3060
256
import sys w = input() dict = {} keys = [] value = [] for i in range(len(w)): if(w[i] not in keys): keys.append(w[i]) for i in range(len(keys)): value.append(w.count(keys[i])) if(value[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,183
s014848678
p04012
u106797249
1588518724
Python
Python (3.4.3)
py
Accepted
21
3316
265
def resolve(): W = list(input()) import collections counter = collections.Counter(W) for k, v in counter.items(): if v % 2 != 0: print("No") return print("Yes") if '__main__' == __name__: resolve()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,184
s975996785
p04012
u940743763
1588483243
Python
Python (3.4.3)
py
Accepted
22
3316
227
from collections import Counter w = input().strip() c = Counter(list(w)) result = True for i in c.values(): if i % 2 == 1: result = False break if result: 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,185
s477202152
p04012
u126844573
1588474111
Python
Python (3.4.3)
py
Accepted
21
3316
131
from collections import Counter c = Counter(input()) for q in c: if c[q] % 2: 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,186
s755273919
p04012
u454524105
1588443038
Python
Python (3.4.3)
py
Accepted
20
3316
115
from collections import Counter print("No") if sum([i%2for i in list(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,187
s334877597
p04012
u459150945
1588391327
Python
Python (3.4.3)
py
Accepted
21
3316
195
from collections import Counter w = input() counts = Counter(w).values() flag = True for count in counts: if count % 2 != 0: flag = False break print('Yes' if flag 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,188
s208939658
p04012
u306950978
1588389639
Python
Python (3.4.3)
py
Accepted
22
3316
156
import collections w = list(input()) c = collections.Counter(w) for k ,v in c.items(): if v % 2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,189
s531258955
p04012
u272522520
1588355871
Python
Python (3.4.3)
py
Accepted
18
3064
154
s = input() ss = list(set(s)) N = len(ss) cnt = 0 for i in range(N): cnt=cnt+s.count(ss[i])%2 if cnt==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,190
s206456930
p04012
u638902622
1588313725
Python
Python (3.4.3)
py
Accepted
22
3316
1,631
import sys ## io ## def IS(): return sys.stdin.readline().rstrip() def II(): return int(IS()) def MII(): return list(map(int, IS().split())) def MIIZ(): return list(map(lambda x: x-1, MII())) ## dp ## def DD2(d1,d2,init=0): return [[init]*d2 for _ in range(d1)] def DD3(d1,d2,d3,init=0): return [DD2(d2,d3,init) for _ 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,198,191
s721427427
p04012
u898967808
1588304314
Python
Python (3.4.3)
py
Accepted
20
3316
123
from collections import Counter c = Counter(input()) if all(v%2==0 for v in c.values()): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,192
s620132534
p04012
u103902792
1588292293
Python
Python (3.4.3)
py
Accepted
17
2940
124
s = input() d = set([]) for c in s: if c not in d: d.add(c) else: d.remove(c) print('Yes'if len(d)==0 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,193
s181620930
p04012
u431068320
1588289642
Python
Python (3.4.3)
py
Accepted
17
2940
169
if __name__ == '__main__': s = input() se = set(s) for c in se: if s.count(c)%2 !=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,194
s598865150
p04012
u103178403
1588275126
Python
Python (3.4.3)
py
Accepted
17
3060
232
s=input() a=list(set(s)) if s.islower()!=True: print("No") else: d=dict() for i in range(len(a)): if a[i].islower: d[a[i]]=s.count(a[i]) b=[i for i in d.values()if i%2==0] print("Yes" if len(b)==len(a) 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,195
s333832111
p04012
u578694888
1588265290
Python
Python (3.4.3)
py
Accepted
17
2940
143
# -*- coding: utf-8 -*- w=list(input()) u=set(w) for i in u: if w.count(i)%2==1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,196
s825416383
p04012
u822044226
1588257008
Python
Python (3.4.3)
py
Accepted
23
3316
153
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,197
s502148229
p04012
u768559443
1588212958
Python
Python (3.4.3)
py
Accepted
18
2940
146
w=list(input()) alpha=list('abcdefghijklmnopqrstuvwxyz') for i in alpha: 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,198
s796129223
p04012
u798260206
1588206600
Python
Python (3.4.3)
py
Accepted
17
2940
194
w = input() alp = "abcdefghijklmnopqrstuvwxyz" ans = 0 for i in alp: W = w.count(i) if W%2 == 0: pass 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,198,199
s192276825
p04012
u320763652
1588194346
Python
Python (3.4.3)
py
Accepted
17
3060
207
w = input() dic ={} for s in w: if s in dic.keys(): dic[s] += 1 else: dic[s] = 1 for i in dic: val = dic[i] if val %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,200
s707339325
p04012
u188745744
1588189153
Python
Python (3.4.3)
py
Accepted
21
3316
182
import collections ans = input() ans = list(collections.Counter(ans).values()) for i in ans: if i % 2 == 0: pass else: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,201
s462791193
p04012
u981767024
1588182462
Python
Python (3.4.3)
py
Accepted
18
2940
313
# 2020/04/29 # AtCoder Beginner Contest 044 - B # Input w = input() # Init d = dict() # Calc for i in range(len(w)): if d.get(w[i]) == None: d[w[i]] = 1 else: d[w[i]] = d[w[i]] + 1 ans = 'Yes' for key in d: if d[key] % 2 == 1: ans = 'No' break # Output 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,202
s328956905
p04012
u770077083
1588123537
Python
Python (3.4.3)
py
Accepted
17
2940
157
w = input() d = {} for c in w: if c in d: d[c] = not d[c] else: d[c] = True for f in d.values(): if f: 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,203
s073111207
p04012
u121698457
1588123417
Python
Python (3.4.3)
py
Accepted
18
3064
354
w = input() G = [] q = 0 for x in w: if not ([x, True] in G or [x, False] in G): G.append([x, True]) else: if [x, True] in G: G[G.index([x, True])][1] = False else: G[G.index([x, False])][1] = True for h in range(len(G)): q += G[h][1] #print(G) if q == 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,198,204
s702061147
p04012
u901598613
1588120552
Python
Python (3.4.3)
py
Accepted
18
2940
170
N=input() for i in range(len(N)): if N.count(N[i])%2==0: if i==len(N)-1: print("Yes") continue else: print("No") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,205
s212777376
p04012
u752898745
1588093175
Python
Python (3.4.3)
py
Accepted
20
3316
165
import collections c=collections.Counter(list(input())) cv=list(c.values()) ans=0 for i in range(len(cv)): if cv[i]%2==1: ans+=1 print('YNeos'[ans>0::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,206
s262636221
p04012
u199459731
1588093170
Python
Python (3.4.3)
py
Accepted
17
2940
165
c_list = list(input()) flag = True for i in range(len(c_list)): if(c_list.count(c_list[i])%2 == 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,198,207
s036723629
p04012
u691446391
1588063063
Python
Python (3.4.3)
py
Accepted
17
3060
209
def main(): string = str(input()) dp = [0 for _ in range(26)] for i in range(len(string)): dp[ord(string[i])-ord('a')]+=1 for x in dp: if x%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,198,208
s362152802
p04012
u914797917
1588043658
Python
Python (3.4.3)
py
Accepted
17
2940
129
w=input() x=list(sorted(set(w))) flag=1 for i in x: if w.count(i)%2!=0: flag=0 break print('Yes' if flag==1 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,209
s548031634
p04012
u914797917
1588043572
Python
Python (3.4.3)
py
Accepted
17
2940
181
w=input() x=list(sorted(set(w))) #print(w,x) flag=1 for i in range(len(x)): #print(w.count(x[i])) if w.count(x[i])%2!=0: flag=0 break print('Yes' if flag==1 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,210
s651963965
p04012
u095094246
1588041037
Python
Python (3.4.3)
py
Accepted
17
2940
144
import sys w=input() x='abcdefghijklmnopqrstuvwxyz' for i in range(26): if w.count(x[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,211
s960731553
p04012
u308918401
1588034771
Python
Python (3.4.3)
py
Accepted
21
3316
238
import collections w=input() a=[] for i in range(len(w)): a.append(w[i]) c = collections.Counter(a) b=list(c.values()) flag="T" for i in range(len(b)): if b[i]%2!=0: print("No") flag="F" break if flag=="T": 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,212
s107521475
p04012
u502731482
1588017511
Python
Python (3.4.3)
py
Accepted
20
3316
209
from collections import defaultdict w = input() cnt = defaultdict(int) for i in range(len(w)): cnt[w[i]] += 1 for k, v in cnt.items(): if v % 2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,213
s924316363
p04012
u581603131
1588012137
Python
Python (3.4.3)
py
Accepted
18
2940
208
#bA 出現する要素は各1会で数えるのは良い(今回は文字列が短いからできただけ) w = list(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,198,214
s777082679
p04012
u581603131
1588012032
Python
Python (3.4.3)
py
Accepted
17
2940
107
w = list(input()) if all(w.count(w[i])%2==0 for i in range(len(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,215
s417431903
p04012
u277312083
1588009410
Python
Python (3.4.3)
py
Accepted
21
3316
200
from collections import Counter w = input() ans = "Yes" if len(w) ^ 1: d = Counter(w) for c in d: if d[c] & 1: ans = "No" break 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,198,216
s814976384
p04012
u760391419
1588007100
Python
Python (3.4.3)
py
Accepted
18
2940
89
ans = True w = input() for c in w: ans &= w.count(c)%2 == 0 print("Yes" if ans else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,217
s062408925
p04012
u595952233
1587948231
Python
Python (3.4.3)
py
Accepted
21
3316
206
from collections import Counter w = input() c = Counter() for iw in w: c[iw]+=1 f = True for v in c.values(): if v%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,218
s986245020
p04012
u934442292
1587920471
Python
Python (3.4.3)
py
Accepted
20
3316
273
import sys from collections import Counter input = sys.stdin.readline def main(): w = input().rstrip() c = Counter(w) ans = "Yes" for v in c.values(): if v % 2 != 0: ans = "No" print(ans) 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,219
s495932868
p04012
u032484849
1587908008
Python
Python (3.4.3)
py
Accepted
21
3316
167
from collections import Counter w=input() c=Counter(w) a=0 c=list(c.values()) for i in range(len(c)): if c[i]%2!=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,220
s478852648
p04012
u141410514
1587869230
Python
Python (3.4.3)
py
Accepted
17
2940
180
w = list(input()) A = [ 0 for _ in range(26)] for c in w: i = ord(c) - ord("a") A[i]+=1 ans = "Yes" for a in A: if a%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,221
s695585577
p04012
u115877451
1587850177
Python
Python (3.4.3)
py
Accepted
21
3316
228
import collections def calc_double(n): return n%2 a=input() b=collections.Counter(a) values=zip(*b.most_common()) c=list(values) e=c[1] d=list(map(int,e)) if sum(map(calc_double,d))==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,222
s646846257
p04012
u724687935
1587802460
Python
Python (3.4.3)
py
Accepted
21
3316
134
from collections import Counter C = Counter(list(input())) ans = 'No' if any(x % 2 for x in list(C.values())) else '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,223
s994186142
p04012
u915647268
1587800780
Python
Python (3.4.3)
py
Accepted
18
3060
188
w = input() count = {} for s in w: if not s in count.keys(): count[s] = 1 else: count[s] += 1 for i in count.values(): if not 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,224
s539777054
p04012
u151785909
1587795447
Python
Python (3.4.3)
py
Accepted
17
2940
150
s = input() for i in range(26): n = s.count(chr(ord('a')+i)) if n%2==1: print('No') break if i == 25: 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,225
s145940230
p04012
u506910932
1587786886
Python
Python (3.4.3)
py
Accepted
17
2940
168
s = input() alp = [0 for _ in range(26)] for c in s: alp[ord(c) - ord('a')] += 1 for i in alp: 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,198,226
s466012411
p04012
u189479417
1587746586
Python
Python (3.4.3)
py
Accepted
22
3316
155
from collections import Counter w = input() count = Counter(w) if all([value % 2 == 0 for value in count.values()]): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,227
s931777770
p04012
u487594898
1587741245
Python
Python (3.4.3)
py
Accepted
17
2940
190
import sys s = input() n = len(s) if n %2 != 0: print('No') sys.exit() for i in range(97,124): 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,198,228
s246307813
p04012
u787059958
1587707375
Python
Python (3.4.3)
py
Accepted
25
3444
257
from collections import defaultdict d = defaultdict(int) w = input() for i in w: d[i] += 1 t = True for key, v in d.items(): if (v % 2 == 0): continue else: t = False break if t: 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,229
s271040530
p04012
u276204978
1587707052
Python
Python (3.4.3)
py
Accepted
17
2940
105
w = input() ans = 1 for wi in w: ans ^= ord(wi) if ans == 1: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,230
s928956316
p04012
u239772565
1587699871
Python
Python (3.4.3)
py
Accepted
17
2940
137
w = input() for i in range(len(w)): w_i = w.count(w[i]) if w_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,198,231
s109806248
p04012
u843318346
1587699658
Python
Python (3.4.3)
py
Accepted
17
2940
103
w = input() asci = 0 for i in w: asci = asci^ord(i) if asci == 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,232
s408819678
p04012
u011062360
1587683115
Python
Python (3.4.3)
py
Accepted
21
3316
186
from collections import Counter list_S = list(input()) list_C = Counter(list_S).values() ans = "Yes" for num in list_C: if num % 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,233
s342231945
p04012
u437215432
1587670173
Python
Python (3.4.3)
py
Accepted
17
2940
263
w = input() # index, count = np.unique(list(w), return_counts=True) d = {} for c in w: if c in d.keys(): d[c] += 1 else: d.setdefault(c, 1) for i, j in d.items(): 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,198,234
s999093047
p04012
u581603131
1587650332
Python
Python (3.4.3)
py
Accepted
17
2940
115
w = input() W = set(w) 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,235
s159444056
p04012
u581603131
1587650173
Python
Python (3.4.3)
py
Accepted
17
2940
114
w = list(input()) for i in w: if w.count(i)%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,236
s492093667
p04012
u351892848
1587614666
Python
Python (3.4.3)
py
Accepted
20
3316
145
from collections import Counter w = input() c = Counter(w) ans = "Yes" for v in c.values(): if v % 2 == 1: ans = "No" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,237
s168360206
p04012
u886747123
1587612428
Python
Python (3.4.3)
py
Accepted
21
3316
147
from collections import Counter w = input() c = Counter(w) for x in c.values(): if x%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,238
s312330652
p04012
u870518235
1587593637
Python
Python (3.4.3)
py
Accepted
17
2940
195
w = list(input()) flag = 0 for i in range(len(w)): if w.count(w[i]) % 2 == 0: flag = 0 else: flag = 1 break if flag == 1: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,239
s979624231
p04012
u642418876
1587593328
Python
Python (3.4.3)
py
Accepted
17
2940
128
w=str(input()) x=0 for i in range(len(w)): if w.count(w[i])%2==0: x+=1 if x==len(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,240
s409988131
p04012
u193264896
1587592390
Python
Python (3.4.3)
py
Accepted
21
3316
281
import sys from collections import Counter readline = sys.stdin.buffer.readline MOD = 10**9+7 def main(): w = input() cnt = Counter(w) ans = 'Yes' for i in cnt.values(): if i&1: ans = 'No' print(ans) 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,241
s662455442
p04012
u068750695
1587589268
Python
Python (3.4.3)
py
Accepted
21
3316
166
from collections import Counter w=list(Counter(input()).values()) for i in range(len(w)): if w[i]%2!=0: print("No") exit() else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,242
s797669830
p04012
u068750695
1587589090
Python
Python (3.4.3)
py
Accepted
21
3316
180
from collections import Counter w=list(input()) a=Counter(w) b=list(a.values()) for i in range(len(b)): if b[i]%2!=0: print("No") exit() else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,243
s019776798
p04012
u863442865
1587569317
Python
Python (3.4.3)
py
Accepted
21
3444
667
def main(): import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque #from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,244
s721292866
p04012
u252964975
1587558884
Python
Python (3.4.3)
py
Accepted
17
3060
298
S=str(input()) s_list = "abcdefghijklmnopqrstuvwxyz" n_list = [] for i in range(26): n_list.append(0) for i in range(len(S)): n_list[s_list.index(S[i])] = n_list[s_list.index(S[i])] + 1 num = 1 for i in range(26): num = num * (n_list[i]+1) if num % 2 == 1: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,245
s249674174
p04012
u519923151
1587505136
Python
Python (3.4.3)
py
Accepted
21
3316
168
import collections w = input() wlist = list(w) c = collections.Counter(wlist) 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,198,246
s770492182
p04012
u141419468
1587495162
Python
Python (3.4.3)
py
Accepted
17
3060
175
w = str(input()) for i in range(len(w)): x = w.count(w[i]) if x % 2 == 0 and i == (len(w)-1): print('Yes') elif x%2 ==1: print('No') break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,247
s931522971
p04012
u131264627
1587475280
Python
Python (3.4.3)
py
Accepted
17
2940
134
w = input() alpha = 'abcdefghijklmnopqrstuvwxyz' ans = 'Yes' for i in alpha: if w.count(i) % 2 == 1: ans = 'No' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,248
s733657331
p04012
u342456871
1587432791
Python
Python (3.4.3)
py
Accepted
17
2940
155
w = input() for i in range(len(w)): x = w.count(w[i]) if (x%2 == 0 and i == (len(w)-1)): print("Yes") elif (x%2 == 1): print("No") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,249
s677320523
p04012
u735335967
1587416638
Python
Python (3.4.3)
py
Accepted
17
3060
197
w = input() len_w = len(w) w = sorted(w) moji = [chr(i) for i in range(97, 123)] l = [0]*len_w for i in range(len_w): if w.count(w[i]) % 2 != 0: 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,250
s491492081
p04012
u081784777
1587411363
Python
Python (3.4.3)
py
Accepted
17
3064
223
w = list(map(str,input())) w.sort() w = "".join(w) flag = 0 w = [w[i*2:i*2+2] for i in range(-(-len(w)//2))] for i in w: if len(i)==1 or not i[0] == i[1]: flag = 1 break print("Yes") if not flag 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,251
s896230282
p04012
u810978770
1587398811
Python
Python (3.4.3)
py
Accepted
21
3316
151
from collections import Counter w = input() ww = Counter(w) ans = "Yes" for i in ww: if ww[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,252
s212743262
p04012
u810978770
1587398685
Python
Python (3.4.3)
py
Accepted
21
3316
180
from collections import Counter w = input() ww = Counter(w) ans = "No" for i in ww: if ww[i] % 2 == 0: 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,253
s383318224
p04012
u318024671
1587336250
Python
Python (3.4.3)
py
Accepted
18
3060
252
w = input() strlist = ["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"] def search(): for i in strlist: if w.count(i) % 2 == 1: return "No" return "Yes" print(search())
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,254
s274149229
p04012
u349444371
1587331654
Python
Python (3.4.3)
py
Accepted
18
3192
1,079
w=input() l=[0]*26 for i in range(len(w)): if w[i]=="a": l[0]+=1 elif w[i]=="b": l[1]+=1 elif w[i]=="c": l[2]+=1 elif w[i]=="d": l[3]+=1 elif w[i]=="e": l[4]+=1 elif w[i]=="f": l[5]+=1 elif w[i]=="g": l[6]+=1 elif w[i]=="h": ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,255
s633341902
p04012
u634079249
1587329296
Python
Python (3.4.3)
py
Accepted
25
3832
869
import sys import os import math import string ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) fl = lambda: list(map(float, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,256
s404024597
p04012
u535171899
1587317337
Python
Python (3.4.3)
py
Accepted
21
3316
139
from collections import Counter w = input() dic = Counter(w) if all(v%2==0 for v in dic.values()): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,257
s169821073
p04012
u005469124
1587270228
Python
Python (3.4.3)
py
Accepted
17
2940
131
w = str(input()) n = int(0) for i in w: if w.count(i) %2 == 1: n +=1 if n==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,258
s793530458
p04012
u620868411
1587258143
Python
Python (3.4.3)
py
Accepted
21
3316
138
from collections import Counter c = Counter(list(input())) for k in c: if c[k]%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,259
s452551999
p04012
u535423069
1587219220
Python
Python (3.4.3)
py
Accepted
21
3316
768
import sys stdin = sys.stdin inf = 1 << 60 mod = 1000000007 ni = lambda: int(ns()) nin = lambda y: [ni() for _ in range(y)] na = lambda: list(map(int, stdin.readline().split())) nan = lambda y: [na() for _ in range(y)] nf = lambda: float(ns()) nfn = lambda y: [nf() for _ in range(y)] nfa ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,260
s510055042
p04012
u266569040
1587182499
Python
Python (3.4.3)
py
Accepted
18
3060
340
w = list(input()) w.sort() array = [] allset = list(set(w)) allset.sort() index = 0 lettercount = 0 bad_letter = 0 indexs = [] for i in range(len(w) - 1): if w[i] != w[i+1]: indexs.append(i+1) indexs.append(len(w)) for i in indexs: if i % 2 != 0: bad_letter += 1 print("No") if bad_letter > 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,198,261
s933414135
p04012
u021548497
1587166629
Python
Python (3.4.3)
py
Accepted
18
3064
243
s = input() n = len(s) key = dict() for i in range(n): if s[i] not in key: key[s[i]] = 1 else: key[s[i]] += 1 ans = True for value in key.values(): if value%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,198,262
s657667551
p04012
u306516971
1587159120
Python
Python (3.4.3)
py
Accepted
17
3060
207
import sys S = input() alp = list(set(S)) cnts = [0] * len(alp) for i in range(len(S)): cnts[alp.index(S[i])] += 1 for a in cnts: if a%2 == 1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,263
s024723060
p04012
u898999125
1587157696
Python
Python (3.4.3)
py
Accepted
17
3060
204
w=list(input()) w.sort() ans='Yes' count=1 for i in range(len(w)-1): if w[i]==w[i+1]: count+=1 else: if count%2==1: ans='No' break count=1 if count%2==1: ans='No' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,264
s058054927
p04012
u652656291
1587154787
Python
Python (3.4.3)
py
Accepted
17
2940
109
a=input() for i in range(len(a)): if a.count(a[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,265
s668536652
p04012
u057993957
1587094005
Python
Python (3.4.3)
py
Accepted
20
3316
175
from collections import Counter w = list(input()) w = Counter(w) flag = True for k, v in w.items(): if v % 2 != 0: flag = False break print("Yes" if flag 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,266
s162146733
p04012
u985125584
1587088450
Python
Python (3.4.3)
py
Accepted
17
2940
186
w = input() a = {} for i in w: if i not in a: a[i] = 1 else: a[i] += 1 for i in a.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,198,267
s444460026
p04012
u691018832
1587059264
Python
Python (3.4.3)
py
Accepted
20
3316
168
import sys read = sys.stdin.buffer.read from collections import Counter print('Yes' if all(v % 2 == 0 for v in Counter(read().rstrip().decode()).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,268
s888252407
p04012
u691018832
1587058968
Python
Python (3.4.3)
py
Accepted
21
3316
315
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) from collections import Counter for check in list(Counter(read().rstrip().decode()).values()): if check % 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,269
s940084972
p04012
u201802797
1587040971
Python
Python (3.4.3)
py
Accepted
17
2940
85
data = input() print("Yes" if all([data.count(i)%2==0 for i in set(data)]) 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,270