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
s170958452
p04012
u226912938
1578415652
Python
Python (3.4.3)
py
Accepted
20
3316
194
import collections w = str(input()) counter = collections.Counter(w) ans = 'Yes' for key, val in counter.items(): if val % 2 == 0: pass else: ans = 'No' print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,571
s315902618
p04012
u556016145
1578282113
Python
Python (3.4.3)
py
Accepted
21
3316
207
import collections s = input() lst = [] for i in s: lst.append(i) c = collections.Counter(lst) for i in c.values(): if i % 2 != 0: x = 'No' break else: x = 'Yes' 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,198,572
s435920632
p04012
u992875223
1578170994
Python
Python (3.4.3)
py
Accepted
17
3060
147
W = input() cnt = [0] * 30 for i in W: cnt[ord(i) - ord('a')] += 1 for i in cnt: 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,573
s100953448
p04012
u999893056
1578159264
Python
Python (3.4.3)
py
Accepted
20
3316
151
w = input() import collections c = collections.Counter(w) b = True for i in c.values(): if i % 2 == 1: b = False print("Yes" if b 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,574
s001501589
p04012
u999893056
1578157967
Python
Python (3.4.3)
py
Accepted
17
2940
159
import sys w = input() count_list = [w.count(i) for i in w] count_list = list(set(count_list)) print('Yes' if all( i % 2 == 0 for i in count_list) 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,575
s898610291
p04012
u668352391
1578092006
Python
Python (3.4.3)
py
Accepted
17
3060
259
s = input() s_list = [s[_] for _ in range(len(s))] dic = dict() for c in s_list: if c in dic: dic[c] += 1 else: dic[c] = 1 flg = True for key in dic: if dic[key]%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,198,576
s482724723
p04012
u757117214
1578078280
Python
Python (3.4.3)
py
Accepted
17
2940
114
l=[i for i in input()] s=set(l) f=True for i in s: if l.count(i)%2!=0: 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,198,577
s449452516
p04012
u764860452
1577990312
Python
Python (3.4.3)
py
Accepted
17
2940
120
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,578
s743606189
p04012
u444238096
1577981049
Python
Python (3.4.3)
py
Accepted
17
2940
127
w = input() for i in range(len(w)): if w.count(w[i])%2 !=0: a="No" break else: a="Yes" print(a)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,579
s262535650
p04012
u684305751
1577946286
Python
Python (3.4.3)
py
Accepted
17
2940
69
s=input() print("Yes" if all([s.count(i)%2==0 for i in s]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,580
s036270967
p04012
u167908302
1577934348
Python
Python (3.4.3)
py
Accepted
17
2940
131
#coding:utf-8 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,581
s339710409
p04012
u076764813
1577881291
Python
Python (3.4.3)
py
Accepted
17
2940
151
w=input() for i in range(len(w)): if w.count(w[i])%2 !=0: ans="No" break else: ans="Yes" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,582
s198843093
p04012
u614550445
1577860710
Python
Python (3.4.3)
py
Accepted
20
3316
152
from collections import Counter w = input() c = Counter(w) for k, v in c.items(): if v % 2 != 0: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,583
s324383020
p04012
u007263493
1577852336
Python
Python (3.4.3)
py
Accepted
20
3316
156
import collections w = input() W = collections.Counter(w) bl = True v = W.values() for i in v: if i&1: bl = False print('Yes' if bl 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,584
s731238074
p04012
u735069283
1577851969
Python
Python (3.4.3)
py
Accepted
17
3060
212
w = str(input()) H = True if len(w)%2!=0: H = False else: l=[] for i in range(len(w)): l += w[i] l.sort() for j in range(0,len(w),2): if l[j]!=l[j+1]: H =False print('Yes' if H 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,585
s904229453
p04012
u608726540
1577850247
Python
Python (3.4.3)
py
Accepted
17
2940
152
w=input() a=0 for i in range(97,97+26): if w.count(chr(i))%2!=0: a+=1 print('No') break if a==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,586
s929304076
p04012
u473023730
1577822852
Python
Python (3.4.3)
py
Accepted
17
2940
109
import sys w = list(input()) for i in w: 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,587
s781969068
p04012
u473023730
1577763479
Python
Python (3.4.3)
py
Accepted
17
2940
109
import sys w = list(input()) for i in w: 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,588
s356575115
p04012
u530786533
1577760908
Python
Python (3.4.3)
py
Accepted
17
2940
124
w = input() check = list(set(w)) for x in check: if (w.count(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,589
s480356170
p04012
u492447501
1577643791
Python
Python (3.4.3)
py
Accepted
18
3060
165
import sys w = list(input()) for i in range(ord('a'), ord('z')+1, 1): s = chr(i) if w.count(s)%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,590
s588016999
p04012
u079022116
1577578179
Python
Python (3.4.3)
py
Accepted
17
2940
113
w = input() sum = 0 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,198,591
s948320017
p04012
u683134447
1577565553
Python
Python (3.4.3)
py
Accepted
17
2940
151
w = input() for j in [chr(i) for i in range(97, 97+26)]: if w.count(j) % 2 != 0: print('No') import sys 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,592
s257658354
p04012
u560301743
1577492226
Python
Python (3.4.3)
py
Accepted
17
3060
272
def solve(s: str) -> str: counts = {} for c in s: if not c in counts: counts[c] = 0 counts[c] += 1 for n in counts.values(): if n % 2 == 1: return 'No' else: return 'Yes' s = input() print(solve(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,593
s739004044
p04012
u327532412
1577487520
Python
Python (3.4.3)
py
Accepted
21
3316
145
import collections w = input() c = collections.Counter(w) for x in c.values(): if 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,594
s147630272
p04012
u426572476
1577416646
Python
Python (3.4.3)
py
Accepted
35
5048
180
import math import fractions w = input() s = set(w) flag = 1 for i in s: if w.count(i) % 2 != 0: flag = 0 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,595
s956769469
p04012
u714378447
1577411034
Python
Python (3.4.3)
py
Accepted
17
2940
113
w = input() A=[] for x in w: if x not in A: A.append(x) else: A.remove(x) print('Yes' if len(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,198,596
s324205475
p04012
u187058053
1577307993
Python
Python (3.4.3)
py
Accepted
17
2940
164
w = str(input()) moji = set(w) kaisu = [] for i in moji: kaisu.append(w.count(i)) if all([x % 2==0 for x in kaisu]): 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,597
s993801774
p04012
u025595730
1577298074
Python
Python (3.4.3)
py
Accepted
19
3060
312
# coding: utf-8 import sys def main(argv=sys.argv): char_list = input() char_set = set(char_list) for char_ in char_set: if char_list.count(char_) % 2 != 0: print('No') return 0 print('Yes') return 0 if __name__ == '__main__': sys.exit(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,598
s598448692
p04012
u371132735
1577296199
Python
Python (3.4.3)
py
Accepted
17
2940
86
s = input() ans = 'Yes' for c in s: if s.count(c)%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,599
s804158242
p04012
u617037231
1577276167
Python
Python (3.4.3)
py
Accepted
17
2940
129
import sys w = input() for caracter in w: if w.count(caracter) % 2 != 0: print('No') sys.exit(0) print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,600
s102340306
p04012
u355137116
1577223408
Python
Python (3.4.3)
py
Accepted
17
2940
172
w = input() if w != w.lower(): print('No') else: a = [] for x in w: if x in a: a.remove(x) else: a.append(x) print('Yes' if len(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,198,601
s416487774
p04012
u171065106
1577167501
Python
Python (3.4.3)
py
Accepted
17
2940
136
w = input() def func(w): for i in set(w): if w.count(i) % 2 != 0: return "No" return "Yes" print(func(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,602
s675934015
p04012
u488884575
1577160740
Python
Python (3.4.3)
py
Accepted
21
3316
184
import collections l = [i for i in input()] c = collections.Counter(l) check = 0 for i in c.values(): if i % 2: check += 1 print("No") break if check == 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,603
s551146923
p04012
u892538842
1577153055
Python
Python (3.4.3)
py
Accepted
24
3768
150
from string import ascii_lowercase s = input() r = 'Yes' for l in ascii_lowercase: if s.count(l) % 2 == 1: r = 'No' break print(r)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,604
s121973301
p04012
u710659690
1577139250
Python
Python (3.4.3)
py
Accepted
17
2940
104
w=list(input()) for i in range(len(w)): if w.count(w[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,605
s943711671
p04012
u600588566
1577126537
Python
Python (3.4.3)
py
Accepted
17
2940
114
w=list(input()) for i in range(len(w)): if w.count(w[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,606
s127590940
p04012
u006425112
1577029001
Python
Python (3.4.3)
py
Accepted
20
3316
197
from collections import Counter w = input() c = Counter(w) flag = True for i in c.values(): if i % 2 == 1: flag = False break if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,607
s847666889
p04012
u181215519
1576956038
Python
Python (3.4.3)
py
Accepted
17
2940
129
s = list( input() ) for i in range( len(s) ) : if s.count(s[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,608
s026313539
p04012
u102242691
1576873724
Python
Python (3.4.3)
py
Accepted
18
2940
198
w = list(input()) count = 1 for i in range(len(w)): if w.count(w[i]) % 2 != 0: print("No") count = 0 break else: count *= 1 if count == 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,609
s012219160
p04012
u112567325
1576854026
Python
Python (3.4.3)
py
Accepted
17
2940
108
s = list(input()) ans = "Yes" for i in range(len(s)): if s.count(s[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,610
s579863079
p04012
u393253137
1576741977
Python
Python (3.4.3)
py
Accepted
17
2940
121
w=input() for i in range(26): if w.count(chr(ord("a")+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,611
s184660027
p04012
u768896740
1576727374
Python
Python (3.4.3)
py
Accepted
18
3060
243
w = input() a = [] for i in w: a.append(i) a = set(a) for i in a: count = 0 for j in w: if j == i: count += 1 if count % 2 == 0: continue else: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,612
s661300200
p04012
u063073794
1576716419
Python
Python (3.4.3)
py
Accepted
17
3064
276
s=list(input()) s.sort() if len(s)%2==1 and s[0]==s[-1]: print("No") else: ans=0 for i in range(len(s)-1): if s[i]==s[i+1]: ans+=1 else: if ans%2==0: print("No") break else: ans=0 pass 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,613
s160149332
p04012
u417014669
1576640580
Python
Python (3.4.3)
py
Accepted
17
2940
154
words=input() s="" flag=0 for word in words: if words.count(word)%2==1: 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,614
s614163474
p04012
u185424824
1576554383
Python
Python (3.4.3)
py
Accepted
17
2940
161
a = str(input()) b =sorted(list(set(a))) c = 0 for i in b: if a.count(i) % 2 == 0: c += 0 else: c += 1 if c == 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,615
s763660294
p04012
u202688141
1576539556
Python
Python (3.4.3)
py
Accepted
17
3064
496
word = input() word_list = [] for i in range(len(word)): word_list.append(word[i]) many_list = [] def how_many(): how = 0 first = word_list[0] while(True): try: word_list.remove(first) how +=1 except: break many_list.append(how) while(True): tr...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,616
s748343601
p04012
u254871849
1576476869
Python
Python (3.4.3)
py
Accepted
20
3316
244
import sys from collections import Counter s = sys.stdin.readline().rstrip() def main(): for c in Counter(s).values(): if c & 1: return 'No' return 'Yes' if __name__ == '__main__': ans = main() 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,617
s000003071
p04012
u386089355
1576460631
Python
Python (3.4.3)
py
Accepted
17
2940
148
w = input() for i in range(len(w)): if w.count(w[i]) % 2 == 1: print("No") break elif i == len(w) - 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,618
s778828772
p04012
u778720350
1576450411
Python
Python (3.4.3)
py
Accepted
17
2940
110
w = input() wset = set(w) if all(w.count(we) % 2 == 0 for we in wset): 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,619
s726153662
p04012
u309141201
1576450183
Python
Python (3.4.3)
py
Accepted
20
3316
193
import collections w = input() w_counted = collections.Counter(w) # print(len(w)) for v in w_counted.values(): # print(v) if v % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,620
s333016859
p04012
u752907799
1576443557
Python
Python (3.4.3)
py
Accepted
18
2940
167
w = input() f = [False]*26 for c in w: f[ord(c)-ord('a')] = not f[ord(c)-ord('a')] for b in f: if b: 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,621
s533934230
p04012
u905582793
1576420854
Python
Python (3.4.3)
py
Accepted
20
3316
128
from collections import Counter c=Counter(input()) for i in c.values(): 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,622
s659697618
p04012
u994521204
1576382488
Python
Python (3.4.3)
py
Accepted
17
2940
116
w=input() flag=0 for i in list(set(w)): if w.count(i)%2==1: flag=1 if flag:print('No') else:print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,623
s051281140
p04012
u496966444
1576375366
Python
Python (3.4.3)
py
Accepted
17
3064
120
s = input() for i in s: count = s.count(i) if count % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,624
s167540707
p04012
u771756419
1576363676
Python
Python (3.4.3)
py
Accepted
18
2940
180
w = list(input()) alp = list("abcdefghijklmnopqrstuvwxyz") ans = 0 for i in alp: if w.count(i) % 2 != 0 : 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,625
s715396849
p04012
u698460655
1576358763
Python
Python (3.4.3)
py
Accepted
17
3060
242
w = list(input()) alp = list("qwertyuioplkjhgfdsazxcvbnm") data = [0]*len(alp) for item in w: key = alp.index(item) data[key] += 1 flag = 0 for num in data: if num%2 != 0: flag = 1 break print(["Yes","No"][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,626
s329874454
p04012
u007886915
1576358438
Python
Python (3.4.3)
py
Accepted
18
3060
942
# -*- coding: utf-8 -*- import sys import itertools#これは色々使える組み込み関数みたいなやつ import math#数学的計算はこれでいける。普通に0.5乗しても計算可能 w=input() #N = 3 #x=[] #y=[] #t, x, y = [0]*(N+1), [0]*(N+1), [0]*(N+1)#N+1個の空のリストを作成(原点を入れて##るから一つ増える) #delta_t=0 #delta_x=0 #delta_y=0 #l=0 #t[0],x[0],y[0]=[0, 0, 0] #とりあえず入力までは完成した. #for i in range(N): # ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,627
s086532288
p04012
u609814378
1576349400
Python
Python (3.4.3)
py
Accepted
17
2940
178
w = input() li = list('abcdefghijklmnopqrstuvwxyz') ans = 0 for i in li: if w.count(i)%2 != 0: ans = 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,628
s877147019
p04012
u965436898
1576261503
Python
Python (3.4.3)
py
Accepted
20
3316
147
import collections w = list(input()) cnt_w = collections.Counter(w) ans = "Yes" for v in cnt_w.values(): if v % 2 != 0: ans = "No" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,629
s465411324
p04012
u140480594
1576249886
Python
Python (3.4.3)
py
Accepted
17
3060
216
w = str(input()) count_list = [] result = "" for i in range(97, 123) : count_list.append(w.count(chr(i))) for i in count_list : if i % 2 == 0 : result = "Yes" else: result = "No" break print(result)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,630
s972336966
p04012
u774160580
1576198312
Python
Python (3.4.3)
py
Accepted
17
2940
198
w = input() freq = {} for i in w: if i in freq: freq[i] += 1 else: freq[i] = 1 for val in freq.values(): if val % 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,631
s181193272
p04012
u308684517
1576162707
Python
Python (3.4.3)
py
Accepted
17
2940
155
w = list(input()) ws = set(w) flag = 1 for i in ws: if w.count(i) % 2 != 0: 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,198,632
s678159027
p04012
u503111914
1576127505
Python
Python (3.4.3)
py
Accepted
18
2940
146
import sys S = input() A = set([i for i in S]) for j in A: if S.count(j) % 2 == 1: print("No") sys.exit() else: None 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,633
s304231642
p04012
u622045059
1576121761
Python
Python (3.4.3)
py
Accepted
20
3316
158
import collections w = input() c = collections.Counter(w) ans = 'Yes' for v in c.values(): 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,634
s335743906
p04012
u344178887
1576119318
Python
Python (3.4.3)
py
Accepted
17
2940
204
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys W = list(input()) for i in W: if W.count(i) % 2 == 1: print('No') sys.exit() W = [j for j in W if j != i] 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,635
s864012296
p04012
u342869120
1576099103
Python
Python (3.4.3)
py
Accepted
20
3316
153
import collections s = list(input()) d = collections.Counter(s) ans = "Yes" for v in d.values(): 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,636
s881273790
p04012
u175590965
1575954310
Python
Python (3.4.3)
py
Accepted
19
2940
111
s = input() a = set(s) for i in a: if s.count(i) % 2 == 1: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,637
s758849965
p04012
u416223629
1575907274
Python
Python (3.4.3)
py
Accepted
20
3316
183
import collections w=list(input()) c = collections.Counter(w) flag=True for v in c.values(): if v%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,198,638
s889747884
p04012
u674064321
1575840673
Python
Python (3.4.3)
py
Accepted
17
2940
154
_w = list(input()) W = [] for w in _w: if w not in W: W.append(w) for w in W: if _w.count(w) % 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,639
s355494987
p04012
u328090531
1575783043
Python
Python (3.4.3)
py
Accepted
17
2940
119
w = input() for j in w: j_count = w.count(j) if j_count % 2: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,640
s457560533
p04012
u626468554
1575777831
Python
Python (3.4.3)
py
Accepted
17
3060
469
#n = int(input()) #n,k = map(int,input().split()) #x = list(map(int,input().split())) li = list('abcdefghijklmnopqrstuvwxyz') cnt = [0 for i in range(26)] w = list(input()) for i in range(len(w)): for j in range(26): if li[j] == w[i]: cnt[j] += 1 break for i in range(26): if...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,641
s736313610
p04012
u235376569
1575771701
Python
Python (3.4.3)
py
Accepted
19
3064
212
a=input() l=[] count=0 for i in range(len(a)): l.append(a[i]) l.sort() for i in range(len(a)): if(l.count(l[i])%2!=0): count=1 print("No") break if count==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,642
s548818903
p04012
u150603590
1575685492
Python
Python (3.4.3)
py
Accepted
17
2940
210
if __name__ == '__main__': w=input() w_set=set(w) flag=True for s in w_set: if w.count(s)%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,198,643
s437874007
p04012
u780475861
1575614816
Python
Python (3.4.3)
py
Accepted
17
2940
106
s = input() a = set(s) for i in a: if s.count(i) % 2 == 1: print('No') quit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,644
s953648460
p04012
u811967730
1575601058
Python
Python (3.4.3)
py
Accepted
17
2940
111
w = input() ans = "Yes" for s in w: if w.count(s) % 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,645
s962191385
p04012
u693694535
1575511071
Python
Python (3.4.3)
py
Accepted
17
2940
171
w=input() A=list('abcdefghijklmnopqrstuvwxyz') for i in A: if w.count(i)%2==0: continue else: 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,646
s685373895
p04012
u987164499
1575483171
Python
Python (3.4.3)
py
Accepted
18
3188
272
from sys import stdin from itertools import groupby s = stdin.readline().rstrip() s = [str(i) for i in s] s.sort() lin = [] for key, value in groupby(s): lin.append(len(list(value))) for i in lin: 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,647
s116501254
p04012
u653792857
1575472306
Python
Python (3.4.3)
py
Accepted
17
3060
220
# a〜z l=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] # 入力 w=input() for x in l: if w.count(x)%2!=0: print('No') exit() # 出力 print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,648
s068608625
p04012
u150603590
1575431844
Python
Python (3.4.3)
py
Accepted
18
2940
268
if __name__ == '__main__': string=input() string_set=set(string) flag=True for s in string_set: if string.count(s)%2==0: continue else: flag=False if flag: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,649
s300957547
p04012
u961674365
1575422355
Python
Python (3.4.3)
py
Accepted
17
2940
98
w=input() s=set(list(w)) for x in s: if w.count(x)%2!=0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,650
s571147308
p04012
u920387587
1575240454
Python
Python (3.4.3)
py
Accepted
20
3316
211
S=input() from collections import Counter counter = Counter(S) cnt=0 for i in S: if counter[i]%2!=0: cnt+=1 else: cnt+=0 if cnt>=1: print('No') if cnt==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,651
s121475345
p04012
u845937249
1575204830
Python
Python (3.4.3)
py
Accepted
17
2940
146
w = input() w = list(w) ans = 0 for i in range(len(w)): a = w.count(w[i]) if a%2 == 0: ans = ans + 1 print('Yes' if ans==len(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,652
s938095064
p04012
u094948011
1575147517
Python
Python (3.4.3)
py
Accepted
17
2940
150
w = input() w_list = list(w) for i in set(w_list): if int(w_list.count(i)) % 2 == 1: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,653
s551309312
p04012
u166888020
1575121241
Python
Python (3.4.3)
py
Accepted
17
2940
226
w = input() dict = {} flag = 0 for i in range(97, 97+26): dict[chr(i)] = 0 for c in w: dict[c] += 1 for v in dict.values(): if v % 2 == 1: flag = 1 if flag == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,654
s712527383
p04012
u166888020
1575121007
Python
Python (3.4.3)
py
Accepted
17
2940
226
w = input() dict = {} flag = 0 for i in range(97, 97+26): dict[chr(i)] = 0 for c in w: dict[c] += 1 for v in dict.values(): if v % 2 == 1: flag = 1 if flag == 0: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,655
s610300323
p04012
u690781906
1575119649
Python
Python (3.4.3)
py
Accepted
21
3316
149
import collections w = input() c = collections.Counter(w) for k, v in c.items(): if v % 2 == 1: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,656
s797583129
p04012
u357949405
1575051472
Python
Python (3.4.3)
py
Accepted
19
2940
219
w = input() freq = {} for c in w: if c in freq: freq[c] += 1 else: freq[c] = 1 if len(list(filter(lambda x: x%2==0, freq.values()))) == len(freq.keys()): 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,657
s783575791
p04012
u219197917
1575034998
Python
Python (3.4.3)
py
Accepted
20
3316
110
from collections import Counter print("Yes" if all([v % 2 == 0 for v in Counter(input()).values()]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,658
s184383923
p04012
u055687574
1575003913
Python
Python (3.4.3)
py
Accepted
20
3316
212
from collections import Counter w = input() cnt = Counter(w) is_beautiful = True for c in cnt.values(): if c % 2 != 0: is_beautiful = False if is_beautiful: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,659
s830942060
p04012
u633450100
1574994373
Python
Python (3.4.3)
py
Accepted
17
2940
165
w = str(input()) count = int() for i in range(len(w)): if w.count(w[i]) % 2 == 0: count += 1 if count == 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,660
s401078989
p04012
u516447519
1574981812
Python
Python (3.4.3)
py
Accepted
17
2940
165
w = str(input()) count = int() for i in range(len(w)): if w.count(w[i]) % 2 == 0: count += 1 if count == 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,661
s752738761
p04012
u088974156
1574980949
Python
Python (3.4.3)
py
Accepted
18
2940
74
S=input() print("Yes" if all([S.count(i)%2==0 for i in set(S)]) else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,662
s583672540
p04012
u799691369
1574965437
Python
Python (3.4.3)
py
Accepted
17
3060
424
def count(words): for word in words: if word in count_dict: count_dict[word] += 1 else: count_dict[word] = 1 def even_number(count_dict): for key in count_dict: if count_dict[key] % 2 != 0: return('No') return('Yes') if __name__ == '__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,663
s028738448
p04012
u614159574
1574933230
Python
Python (3.4.3)
py
Accepted
17
2940
148
w = input() for letter in "abcdefghijklmnopqrstuvwxyz": c = w.count(letter) if c%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,198,664
s563176071
p04012
u823458368
1574922635
Python
Python (3.4.3)
py
Accepted
17
2940
159
w = input() alp = 'abcdefghijklmnopqrstuvwxyz' ans = 0 for i in alp: if w.count(i)%2 != 0: ans = 1 break print('Yes' if ans == 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,665
s686970665
p04012
u788137651
1574874162
Python
Python (3.4.3)
py
Accepted
23
3572
1,499
# #    ⋀_⋀  #   (・ω・) # ./ U ∽ U\ # │* 合 *│ # │* 格 *│ # │* 祈 *│ # │* 願 *│ # │*   *│ #  ̄ # import sys sys.setrecursionlimit(10**6) input=sys.stdin.readline from math import floor,ceil,sqrt,factorial,log #log2ないyp from heapq import heappop, heappush, heappushpop from collections import Counter,defaultd...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,666
s849718021
p04012
u102960641
1574784837
Python
Python (3.4.3)
py
Accepted
21
3316
179
from collections import defaultdict w = input() d = defaultdict(lambda: 0) ans = "Yes" for i in w: d[i] += 1 for i in d.values(): if i % 2: 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,667
s569298658
p04012
u308650788
1574769460
Python
Python (3.4.3)
py
Accepted
24
3832
153
import math from string import ascii_lowercase str = input() for i in ascii_lowercase: if (str.count(i) % 2 == 1): print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,668
s485383796
p04012
u854093727
1574708487
Python
Python (3.4.3)
py
Accepted
17
3064
141
w = input() W = list(set(w)) for i in W: if w.count(i)%2 == 0: continue else: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,198,669
s414619124
p04012
u172035535
1574602932
Python
Python (3.4.3)
py
Accepted
20
3316
140
from collections import Counter S = input() C = Counter(S) ans = "Yes" for c in C.values(): if c % 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,670