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
s963811173
p04012
u249987458
1597043635
Python
Python (3.8.2)
py
Accepted
33
9304
230
w1 = str(input()) w2 = [] for i in range(len(w1)): w2.append(w1[i]) from collections import Counter w = Counter(w2).most_common() x = 'Yes' for h in range(len(w)): if w[h][1]%2 != 0: x = 'No' break print(x)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,771
s116507159
p04012
u894623942
1597039683
Python
Python (3.8.2)
py
Accepted
26
9076
145
w = input() w_set = set(w) w_len = list(w) for i in w_set: if w_len.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,772
s982039960
p04012
u519339498
1597035805
Python
Python (3.8.2)
py
Accepted
30
8924
146
w=input() l=[0]*26 for i in range(len(w)): l[ord(w[i])-97]+=1 for j in range(26): if l[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,197,773
s427112122
p04012
u739843002
1597024000
Python
Python (3.8.2)
py
Accepted
32
8988
171
w = list(input()) s = list(set(w)) beautiful = True for i in range(len(s)): if w.count(s[i]) % 2 != 0: beautiful = False print("Yes") if beautiful 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,774
s096212778
p04012
u074220993
1597018096
Python
Python (3.8.2)
py
Accepted
29
9116
209
w = input() D = {} for i in range(len(w)): if w[i] in D: D[w[i]] += 1 else: D[w[i]] = 1 for x in D.values(): if x % 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,775
s801930735
p04012
u344888046
1597011798
Python
Python (3.8.2)
py
Accepted
26
9036
156
w = list(input()) S = [chr(i) for i in range(97, 97 + 26)] for S in S: if w.count(S) % 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,776
s772313272
p04012
u175217658
1597002076
Python
Python (3.8.2)
py
Accepted
31
9104
276
w = list(input()) j = 0 ans = 0 if(len(w)%2 != 0): print('No') else: for i in range(len(w)): j = w.count(w[i]) if(j%2 == 0 and i == len(w)-1): print('Yes') break elif(j%2 != 0): 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,197,777
s752623797
p04012
u226779434
1596996485
Python
Python (3.8.2)
py
Accepted
32
9096
111
s = input() ss =set(s) cnt = 0 for i in ss: if s.count(i)%2 !=0: cnt =1 print("Yes" if cnt ==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,197,778
s765965018
p04012
u679817762
1596995781
Python
Python (3.8.2)
py
Accepted
25
9108
185
s = input() lst = [] for i in range(len(s)): lst.append(s[i]) lst2 = list(set(lst)) result = 'Yes' for i in lst2: if lst.count(i) % 2 != 0: result = 'No' print(result)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,779
s833573695
p04012
u363825867
1596952517
Python
Python (3.8.2)
py
Accepted
29
9184
156
from collections import Counter w = Counter(list(input())) f = True for k, v in w.items(): if v % 2 == 1: f = False 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,780
s843129436
p04012
u780698286
1596935294
Python
Python (3.8.2)
py
Accepted
29
8964
138
import sys w = list(input()) s = list(set(w)) for i in s: if w.count(i) % 2 == 1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,781
s448236700
p04012
u394244719
1596857493
Python
PyPy3 (7.3.0)
py
Accepted
82
64524
383
import sys from collections import Counter inint = lambda: int(sys.stdin.readline()) inintm = lambda: map(int, sys.stdin.readline().split()) inintl = lambda: list(inintm()) instrm = lambda: map(str, sys.stdin.readline().split()) instrl = lambda: list(instrm()) w = input() c = Counter(w) for i in tuple(c): if c...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,782
s091301489
p04012
u146066372
1596855747
Python
Python (3.8.2)
py
Accepted
30
8920
177
w=input() W=len(w) for i in range(W): if w.count(w[i])%2==0: if i==W-1: print("Yes") break 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,197,783
s835472447
p04012
u789290859
1596840870
Python
Python (3.8.2)
py
Accepted
26
8968
231
str1 = input() wo = list(str1) li = [0 for i in range(26)] for i in range(len(wo)): li[ord(wo[i])-97] += 1 flag = True for i in range(26): if li[i] % 2 != 0: flag = False if flag: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,784
s082623107
p04012
u478417863
1596832426
Python
Python (3.8.2)
py
Accepted
34
9040
301
def groupby(a): a2=[[a[0],1]] for i in range(1,len(a)): if a2[-1][0]==a[i]: a2[-1][1]+=1 else: a2.append([a[i],1]) return a2 w=list(input()) w.sort() w=groupby(w) for i in w: if i[1]%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,785
s265658500
p04012
u627691992
1596827233
Python
Python (3.8.2)
py
Accepted
25
9020
116
w = input() for c in set(w): if(w.count(c) % 2 != 0): print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,786
s498801350
p04012
u953379577
1596822614
Python
Python (3.8.2)
py
Accepted
26
9012
151
w = list(input()) al = list("abcdefghijklmnopqrstuvwxyz") for i in al: 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,197,787
s324402334
p04012
u083184913
1596822005
Python
Python (3.8.2)
py
Accepted
27
9020
147
w=input() while True: w1=w[0] s=w.count(w1) if s%2!=0: print("No") break w=w.replace(w1,"") if w=="": print("Yes") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,788
s179246585
p04012
u809819902
1596820878
Python
PyPy3 (7.3.0)
py
Accepted
64
61812
133
s=input() li=[0]*26 for i in range(len(s)): li[ord(s[i])-97]+=1 res="Yes" for i in li: if i%2==1: res="No" print(res)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,789
s512221997
p04012
u552738814
1596767684
Python
Python (3.8.2)
py
Accepted
29
9040
157
w = input() tf = True for i in range(len(w)): if w.count(w[i]) % 2 != 0: tf = False break if tf: 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,790
s224138911
p04012
u455957070
1596718819
Python
Python (3.8.2)
py
Accepted
29
9008
160
w = list(input()) a = list("abcdefghijklmnopqrstuvwxyz") f = 0 for i in range(26): if w.count(a[i]) % 2 == 1: f = 1 print("Yes" if f == 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,197,791
s968583343
p04012
u806976856
1596693239
Python
Python (3.8.2)
py
Accepted
25
9092
170
w=list(input()) a=list("abcdefghijklmnopqrstuvwxyz") f=0 for i in range(26): if w.count(a[i])%2==1: f=1 print("Yes" if f==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,197,792
s022215321
p04012
u433380437
1596687284
Python
PyPy3 (7.3.0)
py
Accepted
61
61692
134
w=str(input()) W=list(set(list(w))) 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,793
s446710921
p04012
u330799501
1596646198
Python
Python (3.8.2)
py
Accepted
26
9020
297
#k = int(input()) #s = input() #a, b = map(int, input().split()) #s, t = map(str, input().split()) #l = list(map(int, input().split())) #l = [list(map(int,input().split())) for i in range(n)] w = input() for s in w: if (w.count(s) % 2 != 0): print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,794
s230456407
p04012
u218216885
1596592167
Python
Python (3.8.2)
py
Accepted
29
9096
163
w = list(input()) sw = set(w) flag = True for i in sw: if w.count(i)%2 != 0: flag = False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,795
s031987921
p04012
u394721319
1596591764
Python
Python (3.8.2)
py
Accepted
29
9116
265
w = list(input()) w.sort() c = 1 p = w[0] for i in range(1,len(w)): if p == w[i]: c += 1 else: if c%2 == 1: print('No') exit() c = 1 p = w[i] if len(w) == 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,796
s833954856
p04012
u328510800
1596590708
Python
Python (3.8.2)
py
Accepted
32
9348
143
from collections import Counter flg = True c = Counter(input()) for v in c.values(): flg = flg and v % 2 == 0 print('Yes' if flg 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,797
s620272799
p04012
u642874916
1596567535
Python
Python (3.8.2)
py
Accepted
29
9112
154
S = input() m = {} for s in S: if s not in m: m[s] = 0 m[s] += 1 for k in m.keys(): if m[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,798
s865066338
p04012
u200245833
1596376035
Python
Python (3.8.2)
py
Accepted
33
9344
137
import collections s = list(input()) c = collections.Counter(s) for s1 in c.values(): if s1 % 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,799
s332767625
p04012
u692690314
1596217459
Python
Python (3.8.2)
py
Accepted
30
9336
185
import collections w = input() flag = True for i in collections.Counter(w).values(): if i % 2 != 0: print('No') flag = False break if flag: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,800
s767184239
p04012
u016881126
1596174945
Python
Python (3.8.2)
py
Accepted
30
9308
315
import sys readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines read = sys.stdin.buffer.read sys.setrecursionlimit(10 ** 7) INF = float('inf') w = input() import collections c = collections.Counter(w) for k, v in c.items(): if v % 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,197,801
s083490213
p04012
u039860745
1596079078
Python
Python (3.8.2)
py
Accepted
30
9128
185
w = input() A = [0] * 26 for i in w: A[ord(i) - 97] += 1 flag = True for a in A: if a % 2 == 1: flag = False if flag == False: 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,802
s326482335
p04012
u259190728
1596053575
Python
Python (3.8.2)
py
Accepted
28
9064
234
s=input() if len(s)&1: print("No") else: d={} c=0 for i in s: d[i]=d.get(i,0)+1 for i in d: if d[i]&1: c=1 break if c: 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,803
s769693988
p04012
u257332942
1596006992
Python
Python (3.8.2)
py
Accepted
30
9076
242
w = input() if len(w) % 2 != 0: print('No') exit() cnt = [0]*30 for i in range(len(w)): a = ord(w[i]) - ord('a') cnt[a] += 1 for i in range(len(cnt)): if cnt[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,804
s205131831
p04012
u746428948
1595961581
Python
Python (3.8.2)
py
Accepted
27
9116
205
s = input() alphabets = [0] * 26 for i in range(len(s)): a = ord(s[i]) alphabets[a-97] += 1 flag = True for x in alphabets: if x % 2 != 0: flag = False if flag: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,805
s666338636
p04012
u044964932
1595957190
Python
Python (3.8.2)
py
Accepted
26
9404
275
from collections import Counter def main(): w = list(input()) w_counter = Counter(w) ans = 'Yes' for key, value in w_counter.items(): if value % 2 != 0: ans = 'No' break 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,197,806
s570258437
p04012
u942051624
1595950574
Python
Python (3.8.2)
py
Accepted
36
9312
164
import collections w=str(input()) cc=collections.Counter(w) a=list(cc.values()) for ans in a: if ans%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,807
s210160489
p04012
u840841119
1595939193
Python
Python (3.8.2)
py
Accepted
23
8972
104
w = input() for i in set(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,808
s013569063
p04012
u075304271
1595912129
Python
Python (3.8.2)
py
Accepted
40
10368
314
import math import collections import fractions import itertools import functools import operator def solve(): w = input() c = collections.Counter(w) for i in c: if c[i] % 2 == 1: print("No") exit() print("Yes") return 0 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,809
s394968028
p04012
u119148115
1595883391
Python
PyPy3 (7.3.0)
py
Accepted
81
62752
214
import sys def LS2(): return list(sys.stdin.readline().rstrip()) #空白なし w = LS2() from collections import Counter c = Counter(w) a = sum(c[i] % 2 != 0 for i in c.keys()) print('Yes' if a == 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,197,810
s272625576
p04012
u763410402
1595878358
Python
Python (3.8.2)
py
Accepted
29
9008
153
def main(): s=input() x=set(s) for i in x: if(s.count(i)%2==1): print('No') return; print('Yes') 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,811
s651551198
p04012
u980503157
1595872455
Python
Python (3.8.2)
py
Accepted
30
8976
208
s = input() d = {} for letter in s: if letter in d: d[letter] += 1 else: d[letter] = 1 flag = 1 for key in d: if d[key]%2 != 0: flag = 0 if flag == 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,197,812
s454187991
p04012
u895918162
1595872441
Python
Python (3.8.2)
py
Accepted
26
9040
209
s = input() d = {} for letter in s: if letter in d: d[letter] += 1 else: d[letter] = 1 flag = 1 for key in d: if d[key] % 2 != 0: flag = 0 if(flag == 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,197,813
s484887046
p04012
u980503157
1595867161
Python
Python (3.8.2)
py
Accepted
25
9052
198
flag = 1 s = input() d = {} for i in s: if i in d: d[i] += 1 else: d[i] = 1 for key in d: if d[key] %2 != 0: flag = 0 if flag == 0: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,814
s853326942
p04012
u569776981
1595864707
Python
Python (3.8.2)
py
Accepted
27
9256
167
w = input() w = list(w) import collections co = collections.Counter(w) li = co.values() for i in li: 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,815
s111909795
p04012
u875113233
1595807084
Python
Python (3.8.2)
py
Accepted
28
9104
273
def main(): w = list(input()) oklist=[] for i in range(len(w)): w1 = w.count(w[i]) if w1 % 2 != 0: oklist.append(1) if oklist == []: print('Yes') else: print('No') if __name__ == '__main__': main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,816
s064000334
p04012
u981931040
1595707012
Python
Python (3.8.2)
py
Accepted
30
9192
164
from collections import Counter S = Counter(input()) flag = True for c in S.values(): if c % 2 == 1: flag = False if flag: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,817
s358089407
p04012
u758815106
1595669262
Python
Python (3.8.2)
py
Accepted
26
9048
208
w = input() s = "abcdefghijklmnopqrstuvwxyz" dic = {} for o in s: dic[o] = 0 for o in w: dic[o] += 1 for num in dic.values(): if num % 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,818
s918138944
p04012
u112065131
1595647655
Python
Python (3.8.2)
py
Accepted
29
8920
301
# -*- coding: utf-8 -*- def main(): w = input() setW = set(w) listW = list(w) n = len(listW) for i in setW: if listW.count(i) % 2 == 1: ans = 'No' break else: ans = 'Yes' 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,197,819
s697199097
p04012
u298101891
1595638660
Python
Python (3.8.2)
py
Accepted
27
8928
176
a = input() dct ={} for i in a: dct[i] = dct.get(i,0)+1 for i in dct.values(): if i % 2 != 0: res = "No" break else: res = "Yes" print(res)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,820
s033316571
p04012
u088553842
1595635704
Python
Python (3.8.2)
py
Accepted
30
8924
89
w = input() for i in w: if w.count(i) % 2 == 1: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,821
s132382659
p04012
u726872801
1595563688
Python
Python (3.8.2)
py
Accepted
27
9072
131
W = input() ok = [True] * 26 for w in W: idx = ord(w) - ord("a") ok[idx] = not ok[idx] print("Yes" if all(ok) 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,822
s479625028
p04012
u013373291
1595554816
Python
Python (3.8.2)
py
Accepted
30
8972
296
#!/usr/bin/env python3 alpha = { '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', } S = input() flg = True for a in alpha: if S.count(a) % 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,823
s965438157
p04012
u942280986
1595541608
Python
Python (3.8.2)
py
Accepted
29
9096
111
w=input() x=set(w) for i in x: if w.count(i)%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,824
s906737523
p04012
u926046014
1595535430
Python
PyPy3 (7.3.0)
py
Accepted
73
64768
172
from collections import defaultdict d=defaultdict(int) s=input() for i in s: d[i]+=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,825
s017302770
p04012
u600261652
1595533698
Python
Python (3.8.2)
py
Accepted
29
9032
253
def resolve(): w = input() flag = 0 abc = "abcdefghijklmnopqrstuvwxyz" for i in range(len(abc)): if w.count(abc[i])%2 == 0: continue else: flag = 1 print("Yes" if flag == 0 else "No") 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,826
s254277069
p04012
u426764965
1595476740
Python
Python (3.8.2)
py
Accepted
32
9228
168
from collections import Counter w = [c for c in str(input())] ans = 'Yes' for k, v in Counter(w).items(): if v % 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,827
s537363218
p04012
u106118504
1595442191
Python
Python (3.8.2)
py
Accepted
26
9020
186
w = input() dict = {} for i in w: if i not in dict: dict[i] = 1 else: dict[i] +=1 for key, value in dict.items(): if value % 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,828
s970832368
p04012
u113255362
1595388064
Python
Python (3.8.2)
py
Accepted
30
9016
165
s = input() check = 0 flag = True for i in range(97,123): check =s.count(chr(i)) if check % 2 == 1 : flag = False if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,829
s215243134
p04012
u767797498
1595384125
Python
Python (3.8.2)
py
Accepted
32
9400
173
from collections import defaultdict s=input() dd=defaultdict(lambda: True) for c in s: dd[c]=not dd[c] for k in dd: if not dd[k]: 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,830
s583496933
p04012
u414920281
1595383044
Python
Python (3.8.2)
py
Accepted
27
9008
167
w=input() count=[0]*26 ans="Yes" for i in range(len(w)): count[ord(w[i])-97]+=1 for i in range(26): if 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,197,831
s818112829
p04012
u075303794
1595362679
Python
Python (3.8.2)
py
Accepted
29
9296
143
import collections W=collections.Counter(x for x in input()) for i,v in W.items(): if v%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,832
s089491392
p04012
u135389999
1595341710
Python
Python (3.8.2)
py
Accepted
29
9064
207
s = input() d = {} flag = 1 for i in s: d.setdefault(i, 0) d[i] += 1 for j in d.values(): if j % 2 != 0: flag = 0 break if flag == 0: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,833
s921409435
p04012
u135389999
1595341236
Python
Python (3.8.2)
py
Accepted
25
9120
224
s = input() d = {} flag = 1 for i in s: if i in d: d[i] += 1 else: d.setdefault(i, 1) for j in d.values(): if j % 2 != 0: flag = 0 if flag == 0: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,834
s230664735
p04012
u593567568
1595211960
Python
Python (3.8.2)
py
Accepted
33
9336
184
from collections import Counter S = list(input()) C = Counter(S) ok = True for s,x in C.items(): if x % 2 != 0: ok = False break if ok: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,835
s522638105
p04012
u996564551
1595179499
Python
Python (3.8.2)
py
Accepted
25
9024
115
w = list(input()) for i in range(len(w)): if w.count(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,197,836
s877847670
p04012
u904406968
1595129276
Python
PyPy3 (7.3.0)
py
Accepted
64
61616
218
s = input() alp=[0 for i in range(0, 28)] for j in s: if j>='a' and j<='z': alp[(ord(j)-ord('a'))]=alp[(ord(j)-ord('a'))]+1 f=0 for i in range(0 ,26): if alp[i]%2!=0: f=1 if f==1: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,837
s875886077
p04012
u687574784
1595106336
Python
Python (3.8.2)
py
Accepted
32
9388
117
s = input() from collections import Counter print('Yes' if all([cnt%2==0 for cnt in Counter(s).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,197,838
s005281826
p04012
u040298438
1595097124
Python
Python (3.8.2)
py
Accepted
33
8892
90
s = input() flg = all([s.count(x) % 2 == 0 for x in set(s)]) print("Yes" if flg 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,839
s524610729
p04012
u040298438
1595095030
Python
Python (3.8.2)
py
Accepted
25
9036
113
s = input() for i in set(s): if s.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,840
s482117275
p04012
u968166680
1595068807
Python
Python (3.8.2)
py
Accepted
32
9272
464
import sys from collections import Counter read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): w = readline().strip() c = Counter(w) ok = True for v in c.values(): if v % 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,841
s732517226
p04012
u007381711
1595025025
Python
Python (3.8.2)
py
Accepted
26
9024
198
# -*- coding:utf-8 -*- import sys # input = sys.stdin.readline w = list(input()) w_set = set(w) for i in w_set: if w.count(i)%2==1: print("No") sys.exit() else: continue 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,842
s001697139
p04012
u841568901
1595019395
Python
Python (3.8.2)
py
Accepted
28
9056
69
W = input() print("Yes" if all(W.count(w)%2==0 for w in W) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,843
s645431459
p04012
u501451051
1594994917
Python
Python (3.8.2)
py
Accepted
30
9284
170
import collections w = list(input()) lis = collections.Counter(w) for key, value in lis.items(): if value % 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,844
s005949830
p04012
u833492079
1594960724
Python
Python (3.8.2)
py
Accepted
31
9332
150
w = input() from collections import Counter A = Counter(w) ans="No" for k,v in Counter(A).items(): if v%2==1: break else: ans="Yes" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,845
s994645508
p04012
u543373102
1594951530
Python
Python (3.8.2)
py
Accepted
28
9104
132
S = input() s = list(set(S)) ans = "Yes" for i in s: num = S.count(str(i)) if num % 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,197,846
s075130838
p04012
u271064067
1594933479
Python
Python (3.8.2)
py
Accepted
29
9140
1,461
ww = str(input()) a = 0 b = 0 c = 0 d = 0 e = 0 f = 0 g = 0 h = 0 i = 0 j = 0 k = 0 l = 0 m = 0 n = 0 o = 0 p = 0 q = 0 r = 0 s = 0 t = 0 u = 0 v = 0 w = 0 x = 0 y = 0 z = 0 for ii in range(len(ww)): if ww[ii] == "a": a +=1 if ww[ii] == "b": b+=1 if ww[ii] == "c": c +=1 if ww[i...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,847
s135719650
p04012
u131464432
1594924103
Python
Python (3.8.2)
py
Accepted
23
9048
153
w = sorted(input()) if len(w)%2 == 1: print("No") exit() for i in range(len(w)//2)[::2]: if w[i] != w[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,848
s971368079
p04012
u534308356
1594911688
Python
Python (3.8.2)
py
Accepted
33
9204
198
from collections import Counter w = list(input()) c = Counter(w) f = True for i in list(c.values()): if i % 2 == 1: 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,197,849
s076743793
p04012
u679089074
1594863854
Python
Python (3.8.2)
py
Accepted
29
8988
248
#43 import sys w = input() c = w.lower() mozi = [] if w !=c: print("No") sys.exit() for i in range(len(w)): mozi.append(w[i]) for i in mozi: if w.count(i) % 2 == 1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,850
s661530218
p04012
u452337391
1594841369
Python
Python (3.8.2)
py
Accepted
38
9012
128
W = input() f = True for w in set(W): if W.count(w) % 2 != 0: f = False if f: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,851
s943962709
p04012
u991604406
1594812389
Python
Python (3.8.2)
py
Accepted
26
9052
235
w = input() beau = {} for i in range(len(w)): if not w[i] in beau: beau[w[i]] = 1 else: beau[w[i]] += 1 num = sum(list(map(lambda x: x%2,list(beau.values())))) if 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,852
s228984132
p04012
u666964944
1594769425
Python
Python (3.8.2)
py
Accepted
26
9012
206
w = sorted(input()) count = 0 ans = 'Yes' for i in range(len(w)-1): count += 1 if w[i]!=w[i+1]: if count%2!=0: ans = 'No' break else: count = 0 print(ans if len(w)>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,197,853
s503543756
p04012
u430928274
1594767222
Python
Python (3.8.2)
py
Accepted
27
8956
191
w = input() alpha = [0] * 26 for i in range(len(w)) : alpha[ord(w[i]) - 97] += 1 for i in range(26) : if alpha[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,854
s047087519
p04012
u841568901
1594758361
Python
Python (3.8.2)
py
Accepted
28
9080
89
W = input() for w in W: if W.count(w)&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,855
s467583700
p04012
u970198631
1594751398
Python
Python (3.8.2)
py
Accepted
24
9036
153
NN = input() total = 0 for i in NN: a = NN.count(i) if a%2 ==0: pass else: total +=1 if total ==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,856
s758683652
p04012
u716117006
1594737327
Python
Python (3.8.2)
py
Accepted
29
9100
186
def resolve(): w = input() w_list = list(w) for char in set(w_list): if w.count(char) % 2 == 1: print("No") return print("Yes") 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,857
s949419673
p04012
u767797498
1594720544
Python
Python (3.8.2)
py
Accepted
27
8988
860
# -*- coding: utf-8 -*- # template: v1.2 import io import sys import math CASES = "abcdefghijklmnopqrstuvwxyz" def solve(s): # implement process for c in CASES: if s.count(c) % 2 != 0: return "No" return "Yes" def main(): # input s = input() # process ans = str( ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>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,858
s687163173
p04012
u441175813
1594642598
Python
PyPy3 (7.3.0)
py
Accepted
62
61904
109
w = input() for i in set(w): if not w.count(i)%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,859
s314156498
p04012
u496821919
1594603575
Python
Python (3.8.2)
py
Accepted
31
9268
142
from collections import Counter w = Counter(input()) for i in w.values(): if i&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,860
s151827026
p04012
u598684283
1594582225
Python
Python (3.8.2)
py
Accepted
24
9064
274
w = list(input()) w.sort() c = 0 flag = 0 if len(w) % 2 == 0: for i in range(round(len(w) / 2)): if w[c] != w[c + 1]: flag = 1 break c += 2 if flag == 1: print("No") else: 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,861
s745025217
p04012
u736546944
1594577991
Python
PyPy3 (7.3.0)
py
Accepted
68
61856
255
w = list(input()) alpha = list("qwertyuiopasdfghjklzxcvbnm") FLAG = True for i in alpha: cnt = w.count(i) if cnt == 0: continue elif cnt % 2 == 0: continue else: print("No") FLAG = False break while FLAG: print("Yes") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,862
s187870636
p04012
u456416458
1594507760
Python
Python (3.8.2)
py
Accepted
28
9044
241
s = input() x = list(s) x.sort() answer1 = [] answer2 = [] for num in x: if len(answer1) == len(answer2): answer1.append(num) else: answer2.append(num) if answer1 == answer2: 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,863
s081012500
p04012
u814663076
1594503149
Python
Python (3.8.2)
py
Accepted
34
9400
310
import sys def rs(): return sys.stdin.readline().rstrip() def ri(): return int(rs()) def rs_(): return [_ for _ in rs().split()] def ri_(): return [int(_) for _ in rs().split()] from collections import Counter c = Counter(rs()) ans = 'Yes' for i in c.values(): if i % 2 == 1: ans = 'No' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,864
s532002836
p04012
u316603606
1594501589
Python
Python (3.8.2)
py
Accepted
27
9084
169
w = input () while len(w) != 0: if (w.count(w[0]))%2 == 1: print ('No') x = 0 break else: x = w[0] w = w.replace(x,'') if x != 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,865
s668269407
p04012
u912318491
1594495000
Python
Python (3.8.2)
py
Accepted
25
9108
187
import sys w = input() d = {} for c in range(97,97+26): d[chr(c)]=0 for c in w: d[c]+=1 for c in d.values(): if c%2 == 1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,197,866
s345633646
p04012
u763280125
1594431275
Python
Python (3.8.2)
py
Accepted
26
8976
166
import sys w = input() W = [0] * 26 for _w in w: W[ord(_w) - ord('a')] += 1 for _w in W: if _w % 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,197,867
s459411257
p04012
u359573942
1594417451
Python
Python (3.8.2)
py
Accepted
31
9028
61
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,868
s594447685
p04012
u359573942
1594417207
Python
Python (3.8.2)
py
Accepted
26
9020
186
s=input() n=0 while True: i=s[0] if s.count(i) % 2 == 0: s=s.replace(i,'') if s == '': break continue n+=1 break print('YNeos'[n::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,869
s485145534
p04012
u886907961
1594416112
Python
Python (3.8.2)
py
Accepted
29
9000
244
w = input() d = dict() flag = 0 for i in w: if i in d: d[i]+=1 else: d[i] = 1 for k,v in d.items(): if v%2==0: flag=1 else: flag=0 break if flag==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,197,870