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
s935774035
p04012
u619458041
1556062117
Python
Python (3.4.3)
py
Accepted
21
3316
275
import sys from collections import Counter def main(): input = sys.stdin.readline S = str(input().strip()) c = Counter(S) for key in c: if c[key] % 2 == 1: return 'No' return 'Yes' if __name__ == '__main__': print(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,199,171
s758737111
p04012
u055941944
1555983630
Python
Python (3.4.3)
py
Accepted
21
3316
149
from collections import Counter w=list(str(input())) h=set(w) for i in h: 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,199,172
s795566475
p04012
u143509139
1555972310
Python
Python (3.4.3)
py
Accepted
21
3316
130
from collections import Counter c = Counter(input()) for n in c.values(): if n % 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,199,173
s418449180
p04012
u222138979
1555970863
Python
Python (3.4.3)
py
Accepted
18
3060
253
W = input() words = {} odd = False for w in W: if w in words: words[w] = words[w] + 1 else: words[w] = 1 for word in words: if words[word] % 2 == 1: odd = True if odd: 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,199,174
s575007649
p04012
u848678027
1555734377
Python
Python (3.4.3)
py
Accepted
17
2940
212
from sys import stdin input=stdin.readline().rstrip() input_list=list(input) output="Yes" for i in range(len(input_list)): x=input_list[i] if input_list.count(x)%2==1: output="No" break print(output)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,175
s063817169
p04012
u149752754
1555632727
Python
Python (3.4.3)
py
Accepted
17
2940
107
import sys S = input() for i in S: if S.count(i)%2: 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,199,176
s865489382
p04012
u149752754
1555631784
Python
Python (3.4.3)
py
Accepted
17
3064
420
mojiretsu = input() lett = list(mojiretsu) numlist = [] for i in lett: num = lett.count(i) numlist += [num] jud = [] for i in numlist: if i%2 == 0: jud += ['Yes'] else: jud += ['No'] anslist = [x for x in set(jud) if jud.count(x) > 1] anslisT = [x for x in jud if jud.count(x) == 1] 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,199,177
s980597789
p04012
u710789518
1555614571
Python
Python (3.4.3)
py
Accepted
30
3444
138
import collections w = input() c = collections.Counter(w) b = "Yes" for v in c.values(): if v % 2 != 0: b = "No" break print(b)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,178
s266836268
p04012
u864900001
1555555158
Python
Python (3.4.3)
py
Accepted
17
2940
105
#44 s = input() w = list(set(s)) b = "Yes" for i in w: if s.count(i)%2!=0: b = "No" print(b)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,179
s730514200
p04012
u941753895
1555455939
Python
Python (3.4.3)
py
Accepted
17
3060
211
# 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,199,180
s197878007
p04012
u977855674
1555453856
Python
Python (3.4.3)
py
Accepted
17
2940
154
counts = [1] * 26 s = input() for c in s: counts[ord(c) - ord("a")] += 1 tmp = 1 for c in counts: tmp *= c print("Yes" if tmp % 2 == 1 else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,181
s295423450
p04012
u885899351
1555448560
Python
Python (3.4.3)
py
Accepted
17
3060
182
w=list(input()) if len(w)%2==1:print("No") else: while w[0] in w[1:]: t=w[0] w.remove(t) w.remove(t) if w==[]:break print(["No","Yes"][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,199,182
s960129191
p04012
u844005364
1555442761
Python
Python (3.4.3)
py
Accepted
21
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,199,183
s991426231
p04012
u163320134
1555400035
Python
Python (3.4.3)
py
Accepted
17
3060
239
s=input() alpha=list('abcdefghijklmnopqrstuvwxyz') ans=[0]*26 for i in range(len(s)): for j in range(26): if s[i]==alpha[j]: ans[j]+=1 for i in range(26): if ans[i]%2==1: print('No') break if i==25: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,184
s557549887
p04012
u962330718
1555383347
Python
Python (3.4.3)
py
Accepted
17
2940
152
w=input() l=list(set(w)) count=0 for i in range(len(l)): if w.count(l[i])%2==0: count+=1 else: break print("Yes" if count==len(l) 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,199,185
s194358553
p04012
u969190727
1555292376
Python
Python (3.4.3)
py
Accepted
17
3060
204
s=input() alphabet="abcdefghijklmnopqrstuvwxyz" list=[s.count(x) for x in alphabet] for i in range(len(list)): if list[i]%2==0: list[i]=0 else: list[i]=1 print("Yes" if sum(list)==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,199,186
s804042443
p04012
u457423258
1555257441
Python
Python (3.4.3)
py
Accepted
17
2940
110
s= input() for i in range(len(s)): if s.count(s[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,199,187
s602426321
p04012
u556016145
1555189020
Python
Python (3.4.3)
py
Accepted
24
3316
335
import collections s = [] a = 0 x = input() if len(x) % 2 != 0: print('No') else: for i in x: s.append(i) c = collections.Counter(s) values, counts = zip(*c.most_common()) for j in counts: if j % 2 == 0: a += 1 if len(counts) == a: print('Yes') else: ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,188
s971008882
p04012
u803647747
1555137117
Python
Python (3.4.3)
py
Accepted
19
3060
269
w=list(input()) w_dct={} for i in w: if i in w_dct.keys(): w_dct[i]+=1 else: w_dct[i]=1 tag=True for i, j in w_dct.items(): if j%2 ==0: pass else: tag=False if tag: 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,199,189
s495619321
p04012
u055941944
1555121173
Python
Python (3.4.3)
py
Accepted
18
2940
141
# -*- coding utf-8 -*- w = str(input()) h = set(w) for i in h: 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,199,190
s248798572
p04012
u956866689
1555043341
Python
Python (3.4.3)
py
Accepted
17
2940
172
# -*- coding:utf-8 -*- w = input() while w != "": if w.count(w[0]) % 2 == 0: w = w.replace(w[0], '') 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,199,191
s675087142
p04012
u267300160
1555019790
Python
Python (3.4.3)
py
Accepted
21
3316
195
import collections S = list(input()) count = collections.Counter(S).most_common() for i in range(len(count)): if (int(count[i][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,199,192
s328665934
p04012
u428855582
1554950937
Python
Python (3.4.3)
py
Accepted
20
3316
183
import collections letter=collections.Counter(input()) counter=0 for v in letter.values(): if v%2==1: counter +=1 break print("Yes") if counter==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,199,193
s322572990
p04012
u180528413
1554853524
Python
Python (3.4.3)
py
Accepted
19
3188
287
import re pattern = '[a-z]+$' w = input() result = re.match(pattern, w) if result: w_set = set(list(w)) for word in w_set: counter = w.count(word) if counter % 2 == 1: print('No') break else: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,194
s909674254
p04012
u616522759
1554818542
Python
Python (3.4.3)
py
Accepted
20
3316
156
from collections import Counter w = input() num = Counter(w) ans = list(num.values()) if not any([i%2 for i in ans]): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,195
s710405892
p04012
u042377269
1554775335
Python
Python (3.4.3)
py
Accepted
17
2940
142
w = input() set_w = set(w) # 各文字を取得 for i in set_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,199,196
s301157554
p04012
u319818856
1554749806
Python
Python (3.4.3)
py
Accepted
17
2940
280
def beautiful_strings(w: str) -> bool: freq = {} for c in w: freq.setdefault(c, 0) freq[c] += 1 return all(f % 2 == 0 for f in freq.values()) if __name__ == "__main__": w = input() yes = beautiful_strings(w) print('Yes' if yes 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,199,197
s405267495
p04012
u911575040
1554726239
Python
Python (3.4.3)
py
Accepted
20
2940
101
w = input() r = 'Yes' for c in w: if w.count(c) % 2 != 0: 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,199,198
s317421221
p04012
u483151310
1554671574
Python
Python (3.4.3)
py
Accepted
18
2940
227
w = input() dct_str = dict.fromkeys(w, 0) for alp in w: dct_str[alp] += 1 flag = True for alp in dct_str.keys(): if dct_str[alp] % 2 != 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,199,199
s270221035
p04012
u299730702
1554650067
Python
Python (3.4.3)
py
Accepted
18
2940
180
w = input() d = {} for x in w: d[x] = d.get(x, 0) + 1 flag = True for x in d.values(): if x%2 != 0: flag = False if flag: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,200
s732348504
p04012
u360090862
1554566070
Python
Python (3.4.3)
py
Accepted
19
2940
156
w=input() def solve(): for j in [chr(i) for i in range(91,91+26)]: if w.count(j)%2!=0: print("No") return print("Yes") return solve()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,201
s583234269
p04012
u091051505
1554561767
Python
Python (3.4.3)
py
Accepted
21
3316
145
import collections w = list(input()) l = collections.Counter(w) ans = "Yes" for v in l.values(): if v % 2 == 1: ans = "No" print(ans)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,202
s787868912
p04012
u777028980
1554495266
Python
Python (3.4.3)
py
Accepted
17
2940
121
hoge=input() ans=0 for i in range(len(hoge)): ans+=hoge.count(hoge[i])%2 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,199,203
s786440622
p04012
u037430802
1554431147
Python
Python (3.4.3)
py
Accepted
17
2940
167
s = input() s_list = list(s) s_set = set(s_list) flag = 0 for n in s_set: if s.count(n) % 2 != 0: 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,199,204
s136063650
p04012
u279493135
1554387641
Python
Python (3.4.3)
py
Accepted
17
3060
219
from sys import stdin input = stdin.readline w = input().rstrip() dic = {} for i in w: if not i in dic: dic[i] = 1 else: dic[i] += 1 for word in dic: if dic[word]%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,199,205
s043362635
p04012
u019996510
1554342813
Python
Python (3.4.3)
py
Accepted
18
2940
215
def main(): w = input() judge = "" for i in w: if w.count(i) %2 == 0: judge = "Yes" elif w.count(i) %2 != 0: judge = "No" break print(judge) 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,199,206
s477083359
p04012
u019996510
1554342720
Python
Python (3.4.3)
py
Accepted
18
2940
198
def main3(): w = input() judge = "" for i in w: if w.count(i) %2 != 0: judge = "No" break else: judge = "Yes" print(judge) main3()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,207
s088111601
p04012
u019996510
1554342356
Python
Python (3.4.3)
py
Accepted
19
2940
146
def main2(): w = input() judge = "Yes" for i in w: if w.count(i) % 2 != 0: judge = "No" print(judge) main2()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,208
s260907926
p04012
u513900925
1554337586
Python
Python (3.4.3)
py
Accepted
20
3316
151
import collections s = input() m = collections.Counter(s) if len(list(filter(lambda x:x%2 == 1,m.values()))) > 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,199,209
s293085177
p04012
u225415456
1554326989
Python
Python (3.4.3)
py
Accepted
21
3316
219
a = input() a = [str(x) for x in a] import collections b = collections.Counter(a) N = len(b) c = 0 for i in b.values(): if i % 2 == 0: c += 1 else: pass print('Yes' if c == N 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,199,210
s485561900
p04012
u603745966
1554254427
Python
Python (3.4.3)
py
Accepted
22
3572
730
from functools import reduce def main(): # 一文字のみを読み込み # s = input().rstrip().split(' ') # スペース区切りで標準入力を配列として読み込み # s = input().rstrip().split(' ') # 位置文字ずつ標準入力を配列として読み込み # s = list(input().rstrip()) s = list(input().rstrip()) dict = {} b_flag = True for char in 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,199,211
s597766883
p04012
u457190703
1554232345
Python
Python (3.4.3)
py
Accepted
18
2940
278
str = input() dict = {} isBeautiful = True for i in range(len(str)): if str[i] in dict: dict[str[i]] += 1 else: dict[str[i]] = 1 for val in dict.values(): if(val %2 != 0): isBeautiful = False if isBeautiful == 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,199,212
s516242817
p04012
u405947212
1554213964
Python
Python (3.4.3)
py
Accepted
22
3316
151
import collections s = input() m = collections.Counter(s) if len(list(filter(lambda x:x%2 == 1,m.values()))) > 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,199,213
s109923536
p04012
u912862653
1554179305
Python
Python (3.4.3)
py
Accepted
24
3768
166
import string w = input() ans = 'Yes' for i in range(len(string.ascii_lowercase)): if w.count(string.ascii_lowercase[i:i+1])%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,199,214
s881310526
p04012
u363610900
1554168020
Python
Python (3.4.3)
py
Accepted
17
2940
99
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,199,215
s384443986
p04012
u655975843
1554153844
Python
Python (3.4.3)
py
Accepted
17
2940
114
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,199,216
s979062769
p04012
u549497563
1554080436
Python
Python (3.4.3)
py
Accepted
18
2940
128
w = input() l = list(w) s = set(l) for i in s: if l.count(i)%2!=0: print("No") exit() else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,217
s699742038
p04012
u516272298
1554058768
Python
Python (3.4.3)
py
Accepted
18
3060
164
w = str(input()) x = list(set(w)) a = 0 for i in range(len(x)): if w.count(x[i]) % 2 == 0: a += 1 if a == len(x): 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,199,218
s808383370
p04012
u143318682
1554026841
Python
Python (3.4.3)
py
Accepted
17
3064
281
# -*- coding: utf-8 -*- w = input() o = [] for i in range(len(w)): o.append(ord(w[i])) c = [0] * 26 for i in range(len(w)): c[o[i] - 97] += 1 i = 0 while i < 26: if c[i] % 2 == 0: i += 1 else: print('No') break if i == 26: 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,199,219
s790016143
p04012
u826557401
1553976787
Python
Python (3.4.3)
py
Accepted
18
3060
219
w = str(input()) w_list = list(w) str_list = [chr(i) for i in range(97, 97+26)] count = 0 for char in str_list: if w_list.count(char)%2 == 0: count +=1 else: print("No") break if count == 26: 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,199,220
s952009344
p04012
u305965165
1553891378
Python
Python (3.4.3)
py
Accepted
21
3316
152
s = input() import collections c = collections.Counter(s) if len(list(filter(lambda x:x%2==1,c.values()))) > 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,199,221
s191319220
p04012
u082861480
1553801043
Python
Python (3.4.3)
py
Accepted
17
2940
195
w = input() word_list = [chr(i + 96) for i in range(1, 27)] check = True for word in word_list: if w.count(word) % 2 != 0: check = False break print('Yes' if check 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,199,222
s859998488
p04012
u190086340
1553797487
Python
Python (3.4.3)
py
Accepted
18
2940
302
S = input() def unique_list(seq): seen = set() seen_add = seen.add return [x for x in seq if x not in seen and not seen_add(x)] def solve(): ul = unique_list(S) for w in ul: if not S.count(w) % 2 == 0: return "No" return "Yes" res = solve() print(res)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,223
s723476918
p04012
u077019541
1553736966
Python
Python (3.4.3)
py
Accepted
17
3060
181
w = [i for i in input()] wset = set(w) check = True for i in wset: if w.count(i)%2!=0: check = False break if check==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,199,224
s316249503
p04012
u795630164
1553721383
Python
Python (3.4.3)
py
Accepted
18
2940
203
s = input() dic = {} for i in s: if i in dic.keys(): dic[i] += 1 else: dic[i] = 1 for i in dic: if dic[i] % 2 == 0: continue 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,199,225
s567606091
p04012
u455696302
1553695736
Python
Python (3.4.3)
py
Accepted
21
3316
146
from collections import Counter w = input() c = Counter(w) for i in c.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,199,226
s647983122
p04012
u363610900
1553670869
Python
Python (3.4.3)
py
Accepted
17
2940
98
w = input() for i in w: if w.count(i)%2 != 0: print('No') exit(0) print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,227
s950041794
p04012
u363610900
1553670808
Python
Python (3.4.3)
py
Accepted
17
2940
123
# -*- coding: utf-8 -*- w = input() for i in w: if w.count(i)%2 != 0: print('No') exit(0) print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,228
s541213898
p04012
u363610900
1553670685
Python
Python (3.4.3)
py
Accepted
17
2940
146
# -*- coding: utf-8 -*- w = input() s = list(w) l = [] for i in s: if s.count(i)%2 != 0: print('No') exit(0) print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,229
s376673992
p04012
u614314290
1553656344
Python
Python (3.4.3)
py
Accepted
18
2940
85
S = input() for x in set(S): if S.count(x) % 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,199,230
s331987378
p04012
u013408661
1553652638
Python
Python (3.4.3)
py
Accepted
17
2940
128
small=list('abcdefghijklmnopqrstuvwxyz') w=input() for i in small: 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,199,231
s606447192
p04012
u714533789
1553635712
Python
Python (3.4.3)
py
Accepted
17
2940
79
w=input() odd=[i for i in set(w) if w.count(i)%2] print('No' if odd else 'Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,232
s511437592
p04012
u797550216
1553630272
Python
Python (3.4.3)
py
Accepted
18
2940
176
s = input() n = len(s) k = 0 for i in range(n): c = s.count(s[i]) k += 1 if c % 2 != 0: print('No') break if k == n: 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,199,233
s595083719
p04012
u989326345
1553473447
Python
Python (3.4.3)
py
Accepted
18
3060
248
w=str(input()) 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'] p=0 for i in range(26): num=w.count(L[i]) if num%2==0: p+=1 if p==26: print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,234
s796876523
p04012
u363610900
1553413292
Python
Python (3.4.3)
py
Accepted
17
2940
110
w = input() l = list(w) for i in l: if w.count(i)%2 != 0: print('No') exit(0) print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,235
s091864158
p04012
u179719532
1553409937
Python
Python (3.4.3)
py
Accepted
17
2940
217
# coding: UTF-8 w = input() def isbeautiful(w): for a in [chr(ord('a')+i) for i in range(26)]: if w.count(a) % 2 != 0: return False return True print('Yes' if isbeautiful(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,199,236
s754561096
p04012
u811000506
1553390535
Python
Python (3.4.3)
py
Accepted
17
2940
121
w = str(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,199,237
s926067664
p04012
u227082700
1553379411
Python
Python (3.4.3)
py
Accepted
17
2940
134
s,ans=input(),0;a=[s[i]for i in range(len(s))];a.sort() for i in a: if a.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,199,238
s345638644
p04012
u588081069
1553271697
Python
Python (3.4.3)
py
Accepted
17
2940
449
String = str(input()) # setで重複を無くし,ビット演算でカウントする # ビット演算,2進数で奇数を表した場合、最後の1桁は必ず1 ## print(char.count(String) & 1) result = {} for char in String: try: result[char] += 1 except KeyError: result[char] = 1 result = list(map(lambda x: x % 2, list(result.values()))) if result == [0] * len(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,199,239
s430140918
p04012
u588081069
1553270826
Python
Python (3.4.3)
py
Accepted
18
2940
267
String = str(input()) result = {} for char in String: try: result[char] += 1 except KeyError: result[char] = 1 result = list(map(lambda x: x % 2, list(result.values()))) if result == [0] * len(result): print('Yes') else: print('No')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,240
s938201640
p04012
u325264482
1553233071
Python
Python (3.4.3)
py
Accepted
28
3444
158
import collections W = input() c = collections.Counter(W) cm = c.most_common() ans = 'Yes' for v in cm: if v[1]%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,199,241
s768459252
p04012
u488178971
1553227574
Python
Python (3.4.3)
py
Accepted
21
3316
210
# ABC 044 B import collections S =list(input()) ANS = 0 counter = collections.Counter((S)) for _ in set(S): if counter[_] %2 ==0: ANS +=1 if ANS ==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,199,242
s430271041
p04012
u721316601
1553201260
Python
Python (3.4.3)
py
Accepted
20
3316
153
from collections import Counter w = Counter(input()) ans = 'Yes' for value in w.values(): if value % 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,199,243
s502051009
p04012
u268516119
1553134144
Python
Python (3.4.3)
py
Accepted
20
3316
127
import collections w=input() dic=collections.Counter(w) if all(i%2==0 for i in dic.values()): print("Yes") else:print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,244
s574384551
p04012
u363610900
1553131438
Python
Python (3.4.3)
py
Accepted
17
2940
223
# -*- coding: utf-8 -*- def main(): w = input() s = [i for i in w] for i in s: if w.count(i)%2 != 0: print('No') exit(0) print('Yes') if __name__ == '__main__': main()
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,245
s799457757
p04012
u782654209
1553098479
Python
Python (3.4.3)
py
Accepted
17
2940
102
w = input() print('Yes') if sum([int(w.count(chr(x))%2) for x in range(97,97+26)])==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,199,246
s279191297
p04012
u280512618
1552944306
Python
Python (3.4.3)
py
Accepted
21
3316
108
from collections import Counter print('Yes' if all(x % 2 == 0 for x 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,199,247
s772969728
p04012
u824237520
1552936733
Python
Python (3.4.3)
py
Accepted
17
2940
119
w = list(input()) x = set(w) for c in x: if w.count(c) % 2 != 0: print('No') exit() print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,248
s634155530
p04012
u118642796
1552921214
Python
Python (3.4.3)
py
Accepted
18
2940
152
w = input() dic = {} for c in w: dic[c] = dic.get(c,0)+1 for k in dic: if dic[k]%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,199,249
s179093901
p04012
u518042385
1552873230
Python
Python (3.4.3)
py
Accepted
17
2940
135
word=input() list=set(word) T=True for i in list: if word.count(i)%2==1: T=False if T==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,199,250
s270752532
p04012
u518042385
1552872955
Python
Python (3.4.3)
py
Accepted
17
3060
257
alpha=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] word=input() T=True for i in alpha: if word.count(i)%2==1: T=False break if T==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,199,251
s280159952
p04012
u578953945
1552861245
Python
Python (3.4.3)
py
Accepted
17
2940
110
s=input() flg='Yes' ss = set(s) for c in list(ss): if s.count(c) % 2 != 0: flg='No' break print(flg)
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,252
s997862498
p04012
u392029857
1552852181
Python
Python (3.4.3)
py
Accepted
18
2940
174
def beautiful(w): t = set(w) s = [w.count(i) for i in t] for i in s: if i%2 != 0: return 'No' return 'Yes' w = input() print(beautiful(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,199,253
s349221613
p04012
u393512980
1552846753
Python
Python (3.4.3)
py
Accepted
20
3316
141
from collections import Counter c=Counter(input()) flag=0 for key in c: if c[key]%2: 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,199,254
s178287720
p04012
u878138257
1552800163
Python
Python (3.4.3)
py
Accepted
17
2940
129
a = input() b = 0 for i in range(len(a)): if a.count(a[i])%2!=0: print("No") b = 1 break if b==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,199,255
s130426741
p04012
u808427016
1552793431
Python
Python (3.4.3)
py
Accepted
21
3316
154
w = input() from collections import Counter cs = Counter(w) result = all(cs[c] % 2 == 0 for c in cs) if result: print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,256
s794388639
p04012
u131666536
1552661043
Python
Python (3.4.3)
py
Accepted
17
3060
286
# -*- coding: utf-8 -*- """ Created on Fri Mar 15 09:40:47 2019 @author: 17664 """ s = input() alphaList = list(set(s)) cnt = 0 ans = 'Yes' for i in alphaList: cnt = s.count(i) if cnt % 2 != 0: ans = 'No' break else: cnt = 0 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,199,257
s400879269
p04012
u285443936
1552615212
Python
Python (3.4.3)
py
Accepted
17
2940
154
w = input() a = set(w) b = [] for i in a: if w.count(i) % 2 == 0: b.append(0) else: b.append(1) if 1 in b: print("No") else: print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,258
s092034853
p04012
u728498511
1552614813
Python
Python (3.4.3)
py
Accepted
17
2940
138
from sys import exit w = input() for c in set(w): if w.count(c) % 2 != 0: break else: print("Yes") exit() 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,199,259
s608023598
p04012
u375616706
1552568752
Python
Python (3.4.3)
py
Accepted
21
3316
241
from collections import Counter # python template for atcoder1 import sys sys.setrecursionlimit(10**9) input = sys.stdin.readline w = input()[:-1] C = Counter(w) if all(v % 2 == 0 for v in C.values()): print("Yes") else: print("No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,260
s608790925
p04012
u367130284
1552553282
Python
Python (3.4.3)
py
Accepted
17
2940
56
s=input();print("YNeos"[any(s.count(i)%2for 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,199,261
s272330698
p04012
u384657160
1552512779
Python
Python (3.4.3)
py
Accepted
18
2940
151
li = list(str(input())) li1 = [x for x in set(li) if li.count(x) % 2 == 0] li2 = list(set(li)) if li1 == li2: 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,199,262
s293770127
p04012
u945418216
1552411429
Python
Python (3.4.3)
py
Accepted
18
2940
111
w = input() for x in set(w): if w.count(x)%2 == 1: print('No') break else: print('Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,263
s626083227
p04012
u071730284
1552332870
Python
Python (3.4.3)
py
Accepted
20
2940
198
w = input() occ = {} for ch in w: if not ch in occ: occ[ch] = 0 occ[ch] += 1 ans = True for v in occ.values(): if v % 2 == 1: ans = False print("Yes" if ans else "No")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,264
s474434812
p04012
u500297289
1552293573
Python
Python (3.4.3)
py
Accepted
18
2940
203
""" AtCoder """ w = list(input()) w.sort() if len(w) % 2 == 1: print("No") exit() for i in range(0, len(w)//2 + 1, 2): if w[i] != w[i+1]: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,265
s556995662
p04012
u380933932
1552249735
Python
Python (3.4.3)
py
Accepted
18
3064
557
#n=int(input()) #li=input().split() #li=list(map(int,input().split())) n=input() d=["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"] if len(n)%2==1: print("No") else: flag=0 ans="Yes" for i in range(26): if flag==0: count=0 ...
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,266
s893218981
p04012
u021877437
1552228616
Python
Python (3.4.3)
py
Accepted
18
3060
243
w = list(input().rstrip()) t = {} for i in range(len(w)): k = w[i] if k in t: t[k] += 1 else: t[k] = 1 r = True for v in t.values(): if v % 2 == 1: r = False break print('Yes' if r 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,199,267
s579197207
p04012
u794173881
1552179290
Python
Python (3.4.3)
py
Accepted
17
2940
139
s = input() alph = "abcdefghijklmnopqrstuvwxyz" for i in range(26): if s.count(alph[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,199,268
s983768801
p04012
u722535636
1552178443
Python
Python (3.4.3)
py
Accepted
18
2940
81
s=input() ss=set(s) l=[s.count(c)%2 for c in ss] print('No' if sum(l) else 'Yes')
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,269
s714537281
p04012
u677393869
1552163248
Python
Python (3.4.3)
py
Accepted
17
2940
100
N=input() for i in N: if N.count(i)%2==0: pass else: print("No") exit() print("Yes")
p04012
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Let <var>w</var> be a string consisting of lowercase letters. We will call <var>w</var> <em>beautiful</em> if the following condition is satisfied:</p> <ul> <li>Each lowercase letter of the English alph...
abaccaba
Yes
1,199,270