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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s667048628 | p03485 | u306412379 | 1601149201 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8964 | 163 | s = list(input())
t = list(input())
ss = sorted(s)
tt = sorted(t, reverse=True)
sa = ''.join(ss)
ta = ''.join(tt)
if sa < ta:
print('Yes')
else:
print('No') |
s561181330 | p03485 | u485349322 | 1600828835 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8956 | 1 | a |
s596822770 | p03485 | u843482581 | 1600725555 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8804 | 73 | from math import ceil
a,b = map(int, input().split())
print(ceil((a+b)/2) |
s174733096 | p03485 | u011872685 | 1600538318 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9024 | 111 | s=list(input())
t=list(input())
sv=sorted(s)
tv=sorted(t)
if sv<tv:
print('Yes')
else:
print('No')
|
s855230679 | p03485 | u011872685 | 1600536911 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9096 | 55 | import math
a,b=input().split()
print(math.ceil(a+b/2)) |
s936272283 | p03485 | u602446185 | 1600140320 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9028 | 25 | print(round((a + b) / 2)) |
s257459483 | p03485 | u847033024 | 1599903232 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8964 | 71 | a, b = map(int, input().split())
import math
print(math.ceil(a + b / 2) |
s764324414 | p03485 | u405328424 | 1599850556 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9088 | 94 | s = sorted(input())
t = sorted(input(),reverse=True)
if(s < t): print("Yes")
else: print("No") |
s915424008 | p03485 | u405328424 | 1599850448 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8908 | 94 | s = sort(input())
t = sorted(input(),reverse = True)
if(s < t): print("Yes")
else: print("No") |
s485742628 | p03485 | u355154595 | 1598927612 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8768 | 43 | a,b=map(int,input()split())
print((a+b)//2) |
s809913567 | p03485 | u834301346 | 1598048839 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9096 | 220 | a, b = list(map(int, input().split(' ')))
avg = (a+b)/2
diff = [0]*(b-a+1)
for i in range(a, b+1):
diff[i-a] = abs(avg - i)
minimum = min(diff)
if minimum==0.5:
print(int(avg+0.5))
elif minimum==0:
print(int(avg)) |
s854961693 | p03485 | u834301346 | 1598048813 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9176 | 222 | a, b = list(map(int, input().split(' ')))
avg = (a+b)/2
diff = [0]*(b-a+1)
for i in range(a, b+1):
diff[i-a] = abs(avg - i)
minimum = min(diff)
if minimum==0.5:
print(int(avg+0.5))
elif minimum==0.0:
print(int(avg)) |
s402580052 | p03485 | u834301346 | 1598048740 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9120 | 222 | a, b = list(map(int, input().split(' ')))
avg = (a+b)/2
diff = [0]*(b-a+1)
for i in range(a, b+1):
diff[i-a] = abs(avg - i)
minimum = min(diff)
if minimum==0.5:
print(int(avg+0.5))
elif mimimum==0.0:
print(int(avg)) |
s342583453 | p03485 | u515231557 | 1597952177 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8852 | 117 | a, b = (int(x) for x in input().split())
s = (a + b) % 2
t = (a + b) / 2
if s == 0:
print(t)
else:
print(t + 0.5) |
s138115243 | p03485 | u468972478 | 1597883495 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9068 | 56 | a, b = map(int, input().spoit())
print((a + b + 1) // 2) |
s810715871 | p03485 | u165318982 | 1597700027 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8968 | 82 | a, b = map(int, input().split())
multi = math.ceil((a + b) / 2)
print(str(multi)) |
s715250330 | p03485 | u546440137 | 1597416100 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9020 | 198 | s=list(input())
t=list(input())
s.sort()
t.sort()
t.reverse()
for i in range(len(s)):
S=s[i]
for i in range(len(t)):
T=t[i]
if S<=T:
print('No')
elif S==T:
print('No')
else:
print('Yes') |
s068412274 | p03485 | u929793345 | 1597371226 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9020 | 71 | import math
a, b = map(int, input().split())
print(math.celi((a+b)/2))) |
s476430198 | p03485 | u855387501 | 1597204215 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9164 | 91 | import math
num1 = int(input())
num2 = int(input())
X = (num1 + num2)/2
print(math.ceil(X)) |
s279785223 | p03485 | u921632705 | 1597170051 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9008 | 69 | x,y = map(int, input().split())
import math
print(math.celi((x+y)/2)) |
s988889874 | p03485 | u548514780 | 1597029228 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9092 | 427 | s=input()
t=input()
s_array=[]
t_array=[]
for i in range(len(s)):
s_array.append(s[i])
for i in range(len(t)):
t_array.append(t[i])
s_array=sorted(s_array)
t_array=sorted(t_array,reverse=True)
for i in range(min([len(s_array),len(t_array)])):
if s_array[i]<t_array[i]:
print('Yes')
exit()
elif s_array[... |
s755415568 | p03485 | u274615057 | 1596994993 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9152 | 131 |
import math
def main():
x, y = map(int, input())
print(math.floor((x + y) / 2))
if __name__ == "__main__":
main()
|
s295947271 | p03485 | u226779434 | 1596990161 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8856 | 90 | a,b =map(int,input().split())
if (a+b)% ==0:
print((a+b)//2)
else:
print(((a+b)//2)+1) |
s037093387 | p03485 | u344030307 | 1596988851 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8840 | 103 | a,b = int(input().split())
x = (a+b)/2
if x == int(x):
print(x)
else:
x += 1
print(int(x))
|
s685823906 | p03485 | u344030307 | 1596988816 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8988 | 109 | a = int(input())
b = int(input())
x = (a+b)/2
if x == int(x):
print(x)
else:
x += 1
print(int(x)) |
s269062968 | p03485 | u344030307 | 1596988710 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8880 | 98 | a,b = int(input().split())
x = a+b
if x == int(x):
print(x)
else:
x += 1
print(int(x)) |
s716152430 | p03485 | u344030307 | 1596988625 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9040 | 105 | a = int(input())
b = int(input())
x = a+b
if x == int(x):
print(x)
else:
x += 1
print(int(x)) |
s743662793 | p03485 | u344030307 | 1596988365 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9036 | 88 | a = input()
b = input()
x = a+b
if x == int(x):
print(x)
else:
print(int(x+1)) |
s575463395 | p03485 | u344030307 | 1596988340 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8880 | 85 | a = input()
b = input()
x = a+b
if x == int(x):
print(x)
else:
print(int(x+1) |
s485867245 | p03485 | u061140245 | 1596114558 | Python | Python (3.8.2) | py | Runtime Error | 114 | 27052 | 91 | import numpy as np
ab = input().split(" ")
print(np.round(np.mean(int(ab[0]), int(ab[1])))) |
s843548687 | p03485 | u800058906 | 1595570344 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9092 | 98 | a=int(input())
b=int(input())
x=(a+b)/2
if x%1==0:
print(int(x))
else:
print(int(x)+1)
|
s374073356 | p03485 | u487288850 | 1595531430 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8900 | 59 | import math
print(math.ceil((int(input())+int(input()))/2)) |
s563644246 | p03485 | u487288850 | 1595531375 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9020 | 55 | import math
print(math.ceil((int(input)+int(input))/2)) |
s981153368 | p03485 | u745214511 | 1595209156 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9120 | 178 | a = [input() for i in range(2)]
sp = "".join(sorted(list(a[0])))
tmp = list(a[1])
tmp.sort()
tmp.reverse()
tp = "".join(tmp)
if sp < tp:
print("Yes")
else:
print("No") |
s960825465 | p03485 | u745214511 | 1595209117 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8992 | 187 | a = [input() for i in range(2)]
sp = "".join(sorted(list(a[0])))
tmp = list(a[1])
tmp.sort()
tmp.reverse()
tp = "".join(tmp)
if sp < tp:
print("Yes")
else:
print("No") |
s619248644 | p03485 | u105756060 | 1594873015 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8968 | 119 | a,b = map(int,input().split())
if (a + b)%2 ==0:
print(round((a + b) / 2))
else:
print(round((a + b + 1) / 2)
|
s880391500 | p03485 | u612635771 | 1594850689 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9160 | 66 | a, b = map(int, input())
import math
print(math.ceil((a + b) / 2)) |
s470307858 | p03485 | u438189153 | 1594799811 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8948 | 47 | a,b=map(int,input().split())
print((a+b+1)/2))
|
s982643466 | p03485 | u790816087 | 1594789694 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9020 | 93 | import math
a, b = map(int, input().split())
mean = (a + b) / 2.0
print(int(math.ceil(mean))
|
s620534630 | p03485 | u790816087 | 1594789632 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8852 | 71 | import math
a, b = map(int, input().split())
print(int(math.ceil(mean)) |
s728350680 | p03485 | u790816087 | 1594789386 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9024 | 90 | import math
a, b = map(int, input().split())
mean = (a + b) / 2
print(int(math.ceil(mean)) |
s472840901 | p03485 | u955691979 | 1593832196 | Python | PyPy3 (7.3.0) | py | Runtime Error | 88 | 74864 | 64 | import math
x,y = int(input())
m = (x+y)/2
print(math.ceil(m)) |
s034092465 | p03485 | u374802266 | 1593554804 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9028 | 58 | import math
a,b=map(int,input())
print(math.ceil((a+b)/2)) |
s503482463 | p03485 | u374802266 | 1593554775 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8952 | 37 | import math
print(math.ceil((a+b)/2)) |
s967187880 | p03485 | u374802266 | 1593554742 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8764 | 35 | import math
print(math.ceil(a+b)/2) |
s076066004 | p03485 | u858670323 | 1593544861 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9156 | 44 | a,b = map(int,input())
x = (a+b)//2
print(x) |
s016058021 | p03485 | u568130550 | 1593053039 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9072 | 51 | N,A,B = map(int,input().split())
print(min(N*A,B)) |
s522612589 | p03485 | u849029577 | 1592785280 | Python | PyPy3 (7.3.0) | py | Runtime Error | 123 | 74696 | 67 | from math import ceil
a, b = map(int, input())
print(ceil((a+b)/2)) |
s177374444 | p03485 | u937238023 | 1592759652 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8604 | 121 | #include <bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<(a+b+1)/2<<endl;
return 0;
}
|
s101913193 | p03485 | u762557532 | 1592535549 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9012 | 74 | a, b = map(int, input().split())
ans = math.ceil((a + b) / 2)
print(ans)
|
s418112399 | p03485 | u026155812 | 1592178680 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 278 | import sys
s = input()
t = input()
s.sort()
t.sort()
for x, y in zip(s, t[::-1]):
if x > y:
print('No')
sys.exit()
elif x == y:
continue
else:
print('Yes')
sys.exit()
if len(s) <= len(t):
print('Yes')
else:
print('No') |
s509863497 | p03485 | u961288441 | 1592174832 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | s = input()
t = input()
if sorted(s) < list(reversed(t)):
print('Yes')
else:
print('No') |
s306237416 | p03485 | u046158516 | 1591772173 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38512 | 741 | s=input()
x,y=map(int,input().split())
xpossible=[0]
ypossible=[0]
j=0
while s[j]=='F':
j+=1
xpossible[0]+=1
if j==len(s):
break
counter=0
for i in range(j,len(s)):
current=0
while s[i]=='F':
i+=1
current+=1
if i==len(s):
break
r=set()
if counter==0:
for j in xpossible:
r.a... |
s164539493 | p03485 | u046158516 | 1591772131 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 733 | s=input()
x,y=map(int,input().split())
xpossible=[0]
ypossible=[0]
j=0
while s[j]=='F':
xpossible[0]+=1
if j==len(s):
break
counter=0
for i in range(j,len(s)):
current=0
while s[i]=='F':
i+=1
current+=1
if i==len(s):
break
r=set()
if counter==0:
for j in xpossible:
r.add(j+cu... |
s787895905 | p03485 | u357751375 | 1591299631 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | a,b = map(int,input().split())
ave = (a + b) / 2
print(math.cell(ave)) |
s492559845 | p03485 | u055507189 | 1591246460 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 59 | a, b = map(int, input().split())
print(math.floor((a+b)/2)) |
s460460742 | p03485 | u055507189 | 1591246299 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | a, b = map(int, input().split())
c = a*b/2
c = math.ceil(c)
print(c) |
s241638056 | p03485 | u055507189 | 1591246221 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 56 | a, b = map(int, input().split())
print(math.ceil(a*b/2)) |
s401157812 | p03485 | u055507189 | 1591246162 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a, b = map(int, input().split())
print(math.floor(a*b/2)) |
s139260781 | p03485 | u350093546 | 1590368281 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 37 | import math
print(math.ceil((a+b)/2)) |
s027956252 | p03485 | u989074104 | 1590282238 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 533 | import sys
s=input()
t=input()
if s==t:
print("No")
sys.exit()
alpha2num = lambda c: ord(c) - ord('A') + 1
s_list=list(s)
t_list=list(t)
s_list=[alpha2num(i) for i in s_list]
t_list=[alpha2num(i) for i in t_list]
s_list.sort()
t_list.sort(reverse=True)
print(s_list)#昇順
print(t_list)#降順
cnt=0
for i in ran... |
s479258639 | p03485 | u344065503 | 1590265060 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 92 | s=sorted(input())
t=sorted(input(),reverse=True)
if s<t:
print("Yes")
else:
print("No")
|
s246720820 | p03485 | u344065503 | 1590265047 | Python | PyPy3 (2.4.0) | py | Runtime Error | 180 | 38640 | 92 | s=sorter(input())
t=sorted(input(),reverse=True)
if s<t:
print("Yes")
else:
print("No")
|
s950097911 | p03485 | u611090896 | 1590195203 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | a,b = map(int,input().split())
import math
print(math.ceil((a+b)/2) |
s434727156 | p03485 | u265118937 | 1589723307 | Python | Python (3.4.3) | py | Runtime Error | 43 | 5272 | 137 | import statistics
import marh
a, b = map(int,input().split())
if ((a + b) //2 ) %2 == 0:
print((a+b)//2)
else:
print((a+b)//2 +1) |
s655213213 | p03485 | u969708690 | 1589663456 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a,b=int(input().split())
if (a+b)%2==0:
print((a+b)/2)
else:
print((1+a+b)/2) |
s738520788 | p03485 | u969708690 | 1589663380 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 73 | a,b=int(input())
if (a+b)%2==0:
print((a+b)/2)
else:
print((1+a+b)/2) |
s974517646 | p03485 | u969708690 | 1589663198 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 82 | a,b=int(print())
if (a+b)%2==0:
print((a+b)/2)
if (a+b)%2==1:
print((a+b+1)/2) |
s165309971 | p03485 | u397953026 | 1589602651 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 94 | a,b = map(int,input().split())
if (a+b)%2==1:
print((a+b)//@2+1)
else:
print((a+b)//2) |
s533206581 | p03485 | u511807222 | 1589253434 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38640 | 112 | s = sorted(input())
t = sorted(input())
t_reverse = t[::-1]
if s < t_reverse:
print('Yes')
else:
print('No') |
s842987875 | p03485 | u027403702 | 1589121622 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 72 | a,b = map(int, input().split())
import math
print(mith.ceil((a + b) / 2) |
s251396280 | p03485 | u346371758 | 1588988585 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 111 | s = list(input())
s_ = sorted(s)
t = list(input())
t_ = sorted(t,reverse=True)
print('Yes' if s_< t_ else 'No') |
s164210459 | p03485 | u947327691 | 1588803558 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 148 | import math
a,b=map(int,input().split())
c=math.floor((a+b)//2)
print(c)
import math
a,b=map(int,input().split())
c=math.floor((a+b)//2)
print(c) |
s184292090 | p03485 | u274644863 | 1588737696 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 58 | A, B = map(int, input().split())
print(math.ceil((A+B)/2)) |
s349010669 | p03485 | u600261652 | 1588468429 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | import math
a, b = map(int, input().split)
print(math.ceil(a+b)/2) |
s077819601 | p03485 | u549161102 | 1588418912 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | a,b = map(int, input().split())
x = a + b
print(math.floor(x)) |
s687985923 | p03485 | u090406054 | 1588382016 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | import math
a,b=int(input().split())
x=a*b/2
print(math.ceil(x))
|
s196808379 | p03485 | u090406054 | 1588381980 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | import math
a,b=int(input())
x=a*b/2
print(math.ceil(x))
|
s425090044 | p03485 | u090406054 | 1588381945 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | import math
a,b=int(innput())
x=a*b/2
print(math.ceil(x))
|
s688157014 | p03485 | u090406054 | 1588381920 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | import math
x=a*b/2
print(math.ceil(x)) |
s635887363 | p03485 | u568711768 | 1588369891 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | A = list(map(int,input().split))
B = (A[0]+A[1])/2
if B >= int(B):
print(int(B)+1)
else:
print(int(B)) |
s493848515 | p03485 | u568711768 | 1588369817 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | A = list(map(int,input().split))
B = (A[0]+A[1])/2
if B >= int(B):
print(int(B)+1)
else:
print(B) |
s006468824 | p03485 | u568711768 | 1588369752 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 101 | A = list(map(int,input().split))
B = (A[0]+A[1])/2
if B <= int(B):
print(int(B)+1)
else:
print(B) |
s243478941 | p03485 | u190079347 | 1588192885 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 228 | s = input()
t = input()
ss = sorted(s)
tt = sorted(t,reverse=True)
for n, w in zip(ss,tt):
if n < w:
print("Yes")
exit()
elif n > w:
print("No")
exit()
if len(ss) > len(tt):
print("No")
else:
print("Yes") |
s061541235 | p03485 | u857673087 | 1588190008 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | import math
a,b = map(int, input().split())
print(math.cail((a+B)/2)) |
s964753019 | p03485 | u857673087 | 1588189923 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a,b = map(int, input().split())
print(math.ceil((a+b)/2)) |
s415292469 | p03485 | u129898499 | 1588042068 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | a,b = input().split()
a = int(a)
b = int(b)
print ((a+b) //2 +1)) |
s174743080 | p03485 | u141410514 | 1587867834 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 60 | import math
a,b = map(int,input())
print(math.ceil((a+b)/2)) |
s020447907 | p03485 | u029000441 | 1587848804 | Python | PyPy3 (2.4.0) | py | Runtime Error | 181 | 38256 | 273 | def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [LI()for i in range(n)]
inf = 10**17
mod = 10**9 + 7
a,b=MI()
print(ceil((a+b)/2)) |
s640155615 | p03485 | u728774856 | 1587835079 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | a, b = map(float, input().split())
ave = (a + b)/ 2
print(math.ceil(ave)) |
s303041893 | p03485 | u419963262 | 1587805944 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | a,b=map(int,input())
print((a+b-0.01)//2+1) |
s830210042 | p03485 | u235066013 | 1587737174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | a,b=[int(i) for i in input().split()]
if (a+b)%2==0:
print(x)
else:
print((a+b+1)/2) |
s989420896 | p03485 | u235066013 | 1587737092 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | a,b=[int(i) for i in input().split()]
x=(a+b)/2
if (a+b)%2==0:
prnit(x)
else:
print(x%1+1) |
s256862744 | p03485 | u235066013 | 1587737009 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 60 | a,b=[int(i) for i in input().split()]
x=(a+b)/2
prnit(a%1+1) |
s707831692 | p03485 | u798260206 | 1587491533 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | a,b = map(int,input().split())
average = (a+b)/2
print(math.ceil(average) |
s748867154 | p03485 | u201802797 | 1587082932 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | # solution
import io
print("Yes" if sorted(input()) < sorted(input(),reverse = True) else "No") |
s549026638 | p03485 | u380995377 | 1587067574 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 837 | import sys
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI2(N): return [list(map(int, sys.stdin.readline().split())) for i in ran... |
s482769431 | p03485 | u457957084 | 1587059174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | a,b = map(int(input().split()))
print(int(((a + b) // 2)+1))
|
s132283638 | p03485 | u457957084 | 1587058787 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a,b = int(inout().split())
print(int((a + b) // 2 + 1))
|
s179736897 | p03485 | u457957084 | 1587058743 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | a,b = int(inout().split())
print(int((a + b) / 2))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.