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
s653806240
p04012
u903005414
1587033699
Python
Python (3.4.3)
py
Accepted
17
2940
143
W = input() cnt = [0] * 300 for w in W: cnt[ord(w)] += 1 for c in cnt: if c % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,271
s573597428
p04012
u068595072
1587025632
Python
Python (3.4.3)
py
Accepted
20
3316
134
from collections import Counter c = Counter(input()) for x in c: if c[x] % 2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,272
s344779548
p04012
u576432509
1587001699
Python
Python (3.4.3)
py
Accepted
18
3188
272
icase=0 if icase==0: import sys ws=input() w=list(ws) ww=set() for i in range(len(w)): if not w[i] in ww: ww.add(w[i]) for www in ww: if ws.count(www)%2==1: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,273
s844819035
p04012
u069744971
1586989123
Python
Python (3.4.3)
py
Accepted
17
2940
108
a=input() for i in range(len(a)): if a.count(a[i])%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,274
s984327602
p04012
u286754585
1586985334
Python
Python (3.4.3)
py
Accepted
17
3060
172
List="abcdefghijklmnopqrstuvwxyz" num=[0]*26 flag=0 w=input() for i in range(26): num[i]=w.count(List[i]) if (num[i]%2==1): flag=1 print("Yes" if flag==0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,275
s454200174
p04012
u556161636
1586959879
Python
Python (3.4.3)
py
Accepted
17
2940
135
arg=list(input()) word=set(arg) for i in word: n = sum(x==i for x in arg) if n%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,276
s835099068
p04012
u556161636
1586959672
Python
Python (3.4.3)
py
Accepted
18
3060
135
arg=list(input()) word=set(arg) for i in word: n = sum(x==i for x in arg) if n%2!=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,277
s463469376
p04012
u568789901
1586921513
Python
Python (3.4.3)
py
Accepted
24
2940
175
w=input() L=len(w) check=0 for i in range(0,L): a=w.count(w[i]) if a%2==0: check+=1 else: pass if check==L: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,278
s339047839
p04012
u346812984
1586920716
Python
Python (3.4.3)
py
Accepted
20
3316
159
from collections import Counter w = input() c = Counter(w) for k, v in c.items(): if v % 2 == 1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,279
s610163442
p04012
u159994501
1586919409
Python
Python (3.4.3)
py
Accepted
21
3316
198
from collections import defaultdict w = input() d = defaultdict(int) for key in w: d[key] += 1 for value in d.values(): 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,198,280
s192373856
p04012
u301624971
1586914653
Python
Python (3.4.3)
py
Accepted
19
3060
358
def myAnswer(w:list) -> str: dic = dict() for i in w: if(i in dic.keys()): dic[i]+=1 else: dic[i]=1 for value in dic.values(): if(value%2 == 1): return "No" return "Yes" def modelAnswer(): tmp=1 def main(): w = list(input()) print(myAnswer(w))...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,281
s627348776
p04012
u572373398
1586912874
Python
Python (3.4.3)
py
Accepted
22
3444
164
from collections import Counter w = input() c = Counter(w) for k, v in c.items(): if not v % 2 == 0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,282
s150622082
p04012
u396961814
1586903829
Python
Python (3.4.3)
py
Accepted
18
2940
120
w = input() W = set(w) ans ='Yes' for s in W: if w.count(s) % 2 != 0: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,283
s463056855
p04012
u930705402
1586895962
Python
Python (3.4.3)
py
Accepted
21
3316
145
from collections import Counter w=input() c=Counter(w).most_common() for x,y in c: if y%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,284
s683552563
p04012
u440161695
1586869196
Python
Python (3.4.3)
py
Accepted
21
3316
145
from collections import Counter s=input() d=Counter(s) da=[i for i in d if d[i]%2==0] if len(da)==len(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,198,285
s704034694
p04012
u246343119
1586846258
Python
Python (3.4.3)
py
Accepted
17
2940
202
w = input() d = dict() ans = 'Yes' for c in w: if c not in d: d[c] = 1 else: d[c] += 1 for k, v in d.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,198,286
s939350003
p04012
u305018585
1586826793
Python
Python (3.4.3)
py
Accepted
18
3060
108
w = list(input()) for i in set(w): if w.count(i)%2 == 1: print('No') exit() else : print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,287
s961510657
p04012
u583507988
1586813438
Python
Python (3.4.3)
py
Accepted
17
2940
135
w = str(input()) n = int(0) for i in w: if w.count(i) % 2 == 1: n += 1 if n == 0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,288
s098763765
p04012
u289162337
1586805351
Python
Python (3.4.3)
py
Accepted
17
3064
105
w = 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,198,289
s600493344
p04012
u818349438
1586792934
Python
Python (3.4.3)
py
Accepted
17
2940
203
s = input() cnt = {} for x in s: if x not in cnt:cnt[x] = 1 else:cnt[x] +=1 ok = True for key in cnt: if cnt[key] %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,198,290
s880020231
p04012
u102242691
1586774672
Python
Python (3.4.3)
py
Accepted
17
3060
228
w = list(input()) t = w.copy() t = set(t) t = list(t) flg = True for i in range(len(t)): if w.count(t[i]) % 2 == 0: pass else: 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,198,291
s201246165
p04012
u693007703
1586747398
Python
Python (3.4.3)
py
Accepted
17
2940
225
s = input() cnt = {} for l in s : cnt.setdefault(l,0) cnt[l] += 1 flag = True for v in cnt.values(): if v % 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,198,292
s776383169
p04012
u835283937
1586734254
Python
Python (3.4.3)
py
Accepted
17
3064
264
def main(): w = input() alphabet = set(w) is_beautiful = True for c in alphabet: if w.count(c) %2 != 0: is_beautiful = False break if is_beautiful: print("Yes") else: print("No") main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,293
s779288809
p04012
u933129390
1586726846
Python
Python (3.4.3)
py
Accepted
17
2940
157
w = input() cs = [0 for i in range(26)] for i in w: cs[ord(i)-97] += 1 for i in cs: if i%2: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,294
s639979398
p04012
u651109406
1586710207
Python
Python (3.4.3)
py
Accepted
19
3064
186
w = input() dicts = {i:0 for i in range(ord('a'), ord('z') + 1)} for i in w: dicts[ord(i)] += 1 print('Yes' if len(list(filter(lambda x:x[1]%2==0, dicts.items()))) == 26 else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,295
s275421971
p04012
u006817280
1586658311
Python
Python (3.4.3)
py
Accepted
20
3316
243
import collections def solve(s): counts = collections.Counter(s) for key, count in counts.items(): if count & 1: return False return True string = input().strip() print("Yes" if solve(string) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,296
s766459403
p04012
u634079249
1586649776
Python
Python (3.4.3)
py
Accepted
18
3064
753
import sys import os import math ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) fl = lambda: list(map(float, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = lambda: sys.st...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,297
s857035435
p04012
u634079249
1586649670
Python
Python (3.4.3)
py
Accepted
18
3064
833
import sys import os import math ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) fl = lambda: list(map(float, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = lambda: sys.st...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,298
s748757525
p04012
u485448824
1586643602
Python
Python (3.4.3)
py
Accepted
17
2940
158
w=input() cnt=0 for i in range(len(w)): if w.count(w[i])%2==0: cnt+=1 continue else: cnt=0 if cnt==len(w): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,299
s015992654
p04012
u000349418
1586640166
Python
Python (3.4.3)
py
Accepted
17
2940
173
w = input() char = [] for w0 in w: if w0 not in char: char.append(w0) else: char.remove(w0) if len(char) == 0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,300
s665921299
p04012
u896741788
1586629450
Python
Python (3.4.3)
py
Accepted
21
3316
119
from collections import Counter as co l=co(input()).values() s={i%2 for i in l} if 1 in s:print("No") else:print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,301
s922645226
p04012
u172780602
1586616697
Python
Python (3.4.3)
py
Accepted
17
2940
170
w = list(input()) set_w = set(w) for char in set_w: count_char = w.count(char) if count_char % 2 == 1: ans = "No" else: ans="Yes" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,302
s437435643
p04012
u982591663
1586606412
Python
Python (3.4.3)
py
Accepted
17
2940
168
w = list(input()) set_w = set(w) ans = "Yes" for char in set_w: count_char = w.count(char) if count_char % 2 == 1: ans = "No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,303
s593406341
p04012
u060793972
1586571409
Python
Python (3.4.3)
py
Accepted
19
2940
132
s = input() ss = set(s) a = set() for i in ss: a.add(s.count(i) % 2 == 0) if a == {True}: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,304
s884636874
p04012
u731448038
1586559608
Python
Python (3.4.3)
py
Accepted
21
3316
150
import collections import sys s = input() c = collections.Counter(s) for i in c: if c[i]%2!=0: print('No') sys.exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,305
s655246390
p04012
u748311048
1586539838
Python
Python (3.4.3)
py
Accepted
20
3316
218
import collections w = str(input()) l = list() for s in w: l.append(s) c = collections.Counter(l) for i in range(len(c)): s=c.most_common()[i] if s[1]%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,306
s491518230
p04012
u220612891
1586474001
Python
Python (3.4.3)
py
Accepted
17
2940
108
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,198,307
s143961082
p04012
u373047809
1586453289
Python
Python (3.4.3)
py
Accepted
19
3060
61
s = input() print("YNeos"[any(s.count(i) % 2 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,198,308
s109642626
p04012
u235210692
1586449148
Python
Python (3.4.3)
py
Accepted
17
2940
218
w=list(input()) w.sort() ans=0 while w: count=1 check=w.pop() while check in w: count+=1 w.pop() if count%2==1: ans+=1 if ans==0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,309
s521256635
p04012
u934442292
1586401966
Python
Python (3.4.3)
py
Accepted
25
3772
281
import string import sys input = sys.stdin.readline AL = string.ascii_lowercase def main(): w = input().rstrip() ans = "Yes" for s in AL: cnt = w.count(s) if cnt % 2 == 1: ans = "No" print(ans) if __name__ == "__main__": main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,310
s919793159
p04012
u114233208
1586384828
Python
Python (3.4.3)
py
Accepted
17
2940
255
S = input() ec = 0 c = {} for each in S: try: c[each] += 1 if c[each] % 2 == 0: ec -= 1 else: ec += 1 except: c[each] = 1 ec += 1 if (ec == 0): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,311
s926456878
p04012
u461833298
1586359005
Python
Python (3.4.3)
py
Accepted
21
3316
187
import collections w = input() c = collections.Counter(w) c = dict(c) ans='Yes' for _, v in c.items(): if v%2==0: continue else: ans='No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,312
s308381412
p04012
u994307795
1586311977
Python
Python (3.4.3)
py
Accepted
17
2940
86
w = input() if all(w.count(i)%2==0 for i in w): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,313
s477716916
p04012
u939198091
1586308987
Python
Python (3.4.3)
py
Accepted
17
2940
292
def solve(str): alphabet_count = [0]*26 for s in str: idx = ord(s) - ord('a') alphabet_count[idx] += 1 for i in alphabet_count: if i % 2 != 0: return False return True if __name__ == "__main__": w = input() if solve(w): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,314
s858613553
p04012
u281303342
1586303737
Python
Python (3.4.3)
py
Accepted
20
3316
526
# python 3.4.3 import sys input = sys.stdin.readline # import numpy as np from collections import Counter # ------------------------------------------------------------- # function # ------------------------------------------------------------- # ------------------------------------------------------------- # main #...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,315
s134798768
p04012
u870841038
1586294548
Python
Python (3.4.3)
py
Accepted
17
2940
120
x = input() s = set(x) ans = 'Yes' for c in s: if x.count(c) % 2 != 0: ans = 'No' break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,316
s932013243
p04012
u276115223
1586287177
Python
Python (3.4.3)
py
Accepted
17
2940
181
# ABC 044: B – 美しい文字列 / Beautiful Strings w = input() judgement = 'Yes' for c in w: if w.count(c) % 2 == 1: judgement = 'No' break print(judgement)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,317
s162926889
p04012
u451206510
1586238928
Python
Python (3.4.3)
py
Accepted
18
2940
114
w = input() cnt = 0 for i in w: if (w.count(i) % 2 != 0): cnt += 1 print("Yes" if cnt is 0 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,318
s166260033
p04012
u485319545
1586222068
Python
Python (3.4.3)
py
Accepted
21
3316
198
w=input() import collections l=collections.Counter(list(w)) l=list(l.values()) flg=0 for i in range(len(l)): if l[i]%2!=0: flg+=1 if flg==0: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,319
s650182088
p04012
u528470578
1586192776
Python
Python (3.4.3)
py
Accepted
17
2940
115
w = list(input()) for i in w: if w.count(i) % 2 != 0: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,320
s644133311
p04012
u000770457
1586191030
Python
Python (3.4.3)
py
Accepted
17
2940
146
s=list(input()) b=1 var = list(set(s)) for i in var: if s.count(i)%2==0: pass else: b=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,198,321
s807310641
p04012
u536836760
1586186373
Python
Python (3.4.3)
py
Accepted
17
2940
119
words = input() ans = 'No' for word in words: if words.count(word) %2 != 0: break else: ans ='Yes' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,322
s146919939
p04012
u755180064
1586048766
Python
Python (3.4.3)
py
Accepted
17
2940
349
url = "https://atcoder.jp/contests/abc044/tasks/abc044_b" def main(): param = list(input()) count_d = {} for p in param: count_d.setdefault(p, 0) count_d[p] += 1 for v in count_d.values(): if v % 2 != 0: print('No') exit(0) print('Yes') if __name__...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,323
s392460804
p04012
u755180064
1586048662
Python
Python (3.4.3)
py
Accepted
17
2940
349
url = "https://atcoder.jp/contests/abc044/tasks/abc044_b" def main(): param = list(input()) count_d = {} for p in param: count_d.setdefault(p, 0) count_d[p] += 1 for v in count_d.values(): if v % 2 != 0: print('No') exit(0) print('Yes') if __name__...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,324
s773731552
p04012
u679154596
1586038544
Python
Python (3.4.3)
py
Accepted
17
2940
197
from sys import exit w = list(input()) w_set = list(set(w)) for i in range(len(w_set)): if w.count(w_set[i]) % 2 != 0: print("No") exit() else: if i == len(w_set)-1: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,325
s907334982
p04012
u755180064
1586036685
Python
Python (3.4.3)
py
Accepted
17
2940
349
url = "https://atcoder.jp/contests/abc044/tasks/abc044_b" def main(): param = list(input()) count_d = {} for p in param: count_d.setdefault(p, 0) count_d[p] += 1 for v in count_d.values(): if v % 2 != 0: print('No') exit(0) print('Yes') if __name__...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,326
s243617602
p04012
u080986047
1586015578
Python
Python (3.4.3)
py
Accepted
17
3060
266
li = list(input()) li.sort() while True: if len(li) == 0: print("Yes") break elif not len(li) % 2 == 0: print("No") break elif li[0] == li[1]: li.pop(0) li.pop(0) else: print("No") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,327
s169753741
p04012
u535659144
1586014422
Python
Python (3.4.3)
py
Accepted
17
3060
239
li=list(input()) li.sort() if len(li)%2: print("No") exit() while True: if len(li)==0: print("Yes") break elif li[0]==li[1]: li.pop(0) li.pop(0) else: print("No") break
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,328
s039002933
p04012
u535659144
1586013409
Python
Python (3.4.3)
py
Accepted
18
2940
135
li = list(input()) flag=1 for a in li: if li.count(a)%2: print("No") flag=0 break if flag: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,329
s109158598
p04012
u086172144
1585972333
Python
Python (3.4.3)
py
Accepted
17
2940
102
w=sorted(list(input()))+["_"];s="Yes" for i in range(1,len(w),2): if w[i]!=w[i-1]:s="No" print(s)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,330
s947291674
p04012
u181801282
1585968773
Python
Python (3.4.3)
py
Accepted
17
2940
152
w=list(input().rstrip()) a={} for i in w: if i in a: a[i]+=1 else: a[i]=1 for i in a.values(): if i%2==1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,331
s845359182
p04012
u870297120
1585968460
Python
Python (3.4.3)
py
Accepted
17
2940
103
w = list(map(str, input())) ans = 'Yes' for i in (set(w)): if w.count(i)%2!=0: ans ='No' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,332
s556887357
p04012
u708019102
1585945086
Python
Python (3.4.3)
py
Accepted
17
2940
120
l = list(input()) for i in range(97,123): x = chr(i) if l.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,198,333
s052564180
p04012
u156815136
1585944164
Python
Python (3.4.3)
py
Accepted
18
3060
506
#import itertools #import fractions #import numpy as np #mod = 10**4 + 7 """def kiri(n,m): r_ = n / m if (r_ - (n // m)) > 0: return (n//m) + 1 else: return (n//m)""" # Written by NoKnowledgeGG @YlePhan #import math #mod = 10**9+7 def main(): w = input() dic = {} for i in range(len(w)): if w[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,198,334
s080710731
p04012
u110580875
1585925457
Python
Python (3.4.3)
py
Accepted
18
3060
137
import sys s=input() for i in range(len(s)): if s.count(s[i])%2==0: pass else: print("No") sys.exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,335
s952826967
p04012
u798093965
1585882450
Python
Python (3.4.3)
py
Accepted
21
3316
170
import collections l = list(input()) c = collections.Counter(l) for x in c.values(): if x%2 == 1: print("No") break else: continue else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,336
s173889154
p04012
u696444274
1585875278
Python
Python (3.4.3)
py
Accepted
36
5148
269
import math import itertools import statistics #import numpy as np import collections #n = int(input()) #n, m = list(map(int, input().split())) w = input() l = collections.Counter(w) for i in l.values(): if i%2!=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,337
s094629387
p04012
u290187182
1585845999
Python
Python (3.4.3)
py
Accepted
35
5144
558
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque from decimal import * def lcm(x, y): return (x * y) // math.gcd(x, y) if __name__ == '__main__': s = input() ans ={} for i in s: 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,198,338
s968226188
p04012
u702517202
1585838250
Python
Python (3.4.3)
py
Accepted
17
2940
154
w = input() a = set(w) flg = True for i in a: if w.count(i) % 2 == 1: 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,198,339
s075058776
p04012
u218838821
1585796614
Python
Python (3.4.3)
py
Accepted
17
3060
359
w = list(map(str,input())) w_ord = [] for i in range(len(w)): w_ord.append(ord(w[i])) w_ord.sort() j = 1 if len(w) % 2 == 1: print("No") else: for i in range((len(w)+1)//2): if not w_ord[2*i] == w_ord[2*i + 1]: print("No") break else: if i == (len(w)+...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,340
s613449548
p04012
u452269253
1585753094
Python
Python (3.4.3)
py
Accepted
17
2940
192
w = input() count = {} for s in w: try: count[s] += 1 except: count[s] = 1 for s in count.values(): if s&1: print("No") break else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,341
s803318684
p04012
u735654057
1585750548
Python
Python (3.4.3)
py
Accepted
17
2940
168
# https://atcoder.jp/contests/abc044/tasks/abc044_b w = list(input()) for token in w: if w.count(token) % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,342
s060067245
p04012
u202634017
1585708168
Python
Python (3.4.3)
py
Accepted
17
2940
150
w = list(input()) c = [0] * 26 for ch in w: c[ord(ch) - ord("a")] += 1 f = "Yes" for cnt in c: if cnt % 2 == 1: f = "No" print(f)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,343
s172469321
p04012
u789205676
1585699878
Python
Python (3.4.3)
py
Accepted
17
2940
172
strlist = list(input()) findlist="qazwsxedcrfvtgbyhnujmikolp" flist=list(findlist) flag = "Yes" for a in flist: if strlist.count(a) % 2: flag = "No" print(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,198,344
s835785651
p04012
u535659144
1585694038
Python
Python (3.4.3)
py
Accepted
17
2940
173
strlist = list(input()) findlist="qazwsxedcrfvtgbyhnujmikolp" flist=list(findlist) flag = "Yes" for a in flist: if strlist.count(a) % 2: flag = "No" print(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,198,345
s378843476
p04012
u535659144
1585693985
Python
Python (3.4.3)
py
Accepted
17
2940
183
strlist = list(input()) findlist="qazwsxedcrfvtgbyhnujmikolp" flist=list(findlist) flag = "Yes" for a in flist: if not strlist.count(a) % 2 == 0: flag = "No" print(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,198,346
s878901183
p04012
u959225525
1585619637
Python
Python (3.4.3)
py
Accepted
17
2940
95
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,198,347
s636179872
p04012
u852790844
1585586292
Python
Python (3.4.3)
py
Accepted
17
2940
135
import sys w = input() checker = set(w) for i in checker: 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,198,348
s653492525
p04012
u475756142
1585562612
Python
Python (3.4.3)
py
Accepted
17
2940
153
s = list(input()) aqui = [] for l in s: if l not in aqui: aqui.append(l) continue aqui.remove(l) print('Yes') if len(aqui) == 0 else print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,349
s739194559
p04012
u166822777
1585537708
Python
Python (3.4.3)
py
Accepted
17
3060
233
w = str(input()) check = int(0) c = int(0) for a in [chr(i) for i in range(97,97+26)]: c = w.count(a) # print(str(w)+"チェック"+str(a)) if(c%2 == 1): check = 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,198,350
s483357314
p04012
u395816772
1585530076
Python
Python (3.4.3)
py
Accepted
17
3060
263
w = input() alp = 'abcdefghijklmnopqrstuvwxyz' c = [] for i in range(26): a = w.count(alp[i]) c.append(a) d = 0 for i in range(26): if c[i] % 2 == 0: d = 1 else: d = 0 break if d == 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,198,351
s062987694
p04012
u787449825
1585523594
Python
Python (3.4.3)
py
Accepted
17
2940
157
w = list(input()) count = 0 for i in set(w): if w.count(i) % 2 ==0: count += 1 if count == len(set(w)): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,352
s935082435
p04012
u716660050
1585485298
Python
Python (3.4.3)
py
Accepted
18
2940
182
w=list(input()) for i in w: count=0 for j in w: if i==j: count+=1 if not count%2==0: print("No") break if count%2==0: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,353
s620986879
p04012
u292978925
1585429271
Python
Python (3.4.3)
py
Accepted
17
3060
343
""" #kari1 = 'abaccaba' #Yes kari1 = 'hthth' #No in1 = kari1 """ in1 = input() mydict = {} idx1 = 0 for idx1 in range(len(in1)): if in1[idx1] in mydict.keys(): mydict[in1[idx1]] += 1 else: mydict[in1[idx1]] = 1 RC = 'Yes' for item in mydict.values(): if item % 2 == 1: RC = 'No' ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,354
s387108063
p04012
u253681061
1585419426
Python
Python (3.4.3)
py
Accepted
20
3316
158
from collections import Counter w = input() ans = "Yes" W = Counter(w) for x in W.values(): if x % 2 != 0: ans = "No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,355
s589513722
p04012
u760961723
1585406582
Python
Python (3.4.3)
py
Accepted
20
3316
221
w = input() import collections W = collections.Counter(list(w)) liW = list(W.values()) flag = True for i in range(len(liW)): if (liW[i]/2)%1 != 0: flag = False if flag == True: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,356
s419859702
p04012
u103136263
1585340420
Python
Python (3.4.3)
py
Accepted
37
5132
3,264
# /usr/bin/python3 # -*- coding: utf-8 -*- from queue import Queue from queue import LifoQueue as Stack from math import sqrt, floor, ceil, log2 from fractions import gcd from itertools import permutations, combinations from operator import itemgetter from functools import cmp_to_key __MOD__=(10**9)+7 yn = 'YNeos' j...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,357
s917674875
p04012
u877415670
1585183530
Python
Python (3.4.3)
py
Accepted
21
3316
146
from collections import Counter w=list(input()) c=Counter(w) for i,m in c.items(): if m%2!=0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,358
s674527954
p04012
u896726004
1585088906
Python
Python (3.4.3)
py
Accepted
18
2940
234
w = input() # a ~ z までの辞書を生成(valueの初期値は0) d = {chr(i): 50 for i in range(97, 97+26)} for c in w: d[c] += 1 ans = 'Yes' for k, v in d.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,198,359
s070048572
p04012
u066855390
1585034518
Python
Python (3.4.3)
py
Accepted
17
2940
80
w = input() print("Yes" if all([w.count(v) % 2 == 0 for v in set(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,198,360
s286059386
p04012
u894074703
1585018962
Python
Python (3.4.3)
py
Accepted
18
3060
356
def problemB(): """ B - 美しい文字列 """ w = input() while True: if len(w) == 0: ans = 'Yes' break find = w[0] cnt = w.count(find) if cnt % 2 == 1: ans = 'No' break w = w.replace(find, '') print(ans) if __name__ == '_...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,361
s047807291
p04012
u969848070
1585002645
Python
Python (3.4.3)
py
Accepted
17
2940
140
a = str(input()) al = 'abcdefghijklmnopqrstuvwxyz' for i in range(26): if a.count(al[i]) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,362
s614925799
p04012
u519835472
1584997603
Python
Python (3.4.3)
py
Accepted
17
2940
168
w = input() evenCount = 0 for i in range(len(w)): if w.count(w[i]) % 2 == 0: evenCount += 1 if len(w) == evenCount: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,363
s120006084
p04012
u264508862
1584949706
Python
Python (3.4.3)
py
Accepted
18
3060
153
p=print d={} s=input() for i in list(s): if i in d: d[i]+=1 else: d[i]=1 p('Yes' if len([i for i in d.values() if i%2==0])==len(d) else 'No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,364
s284883538
p04012
u230717961
1584922185
Python
Python (3.4.3)
py
Accepted
21
3316
197
import collections s = input() cnt = collections.Counter() for i in s: cnt[i] += 1 if all([True if i % 2 == 0 else False for i in cnt.values()]): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,365
s090448363
p04012
u089142196
1584918402
Python
Python (3.4.3)
py
Accepted
17
2940
97
w=input() ans="Yes" for str in w: if w.count(str)%2!=0: ans="No" break print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,366
s921942200
p04012
u316233444
1584915680
Python
Python (3.4.3)
py
Accepted
17
2940
91
w=list(input()) if all(w.count(i)%2==0 for i in set(w)): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,367
s117196230
p04012
u017415492
1584838776
Python
Python (3.4.3)
py
Accepted
17
2940
133
w=input() a=list(w) s=set(a) flag=0 for i in s: if a.count(i)%2!=0: print("No") flag=1 break if flag==0: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,368
s711315586
p04012
u256833330
1584799397
Python
Python (3.4.3)
py
Accepted
17
2940
134
w=input() for i in range(ord('a'),ord('z')+1): if w.count(chr(i))%2 !=0: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,369
s645767230
p04012
u580404776
1584795877
Python
Python (3.4.3)
py
Accepted
21
3316
205
from collections import Counter w=list(input()) W=list(Counter(w).values()) flag=0 for i in W: if i%2==0: flag=1 else: flag=0 break print("Yes" if flag else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,370