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
s786315364
p04012
u135265051
1599692166
Python
Python (3.8.2)
py
Accepted
25
8984
564
# import math # import statistics a=input() #b,c=int(input()),int(input()) c=[] for i in a: c.append(i) #e1,e2 = map(int,input().split()) # f = list(map(int,input().split())) #g = [input() for _ in range(a)] # h = [] # for i in range(e1): # h.append(list(map(int,input().split()))) se=set(c) c.sort() count=1 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,671
s869934842
p04012
u473905774
1599676428
Python
PyPy3 (7.3.0)
py
Accepted
78
64608
165
import collections s = input() c = collections.Counter(s) v = list(c.values()) for i in v: 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,672
s588005465
p04012
u457601965
1599598536
Python
Python (3.8.2)
py
Accepted
38
9708
152
import sys import string w = input() a_z = string.ascii_letters for i in a_z: if w.count(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,197,673
s181820995
p04012
u796563423
1599553212
Python
Python (3.8.2)
py
Accepted
27
9108
236
w=sorted(input()) total=False if len(w)==1: total=True print("No") else: for i in range(0,len(w),2): if w[i]!=w[i+1]: print("No") total=True break if total==False: 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,674
s781684607
p04012
u968404618
1599547971
Python
Python (3.8.2)
py
Accepted
32
9284
144
from collections import Counter W = input() C = Counter(W) for v in C.values(): if v % 2: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,675
s951049409
p04012
u913662443
1599535866
Python
Python (3.8.2)
py
Accepted
30
9364
150
import collections w = input() c = collections.Counter(w) for i in c.values(): if 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,197,676
s038761652
p04012
u103208639
1599524767
Python
Python (3.8.2)
py
Accepted
27
8940
97
w=input() ans="Yes" for i in w: if w.count(i)%2!=0: ans="No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,677
s361487799
p04012
u357751375
1599519903
Python
Python (3.8.2)
py
Accepted
26
9092
133
w = list(input()) x = list(set(w)) for i in x: y = w.count(i) if y % 2 != 0: print('No') exit(0) print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,678
s579076514
p04012
u239368018
1599503768
Python
Python (3.8.2)
py
Accepted
25
9084
187
s = input() di = {} for c in s: di[c] = 0 for c in s: di[c] +=1 is_beautiful = True for c in s: if di[c] %2 ==1: is_beautiful = False print('Yes' if is_beautiful 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,679
s179338769
p04012
u619557935
1599445848
Python
PyPy3 (7.3.0)
py
Accepted
69
64496
167
from collections import Counter w = input() cnt = Counter(w) for key in cnt.keys(): if cnt[key] % 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,680
s538933119
p04012
u498531348
1599443149
Python
PyPy3 (7.3.0)
py
Accepted
69
64864
239
import collections w = input() w = sorted(w) if len(w) % 2 != 0: print('No') exit() C = collections.Counter(w) 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,197,681
s388677734
p04012
u344276999
1599442899
Python
Python (3.8.2)
py
Accepted
25
9032
188
w = input() d = {} for i in range(len(w)): if w[i] not in d.keys(): d[w[i]] = 1 else: d[w[i]] += 1 for v in d.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,197,682
s756034334
p04012
u381585104
1599441649
Python
Python (3.8.2)
py
Accepted
28
9000
143
s = input() al = "abcdefghijklmnopqrstuvwxyz" f = True for e in al: if s.count(e)%2 != 0: f = False break print("Yes" if f 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,683
s246688975
p04012
u708211626
1599433583
Python
Python (3.8.2)
py
Accepted
26
9000
114
w = list(input()) s = set(w) for i in s: if w.count(i)%2 != 0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,684
s951351679
p04012
u708211626
1599433045
Python
Python (3.8.2)
py
Accepted
32
9372
247
import collections import sys a=input() b=[] for i in a: b.append(i) b.sort() c=collections.Counter(b) c=list(c.values()) for i in range(len(c)): if int(c[i])%2==0: q=0 else: q=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,197,685
s326014913
p04012
u620846115
1599425923
Python
Python (3.8.2)
py
Accepted
27
8940
138
n = input() dic = 'abcdefghijklmnopqrstuvwxyz' for i in range(26): if n.count(str(dic[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,686
s257689599
p04012
u304612256
1599418181
Python
Python (3.8.2)
py
Accepted
25
9056
457
from sys import stdin input = stdin.readline D = {'a':0, 'b':1, 'c':2, 'd':3, 'e':4, 'f':5, 'g':6, 'h':7, 'i':8, 'j':9, 'k':10,'l':11,'m':12,'n':13,'o':14, 'p':15,'q':16,'r':17,'s':18,'t':19, 'u':20,'v':21,'w':22,'x':23,'y':24,'z':25} W = list(input().strip()) T = [0] * 26 for w in W: T[D[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,197,687
s413094809
p04012
u591016708
1599416551
Python
Python (3.8.2)
py
Accepted
26
9012
124
w = input() s = set(list(w)) for item in s: if w.count(item) % 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,688
s265448763
p04012
u239091426
1599416306
Python
Python (3.8.2)
py
Accepted
29
9096
111
w = list(input()) s = set(w) for i in s: if w.count(i)%2 != 0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,689
s543197457
p04012
u107639613
1599354475
Python
PyPy3 (7.3.0)
py
Accepted
70
64496
384
import sys from collections import defaultdict def input(): return sys.stdin.readline().strip() def main(): w = input() d = defaultdict(int) for c in w: d[c] += 1 cond = True for key in d: if d[key] % 2 != 0: cond = False break if cond: print("Yes") e...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,690
s470725159
p04012
u250734103
1599335786
Python
Python (3.8.2)
py
Accepted
28
8924
177
w = input() w_set = set(w) d = {} for i in w_set: d[i] = 0 for i in w: d[i] += 1 for i in d.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,691
s499785404
p04012
u250734103
1599335508
Python
Python (3.8.2)
py
Accepted
26
9028
186
w = input() w_set = set(w) d = {} for i in w_set: d[i] = 0 for i in w: d[i] += 1 for i in d.values(): if 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,197,692
s508114448
p04012
u035210736
1599269185
Python
Python (3.8.2)
py
Accepted
26
8948
97
s = list(input()) if all(s.count(x) % 2 == 0 for x in set(s)): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,693
s181986501
p04012
u384793271
1599263290
Python
Python (3.8.2)
py
Accepted
30
9260
149
from collections import Counter w = Counter([c for c in input()]) if all([v % 2 == 0 for k, v in w.items()]): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,694
s496950509
p04012
u014333473
1599227703
Python
Python (3.8.2)
py
Accepted
28
9032
63
s=input();print('NYoe s'[all([s.count(i)%2==0 for i in s])::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,695
s317853721
p04012
u014333473
1599227677
Python
Python (3.8.2)
py
Accepted
27
8976
68
s=input();print('NYoe s'[all([s.count(i)%2==0 for i in set(s)])::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,696
s425086677
p04012
u014333473
1599227625
Python
Python (3.8.2)
py
Accepted
28
9100
71
s=[*input()];print('NYoe s'[all([s.count(i)%2==0 for i in set(s)])::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,697
s934877618
p04012
u014333473
1599227574
Python
Python (3.8.2)
py
Accepted
31
9100
83
s=[*input()];print('NYoe s'[all([1 if s.count(i)%2==0 else 0 for i in set(s)])::2])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,698
s428854006
p04012
u014333473
1599227479
Python
Python (3.8.2)
py
Accepted
31
9336
106
import collections as c print('NYoe s'[all([1 if i%2==0 else 0 for i in c.Counter(input()).values()])::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,197,699
s555168352
p04012
u164776089
1599193286
Python
Python (3.8.2)
py
Accepted
32
9352
225
import collections w = str(input()) x = collections.Counter(w) n = 0 for i in x.values(): if i % 2 ==0: n += 1 continue if n == len(x.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,700
s420572446
p04012
u776311944
1599187480
Python
Python (3.8.2)
py
Accepted
25
9120
272
w = list(input()) w.sort() cnt = 1 for i in range(len(w)-1): if w[i] != w[i+1]: if cnt % 2 == 1: print('No') exit() else: cnt = 1 else: cnt += 1 if cnt % 2 == 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,197,701
s028031730
p04012
u261103969
1599179645
Python
PyPy3 (7.3.0)
py
Accepted
69
64960
435
import sys readline = sys.stdin.readline MOD = 10 ** 9 + 7 INF = float('INF') sys.setrecursionlimit(10 ** 5) def main(): from collections import Counter w = input() c = Counter(w) def judge(): for key, val in c.items(): if val % 2 == 1: return False retur...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,702
s495461897
p04012
u165388538
1599144584
Python
Python (3.8.2)
py
Accepted
24
9088
186
w = input() bea = True elements = set(list(w)) for element in elements: if w.count(element) % 2 != 0: print("No") bea = False break if bea: 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,703
s511229987
p04012
u074220993
1599090569
Python
Python (3.8.2)
py
Accepted
33
9392
250
from collections import defaultdict as dd def beautiful(s): D = dd(lambda:0) for c in s: D[c] += 1 if any(d&1 for d in D.values()): return False else: return True print('Yes' if 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,197,704
s198800834
p04012
u705418271
1599078335
Python
Python (3.8.2)
py
Accepted
29
9064
137
from collections import Counter w=input() d=Counter(w) ans="Yes" for i in d.values(): 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,197,705
s799416159
p04012
u825186577
1599059193
Python
Python (3.8.2)
py
Accepted
28
8972
218
w = input() dict_ = {} for i in w: dict_.setdefault(i, 0) dict_[i] +=1 flg = True for v in dict_.values(): if v % 2 != 0: flg = False break if flg: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,706
s232431891
p04012
u161134623
1599026916
Python
Python (3.8.2)
py
Accepted
28
9020
192
s = input() d = {} for i in s: if i not in d: d[i] = 1 else: d[i] += 1 for i in d.values(): if i & 1 != 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,197,707
s962771068
p04012
u583507988
1599003023
Python
PyPy3 (7.3.0)
py
Accepted
60
61584
152
w=input() data='abcdefghijklmnopqrstuvwxyz' for i in range(26): if w.count(data[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,197,708
s386828958
p04012
u940652437
1598994231
Python
Python (3.8.2)
py
Accepted
31
9236
2,090
w = input() count=0 if(w.count("a")%2==0): if(w.count("b")%2==0): if(w.count("c")%2==0): if(w.count("d")%2==0): if(w.count("e")%2==0): if(w.count("f")%2==0): if(w.count("g")%2==0): if(w.count("h")%2==0): ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,709
s620312867
p04012
u980753441
1598988006
Python
Python (3.8.2)
py
Accepted
26
9092
97
w = [w for w in input()] w1 = sorted(w) w2 = sorted(w1[::2]*2) print('Yes' if w1 == w2 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,710
s154885344
p04012
u244416763
1598962121
Python
Python (3.8.2)
py
Accepted
28
9036
115
w = list(input()) s = list(set(w)) for i in s: if w.count(i)%2: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,711
s795415260
p04012
u460745860
1598909087
Python
Python (3.8.2)
py
Accepted
32
9336
184
from collections import Counter w = input() countAlphabets = Counter(w) for count in countAlphabets.values(): if count % 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,712
s981784078
p04012
u353548710
1598877932
Python
Python (3.8.2)
py
Accepted
27
9028
135
w = input() wl = list(w) ws = set(w) for i in ws: if wl.count(i) % 2 == 1: r = 'No' break else: r = 'Yes' print(r)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,713
s073721511
p04012
u395620499
1598847317
Python
Python (3.8.2)
py
Accepted
27
8972
194
w = input() s = {} for c in w: if c in s: s[c] += 1 else: s[c] = 1 b = True for k,v in s.items(): b = b and v % 2 == 0 if b: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,714
s749065569
p04012
u999503965
1598840457
Python
Python (3.8.2)
py
Accepted
28
9384
136
from collections import Counter w=input() d=Counter(w) ans="Yes" for i in d.values(): 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,197,715
s433021664
p04012
u710515311
1598747920
Python
Python (3.8.2)
py
Accepted
29
9076
264
import sys input = sys.stdin.readline def solve(): w = list(input().rstrip()) s = set(w) for i in s: if len([x for x in w if x == i]) % 2 == 1: print('No') exit() print('Yes') if __name__ == "__main__": solve()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,716
s623060151
p04012
u668271522
1598678880
Python
Python (3.8.2)
py
Accepted
26
8988
99
w = input() for x in w: if w.count(x) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,717
s496967581
p04012
u909716307
1598660402
Python
Python (3.8.2)
py
Accepted
26
8980
161
w=input() d={} for c in w: if c in d: d[c]+=1 else: d[c]=1 for k in d: if d[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,718
s483952236
p04012
u589969467
1598650121
Python
Python (3.8.2)
py
Accepted
27
9004
227
w = str(input()) dic = {} for s in w: dic.setdefault(s,0) dic[s] += 1 #print(dic) isOK = True for i in dic.values(): if i % 2 != 0: isOK = False break if isOK: 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,719
s541390884
p04012
u306412379
1598648667
Python
Python (3.8.2)
py
Accepted
31
8988
119
w = input() for x in w: if w.count(x) % 2 == 0: w.replace(x, '') 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,197,720
s370131458
p04012
u787059958
1598568410
Python
Python (3.8.2)
py
Accepted
33
9328
179
from collections import Counter w = input() c = Counter(w) for i, v in c.items(): if v % 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,197,721
s860051606
p04012
u840037795
1598490986
Python
PyPy3 (7.3.0)
py
Accepted
64
61784
232
w = input() chars = [] for c in w: chars.append(c) cset = set(chars) beautiful = True for c in cset: if chars.count(c) % 2 != 0: beautiful = False break if 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,197,722
s846259884
p04012
u677393869
1598476671
Python
Python (3.8.2)
py
Accepted
25
9004
239
N = input() ans_num = 0 # 重複を消して抽出する set_N = list(set(N)) for i in set_N: if N.count(i) % 2 == 1: ans_num = 1 break else: continue if ans_num == 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,197,723
s910218486
p04012
u760760982
1598409770
Python
Python (3.8.2)
py
Accepted
28
9032
131
w = list(input()) W = set(w) for i in W: ans = w.count(i) if ans % 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,724
s278883255
p04012
u120651703
1598406141
Python
Python (3.8.2)
py
Accepted
32
9116
211
w = input() w_dict = {} for char in w: if char in w_dict: w_dict[char] += 1 else: w_dict[char] = 1 if all(elem%2 == 0 for elem in w_dict.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,725
s080873286
p04012
u972474792
1598405918
Python
PyPy3 (7.3.0)
py
Accepted
62
61884
244
w=list(input()) W=list(set(w)) a=[] for i in range(len(W)): a.append(w.count(W[i])) b=[] for i in range(len(a)): if a[i]%2==0: b.append('yes') else: b.append('no') if 'no' in b: 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,726
s404265002
p04012
u863723142
1598377621
Python
Python (3.8.2)
py
Accepted
29
9076
472
str_line = input() str_line = list(str_line) str_line.sort() #print(str_line) temp = 0 stnum_list = [] for i in range(1,len(str_line)-1): if str_line[i] == str_line[i-1]: temp += 1 else: stnum_list.append(temp) temp = 0 rsult = 1 #print(len(str_line)) if len(str_line...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,727
s163482995
p04012
u188827677
1598355810
Python
Python (3.8.2)
py
Accepted
29
9396
145
from collections import Counter w = list(input()) cnt = Counter(w) for i in cnt.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,728
s274516766
p04012
u054473438
1598313538
Python
Python (3.8.2)
py
Accepted
31
9184
136
from collections import Counter W = input() x = Counter(W) for x1 in x.values(): if x1 % 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,729
s012880524
p04012
u582084082
1598199252
Python
Python (3.8.2)
py
Accepted
29
9088
104
w = str(input()) for i in w: if w.count(i) % 2 == 1: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,730
s373972180
p04012
u771541471
1598152339
Python
Python (3.8.2)
py
Accepted
34
8980
208
w=input() dic={} for i in range(len(w)): x=w[i] if x in dic: dic[x]+=1 else: dic[x]=1 ans="Yes" for key in dic.values(): if key%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,731
s084618002
p04012
u468972478
1598144356
Python
Python (3.8.2)
py
Accepted
29
9024
139
n = input() ans = 0 for i in set(n): if n.count(i) % 2 == 0: ans += 1 if ans == len(set(n)): 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,732
s935498763
p04012
u510331904
1598136731
Python
Python (3.8.2)
py
Accepted
27
8956
139
#!/usr/bin/env python3 w = input() for i in range(len(w)): if w.count(w[i]) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,733
s311239041
p04012
u653837719
1598131968
Python
PyPy3 (7.3.0)
py
Accepted
63
61852
211
from sys import exit w = input() d = dict() for c in w: if c not in d: d[c] = 1 else: d[c] += 1 for v in d.values(): 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,197,734
s315665056
p04012
u807772568
1598127263
Python
PyPy3 (7.3.0)
py
Accepted
70
65452
1,389
import sys,collections as cl,bisect as bs sys.setrecursionlimit(100000) input = sys.stdin.readline mod = 10**9+7 Max = sys.maxsize def l(): #intのlist return list(map(int,input().split())) def m(): #複数文字 return map(int,input().split()) def onem(): #Nとかの取得 return int(input()) def s(x): #圧縮 a = [] if 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,197,735
s058576314
p04012
u432453907
1598123423
Python
Python (3.8.2)
py
Accepted
24
9080
112
s=str(input()) ans="Yes" for i in set(s): if s.count(i) % 2 != 0: ans="No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,736
s837300919
p04012
u432453907
1598123199
Python
Python (3.8.2)
py
Accepted
24
8948
218
W=str(input()) cnt=[0 for i in range(26)] ans="Yes" for i in range(len(W)): for j in range(26): if ord(W[i])==97+j: cnt[j]+=1 for s in range(26): if cnt[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,737
s156102518
p04012
u070201429
1598110154
Python
PyPy3 (7.3.0)
py
Accepted
68
64868
168
w = list(input()) from collections import Counter dic = Counter(w) for i in dic.values(): if 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,197,738
s318409911
p04012
u955248595
1598086910
Python
Python (3.8.2)
py
Accepted
30
9028
163
from collections import Counter W = Counter(list(input())) Flag = True for TW in W: if W[TW]%2!=0: Flag = False break print(['No','Yes'][Flag])
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,739
s189707844
p04012
u591503175
1598038627
Python
Python (3.8.2)
py
Accepted
30
9396
284
def resolve(): ''' code here ''' import collections w = input() cnt = collections.Counter(w) for i, v in cnt.items(): if v %2 != 0: print('No') break else: print('Yes') if __name__ == "__main__": 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,197,740
s732061903
p04012
u477142306
1597994573
Python
Python (3.8.2)
py
Accepted
28
8864
94
s=input() for i in s: if s.count(i)%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,741
s958115587
p04012
u190195462
1597982338
Python
Python (3.8.2)
py
Accepted
28
9048
289
w =str(input()) length = len(w) z = sorted(w) i=1 m=0 if length%2 == 1: m = 1 pass else: while i < length: if z[i]==z[i-1]: i += 2 else: m = 1 break if m == 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,197,742
s432652914
p04012
u070423038
1597893069
Python
Python (3.8.2)
py
Accepted
27
8944
110
s = input() for i in set(s): if not s.count(i) % 2 == 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,743
s211554155
p04012
u314188085
1597861493
Python
Python (3.8.2)
py
Accepted
30
9120
229
w = list(input()) alp = [chr(i) for i in range(ord('a'), ord('z')+1)] beautiful = True for i in alp: if w.count(i)%2 != 0: beautiful = False break if 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,197,744
s415160814
p04012
u451965785
1597851231
Python
Python (3.8.2)
py
Accepted
28
9012
145
S = str(input()) Flag = False for i in S: if not S.count(i) % 2 == 0: Flag = True 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,197,745
s364757137
p04012
u179169725
1597807245
Python
Python (3.8.2)
py
Accepted
29
9284
111
from collections import Counter cnt=Counter(input()) print('No' if any([x&1 for x in cnt.values()]) else 'Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,746
s205584939
p04012
u255898796
1597806598
Python
Python (3.8.2)
py
Accepted
32
9240
312
a = input() b = [] c = int(len(a)) import collections for i in range(c): b.append(a[i]) d = collections.Counter(b) e = [] for i in d.values(): e.append(i) f = int(len(e)) g = int(0) for i in range(f): if int(e[i]) % 2 == 0: pass else: g = g + 1 if g == 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,197,747
s766593068
p04012
u969708690
1597710308
Python
Python (3.8.2)
py
Accepted
31
9404
139
import collections S=list(input()) c = collections.Counter(S) L=c.values() 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,197,748
s373320596
p04012
u512551187
1597608767
Python
PyPy3 (7.3.0)
py
Accepted
65
64952
171
from collections import * s=input() c=Counter(s) f=0 for i in list(c.values()): if(i%2==1): f=1 break if(f==0): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,749
s789040230
p04012
u981864683
1597524707
Python
Python (3.8.2)
py
Accepted
28
9052
221
w = input() group = set(w) count = [] for i in group: count.append(w.count(i)) ans = 0 for j in count: if j % 2 == 1: ans = 1 else: pass 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,197,750
s867384904
p04012
u138083942
1597517377
Python
PyPy3 (7.3.0)
py
Accepted
86
71876
430
def resolve(): import sys input = sys.stdin.readline # row = [int(x) for x in input().rstrip().split(" ")] # n = int(input().rstrip()) w = input().rstrip() import string result = {alp: True for alp in string.ascii_lowercase} for c in w: result[c] = not result[c] if all(r...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,751
s069462549
p04012
u821588465
1597501069
Python
Python (3.8.2)
py
Accepted
28
9000
80
s = input() print('Yes' if all([s.count(i) % 2 == 0 for i in set(s)]) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,752
s583640840
p04012
u821588465
1597500452
Python
Python (3.8.2)
py
Accepted
36
9328
176
from collections import Counter s = list(input()) l = list(Counter(s).values()) for i in range(len(l)): if l[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,753
s621887563
p04012
u218838821
1597473571
Python
Python (3.8.2)
py
Accepted
27
9040
226
w = input() W = [] for i in range(len(w)): W.append(w[i]) W.sort() if len(w) % 2 == 1: print("No") exit() for i in range(len(w)//2): if not W[2*i] == W[2*i+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,754
s409535710
p04012
u720558413
1597469461
Python
Python (3.8.2)
py
Accepted
30
9048
1,185
S = input() flag = True if S.count('a') % 2 == 1: flag = False elif S.count('b') % 2 == 1: flag = False elif S.count('c') % 2 == 1: flag = False elif S.count('d') % 2 == 1: flag = False elif S.count('e') % 2 == 1: flag = False elif S.count('f') % 2 == 1: flag = False elif S.count('g') % 2 == 1: flag = Fa...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,755
s437709023
p04012
u102902647
1597463091
Python
PyPy3 (7.3.0)
py
Accepted
70
64940
211
import collections w = input() _dict = collections.Counter([x for x in w]) flag = True for i in _dict.values(): if i%2 == 1: flag = False break if flag: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,756
s343901593
p04012
u898058223
1597432412
Python
Python (3.8.2)
py
Accepted
25
8932
166
a=input() s=[0]*26 for i in range(len(a)): s[ord(a[i])-ord("a")]+=1 for i in range(26): if s[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,197,757
s751968412
p04012
u813387707
1597413037
Python
Python (3.8.2)
py
Accepted
35
9340
190
from collections import defaultdict w = input() d = defaultdict(int) for c in w: d[c] += 1 ans = "Yes" for v in d.values(): if v % 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,197,758
s974708602
p04012
u411923565
1597380279
Python
Python (3.8.2)
py
Accepted
28
8960
167
#B - 美しい文字列 w = list(input()) count = [0]*26 for i in w: count[ord(i)-97] += 1 if all(i%2 == 0 for i in count): 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,759
s832369740
p04012
u378299699
1597281464
Python
Python (3.8.2)
py
Accepted
28
8988
184
W = input() W_list = set(list(s for s in W)) ans = True for s in W_list: if W.count(s) % 2 != 0: ans = False break 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,197,760
s644683567
p04012
u642528832
1597206034
Python
Python (3.8.2)
py
Accepted
28
8996
137
w = input() for i in range(len(w)): if w.count(w[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,197,761
s430441791
p04012
u066869486
1597203516
Python
Python (3.8.2)
py
Accepted
32
9100
162
w = sorted(input()) elements = set(w) check = 0 for e in elements: if w.count(e)%2 != 0: check = 1 if check == 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,197,762
s731768354
p04012
u166012301
1597202948
Python
Python (3.8.2)
py
Accepted
27
9104
220
w = input() d = {} for s in w: if d.get(s, -1) == -1: d[s] = 1 else: d[s] += 1 good = True for key in d: if d[key] % 2 != 0: good = False break print('Yes' if good 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,763
s886771865
p04012
u740909619
1597165081
Python
Python (3.8.2)
py
Accepted
34
9276
289
# B - 美しい文字列 def main(): import collections w = input() w_c = collections.Counter(w) for v in w_c.values(): if v % 2 != 0: print('No') exit() else: 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,197,764
s423711812
p04012
u349449706
1597118370
Python
PyPy3 (7.3.0)
py
Accepted
68
61728
116
w = input() for i in range(26): if w.count(chr(97+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,765
s128971341
p04012
u743164083
1597111311
Python
Python (3.8.2)
py
Accepted
31
9156
162
from collections import Counter f = True s = Counter(input()) for i in list(s.values()): if i % 2 != 0: f = False print("Yes") if f 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,766
s713977896
p04012
u177125607
1597094314
Python
Python (3.8.2)
py
Accepted
29
8932
146
w = list(input()) for c in range(ord('a'), ord('z')+1): if w.count(chr(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,767
s810254139
p04012
u972658925
1597081939
Python
Python (3.8.2)
py
Accepted
28
9028
164
w = list(input()) ww = list(set(w)) for i in range(len(ww)): num = w.count(ww[i]) if num % 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,197,768
s961005473
p04012
u401686269
1597081790
Python
Python (3.8.2)
py
Accepted
34
9388
138
from collections import Counter c = Counter(input()) for k in c.keys(): 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,197,769
s717846638
p04012
u265118937
1597044197
Python
Python (3.8.2)
py
Accepted
28
9028
98
w = input() for i in w: if w.count(i) %2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,770