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 stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s781069766 | p03697 | u143492911 | 1517778225 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 286 | n=int(input())
s=[]
for i in range(n):
s.append(int(input()))
total=sum(s)
s.sort()
if total%10!=0:
print(total)
else:
for i in s:
if i%10!=0:
total-=i
if total%10!=0:
break
if total%10==0:
print(0)
else:
print(total)
|
s193281364 | p03697 | u978494963 | 1517692539 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | s = list(map(lambda x: int(x), input().split(" "))).sum()
if s>=10:
print("error")
else:
print(s) |
s020115582 | p03697 | u943004959 | 1513611840 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 135 | def solve():
a, b = map(int, input().split(""))
if a + b >= 10:
print("error")
else:
print(a + b)
solve() |
s365926533 | p03697 | u136090046 | 1510881703 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 427 | num = int(input())
array = []
for i in range(num):
array.append(int(input()))
point_max = sum(array)
tmp_max = point_max
array_sort = sorted(array)
if point_max % 10 != 0:
print(point_max)
else:
for i in array_sort:
point_max -= i
if point_max % 10 != 0:
res = point_max
... |
s961547897 | p03697 | u966000628 | 1510303486 | Python | Python (2.7.6) | py | Runtime Error | 13 | 2568 | 148 | N=int(raw_input())
lis = []
for i in range(0,N):
lis.append(int(raw_input()))
if sum(lis) % 0 == 0:
print sum(lis)-min(lis)
else:
print sum(lis)
|
s813204160 | p03697 | u966000628 | 1510302324 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 116 | S = raw_input()
lis = list(S)
for i in lis:
mat = []
if i in S
print "no"
break
mat.add(i)
else:
print "yes" |
s832519009 | p03697 | u425351967 | 1506954398 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 109 | A, B = [int(n) for n in input().split()]
if A+B < 10:
print(A+B)
else:
print("error") |
s943703426 | p03697 | u679250765 | 1504902538 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | num1 = input()
num2 = input()
kotae = int(num1) + int(num2)
if kotae >= 10:
print("error")
else:
print(kotae)
|
s177662834 | p03697 | u679250765 | 1504902475 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | num1 = input()
num2 = input()
kotae = int(num1) + int(num2)
if kotae >= 10:
print("eror")
else:
print(kotae)
|
s613710383 | p03697 | u679250765 | 1504902239 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 115 | num1 = input()
num2 = input()
kotae = int(num1) + int(num2)
if kotae > 10:
print("eroro")
else:
print(kotae)
|
s941840489 | p03697 | u679250765 | 1504902003 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | num1 = input()
num2 = input()
kotae = int(num1) + int(num2)
if kotae > 10:
print("eror")
else:
print(kotae)
|
s556073546 | p03697 | u047535298 | 1503363236 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 85 | a, b = map(int, input().spkit())
ans = "error" if(a + b >= 10) else a + b
print(ans)
|
s107833034 | p03697 | u178509296 | 1501733869 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | inp = input().split
A = int(inp[0])
B = int(inp[1])
if(A+B >= 10):
print('error')
else:
print(A+B) |
s888519180 | p03697 | u568319388 | 1499488871 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3052 | 316 | def read_line():
return input().rstrip()
def read_ints():
return [int(x) for x in read_line().split()]
def read_int():
return int(read_line())
def main():
a, b = read_int()
c = a + b
if c >= 10:
print('error')
else:
print(c)
if __name__ == '__main__':
main()
|
s457847595 | p03697 | u568319388 | 1499488773 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 236 | def read_line():
return input().rstrip()
def read_ints():
return [int(x) for x in read_line().split()]
def read_int():
return int(read_line())
a, b = read_int()
c = a + b
if c >= 10:
print('error')
else:
print(c) |
s267232808 | p03697 | u209209182 | 1499115857 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | N = int(input())
S = []
for i in range(N):
S.append(int(input()))
X = sum(S)
while X%10 == 0 and X > 0:
X -= min(S)
S.remove(min(S))
print(X)
|
s960141410 | p03697 | u028294979 | 1499115441 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 321 | s = input()
c = 0
#check for constraints
if 2<=len(s) and len(s) <= 26:
s2 = ''.join(sorted(s))
for i in s2:
if c > len(s):
quit()
if s2[c] == s2[c+1]:
print("no") # string is not unique
quit()
elif s2[c] != s2[c+1]:
c = c + 1
else: quit(... |
s005137928 | p03697 | u028294979 | 1499083549 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 140 | A, B = map(int, input().split())
total = A+B
if A >= 1 and B <= :
if total < 10:
print(total)
else:
print('error') |
s015194220 | p03697 | u846372029 | 1498931075 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 353 | # Widespread
n,a,b = list(map(int, input().split()))
h = []
for i in range(n):
h.append(int(input()))
import math
sup = sum([hh // a + 1 for hh in h])
inf = 1
while sup - inf > 1:
x = (sup + inf) // 2
c = sum([math.ceil((hh - x * b)/(a-b)) for hh in h if hh > x * b])
if c <= x:
sup = x
e... |
s108384982 | p03697 | u846552659 | 1498782194 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 335 | # -*- coding:utf-8 -*-
import sys
N = int(input())
s = []
for tmp in range(N):
s.append(int(input()))
s.sort()
total = sum(s)
if total%10 != 0:
print(total)
else:
for tmp in s:
total -= tmp
if total%10 != 0:
print(total)
sys.exit()
else:
total += t... |
s612244025 | p03697 | u846552659 | 1498781616 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 312 | # -*- coding:utf-8 -*-
import sys
N = int(input())
s = sorted([ int(input()) for tmp in range(N) ])
total = sum(s)
if total%10 != 0:
print(total)
else:
for tmp in s:
total -= tmp
if total%10 != 0:
print(total)
sys.exit()
else:
pass
print(0) |
s304913042 | p03697 | u495267515 | 1498229920 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 195 | # -*- coding: utf-8 -*-
import sys
import subprocess
import json
import time
import math
import re
import sqlite3
A, B = map(int, input().split())
if A + B >= 10: print("error")
else print(A+B) |
s145640772 | p03697 | u606174760 | 1497767972 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 441 | # -*- coding:utf-8 -*-
import sys, itertools
N = int(input())
Sn = sorted([int(input()) for i in range(N)])
total = sum(Sn)
if total % 10 != 0:
print(total)
sys.exit()
sub_set = set(Sn)
for i in range(2, N):
comb = [sum(l) for l in itertools.combinations(Sn, i)]
for c in comb:
sub_set.add(c)
... |
s161172637 | p03697 | u240789102 | 1497468232 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | A,B = input().split(" ")
if A+B >= 10:
print("error")
else:
print(A+B) |
s023618416 | p03697 | u163703551 | 1497423963 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 313 | import math
N, A, B = [int(_) for _ in input().split()]
H = sorted([int(input()) for _ in range(N)])
sup = 10 ** 9
inf = 0
while sup - inf > 1:
x = (sup + inf) // 2
c = sum([math.ceil((h - x * B) / (A - B)) for h in H if h > x * B])
if c <= x:
sup = x
else:
inf = x
print(sup)
|
s691931563 | p03697 | u523153297 | 1497315145 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | a=map(int,raw_input().split())
s=a[0]+a[1]
if s>10 :
print("error")
else :
print(s)
|
s773478479 | p03697 | u503052349 | 1497280207 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 535 | import sys
i=0
j=0
k=0
t=0
m=0
s=0
lists=[]
lists2 =[]
#数値の数を受け取る
line = int(input())
#数値を受け取ってリストの作成
while i < line:
a = int(input())
#print (a)
lists.insert(i,a)
i +=1
#数値の足し合わせ
while j < line:
s += lists[j]
j +=1
#正しければ出力
if s%10 != 0:
print(s)
else:
#10の倍数以外のリスト作成
while k < line:
if... |
s653013049 | p03697 | u523153297 | 1497236435 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 74 | a=input()
b=input()
s=a+b
if s>9 :
print('error')
else :
print(s)
|
s457467331 | p03697 | u523153297 | 1497236072 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 73 | a=input()
b=input()
if a+b>9 :
print('error')
else :
print(a+b)
|
s929641516 | p03697 | u503052349 | 1497234125 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 92 | A, B = [int(x) for x in input().split(" ")]
ans= A + B
print("error" if ans >=10 else ans) |
s712789025 | p03697 | u503052349 | 1497234061 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 96 | A, B = [int(x) for x in input().split(” ”)]
ans= A + B
print("error" if ans >=10 else ans) |
s526986549 | p03697 | u552822163 | 1497049341 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 276 | def print_max():
N = int(input())
S = [int(input()) for i in range(N)]
if sum(S)%10 != 0:
print(sum(S))
return
S.sort()
S_n = S[:]
for i in range(len(S)):
S_n.pop(i)
if sum(S_n)%10 != 0:
print(sum(S_n))
return
S_n = S[:]
print(0)
return
print_max() |
s802338071 | p03697 | u552822163 | 1497048005 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | A, B = [int(i) for i in input().split()]
if A+B > 9:
print('error')
return
print(A+B) |
s843251967 | p03697 | u552822163 | 1497047948 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | A, B = [int(i) for i in input().split()]
if A+B > 9:
print('error')
return
print(A+B) |
s180806182 | p03697 | u089230684 | 1497043341 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | A, B = [int(x) for x in input().split(" ")]
ans = A + B
printf("error" if ans >=10 else ans) |
s032881846 | p03697 | u089230684 | 1497043279 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 87 | A,B=[int(x) for x in input().split(" ")]
ans=A+B
printf("error" if ans >=10 else ans) |
s965911270 | p03697 | u089230684 | 1497043244 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | A,B={int(x) for x in input().split(" ")}
ans=A+B
printf("error" if ans >=10 else ans) |
s178872089 | p03697 | u089230684 | 1497043193 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | A,B={int(x) for x in input().split(" ")}
ans A+B
printf("error" if ans >=10 else ans) |
s891068665 | p03697 | u341087021 | 1496984976 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | a,b = [int(x) for x in sys.stdin.readline().split()]
if a+b <= 9:
print(a+b)
else:
print('error')
|
s605058831 | p03697 | u517754855 | 1496970798 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 88 | a, b = map(int, raw_input().split())
if(a+b<11):
print(a+b)
else:
print("error") |
s602975741 | p03697 | u678875535 | 1496630026 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 384 | import math
def check(x):
k = 0
global h, a, b
for i in h:
if x * b < i:
k += math.ceil((i - x * b) / (a - b))
return k <= x
n, a, b = map(int, input().split())
h = []
for i in range(n):
h.append(int(input()))
l = -1
r = max(h) // b + 1
while r - l > 1:
m = (l + r) // 2... |
s704694360 | p03697 | u547748135 | 1496624821 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | a, b = map(int,input().split())
if( (a+b) >= 10):
print("error")
else:
print(A+B) |
s080426307 | p03697 | u547748135 | 1496624669 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a, b = input().split()
if( (a+b) >= 10):
print("error")
else:
print(A+B) |
s288015524 | p03697 | u786082266 | 1496548696 | Python | Python (2.7.6) | py | Runtime Error | 128 | 10524 | 474 | import numpy as np
n, a, b = map(int, raw_input().split())
l = []
for i in range(n):
l.append(input())
ll = np.array(l)
ll.sort()
ll = ll[::-1]
def solve(hp, count):
q = hp - b * count
t = q > 0
if a > b:
p = (q - 1) / (a - b) + 1
else:
p = q
p = p[p > 0]
if p.sum() <= count:
return True
else:
retur... |
s632933404 | p03697 | u926678805 | 1496545489 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 284 | data=[]
for i in range(int(input())):
data.append(int(input()))
un=[num for num in data if num%10==0]
data=[num for num in data if num%10!=0]
if len(data)==0:
print(0)
else:
if sum(un+data)%10!=0:
print(sum(un+data))
else:
print(sum(un+data)-min(data)) |
s205201649 | p03697 | u450956662 | 1496545089 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | # -*- coding: utf-8 -*-
A, B = map(int, input())
[print(A+B) if A+B < 10 else print('error')] |
s541062672 | p03697 | u450956662 | 1496545037 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | # -*- coding: utf-8 -*-
A = int(input())
B = int(input())
[print(A+B) if A+B < 10 else print('error')] |
s580519520 | p03697 | u214380782 | 1496543905 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2692 | 169 | testSNs = raw_input().split()
SCORE=int(0)
for x in range(testSNs[0]):
if not testSNs[x]%10 is 0:
SCORE += testSNs[x]
else:
continue
print(SCORE) |
s013373150 | p03697 | u859491652 | 1496543899 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 283 | import heapq
N,A,B = map(int, input().split())
H = []
for i in range(N):
heapq.heappush(H, - int(input()))
cnt = 0
def atack(H):
global cnt
H = list(map(lambda x:x+B, H))
h = heapq.heapreplace(H, H[0] + A - B)
cnt += 1
return H
while H[0] < 0:
H = atack(H)
print(str(cnt)) |
s086783816 | p03697 | u859491652 | 1496543798 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 283 | import heapq
N,A,B = map(int, input().split())
H = []
for i in range(N):
heapq.heappush(H, - int(input()))
cnt = 0
def atack(H):
global cnt
H = list(map(lambda x:x+B, H))
h = heapq.heapreplace(H, H[0] + A - B)
cnt += 1
return H
while H[0] < 0:
H = atack(H)
print(str(cnt)) |
s033036803 | p03697 | u104888971 | 1496543256 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | N = int(input())
a = [int(input()) for i in range(N)]
a.sort()
ans = sum(a)
for i in range(len(a)):
if ans % 10 == 0:
ans = ans - a[i]
print (ans)
|
s795816644 | p03697 | u897575257 | 1496542379 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 444 | 文字列を取り込む。
文字数を数える。
文字列をソートする。
最初の文字と二番目の文字が同じかどうか確認する。
同じならば'NO'を出力する。
違うならば二番目の文字列と三番目の文字列が同じかどうか確認する。
同じならば'NO'を出力する。
・
・
・
最後から一つ前の文字と最後の文字を確認して違うならば
'YES'を出力する。 |
s815193612 | p03697 | u747690660 | 1496539506 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 158 | #!/usr/bin/env python
# _*_ coding utf-8 _*_
A = int(input())
B = int(input())
sum = A + B
if sum <= 10:
print(sum)
elif sum > 10:
print("error")
|
s191913407 | p03697 | u621935300 | 1496539022 | Python | Python (2.7.6) | py | Runtime Error | 16 | 2568 | 102 | #Python
A = map(int, raw_input().split())
if A[0]+A[1]>=10:
print ‘error’
else:
print A[0]+A[1] |
s179657383 | p03697 | u205803237 | 1496538818 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 79 | A, B = input().split()
if (A+B) >= 10:
print("error")
else:
print(A+B) |
s440300975 | p03697 | u463327446 | 1496538258 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 159 | #coding:utf-8
input_line1 = raw_input()
input_line2 = raw_input()
if input_line1 + input_line2 >= 10:
print 'error'
else:
print input_line1 + input_line2
|
s490859477 | p03697 | u468269492 | 1496538234 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 85 | a= int(input())
b=int(input())
if a+b >= 10:
print('error')
else:
print(a+b)
|
s191638062 | p03698 | u889405092 | 1601274895 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9060 | 53 | S=input
print("yes" if len(S)==len(set(S)) else "no") |
s076687452 | p03698 | u889405092 | 1601274874 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8932 | 52 | S=input
print("yes" if len(S)=len(set(S)) else "no") |
s154084852 | p03698 | u244836567 | 1599701265 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9052 | 167 | a=input()
b=[]
c=0
for i in range(len(a)):
b.append(a[i])
b.sort()
for i in range(len(a-1)):
if b[i]==b[i+1]:
c=c+1
if c==0:
print("yes")
else:
print("no") |
s765653173 | p03698 | u910632349 | 1598604311 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9020 | 110 | s=input()
w=set()
for i in (len(s)):
w.add(s[i])
if len(s)==len(w):
print("Yes")
else:
print("No") |
s284084095 | p03698 | u911622131 | 1598419798 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9156 | 108 | # coding = SJIS
a, b = map(int, input().split())
if a + b >= 10:
print("error")
else:
print(a + b) |
s598607963 | p03698 | u045953894 | 1597647415 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8960 | 120 | s = input()
s = sort.s
for i in range(1,len(s)):
if s[i] == s[i-1]:
print('no')
exit()
print('yes') |
s035487084 | p03698 | u276588887 | 1597109926 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9024 | 113 | s = input()
n = []*26
for e in s:
n[e-'a']+=1
for i in n:
if i>1:
print("no")
return
print("yes) |
s856034228 | p03698 | u394721319 | 1596765078 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8988 | 85 | s = list(innput())
if len(s) == len(set(s)):
print('yes')
else:
print('no')
|
s534788105 | p03698 | u137214546 | 1596652326 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8848 | 127 | def check(s):
for i in range(1, len(s)):
if i - 1 in s[i:]:
return "no"
return "yes"
s = input()
print(check(s)) |
s484928009 | p03698 | u684743124 | 1596521911 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8900 | 54 | s=input()
print("yes" if len(s)==len(set(s) else "no") |
s596199176 | p03698 | u642874916 | 1595988509 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8908 | 122 | N = input()
dic = defaultdict(int)
for s in N:
dic[s] += 1
if dic[s] > 1:
print('no')
exit()
print('yes') |
s435811377 | p03698 | u730769327 | 1591247394 | Python | PyPy3 (2.4.0) | py | Runtime Error | 190 | 38256 | 109 | s=input()
frag="yes"
for i in range(s):
n=s.count(s[i])
if n >1:
frag="no"
break
print(frag) |
s723832069 | p03698 | u595375942 | 1590191469 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 59 | S = list(S)
print('yes' if len(set(S)) == len(S) else 'no') |
s999634776 | p03698 | u551109821 | 1589309649 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 90 | S = list(input())
s = set(S)
if len(s) == len(S):
print('yes')
else:
prirnt('no') |
s192600517 | p03698 | u551109821 | 1589309550 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 90 | S = list(input())
s = set(S)
if len(s) == len(S):
print('yes')
else:
prirnt('no') |
s851520594 | p03698 | u851704997 | 1588971062 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 216 | S = input()
alpha = lambda c:chr(c+96)
List = []
for i in range(len(S)):
tmp = S[i]
List.append[tmp]
for k in range(1,27):
if(List.count(alpha(k)) <= 1):
pass
else:
print("no")
exit()
print("yes") |
s586875049 | p03698 | u165268875 | 1588812558 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 60 |
S = input()
print("yes" if set(len(S))==len(S) else "no")
|
s833920650 | p03698 | u388698992 | 1587753065 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 39536 | 122 | s = input()
fre = [0] * 27
for ch in s:
fre[ord(ch)] += 1
if fre[ord(ch)] > 1:
print("no")
exit()
print("yes") |
s530661768 | p03698 | u652656291 | 1587135358 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 227 | s = input()
l = []
for i in range(len(s)):
a = s[i]
l.append(a)
ans = 0
for j in range(1,len(s)+1):
if l[j] == l[j-1]:
ans += 1
else:
ans += 0
if ans == 0:
print('yes')
else:
print('no')
|
s398128147 | p03698 | u078349616 | 1586894981 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | S = input()
A = [0]*len(S)
for i in range(len(S)):
A[S[i]] += 1
if max(A) == 1:
print("yes")
else:
print("no") |
s142763685 | p03698 | u358254559 | 1586621283 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38256 | 128 | s=input()
import collections
c = collections.Counter(l)
for i in c.values():
if i!=1:
print("no")
exit()
print("yes") |
s547902920 | p03698 | u811169796 | 1584743816 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 123 | s = input().split('')
s.sort()
for i in range(len(s)-1):
if s[i+1] == s[i]:
print('no')
exit()
print('yes')
|
s566693740 | p03698 | u811169796 | 1584743742 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | s = input()
s.sort()
for i in range(len(s)-1):
if s[i+1] == s[i]:
print('no')
print('yes') |
s236631059 | p03698 | u898967808 | 1584578161 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | s = input()
if len(s)==len(set(s)):
print('yes')
else:
print('no) |
s428729617 | p03698 | u898967808 | 1584578122 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 64 | s = input()
if len(s)==set(s):
print('yes')
else:
print('no) |
s786600846 | p03698 | u957198490 | 1583760581 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 112 | s = sorted(input())
x = len(s)
for i in range(s-1):
if s[i+1] ==s[i]:
print('no')
exit()
print('yes') |
s186049822 | p03698 | u767995501 | 1581831641 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 53 | s = input()
print("no" if len(s) - set(s) else "yes") |
s046079996 | p03698 | u767995501 | 1581831613 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | s = input()
print("no" if len(s) - set(s) == 0 else "yes") |
s719028781 | p03698 | u368796742 | 1581824544 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | s = list(input())
print("yes" is len(s) == len(set(s)) else "no")
|
s337714971 | p03698 | u225388820 | 1580657346 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | s=input()
x={}
for i in s:
if i in x:
print('no')
exit()
else:
x.add(i)
print('yes') |
s462116326 | p03698 | u672316981 | 1578122406 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | s = list(str(input()))
s1 = list(set(s1))
print('yes' if len(s)==len(s1) else 'no') |
s784640105 | p03698 | u123745130 | 1577152080 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 325 | #include<iostream>
#include<string>
using namespace std;
int main(){
string a ,b;
b="yes";
cin>>a;
for (int i=0;i<a.size();i++){
for (int j=i+1;j<a.size();j++){
if(a.at(i)==a.at(j)){
b="no";
break;
}
}
}
cout<<b<<endl;
return ... |
s479206349 | p03698 | u134181243 | 1577037576 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 281 | #include<bits/stdc++.h>
using namespace std;
using ll=long long;
void solve(){
string s;
cin>>s;
sort(s.begin(), s.end());
for(int i=1; i<s.size(); i++){
if(s[i]==s[i-1]){
cout<<"no"<<endl;
return;
}
}
cout<<"yes"<<endl;
}
signed main(){
//while(1)
solve();
} |
s771343588 | p03698 | u503228842 | 1573943089 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 119 | from collections import Counter
l = list(input())
c = Counter(l)
if max(c) >= 2:
print('yes')
else:
print('no') |
s516985802 | p03698 | u291932618 | 1568935333 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | s = input()
s2 = [*s]
s3 = list(set(s2))
print('yes' if len(s2) == len(s3) else 'no')
|
s270676186 | p03698 | u252828980 | 1567560430 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | sl = list(input())
s2 = set(s1)
if len(s1) == len(s2):
print("yes")
elif len(s1) != len(s2):
print("no")
|
s397375708 | p03698 | u740767776 | 1567214798 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 137 | s = input()
s_set = set(s)
f = True
for i in s_set:
if s.count(i) >= 2:
f = False
break
if f:
print("Yes")
else:
print("No") |
s075288145 | p03698 | u318165580 | 1565896594 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3064 | 54 | a=input()
print("yes" if len(set(a))=len(a) else "no") |
s809270253 | p03698 | u381572531 | 1565744838 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | s = str(input())
if len(s)==(len(set(s)):
ans = "yes"
else:
ans = "no"
print(ans) |
s916221925 | p03698 | u874741582 | 1565593546 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | s=input(s)
S=list(s)
b = len(S)
a =len(set(S))
if a==b: print("yes")
else: print("no") |
s509567548 | p03698 | u469953228 | 1565569446 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | s = input()
ns = sorted(s)
ans = 'yes'
for i in range(len(s)):
if s[i] == s[i+1]:
ans = 'no'
print(ans) |
s929338492 | p03698 | u469953228 | 1565569262 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 107 | s = input()
ns = sorted(s)
ans = yes
for i in range(len(s)-1):
if s[i] == s[i+1]:
ans = no
print(ans) |
s570071138 | p03698 | u408620326 | 1565061146 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | S=input()
if len(S)==len(set(list(S))):
print('yes'):
else:
print('no') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.