s_id string | p_id string | u_id string | date string | language string | original_language string | filename_ext string | status string | cpu_time string | memory string | code_size string | code string | error string | stdout string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s057081840 | p04012 | u519939795 | 1582054070 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 739 | a = str(input())
if a.count('a') % 2 == 0 and a.count('b') % 2 == 0 and a.count('c') % 2 == 0 and a.count('d') % 2 == 0
and a.count('e') % 2 == 0 and a.count('f') % 2 == 0 and a.count('g') % 2 == 0 and a.count('h') % 2 == 0
and a.count('i') % 2 == 0 and a.count('j') % 2 == 0 and a.count('k') % 2 == 0 and a.count('l') % 2 == 0
and a.count('m') % 2 == 0 and a.count('n') % 2 == 0 and a.count('o') % 2 == 0 and a.count('p') % 2 == 0
and a.count('q') % 2 == 0 and a.count('r') % 2 == 0 and a.count('s') % 2 == 0 and a.count('t') % 2 == 0
and a.count('u') % 2 == 0 and a.count('v') % 2 == 0 and a.count('w') % 2 == 0 and a.count('x') % 2 == 0
and a.count('y') % 2 == 0 and a.count('z') % 2 == 0:
print('Yes')
else:
print('No')
| File "/tmp/tmpd2f9bekg/tmpjetdo1f8.py", line 3
if a.count('a') % 2 == 0 and a.count('b') % 2 == 0 and a.count('c') % 2 == 0 and a.count('d') % 2 == 0
^
SyntaxError: expected ':'
| |
s441157275 | p04012 | u269408023 | 1581819764 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 335 | #include<bits/stdc++.h>
using namespace std;
int main(){
string s;
cin >> s;
int N=s.size();
sort(s.begin(),s.end());
int cnt=1;
for(int i=0;i<N-1;i++){
if(s.at(i)==s.at(i+1)){
cnt++;
}
else if(cnt%2!=0){
break;
}
else{
cnt=1;
}
}
if(cnt%2){
cout << "No" << endl;
}
else{
cout << "Yes" << endl;
}
} | File "/tmp/tmpsnlmujuy/tmp3aithmoz.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s048318986 | p04012 | u627803856 | 1581750821 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 154 | s = input()
from collections import Counter
c = Counter(s)
flag = True
for v in c.values():
if v%2!=0: flag = False
print('Yes' if bl else 'No') | Traceback (most recent call last):
File "/tmp/tmp28lvs8v5/tmpzk7euyxc.py", line 1, in <module>
s = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s880235168 | p04012 | u980909653 | 1581450594 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 162 | s = input()
from collections import Counter
c = Counters(s)
bl = True;
for v in c.values():
if v%2==1:
bl = False
ans = 'Yes' if bl else 'No'
print(ans)
| Traceback (most recent call last):
File "/tmp/tmptmwgl_hk/tmp0iig6f5m.py", line 1, in <module>
s = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s035039606 | p04012 | u630027862 | 1581388034 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 198 | w = input()
w_list = list(w)
w_set = set(w_list)
for val in w_set:
if w_list.count(val) % 2 == 0:
continue
else:
print('No')
break
else:
continue
print('Yes') | File "/tmp/tmpqu6eud6y/tmpcnjek8jd.py", line 11
continue
^^^^^^^^
SyntaxError: 'continue' not properly in loop
| |
s717042690 | p04012 | u961683150 | 1581007709 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 148 | from collections import Counter
s=input()
s=Couter(s)
for i in s.values():
if i%2!=0:
print("No")
break
else:
print("Yes") | Traceback (most recent call last):
File "/tmp/tmptovhevks/tmppad51_vs.py", line 3, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s128139920 | p04012 | u840958781 | 1580601789 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | w=input()
for i in range(w):
if w.count(w[i])%2==0:
ans="Yes"
else:
ans="No"
break
print(ans) | Traceback (most recent call last):
File "/tmp/tmpyzhbg5wd/tmpd_b35vvj.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s251770284 | p04012 | u843722521 | 1579878482 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 168 | from collections import defaultdict
s=list(input())
d=defaultdict(0)
for i in s:
d[i]+=1
for i in d.values():
if i%2:
print("No")
break
else:
print("Yes") | Traceback (most recent call last):
File "/tmp/tmpl6bvz4go/tmpx1587k8f.py", line 2, in <module>
s=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s312396586 | p04012 | u072717685 | 1579396100 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 139 | from collections import Counter
c1 = Counter(input())
for c num in c1:
if c1[c] % 2 != 0:
print('No')
break
else:
print('Yes')
| File "/tmp/tmpeabfren6/tmp1q69nwaw.py", line 3
for c num in c1:
^^^
SyntaxError: invalid syntax
| |
s709796543 | p04012 | u121921603 | 1579366039 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38256 | 185 | import sys
input = sys.stdin.readline
w=input().strip()
from collections import Counter
s~Counter(w)
for a in s.values():
if a%2==1:
print("No")
exit()
print("Yes")
| File "/tmp/tmpaucmwq_i/tmp2wtgzf92.py", line 5
s~Counter(w)
^
SyntaxError: invalid syntax
| |
s502660255 | p04012 | u556016145 | 1578281091 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 168 | import collections
s = input()
lst = []
for i in s:
lst.append(i)
c = collections.Counter(lst)
if sum(c.values()) % 2 == 0:
print('Yes')
else:
print('No') | File "/tmp/tmpfvhhlwgr/tmpio82nls9.py", line 1
import collections
IndentationError: unexpected indent
| |
s477181961 | p04012 | u668352391 | 1578091984 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 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') | File "/tmp/tmp23qpao_o/tmp802qxnkr.py", line 13
if dic[key]%2 !- 0:
^
SyntaxError: invalid syntax
| |
s866791160 | p04012 | u473023730 | 1577822782 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | import sys
w = list(input())
for i in w.count(i):
if i%2==1:
print("No")
sys.exit()
print("Yes") | Traceback (most recent call last):
File "/tmp/tmphm96p45t/tmpakfmfu3t.py", line 2, in <module>
w = list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s759224730 | p04012 | u473023730 | 1577760892 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | w = list(input())
for i in w:
if count.w(i) %2 == 1:
print("No")
break
print("Yes")
| Traceback (most recent call last):
File "/tmp/tmpw99qebip/tmp75s7qm5u.py", line 1, in <module>
w = list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s907764683 | p04012 | u025595730 | 1577297651 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 311 | # 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 -1
print('Yes')
return 0
if __name__ == '__main__':
sys.exit(main())
| Traceback (most recent call last):
File "/tmp/tmpdnbzp5oy/tmp3jpedd5l.py", line 25, in <module>
sys.exit(main())
^^^^^^
File "/tmp/tmpdnbzp5oy/tmp3jpedd5l.py", line 7, in main
char_list = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s840615125 | p04012 | u006425112 | 1577028977 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 197 | from collections import Counter
w = input()
c = Counter(l)
flag = True
for i in c.values():
if i % 2 == 1:
flag = False
break
if flag:
print("Yes")
else:
print("No") | Traceback (most recent call last):
File "/tmp/tmp4mz2ye1m/tmpymlsi73i.py", line 2, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s734744823 | p04012 | u063073794 | 1576716742 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 178 | w = input()
print(set(w))
"""for i in set(w):
print(w)
if w.count(i)%2 != 0:
print("No")
exit()
print("Yes")"""
γ»γγγ§εΊγ¦γγζεεγη΅γ£γ¦ζ°γγ | Traceback (most recent call last):
File "/tmp/tmp3gmunpbj/tmp_e56832w.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s191747022 | p04012 | u503111914 | 1576127260 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | S = input()
A = set([i for i in S])
for j in range(len(A)):
if S.count(A[j]) % 2 == 1:
print("Yes")
sys.exit()
else:
None
print("No")
| Traceback (most recent call last):
File "/tmp/tmp_uhhp83c/tmp8hskydog.py", line 1, in <module>
S = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s809323558 | p04012 | u779728630 | 1573674117 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 125 | w = input()
f = True
for i in renge(len(w)):
if w.count(w[i]) % 2 == 1:
print("No")
f = False
if f:
print("Yes") | Traceback (most recent call last):
File "/tmp/tmp2nie0_uk/tmpoaxb9x21.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s632817048 | p04012 | u052499405 | 1573618247 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 266 | #!/usr/bin/env python3
import sys
sys.setrecursionlimit(10**8)
input = sys.stdin.readline
count = [0] * 26
w = input()
for ch in w:
count[ord(ch) - ord("a")] += 1
ok = True
for item in count:
if item % 2 == 1:
ok = False
print("Yes" if ok else "No") | Yes
| |
s982289111 | p04012 | u970197315 | 1572182311 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 318 | # ABC044 B - ηΎγγζεε / Beautiful Strings
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
S = si()
SS = set()
for s in S:
SS.add(s)
for ss in SS:
if S.count(SS)%2==1:
print('No')
exit()
print('Yes')
| Traceback (most recent call last):
File "/tmp/tmpj_izzs45/tmpkxktp294.py", line 7, in <module>
S = si()
^^^^
File "/tmp/tmpj_izzs45/tmpkxktp294.py", line 2, in <lambda>
si = lambda: input()
^^^^^^^
EOFError: EOF when reading a line
| |
s768286111 | p04012 | u435084726 | 1572112280 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 111 | w = input()
ans = "No"
for i in w:
if w.count(i)%2! = 0:
break
else:
ans = "Yes"
print(ans)
| File "/tmp/tmpxi13urr5/tmpua5ft67m.py", line 5
if w.count(i)%2! = 0:
^
SyntaxError: invalid syntax
| |
s059686949 | p04012 | u435084726 | 1572112234 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38256 | 118 | w = input()
for i in w:
if w.count(i)%2! = 0:
ans = "No"
break
else:
ans = "Yes"
print(ans)
| File "/tmp/tmpsbo7dam5/tmp01_8iw99.py", line 4
if w.count(i)%2! = 0:
^
SyntaxError: invalid syntax
| |
s283050959 | p04012 | u435084726 | 1572112218 | Python | PyPy3 (2.4.0) | py | Runtime Error | 175 | 38256 | 122 | w = input()
for i in w:
if w.count(i)%2! = 0:
ans = "No"
break
else:
ans = "Yes"
print(ans)
| File "/tmp/tmpxl043txi/tmpjf3i3t00.py", line 4
if w.count(i)%2! = 0:
^
SyntaxError: invalid syntax
| |
s844195697 | p04012 | u435084726 | 1572112119 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38384 | 113 | w = input()
for i in w:
if w.count(i)%2! = 0:
print("No")
break
else:
print("Yes")
| File "/tmp/tmp1065vhuq/tmpie1l8kog.py", line 4
if w.count(i)%2! = 0:
^
SyntaxError: invalid syntax
| |
s123754811 | p04012 | u435084726 | 1572112038 | Python | PyPy3 (2.4.0) | py | Runtime Error | 162 | 38384 | 118 | w = input()
for i in w:
if w.count(i)%2! = 0:
print("No")
break
else:
print("Yes")
| File "/tmp/tmp9x9ts8j0/tmp71dnpflo.py", line 4
if w.count(i)%2! = 0:
^
SyntaxError: invalid syntax
| |
s513022707 | p04012 | u435084726 | 1572112006 | Python | PyPy3 (2.4.0) | py | Runtime Error | 159 | 38256 | 117 | w = input()
for i in w:
if w.count(i)%2! = 0:
print("No")
break
else:
print("Yes")
| File "/tmp/tmpc5a01riy/tmp3h13mmjt.py", line 4
if w.count(i)%2! = 0:
^
SyntaxError: invalid syntax
| |
s085133143 | p04012 | u747602774 | 1569784217 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 179 | w=list(input())
ans=sorted(w)
while ans[-1]==ans[-2] and len(ans)>1:
del ans[-2:]
if len(ans)==0 or len(ans)==1:
break
if len(ans)==0:
print('Yes')
else:
print('No') | Traceback (most recent call last):
File "/tmp/tmpnevxatek/tmp576xvx0i.py", line 1, in <module>
w=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s425434012 | p04012 | u747602774 | 1569783859 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 167 | w=list(input())
ans=sorted(w)
while ans[-1]==ans[-2]:
del ans[-2:]
if len(ans)==0 or len(ans)==1:
break
if len(ans)==0:
print('Yes')
else:
print('No')
| Traceback (most recent call last):
File "/tmp/tmpyemisedc/tmp0vnhlaq2.py", line 1, in <module>
w=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s988904607 | p04012 | u747602774 | 1569783739 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 162 | w=list(input())
ans=sorted(w)
while ans[-1]==ans[-2]:
del ans[-2:]
if len(ans)==0 or len(ans)==1:
break
if ans==[]:
print('Yes')
else:
print('No')
| Traceback (most recent call last):
File "/tmp/tmpp2i0_fip/tmpv5jay5aj.py", line 1, in <module>
w=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s090802964 | p04012 | u747602774 | 1569783656 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 168 | w=list(input())
ans=sorted(w)
print(ans)
while ans[-1]==ans[-2]:
del ans[-2:]
if ans==[] or len(ans)==1:
break
if ans==[]:
print('Yes')
else:
print('No')
| Traceback (most recent call last):
File "/tmp/tmp2wp4cahz/tmpgdk7sm_5.py", line 1, in <module>
w=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s704744073 | p04012 | u747602774 | 1569783591 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 182 | w=list(input())
ans=sorted(w)
print(ans)
while ans[-1]==ans[-2]:
del ans[-2:]
if ans==[] or len(ans)==1:
break
print(ans)
if ans==[]:
print('Yes')
else:
print('No')
| Traceback (most recent call last):
File "/tmp/tmpj97y8sy3/tmpbspqkrcx.py", line 1, in <module>
w=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s279260520 | p04012 | u747602774 | 1569783496 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 165 | w=list(input())
ans=sorted(w)
print(ans)
while ans[-1]==ans[-2]:
del ans[-2:]
if ans==[]:
break
print(ans)
if ans==[]:
print('Yes')
else:
print('No') | Traceback (most recent call last):
File "/tmp/tmpjgrdowdh/tmpaejsm2fe.py", line 1, in <module>
w=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s903294742 | p04012 | u556371693 | 1569275349 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3768 | 196 | w=input()
if len(w)%2==1:
print('No')
else:
c=0
import string
for _ in string.ascii_lowercase:
if not w.count(_)%2==0:
c+=1
if c==0:
print('Yes')
else:
print('No') | Traceback (most recent call last):
File "/tmp/tmpwoefydza/tmp0ql9wxyr.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s974394535 | p04012 | u980322611 | 1569193157 | Python | PyPy3 (2.4.0) | py | Runtime Error | 186 | 39536 | 213 | w = input()
from collection import defaultdict
D = defaultdict(int)
for i in w:
D[i]+=1
flag = 0
for i in D:
if D[i]%2==1:
flag = 1
break
if flag==1:
print("No")
else:
print("Yes") | Traceback (most recent call last):
File "/tmp/tmpusag9qx8/tmpljr6wmk3.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s330645944 | p04012 | u760767494 | 1568387691 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 126 | w=input()
s=''
while True:
s=w[0]
if w.count(s)%2==1:
print('No')
break
w=w.replace(s,'')
if w:
print('Yes')
break | Traceback (most recent call last):
File "/tmp/tmpqxlhhujc/tmp99o0wzb4.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s096993087 | p04012 | u760767494 | 1568387573 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 146 | w=input()
s=''
while True:
s=w[0]
if w.count(s)%2==1:
print('No')
break
print(w)
w=w.replace(s,'')
print(w)
if w:
print('Yes')
break | Traceback (most recent call last):
File "/tmp/tmpodbmb0_t/tmpbydbhvv_.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s949829892 | p04012 | u760767494 | 1568386195 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 129 | w=str(input())
s=''
while True:
s=w[0]
if w.count(s)%2==1:
print('No')
break
w.replane(s,'')
if w:
print('Yes')
break | Traceback (most recent call last):
File "/tmp/tmp3mvwjc83/tmplfhjw077.py", line 1, in <module>
w=str(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s120320286 | p04012 | u699699071 | 1568255441 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 145 | w=input()
for i in range(len(w)):
if w.count(w[i])%2==0:
pass
else:
break
else:
print("Yes")
exit(1)
print("No") | Traceback (most recent call last):
File "/tmp/tmpb_7_qlmz/tmpp1tnzn96.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s024585903 | p04012 | u699699071 | 1568255408 | Python | PyPy3 (2.4.0) | py | Runtime Error | 183 | 38384 | 145 | w=input()
for i in range(len(w)):
if w.count(w[i])%2==0:
pass
else:
break
else:
print("Yes")
exit(1)
print("No") | Traceback (most recent call last):
File "/tmp/tmp0g6c19qa/tmpmzyclorm.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s845841903 | p04012 | u868600519 | 1568208642 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | a = defaultdict(int)
for w in input():
a[w] += 1
print('Yes' if sum(c % 2 for c in a.values()) == 0 else 'No')
| Traceback (most recent call last):
File "/tmp/tmpar3__av8/tmpnt4o8b41.py", line 1, in <module>
a = defaultdict(int)
^^^^^^^^^^^
NameError: name 'defaultdict' is not defined
| |
s291530771 | p04012 | u597455618 | 1568056411 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | w = input()
print("Yes" if all[s.count(i)%2 == 0 for i in set(s)] else "No") | File "/tmp/tmpv0yojics/tmpk4geoihc.py", line 2
print("Yes" if all[s.count(i)%2 == 0 for i in set(s)] else "No")
^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
s044250902 | p04012 | u993161647 | 1568051728 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 342 | import sys
while True:
w = input()
if not w.islower():
continue
if len(w) >= 100:
continue
for n_alpha in "abcdefghijklmnopqrstuvwxyz":
count_alpha = w.count(n_alpha)
if count_alpha % 2 == 1:
print('No')
else:
print('Yes')
break
break
sys.exit() | Traceback (most recent call last):
File "/tmp/tmpr7n6e4aw/tmp91mmrxna.py", line 4, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s021142408 | p04012 | u993161647 | 1568051685 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 417 | import sys
def input_w():
w = input()
while w.islower():
length = len(w)
if length >= 100:
return input_w()
for n_alpha in "abcdefghijklmnopqrstuvwxyz":
count_alpha = w.count(n_alpha)
if count_alpha % 2 == 1:
print('No')
return input_w()
print('Yes')
sys.exit()
return input_w()
w=input_w() | Traceback (most recent call last):
File "/tmp/tmppmnme680/tmpsb5l5hgw.py", line 23, in <module>
w=input_w()
^^^^^^^^^
File "/tmp/tmppmnme680/tmpsb5l5hgw.py", line 4, in input_w
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s876632954 | p04012 | u264265458 | 1567138977 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 128 | a=list(input())
sum=0
b=set(a)
for i in range(len(b)):
if a.count(b[i])%2==0:
sum+=1
print("Yes" if sum==len(b) else "No") | Traceback (most recent call last):
File "/tmp/tmpjg4cqz9o/tmpksg7ck1f.py", line 1, in <module>
a=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s413405510 | p04012 | u835482198 | 1567138425 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 204 | from collectiosn import Counter
c = Counter(input())
valid = True
for key, value in c.items():
if value % 2 == 1:
valid = False
break
if valid:
print("Yes")
else:
print("No")
| Traceback (most recent call last):
File "/tmp/tmpwzvrauby/tmpl4_s3n6z.py", line 1, in <module>
from collectiosn import Counter
ModuleNotFoundError: No module named 'collectiosn'
| |
s791180800 | p04012 | u865413330 | 1566940454 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 131 | import collections
w = list(input())
c = collections.Counter(w)
print("Yes") if all([i % 2 == 0 for i in list(c)]) else print("No") | Traceback (most recent call last):
File "/tmp/tmp4_vni_kp/tmpy5z__adm.py", line 2, in <module>
w = list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s717664967 | p04012 | u410118019 | 1566441686 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | w = input()
for i in w:
if w.coount(i) % 2:
print('No')
exit()
print('Yes') | Traceback (most recent call last):
File "/tmp/tmpm6kp2upw/tmpo3ss6szo.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s813065337 | p04012 | u624075921 | 1565889983 | Python | PyPy3 (2.4.0) | py | Runtime Error | 203 | 38512 | 177 | from collections import Counter as ca
s = input()
count = ca(s)
count = list(ca.values())
ans = 'Yes'
for i in count:
if i % 2 != 0:
ans = 'No'
break
print(ans) | Traceback (most recent call last):
File "/tmp/tmpufdp2ifq/tmpna9eub_y.py", line 3, in <module>
s = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s689239791 | p04012 | u457554982 | 1565710166 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 190 | w=input()
alphabet=[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]
flag=0
for i in alphabet:
num=w.count(i)
if num%2==1:
flag=1
break
if flag==0:
print("Yes")
else:
print("No") | Traceback (most recent call last):
File "/tmp/tmpr35ancio/tmpzfqo7pu9.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s270463276 | p04012 | u134712256 | 1565390005 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | w = input()
for i in set(w):
if w.count(i)%2 == 1:
print("No")
exit(1)
print("Yes")
| Traceback (most recent call last):
File "/tmp/tmp0h0mu2wd/tmpmtfag353.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s296772721 | p04012 | u134712256 | 1565389596 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | w = input()
for i in set(w):
if w.count(i)%2 == 1:
print("No")
exit(1)
print("Yes")
| Traceback (most recent call last):
File "/tmp/tmpnij8g45t/tmpmfzddyr6.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s267918182 | p04012 | u134712256 | 1565389205 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | w = input()
for i in range(len(w)):
if w.count(w[i])%2 == 1:
print("No")
exit(1)
print("Yes")
| Traceback (most recent call last):
File "/tmp/tmppqcx2rvx/tmpl6krop8u.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s503918472 | p04012 | u736729525 | 1565218654 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 147 | from collections import Counter
r = 0
cnt = Counter(input()):
for c in cnt:
r += cnt[c] % 2
if r == 0:
print("Yes")
else:
print("No")
| File "/tmp/tmpuzc4ehdh/tmpxgfo71vo.py", line 3
cnt = Counter(input()):
^
SyntaxError: invalid syntax
| |
s827117171 | p04012 | u084324798 | 1565180988 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 230 | word = input()
flag = True
if len(word)%2 == 1:
flag = False
wordset = set(word)
leng = len(wordset)
for s in wordset:
if word.count(s)οΌ
2 == 1:
flag = False
break
if flag:print("Yes")
else: print("No")
| File "/tmp/tmpm1y394w2/tmpztwktpks.py", line 10
if word.count(s)οΌ
2 == 1:
^
SyntaxError: invalid character 'οΌ
' (U+FF05)
| |
s011595300 | p04012 | u084324798 | 1565180656 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 249 | word = input()
flag = True
if len(word)%2 == 1:
flag = False
wordset = set(word)
leng = len(wordset)
i = 0
while flag and (i<leng):
if (word.count(wordset[i]))%2 == 1:
flag = False
i += 1
if flag:print("Yes")
else: print("No")
| Traceback (most recent call last):
File "/tmp/tmp5x2_oxvf/tmpn1mh8t7u.py", line 1, in <module>
word = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s681705866 | p04012 | u084324798 | 1565178980 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 261 | word = input()
flag = True
if len(word)%2 == 1:
flag = False
wordset = set(word)
leng = len(wordset)
i = 0
while flag and (i<leng):
if word.count(wordset[i])%2 == 1:
flag = False
break
i += 1
if flag:print("Yes")
else: print("No")
| Traceback (most recent call last):
File "/tmp/tmpjid_ha6s/tmpkz9zmr7_.py", line 1, in <module>
word = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s508502807 | p04012 | u084324798 | 1565178572 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 345 | word = input()
flag = True
if len(word)%2 == 1:
flag = False
tab = ["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"]
i = 0
leng = len(word)
while flag and (i<leng):
if word.count(tab[i])%2 == 1:
flag = False
break
i += 1
if flag:print("Yes")
else: print("No")
| Traceback (most recent call last):
File "/tmp/tmpzwjhgh9u/tmpjhw5pbbk.py", line 1, in <module>
word = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s706527376 | p04012 | u084324798 | 1565178134 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 338 | import sys
word = input()
if len(word)%2 == 1:
print("No")
sys.exit()
tab = ["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"]
flag = True
for i in range(len(word)):
if word.count(tab[i])%2 == 1:
flag = False
break
if flag:print("Yes")
else: print("No")
| Traceback (most recent call last):
File "/tmp/tmptv0f9kbj/tmpdf188x4g.py", line 2, in <module>
word = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s040112779 | p04012 | u084324798 | 1565177775 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 336 | import sys
word = input()
tab = ["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"]
flag = True
if len(word)%2 == 1:
print("No")
sys.exit()
for i in range(len(word))
if word.count(tab[i])%2 == 1:
flag = False
break
if flag:print("Yes")
else: print("No") | File "/tmp/tmphflqle4j/tmpu2jbur03.py", line 9
for i in range(len(word))
^
SyntaxError: expected ':'
| |
s638027427 | p04012 | u498397607 | 1564897315 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 241 | main():
ans = func(input())
print(ans)
def func(sentence):
unique_list = set(sentence)
for s in unique_list:
if sentence.count(s) % 2 != 0:
return('No')
break
return('Yes')
if __name__ == '__main__':
main() | File "/tmp/tmpk9cjxl5v/tmpf35he_28.py", line 1
main():
^
SyntaxError: invalid syntax
| |
s146519517 | p04012 | u423585790 | 1563562771 | Python | PyPy3 (2.4.0) | py | Runtime Error | 186 | 38640 | 1629 | #!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')
#A
def A():
n = II()
k = II()
x = II()
y = II()
ans = 0
for i in range(n):
if i >= k:
ans += y
else:
ans += x
print(ans)
return
#B
def B():
w = S()
d = defaultdict(int)
for s in w:
d[s] += 1
for di in d.values():
if di % 2:
continue
print("No")
break
print("Yes")
return
#C
def C():
return
#D
def D():
return
#E
def E():
return
#F
def F():
return
#G
def G():
return
#H
def H():
return
#Solve
if __name__ == '__main__':
A()
| Traceback (most recent call last):
File "/tmp/tmpb40xvhgr/tmpxe_1a2ma.py", line 86, in <module>
A()
File "/tmp/tmpb40xvhgr/tmpxe_1a2ma.py", line 33, in A
n = II()
^^^^
File "/tmp/tmpb40xvhgr/tmpxe_1a2ma.py", line 17, in II
def II(): return int(stdin.readline())
^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
| |
s429807369 | p04012 | u423585790 | 1563562763 | Python | PyPy3 (2.4.0) | py | Runtime Error | 176 | 38768 | 1628 | #!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')
#A
def A():
n = II()
k = II()
x = II()
y = II()
ans = 0
for i in range(n):
if i >= k:
ans += y
else:
ans += x
print(ans)
return
#B
def B():
w = S()
d = defaultdict(int)
for s in w:
d[s] += 1
for di in d.values():
if d % 2:
continue
print("No")
break
print("Yes")
return
#C
def C():
return
#D
def D():
return
#E
def E():
return
#F
def F():
return
#G
def G():
return
#H
def H():
return
#Solve
if __name__ == '__main__':
A()
| Traceback (most recent call last):
File "/tmp/tmpaxqv1eqb/tmpstnaw90i.py", line 86, in <module>
A()
File "/tmp/tmpaxqv1eqb/tmpstnaw90i.py", line 33, in A
n = II()
^^^^
File "/tmp/tmpaxqv1eqb/tmpstnaw90i.py", line 17, in II
def II(): return int(stdin.readline())
^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
| |
s513517444 | p04012 | u239342230 | 1562986213 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | w=input()
arr=[]
for i in set(s):
arr.append(s.count(i)%2==0)
print(all(arr))
| Traceback (most recent call last):
File "/tmp/tmpna2poam5/tmpf6_5hyzt.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s416330712 | p04012 | u239342230 | 1562986185 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | #!/usr/bin/env python
# coding=utf-8
w=input()
arr=[]
for i in set(s):
arr.append(s.count(i)%2==0)
print(all(arr))
| Traceback (most recent call last):
File "/tmp/tmp_s_7wdgr/tmp17j7z5n5.py", line 3, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s533765173 | p04012 | u093500767 | 1562521342 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 134 | from collections import Counter
l = list(input())
x = Counter(l)
for i in x:
if i%2==1:
print("No")
else:
print("Yes") | Traceback (most recent call last):
File "/tmp/tmppuxe65jd/tmppdihlp8n.py", line 2, in <module>
l = list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s911877569 | p04012 | u456033454 | 1562378370 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 168 | import sys
s = input()
ans = {}
for i in s:
if i in ans:
ans[i] +=1
else:
ans[i] = 0
for i in ans:
if i%2 !=0:
print('No')
sys.exit()
print('Yes') | Traceback (most recent call last):
File "/tmp/tmpj65fd7q7/tmpj_hydjv_.py", line 2, in <module>
s = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s597826325 | p04012 | u456033454 | 1562376551 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38256 | 208 | import sys
s = input()
ans = ['a':0,'b':0,'c':0]
for i in s:
if i in ans:
ans[i] +=1
else:
print('NO')
sys.exit()
print('YES' if (ans['a']%2==0 and ans['a']%2==0 and ans['a']%2==0) else 'NO') | File "/tmp/tmp94auksk0/tmp8htl4bqj.py", line 3
ans = ['a':0,'b':0,'c':0]
^
SyntaxError: invalid syntax
| |
s723768553 | p04012 | u759412327 | 1562124851 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 165 | from collections import Counter
a = input()
b = Counter(a)
c = 0
for i in b.values:
if i%2!=0:
c = 1
else:
if c==0:
print("Yes")
else:
print("No") | Traceback (most recent call last):
File "/tmp/tmptmm_mh4o/tmputrtw6gy.py", line 2, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s987934613 | p04012 | u759412327 | 1562124829 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 175 | from collections import Counter
a = input()
b = Counter(a)
c = 0
for i in b.values:
if i%2!=0:
c = 1
break
else:
if c==0:
print("Yes")
else:
print("No") | Traceback (most recent call last):
File "/tmp/tmpu49vpmrc/tmpqesr4t_2.py", line 2, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s977639160 | p04012 | u902151549 | 1561947189 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 482 | #include <iostream>
#include <string>
#include <map>
#include <cfenv>
#include <cmath>
#include <vector>
#include<cstdio>
#include <iterator>
#include <sstream>
#include <algorithm>
#include <numeric>
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
vector<int> c(26,0);
for (int a = 0; a < s.size(); a++) {
c[s[a] - 97]++;
}
bool f = true;
for (int a = 0; a < c.size(); a++) {
if (c[a] % 2 == 1)f = false;
}
cout <<(f?"Yes":"No")<< endl;
}
| File "/tmp/tmpeakqqwj0/tmplo6256m1.py", line 12
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s740712178 | p04012 | u902151549 | 1561947131 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 480 | #include <iostream>
#include <string>
#include <map>
#include <cfenv>
#include <cmath>
#include <vector>
#include<cstdio>
#include <iterator>
#include <sstream>
#include <algorithm>
#include <numeric>
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
vector<int> c(26,0);
for (int a = 0; a < s.size(); a++) {
c[s[a] - 97]++;
}
bool f = true;
for (int a = 0; a < c.size; a++) {
if (c[a] % 2 == 1)f = false;
}
cout <<(f?"Yes":"No")<< endl;
}
| File "/tmp/tmpd7zl3kuv/tmp1ywazjse.py", line 12
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s735213886 | p04012 | u044025551 | 1561580107 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | w=input()
list=w.spilt()
YN="Yes"
for i in list:
if w.count(i)%2!=0:
YN="No"
break
print(YN)
| Traceback (most recent call last):
File "/tmp/tmp158zf3hi/tmpdaafqmmj.py", line 1, in <module>
w=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s564637150 | p04012 | u775266130 | 1560915698 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 903 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define N 100005
#define MOD 1000000007
#define dd double
#define rep(i, n) for(ll i = 0; i < n; i++)
#define REP(i,a,b) for(ll i=a;i<b;i++)
#define rep1(i,b) for(ll i=1;i<=b;i++)
#define pb push_back
#define mp make_pair
#define clr(x) x.clear()
#define sz(x) ((int)(x).size())
#define vi vector<ll>
#define all(v) v.begin(), v.end()
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string inp = "";
cin >> inp;
int arr[26];
memset(arr, 0, sizeof(arr));
rep(i, inp.length()) {
arr[inp[i] - 'a']++;
}
bool flg = false;
rep(i, 26) {
if (arr[i] % 2 == 0) {
flg = true;
}
else if (arr[i] % 2 == 1) {
flg = false;
break;
}
}
if(flg == true) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
//cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s.\n";
return 0;
} | File "/tmp/tmp4l93acyi/tmpuri1wwe1.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s112042846 | p04012 | u663014688 | 1560459384 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 172 | w = input()
flg = True
for i in list("abcdefghijklmnopqrstuvwxyz"):
if w.count(w[i]) % 2 != 0:
flg = False
if flg:
print('Yes')
else:
print('No')
| Traceback (most recent call last):
File "/tmp/tmp0_31_h9a/tmpyq20dh_k.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s103951978 | p04012 | u223646582 | 1560447570 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 164 | w=sorted(input())
if len(w)%2==1:
print('No')
else:
while len(w)>=2:
if w.pop(0)!=w.pop(0):
print('No')
exit()
print('Yes') | File "/tmp/tmptkq6e5zj/tmppa7ufe0c.py", line 9
print('Yes')
TabError: inconsistent use of tabs and spaces in indentation
| |
s481437709 | p04012 | u778814286 | 1560426030 | Python | PyPy3 (2.4.0) | py | Runtime Error | 162 | 38256 | 124 | w = input()
for i in range(ord('a'),ord('z')+1):
if w.count(chr(i))%2==1:
print('No')
break()
else: print('Yes')
| File "/tmp/tmp69j79e3x/tmprtygwsvj.py", line 6
break()
^
SyntaxError: invalid syntax
| |
s126808444 | p04012 | u701318346 | 1560340670 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 135 | w = list(input())
s = set(w)
ans = 'Yes'
for i in range(len(s)):
if w.count(s[0]) % 2 == 1:
ans = 'No'
break
print(ans) | Traceback (most recent call last):
File "/tmp/tmp59lt2pz3/tmpobw1c5qt.py", line 1, in <module>
w = list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s245826227 | p04012 | u131405882 | 1560218047 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | w = input()
for t in w:
if any(w.count(t)%2) == 0:
print('Yes')
else:
print('No') | Traceback (most recent call last):
File "/tmp/tmpuuf9gm11/tmpd7_x69wx.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s539173525 | p04012 | u463655976 | 1559610142 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | w = 0
codea = "a".encode()
for x in input():
w ^= 1 << (x.encode() - codea)
print("No" if w!=0 else "Yes")
| Traceback (most recent call last):
File "/tmp/tmp_ri4df2b/tmp22ai7qcs.py", line 3, in <module>
for x in input():
^^^^^^^
EOFError: EOF when reading a line
| |
s166564940 | p04012 | u623687794 | 1559425559 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 183 | from collections import Counter
s=input()
c=Counter(s)
flag=0
a=c.values()
for i in range(len(a)):
if a[i]%2==1:
flag=1
break
if flag==0:
print("Yes")
else:
print("No")
| Traceback (most recent call last):
File "/tmp/tmpth5qi1hr/tmp54f18wc1.py", line 2, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s985588682 | p04012 | u623687794 | 1559425473 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3316 | 181 | from collections import Counter
s=input()
c=Counter(s)
flag=0
for i in range(len(c.value)):
if c.value[i]%2==1:
flag=1
break
if flag==0:
print("Yes")
else:
print("No") | Traceback (most recent call last):
File "/tmp/tmp6xpi9kua/tmp_4apl9fd.py", line 2, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s426564677 | p04012 | u167681750 | 1558752907 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | print("Yes" if all(i % 2 == 0 for i in Counter(input()).values()) else "No")
| Traceback (most recent call last):
File "/tmp/tmph8f1ng2n/tmpug43yha9.py", line 1, in <module>
print("Yes" if all(i % 2 == 0 for i in Counter(input()).values()) else "No")
^^^^^^^
NameError: name 'Counter' is not defined
| |
s410524656 | p04012 | u856169020 | 1558717460 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 216 | w = str(input())
s = dic()
for wrd in w:
if s.get(wrd) is None:
s[wrd] = 1
else:
s[wrd] += 1
ans = 1
for wrd in s:
if s[wrd] %2 !=0:
ans = 0
break
if ans:
print("Yes")
else:
print("No")
| Traceback (most recent call last):
File "/tmp/tmpv7bzv9sd/tmp1zlsabkk.py", line 1, in <module>
w = str(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s438914132 | p04012 | u008489560 | 1558641681 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 128 | w = sorted(input())
ret = 'Yes'
for i in range(0, len(w), 2):
if w[i] != w[i+1]:
ret = 'No'
break
print(ret) | Traceback (most recent call last):
File "/tmp/tmptzlrn8hf/tmpoej07b7o.py", line 1, in <module>
w = sorted(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s343473633 | p04012 | u059262067 | 1556948548 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | x = input()
s = set(list(x))
f = 0
for i in s:
x.count(i) % 2 == 1:
f = 1
break
if f == 1:
print("No")
else:
print("Yes")
| File "/tmp/tmpykz5_qrh/tmp9ivnnjoh.py", line 5
x.count(i) % 2 == 1:
^
SyntaxError: invalid syntax
| |
s253647568 | p04012 | u651277159 | 1556750840 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | W = input()
r = {}
for w in W:
r.setdefault(w, 0)
r[w] += 1
print("Yes" if len(list(filter(lambda x: x % 2 == 1, r))) == 0 else "No")
| Traceback (most recent call last):
File "/tmp/tmp6qi6y1rk/tmpdw89_wyg.py", line 1, in <module>
W = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s232805462 | p04012 | u220345792 | 1556410570 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 236 | w = input()
flag = False
arr = []
for i in range(w):
arr.append(i)
set_arr = list(set(arr))
for i in set_arr:
cout_num = arr.count(i)
if count_num % 2 != 0:
flag = True
break
if flag:
print("No")
else:
print("Yes")
| Traceback (most recent call last):
File "/tmp/tmprlilgur1/tmpuuasxif8.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s467838680 | p04012 | u149752754 | 1555631026 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 299 | 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]
ans = anslist[0]
print(ans)
| Traceback (most recent call last):
File "/tmp/tmpua0kybxz/tmpfey3kph8.py", line 1, in <module>
mojiretsu = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s192354913 | p04012 | u149752754 | 1555630800 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 282 | W = input()
lett = list(W)
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]
ans = anslist[0]
print(ans)
| Traceback (most recent call last):
File "/tmp/tmpowcij13m/tmpio4intho.py", line 1, in <module>
W = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s558496697 | p04012 | u149752754 | 1555630645 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 281 | W = input()
lett = list(W)
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]
ans = anslist[0]
print(ans) | Traceback (most recent call last):
File "/tmp/tmpp44x6m32/tmphon8c7kv.py", line 1, in <module>
W = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s037148936 | p04012 | u844005364 | 1555442602 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 148 | 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") | Traceback (most recent call last):
File "/tmp/tmp1uebbzhy/tmptrn286ao.py", line 1, in <module>
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s031803532 | p04012 | u360090862 | 1554565939 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 155 | 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() | File "/tmp/tmp49mqojpc/tmptgbquo40.py", line 3
for j in [chr(i) for i in range(91,91+26)]
^
SyntaxError: expected ':'
| |
s153570689 | p04012 | u019996510 | 1554342320 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | def main2():
w = input()
judge = "Yes"
for i in w:
if w.count(i) % 2 != 0:
judge = false
print(judge)
main2() | Traceback (most recent call last):
File "/tmp/tmpw6qgoefm/tmpa2eglto_.py", line 9, in <module>
main2()
File "/tmp/tmpw6qgoefm/tmpa2eglto_.py", line 2, in main2
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s085050523 | p04012 | u019996510 | 1554342248 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 143 | def main2():
w = input()
judge = ""
for i in w:
if w.count(i) % 2 != 0:
judge = false
print(judge)
main2() | Traceback (most recent call last):
File "/tmp/tmp2bp4g2wj/tmpt6d0_odt.py", line 9, in <module>
main2()
File "/tmp/tmp2bp4g2wj/tmpt6d0_odt.py", line 2, in main2
w = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s032155890 | p04012 | u826557401 | 1553976158 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 222 | w = str(input())
w_list = list(w)
str_list = [chr(i) for i in range(97, 97+26)]
count = 0
for i in str_list:
if w_list.count(str_list[i])%2 == 0:
count +=1
else:
print("NO")
break
if count == 26:
print("YES") | Traceback (most recent call last):
File "/tmp/tmpav7eiisi/tmp_9yxcfj_.py", line 1, in <module>
w = str(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s250181414 | p04012 | u227082700 | 1553379319 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | 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") | File "/tmp/tmpd_i5_p6m/tmpvwhxf_15.py", line 4
if ans=0:print("Yes")
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s462674606 | p04012 | u518042385 | 1552873179 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 132 | 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") | File "/tmp/tmply7geho1/tmpdb1tfi13.py", line 7
if T=True:
^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s091579764 | p04012 | u878138257 | 1552800052 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | a = input()
b = 0
for i in len(a):
if a.count(a[i])%2!=0:
print("No")
b = 1
break
if b==0:
print("Yes")
| Traceback (most recent call last):
File "/tmp/tmp0ydebqk2/tmpjrcw51gs.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s479083550 | p04012 | u301302814 | 1551400568 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 199 | # coding: utf-8
S = input()
cnt = {}
flg = True
for s in S:
if s in cnt:
cnt[s] = 1
else:
cnt[s] += 1
for i in cnt.values():
if j % 2 != 0:
flg = False
print('Yes' if flg else 'No') | Traceback (most recent call last):
File "/tmp/tmpmob9oyha/tmpzqap8wta.py", line 2, in <module>
S = input()
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.