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
s175015016
p03485
u740047492
1569425425
Python
Python (3.4.3)
py
Runtime Error
18
2940
53
a, b = int(input().split()) x = int((a+b)/2) print(x)
s231769660
p03485
u740047492
1569425379
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
a, b = int(input()) x = (a+b)/2 print(int(x))
s352089178
p03485
u740047492
1569425332
Python
Python (3.4.3)
py
Runtime Error
18
2940
40
a, b = int(input()) x = (a+b)/2 print(x)
s289998583
p03485
u961674365
1569046059
Python
Python (3.4.3)
py
Runtime Error
18
2940
46
a,b=map(int.input().split()) print((a+b+1)//2)
s642502384
p03485
u131406572
1568682704
Python
Python (3.4.3)
py
Runtime Error
156
12420
94
a,b=map(int,input().split()) import numpy as np import math c=np.mean(a,b) print(math.ceil(c))
s438319536
p03485
u518987899
1568434056
Python
Python (3.4.3)
py
Runtime Error
18
2940
78
import math a,b = map(int, input.strip().split(' ')) print(math.ceil((a+b)/2))
s206085616
p03485
u623349537
1568414857
Python
Python (3.4.3)
py
Runtime Error
17
2940
124
a, b = map(int, input().split() if (a + b) % 2 == 0: print((a + b) // 2) else: print((a + b) // 2 + 1)
s044255369
p03485
u234631479
1568339482
Python
Python (3.4.3)
py
Runtime Error
18
2940
39
print((int(input())+int(input()))//2+1)
s894639836
p03485
u094191970
1568308165
Python
Python (3.4.3)
py
Runtime Error
17
2940
191
from collections import Counter n=int(input()) a=list(map(int,input().split())) a_s=list(set(a)) c_l=Counter(a) cnt=0 for i in a_s: cnt+=c_l[i] if c_l[i]<i else cnt+=c_l[i]-i print(cnt)
s961206822
p03485
u820052258
1568252925
Python
Python (3.4.3)
py
Runtime Error
17
3060
227
n=int(input()) a=list(map(int,input().split())) b=list(set(a)) c=0 for i in b: nc=0 for j in a: if j==i: nc+=1 else: nc+=0 er = nc - i if er<0: c+= er+i print(c)
s357560529
p03485
u820052258
1568252662
Python
Python (3.4.3)
py
Runtime Error
17
2940
266
n=int(input()) a=list(map(int,input().split())) b=list(set(a)) c=0 for i in b: nc=0 for j in range(len(a)): if a[j]==i: nc+=1 else: nc+=0 er = nc - i if er<0: c+= er+i else: c+=er print(c)
s837334744
p03485
u258073778
1568178493
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
print('Yes'*(sorted(input())<sorted(input())[::-1])or'No')
s672697462
p03485
u258073778
1568177303
Python
Python (3.4.3)
py
Runtime Error
17
3060
241
s1 = input() t1 = input() s = list(s1) t = list(t1) s.sort() t.sort(reverse=1) i = 0 while(1): if ord(s[i]) < ord(t[i]): print('YES') break else : if i+1 == min(len(s1),len(t1)): print('NO') break else : i+=1
s638356483
p03485
u258073778
1568170104
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
print(-~sum(map(int, imput().split()))//2)
s569206629
p03485
u040067762
1567983975
Python
PyPy3 (2.4.0)
py
Runtime Error
178
38384
55
a,b=int(input()) import math print(int(math.ceil(a+b)))
s370096665
p03485
u100800700
1567869911
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
#Two Anagrams s = list(input()).sorted t = list(input()).sorted if s < t: print('Yes') else: print('No')
s639710875
p03485
u041641933
1567454834
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
a, b = map(int, input().split(" ")) ans = upper((a + b)/2) print(ans)
s553488116
p03485
u317710033
1567449037
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a, b = map(int, input().split()) c = a + b d = c / 2 print(math.ceil(d))
s049370695
p03485
u207464563
1566851275
Python
PyPy3 (2.4.0)
py
Runtime Error
171
38256
48
a,b = int(input().split()) print(round((a+b)/2))
s339131206
p03485
u179285430
1566783529
Python
Python (3.4.3)
py
Runtime Error
150
12388
83
import numpy as np a,b = input().split() print('{:.0f}'.np.ceil((int(a)+int(b))/2))
s352648078
p03485
u179285430
1566783114
Python
Python (3.4.3)
py
Runtime Error
351
21780
63
import numpy as np a,b = int(input().split()) np.trunc((a+b)/2)
s439830391
p03485
u179285430
1566783064
Python
Python (3.4.3)
py
Runtime Error
313
18624
58
import numpy as np a,b = input().split() np.trunc((a+b)/2)
s150833219
p03485
u179285430
1566783033
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
import numpy as np a,b = input().split() np.trunc((a+b)2)
s128063212
p03485
u179285430
1566782969
Python
Python (3.4.3)
py
Runtime Error
149
12392
56
import numpy as np a,b = input().split() np.trunc(a+b/2)
s853716434
p03485
u179285430
1566782907
Python
Python (3.4.3)
py
Runtime Error
149
12392
59
import numpy as np a,b = input().split() numpy.trunc(a+b/2)
s813758559
p03485
u634384370
1566703972
Python
Python (3.4.3)
py
Runtime Error
17
2940
107
i = lits(map(int, input().split())) j = i[0] * i[1] if j % 2 == 0: print(j / 2) else: print(int(j/2)+1)
s592819541
p03485
u634384370
1566703917
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
i = lits(map(int, input().split())) j = i[0] * i[1] if j % 2 == 0: print(j / 2) else: print(int (j/2)+1)
s995412381
p03485
u847165882
1566521194
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
a,b=map(int,input().split()) print(-(-((a+b)//2))
s799866261
p03485
u847165882
1566520969
Python
Python (3.4.3)
py
Runtime Error
17
3064
48
a,b=map(int,input().split()) print(-~((a+b)/2))
s762621188
p03485
u587213169
1566511465
Python
Python (3.4.3)
py
Runtime Error
18
2940
83
a, b = map(int, input(),split()) c= a+b if c%2==0: print(c/2) else: print((c+1)/2)
s670147014
p03485
u556371693
1566500859
Python
Python (3.4.3)
py
Runtime Error
18
2940
55
a,b=map(int,input().split()) print(math.floor((a+b)/2))
s690083944
p03485
u264265458
1566319143
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
import math a,b=map(int,input().split()) print(ceil((a+b)/2))
s960149712
p03485
u923561222
1566138434
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b=map(int,input().split()) print(-(-(a+b)//2)
s646175077
p03485
u923561222
1566138353
Python
Python (3.4.3)
py
Runtime Error
21
3064
49
a,b=map(int,input().split()) print(-(-((a+b)//2))
s408985606
p03485
u307592354
1566105202
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
import math print(math.ceil(sum([int(i) for i in input.split()])/2))
s409406108
p03485
u618373524
1566016306
Python
Python (3.4.3)
py
Runtime Error
19
2940
94
s = input() t = input() ss = sorted(s) tt = sorted(t) print("Yes" if ss < tt[::-1] else "No")
s857959383
p03485
u408620326
1565921288
Python
Python (3.4.3)
py
Runtime Error
18
2940
70
import math print(math.ceil(sum([int(x for x in input().split())])/2))
s905480426
p03485
u802963389
1565790281
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
import math print(math.ceil(int(input() + int(input()))))
s755832213
p03485
u716314620
1565749588
Python
Python (3.4.3)
py
Runtime Error
17
3064
38
print((int(input())+int(input())+1)/2)
s186296133
p03485
u578146839
1565705653
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
import math a, b = map(int, input(), split( )) print(math.ceil((a + b) / 2))
s454511347
p03485
u578146839
1565705354
Python
Python (3.4.3)
py
Runtime Error
19
2940
78
import math a, b = map(int, input(), split( )) print(math.ceil((a + b) / 2))
s098690707
p03485
u578146839
1565705295
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
import math a, b = map(int, input(), split( )) print(math.ceil((a * b) / 2))
s652693369
p03485
u578146839
1565705253
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
import math a, b = map(int, input(), split()) print(math.ceil((a * b) / 2))
s600466128
p03485
u578146839
1565705143
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b = map(int, input(), split()) print(ceil((a * b) / 2))
s956879791
p03485
u578146839
1565705080
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
a, b = map(int, input(), split()) print(int((a * b) / 2))
s757490594
p03485
u248670337
1565615173
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
print(-(-eval(input().replace(" ","+")//2))
s764756321
p03485
u910756197
1565458361
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
import math a, b = map(int, iniput().split(" ")) print(math.ceil((a + b) / 2))
s158828837
p03485
u412662131
1565448621
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
from math import ceil a, b = map(float, input().split(' ')) return ceil(a + b / 2)
s545550665
p03485
u541883958
1565400330
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a,b = [int(c) for c in input().split{' '}] print((a+b-1)/2)
s621925534
p03485
u541883958
1565400270
Python
Python (3.4.3)
py
Runtime Error
18
2940
50
a = int(input()) b = int(input()) print((a+b-1)/2)
s987268055
p03485
u401077816
1565368915
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
import math a, b = int(input()) print(math.ceil(a+b/2))
s873702196
p03485
u401077816
1565368831
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
a, b = int(input()) print(math.ceil(a+b/2))
s773511150
p03485
u901687869
1565328801
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a, b = map(int, input().split()) print(int((a + b) / 2 + 0.9))
s983471551
p03485
u901687869
1565327368
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
a, b = map(int, input().split()) print(int(((a + b) / 2 + 0.9)))
s197642709
p03485
u901687869
1565327332
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
a, b = map(int, input().split()) print(int(((a + b) / 2 + 0.5)))
s381727030
p03485
u909771098
1564882388
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
s = input() t = input() sdash = "".join(sorted(s)) tdash = "".join(sorted(t, reverse = True)) print("Yes" if sdash < tdash else "No")
s274683084
p03485
u547754910
1564803461
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a, b = map(int, list(input.split(" ")) ) s = a + b print((s+1)/2)
s351289070
p03485
u909771098
1564777090
Python
Python (3.4.3)
py
Runtime Error
17
2940
148
s = list(input()) t = list(input()) sdash = "".join(sorted(s)) tdash = "".join(sorted(s, reverse = True)) print("Yes" if sdash < tdash else "No")
s572894546
p03485
u626337957
1564350250
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
import math a, b = map(int, input()) print(math.ceil((a+b)/2))
s910769288
p03485
u514894322
1564347884
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
a,b = map(int,input().split()) if (a+b)% == 1: print ((a+b+1)/2) else: print((a+b)/2)
s924559601
p03485
u982594421
1564320002
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
from math import ceil a, b = map(int, input()) print(ceil((a + b) / 2))
s631746497
p03485
u962942039
1564110223
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b = map(int, input().split()) x = (a+b)/2 print(ceil(x))
s632784830
p03485
u516242950
1564072496
Python
Python (3.4.3)
py
Runtime Error
18
2940
105
a, b = map(int, input().split()) if (a + b) % 2 == 0: print(a + b) // 2 else: print((a + b) // 2 + 1)
s746202040
p03485
u656572785
1563655783
Python
Python (3.4.3)
py
Runtime Error
17
3064
326
#include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<int>; using vll = vector<ll>; using vvi = vector<vector<int>>; using vvl = vector<vector<ll>>; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int a, b; cin >> a >> b; cout << (a + b + 1) / 2 << endl; return...
s448314852
p03485
u050708958
1563578980
Python
Python (3.4.3)
py
Runtime Error
22
3316
138
from collections import Counter n = input() c = Counter(map(int, input().split())) print(sum(v if v < k else v - k for k,v in c.items()))
s114408351
p03485
u281216592
1563267159
Python
Python (3.4.3)
py
Runtime Error
18
2940
112
a,b = [int(i)for i in input().spilt()] x= (a+b)/2 if((a+b)%2 == 0): print(int(x)) else: print(int(x)+1)
s170262350
p03485
u333190709
1562780994
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a, b = map(int, input().split()) print(ceil((a + b)/2))
s421070825
p03485
u066455063
1562202028
Python
Python (3.4.3)
py
Runtime Error
18
3060
205
s = sorted(input()) t = sorted(input(), reverse=True) if s[0] < t[0]: print("Yes") elif s[0] == t[0]: if len(s) <= len(t): print("Yes") else: print("No") else: print("No")
s048256602
p03485
u089075077
1561570532
Python
Python (3.4.3)
py
Runtime Error
18
2940
50
a,b = map(int, input().split()) print((a+b+1)//c)
s397490918
p03485
u089075077
1561570491
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b = map(int, input().split()) print((a+b)//c + 1)
s011842753
p03485
u633914031
1561444044
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
s=sorted(str(input())) t=sorted(str(input()),reverse=True) if s<t: print('Yes') else: print('No')
s385371483
p03485
u633914031
1561443700
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
s=sorted(str(input())) t=sorted(str(input()),reverse=True) if s<=t: print('Yes') else: print('No')
s902786260
p03485
u633914031
1561443567
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
s=sorted(str(input()) t=sorted(str(input(),reverse=True)) if s<=t: print('Yes') else: print('No')
s416466215
p03485
u633914031
1561443533
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
s=sorted(str(input())) t=sorted(str(input(),reverse=True)) if s<=t: print('Yes') else: print('No')
s735307448
p03485
u962479059
1560816153
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b=map(int, input(),split()) x=round(a/b) print(x)
s333512129
p03485
u298297089
1560791536
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
import math A,B = map(int, input().split()) print(math.ceil((a+b)/2))
s606970635
p03485
u485566817
1560726702
Python
Python (3.4.3)
py
Runtime Error
17
3060
164
s = str(input()) t = str(input()) s = (sorted(s)) t = (sorted(t,reverse = True)) s2 = ''.join(s) t2 = ''.join(t) if s2 < t2: print('Yes') else: print('No')
s519384985
p03485
u485566817
1560726286
Python
Python (3.4.3)
py
Runtime Error
17
2940
146
s = str(input()) t = str(input()) s2 = ''.join(sorted(s)) t2 = ''.join(sorted(t,reverse=True)) if s2 < t2: print('Yes') else: print('No')
s943187784
p03485
u485566817
1560726205
Python
Python (3.4.3)
py
Runtime Error
17
2940
133
s = str(input()) t = str(input()) s2 = ''.join(sorted(s)) t2 = ''.join(sorted(t)) if s2 < t2: print('Yes') else: print('No')
s210728896
p03485
u748311048
1560478925
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
a,b=map(int, input().split()) print(math.ceil((a+B)/2))
s698855748
p03485
u266171694
1560438725
Python
Python (3.4.3)
py
Runtime Error
18
2940
82
from math import round a, b = map(int, input().split()) print(round(avg([a, b])))
s507483335
p03485
u266171694
1560438696
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
from math import round a, b = map(int, input().split()) print(round(avg(a, b)))
s031094372
p03485
u266171694
1560438663
Python
Python (3.4.3)
py
Runtime Error
18
3188
69
import math a, b = map(int, input().split()) print(round(avg(a, b)))
s677356736
p03485
u123745130
1560378544
Python
Python (3.4.3)
py
Runtime Error
17
2940
122
a = sorted(input()) b = reversed(input()) c = ''.join(a) d = ''.join(b) if c < d: print("Yes") elif c >= d: print("No")
s086295569
p03485
u123745130
1560378412
Python
Python (3.4.3)
py
Runtime Error
20
2940
123
a = sorted(input()) b = reversed(input()) c = ''.join(a) d = ''.join(b) if c < d: print("Yes") elif c >= d: print("No")
s762006296
p03485
u123745130
1560378308
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
a = sorted(input()) b = reversed(input()) c = ''.join(a) d = ''.join(b) if c < d: print("Yes") elif c >= d: print("No")
s232800414
p03485
u123745130
1560378147
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
a = sorted(input()) b = reversed(input()) c = ''.join(a) d = ''.join(b) if c < d: print("Yes") elif c >= d: print("No")
s451038837
p03485
u569272329
1560188348
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
a, b = map(float, input().split()) print(int(round((a + b) / 2), 0))
s309045861
p03485
u548076391
1560020217
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
a = int(input()) b = int(input()) x = int((a+b)//2 + 1) print(x)
s553504494
p03485
u548076391
1560020099
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a = int(input()) b = int(input()) x = (a+b)//2 + 1 print(x)
s549353101
p03485
u548076391
1560020027
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a = int(input()) b = int(input()) x = -(-(a+b)//2) print(x)
s422911052
p03485
u663014688
1559868726
Python
Python (3.4.3)
py
Runtime Error
17
2940
162
s = list(input()) t = list(input()) s = sorted(s) t = sorted(t, reverse=True) s = "".join(s) t = "".join(t) if s < t: print("Yes") else: print("No")
s500427164
p03485
u380914158
1559801651
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
96
a,b = map(int,input().split()) if((a+b)%2 == 1): print((a+b)//2+1) else: print((a+b)//)
s426782127
p03485
u895515293
1559626083
Python
PyPy3 (2.4.0)
py
Runtime Error
179
38896
1487
import sys sys.setrecursionlimit(10**7) INTMAX = 9223372036854775807 INTMIN = -9223372036854775808 MOD = 1000000007 def POW(x, y): return pow(x, y, MOD) def INV(x, m=MOD): return pow(x, m - 2, m) def DIV(x, y, m=MOD): return (x * INV(y, m)) % m def LI(): return [int(x) for x in input().split()] def LF(): return [float(...
s208277822
p03485
u895515293
1559625865
Python
PyPy3 (2.4.0)
py
Runtime Error
178
38256
1533
import sys sys.setrecursionlimit(10**7) INTMAX = 9223372036854775807 INTMIN = -9223372036854775808 MOD = 1000000007 def POW(x, y): return pow(x, y, MOD) def INV(x, m=MOD): return pow(x, m - 2, m) def DIV(x, y, m=MOD): return (x * INV(y, m)) % m def LI(): return [int(x) for x in input().split()] def LF(): return [float(...
s466354708
p03485
u727939122
1558459390
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
from statistics import mean import math x = mean(list(map(int, input().split())) print(math.ceil(x))
s191987900
p03485
u483885886
1557438175
Python
Python (3.4.3)
py
Runtime Error
18
3188
48
a,b = map(int,input().sprit()) print((a*b+1)//2)
s448430938
p03485
u808373096
1557033377
Python
Python (3.4.3)
py
Runtime Error
16
2940
118
a, b = map(int, input().split()) mean = (a + b) / 2 if mean % 1 == 0: print((mean) else: print((a + b) // 2 + 1)
s822618592
p03485
u061912210
1556811507
Python
Python (3.4.3)
py
Runtime Error
18
2940
38
a,b=map(int,input()) print((a+b+1)//2)
s615450289
p03485
u475675023
1556769661
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
print((int(input())+int(input())+0.99999999999)//2)