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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s519573193 | p03485 | u125269142 | 1586978269 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | a, b = map(int, input().split())
print(mean(a, b).roundup()) |
s519123380 | p03485 | u504335849 | 1586649437 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | s = list(input())
t = list(input())
s.sort()
t.sort()
s = ''.join(s)
t = ''.join(t)
[print('Yes') if s < t else print('No')] |
s297977496 | p03485 | u496821919 | 1586640706 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 652 | a = list(input())
b = list(input())
a.sort()
b.sort(reverse=True)
for i in range(int(len(b))):
c =(a[i],b[i])
d = sorted(c)
if i != int(len(b))-1:
if a[i] == b[i]:
continue
elif c == d and a[i] != b[i]:
print("No")
break
else:
print(... |
s027776076 | p03485 | u179750651 | 1586558805 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | print(-((-sum(map(int,input(),split())))//2)) |
s405127619 | p03485 | u179750651 | 1586558650 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 38 | print(-(-sum(int,input(),split()))//2) |
s416315106 | p03485 | u179750651 | 1586558569 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 38 | print(-(-sum(int,input(),split()//2))) |
s203068600 | p03485 | u179750651 | 1586558504 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 36 | print(-(-sum(int,input(),split))//2) |
s820328273 | p03485 | u179750651 | 1586558264 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print(-((-(input())//2))) |
s507968159 | p03485 | u799428010 | 1586549648 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | a = int(input())
b = int(input())
c=(a+b)*0.5
print(int(c+0.9)) |
s662646082 | p03485 | u799428010 | 1586549608 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a = int(input())
b = int(input())
c=(a+b)*0.5
print(c+0.9) |
s308586902 | p03485 | u799428010 | 1586549519 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a, b = map(int, input().split())
print(int((a+b)*o.5+0.9)) |
s466299152 | p03485 | u799428010 | 1586548761 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a = int(input())
b = int(input())
c=a*b
d=c/2
print(c) |
s341206669 | p03485 | u799428010 | 1586548702 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 61 | a = int(input())
b = int(input())
c=(a+b)*0.5
print(round(c)) |
s340386199 | p03485 | u373047809 | 1586457126 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 56 | s=sorted;i=input
print("NYoe s"[s(i())<s(i())[::-1]::2]) |
s074220665 | p03485 | u772649753 | 1586293819 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | import math
a,b = map(int,input().split())
print(math.ciel((a+b)/2)) |
s126725768 | p03485 | u785099003 | 1586254490 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | a, b = map(int, input().split())
c = a+b
print(c + 2 - 1)/2 |
s922330591 | p03485 | u851704997 | 1586251171 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | a,b = map(int,input().split)
x = a+b
if (x % 2 == 0):
print(x/2)
else:
print(x/2 + 1) |
s003872130 | p03485 | u015845133 | 1585965860 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 187 | def calc():
ans = (a + b)/2
rem = (a + b)%2
if rem = 0:
return ans
else:
ans = ans + 0.5
return ans
a, b = map(int.imput().split())
print(calc()) |
s370543640 | p03485 | u320763652 | 1585593949 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 102 | import pip._internal.models.target_python
a, b = map(int, input().split())
print(math.ceil((a+b)/2)) |
s882996566 | p03485 | u813098295 | 1585462508 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | a, b = map(int, input())
print( (a+b+1)/2 ) |
s952570928 | p03485 | u453815934 | 1585441352 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | import math
map(int,input().split())
print(math.ceil((a+b)/2)) |
s650651895 | p03485 | u440129511 | 1585358191 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a,b = map(int,input().split())
print(math.ceil((a+b)//2)) |
s238758393 | p03485 | u440129511 | 1585358135 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a,b = map(int,input().split())
print(math.floor((a+b)/2)) |
s399712813 | p03485 | u197300773 | 1585045332 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 37 | import math
print(math.ceil(a/2+b/2)) |
s207526666 | p03485 | u641722141 | 1584492667 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 53 | print(int(({0} + {1} - 1)//2).format(input().split()) |
s847735662 | p03485 | u641722141 | 1584492635 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 26 | print(int((a + b - 1)//2)) |
s881496319 | p03485 | u037901699 | 1584472569 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | a, b = int(input().split())
print((a+b)//2) |
s478762420 | p03485 | u638892128 | 1584235518 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | a,b = map(int, input().split())
if (a+b) % 2 = 0:
print(int((a+b)/2))
else:
print(int((a+b)/2)+1) |
s748117699 | p03485 | u246809151 | 1584019033 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 104 | s = input()
t = input()
if sorted(s) < sorted(t, reverse=True):
print('Yes')
else:
print('No')
|
s710821152 | p03485 | u742306624 | 1583889486 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 40 | a=(input())
b=(input())
print((a+b+1)/2) |
s913930089 | p03485 | u137808818 | 1583778897 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 71 | s=sorted(input())
t=sorted(input())[::-1]
print('Yes' if t>s else 'No') |
s004004098 | p03485 | u699944218 | 1583696994 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 182 | # -*- coding: utf-8 -*-
# スペース区切りでの入力
a, b = map(int,input().split)
#平均値の計算
ave = float((a+b)/2)
#数字の切り上げ
N = round(ave)
print({},"N") |
s366351394 | p03485 | u142903114 | 1583440194 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | print('Yes' if sorted(input()) < sorted(input(), reverse=True) else 'No')
|
s006670950 | p03485 | u346677493 | 1583355241 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 53 | a=input()
b=input()
if (a+b)/2%1:
print (a+b)/2 +1
|
s798931573 | p03485 | u416613272 | 1583335739 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 215 | %%cython
int n = int(input())
if n:
int[] arr = list(map(int, input().split()))
t = 0
for i in set(arr):
if i > arr.count(i):
continue
t += i
print(n-t)
else:
print(n) |
s098953277 | p03485 | u988191897 | 1583186041 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | a,b = map(int,input().split())
A = int((a+b)/2)
print(A if ((a+b)%2 == 0 else int(A+0.5)) |
s162965837 | p03485 | u988191897 | 1583185967 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | a,b = map(int,input().split())
A = int((a+b)/2)
print(A if (A%2 == 0 else int(A+0.5)) |
s047177819 | p03485 | u004423772 | 1583106038 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | N = int(input())
A = int(input())
if N % 500 <= A:
print('Yes')
else:
print('No') |
s363246500 | p03485 | u863442865 | 1582516467 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | s = input()
t = input()
s = sorted(s)
t = sorted(t, reverse=1)
if s<t:
print('Yes')
else:
print('No')
|
s811381363 | p03485 | u796708718 | 1581263244 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | a, b = map(int,iput().split(" "))
print("{}".format((a+b-1)/b)) |
s914258169 | p03485 | u541610817 | 1581209073 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | a = list(map(int, input().split()))
sum = a[0] + a[1]
if sum%2 == 0:
return sum/2
else:
return (sum + 1)/2 |
s028236612 | p03485 | u609814378 | 1581115612 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 311 | s = input()
s1 = sorted(s)
s2 = input()
ans = 0
ans2 = 0
for i in s2:
if s == s2:
break
if s1[0] <= i:
ans = ans + 1
for k in range(0,len(s1)):
if s1[k] <= i:
ans2 = ans2 + 1
if ans != 0 and ans2 != 0:
print("Yes")
else:
print("No")
|
s621564884 | p03485 | u882920663 | 1580959383 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 310 | s = list(input())
t = list(input())
s.sort(reverse=True)
t.sort(reverse=True)
s_len = len(s)
t_len = len(t)
if(s_len < t_len):
short = s_len
else:
short = t_len
flag = False
for i in range(short+1):
if(s[i] < t[i]):
flag = True
if(s < t or flag):
print('Yes')
else:
print('No') |
s331463125 | p03485 | u141574039 | 1580875674 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | A,B,C,D=map(int,input().split())
if (A+B)%2!=0:
print((A+B)//2+1)
else:
print((A+B)//2) |
s703292456 | p03485 | u141574039 | 1580875588 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 48 | A,B,C,D=map(int,input().split())
print((A+B)//2) |
s266672836 | p03485 | u187960713 | 1580841598 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | ab=input()
x=input()
a, b = ab.split()
a=int(a)
b=int(b)
x=int(x)
print(int(a/b=x)) |
s032328566 | p03485 | u090769473 | 1580765099 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a=int(input())
b=int(input())
c=(a+b-1)/2+1
print(int(c)) |
s663945865 | p03485 | u090769473 | 1580764828 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a=int(input())
b=int(input())
c=(a+b)/2
print(int(c)) |
s973684387 | p03485 | u287880059 | 1580624885 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | a,b = int(input().split())
print(-(-a+b//2)) |
s857422291 | p03485 | u218487926 | 1580270676 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | import math
a = [map(int, input().split())]
print(math.ceil(sum(a))) |
s067066836 | p03485 | u217547685 | 1579816745 | Python | PyPy3 (2.4.0) | py | Runtime Error | 161 | 38384 | 68 | a, b = map(int, input().split())
x = (a + b) / 2
print(math.ceil(x)) |
s599412269 | p03485 | u427984570 | 1579658711 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 238 | n = int(input())
l = list(map(int, input().split()))
dic = {}
count = 0
for i in range(n):
dic.setdefault(l[i],0)
dic[l[i]] += 1
#print(dic)
for x,y in dic.items():
if x <= y:
count += y - x
else:
count += y
print(count)
|
s332390923 | p03485 | u427984570 | 1579656619 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38640 | 222 | n = int(input())
l = list(map(int, input().split()))
L = list(set(l))
count = 0
for x in L:
if l.count(x) == x:
continue
elif l.count(x) > x:
count += l.count(x) - x
else:
count += l.count(x)
print(count) |
s739590061 | p03485 | u469363658 | 1578879947 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a, b = input().split()
x = (a+b)/2
if x % 2 == 0:
print(x)
else:
print(1+(a+b)//2) |
s569883750 | p03485 | u934868410 | 1578790381 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | import math
a,b = map(int, input().split())
print(math.ceil((a+b) / 2) |
s258681870 | p03485 | u120564432 | 1578544663 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 48 | a,b=map(int,input().split())
print(ceil(a+b)/2) |
s751669731 | p03485 | u024397367 | 1578509019 | Python | PyPy3 (2.4.0) | py | Runtime Error | 187 | 38768 | 352 | # -*- coding: utf-8 -*-
s = input()
t = input()
s_list = list(s)
t_list = list(t)
import itertools
flag = False
for i in itertools.permutations(s_list):
s_new = ''.join(i)
for n in itertools.permutations(t_list):
t_new = ''.join(n)
if s_new < t_new:
flag = True
if flag:
pri... |
s133684127 | p03485 | u823044869 | 1578439270 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 36 | ))
print("{:.0f}".format((a+b)/2))
|
s392442027 | p03485 | u608088992 | 1578328732 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 50 | a, b = map(int, open(0)); print((a + b + 1) // 2)
|
s306425791 | p03485 | u608088992 | 1578328685 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 59 | a, b = map(int, open(0)); print((a + b) // 2 + (a + b) % 2) |
s959472951 | p03485 | u859448927 | 1577515133 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin >> a >> b;
cout << a+b-(a+b)//2
} |
s561963315 | p03485 | u371132735 | 1576245580 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | def round_up_mean(a,b):
ans = -(-(a+b)//2)
print(ans)
a,b = int(input().split(" "))
round_up_mean(a, b) |
s311789319 | p03485 | u371132735 | 1576245543 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | def round_up_mean(a,b):
ans = -(-(a+b)//2)
print(ans)
a,b = int(input().split(""))
round_up_mean(a, b) |
s584549004 | p03485 | u371132735 | 1576245456 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 168 | #import math
def round_up_mean(a,b):
# ans = math.ceil((a+b)/2)
# print(ans)
ans = -(-(a+b)//2)
print(ans)
a = int(input())
b = int(input())
round_up_mean(a, b) |
s619170407 | p03485 | u905582793 | 1576205836 | Python | PyPy3 (2.4.0) | py | Runtime Error | 163 | 38256 | 1161 | import sys
s = input()
gx,gy = map(int, input().split(' '))
x_d = [0]
y_d = []
cnt = 0
for i in range(len(s)):
if s[i] == "T":
cnt += 1
if cnt % 2 == 0:
x_d.append(0)
elif cnt % 2 == 1:
y_d.append(0)
if s[i] == "F":
if cnt % 2 == 0:
x_d[-1] += ... |
s007159150 | p03485 | u905582793 | 1576205791 | Python | PyPy3 (2.4.0) | py | Runtime Error | 171 | 38640 | 1145 | import sys
s = input()
gx,gy = map(int, input().split(' '))
x_d = [0]
y_d = []
cnt = 0
for i in range(len(s)):
if s[i] == "T":
cnt += 1
if cnt % 2 == 0:
x_d.append(0)
elif cnt % 2 == 1:
y_d.append(0)
if s[i] == "F":
if cnt % 2 == 0:
x_d[-1] += ... |
s152475880 | p03485 | u836737505 | 1575944634 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | import.math
a,b = map(int, input().split())
print(int(math.ceil((a+b)/2))) |
s804355651 | p03485 | u836737505 | 1575944585 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | a,b = map(int, input().split())
print(int(math.ceil((a+b)/2))) |
s424010186 | p03485 | u595375942 | 1575755728 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38640 | 86 | a=int(input())
b=int(input())
ans= (a+b)//2 if (a+b)%2 == 0 else (a+b)//2+1
print(ans) |
s354752259 | p03485 | u934052933 | 1575579221 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 157 | s = input()
s_asc = "".join(sorted(s))
t = input()
t_dasc = "".join(sorted(t, reverse=True))
if s_asc < t_desc:
print("Yes")
else:
print("No")
|
s153731902 | p03485 | u934052933 | 1575579180 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3192 | 168 | s = input()
s_asc = "".join(sorted(s))
t = input()
t_dasc = "".join(sorted(t, reverse=True))
if s_asc < t_desc:
print("Yes")
else:
print("No")
|
s900177810 | p03485 | u934052933 | 1575574004 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 205 | import math
a, b = int(input().split(" "))
c = (a + b)/2 # 平均値
if (a+b) % 2 != 0: # 余りが0以外の時小数点以下をきりあげる必要がある。
print(math.ceil(c))
else:
print(c)
|
s064305456 | p03485 | u340947941 | 1574977449 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | ##### 解けた #####
a,b=list(map(int,input()))
print((a+b)//2) |
s733441240 | p03485 | u469700628 | 1574829849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 363 | N = input()
M = input()
sorted_asc = sorted(list(N))
sorted_desc = sorted(list(M), reverse=True)
res = ""
for (x, y) in zip(sorted_asc, sorted_desc):
if x < y:
res = "Yes"
break
elif x > y:
res = "No"
break
if res == "" and len(N) == len(M):
res = "No"
elif res == "" and l... |
s746891913 | p03485 | u187109555 | 1573876811 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | a, b = map(int input())
avg = (a+b) /2
ans = (avg*10) // 10
if (avg*10)%10 == 0:
print(ans)
else:
print(ans+1) |
s875313824 | p03485 | u187109555 | 1573876783 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | a, b = map(int input())
avg = (a+b) /2
ans = avg // 10
if (avg*10)%10 == 0:
print(ans)
else:
print(ans+1) |
s887743057 | p03485 | u187109555 | 1573876643 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | a, b = map(int, input())
avg = (a+b) /2
if (avg*10)%10 == 0:
print(avg)
else:
print(avg+1) |
s387625063 | p03485 | u187109555 | 1573876612 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | a, b = map(int input())
avg = (a+b) /2
if (avg*10)%10 == 0:
print(avg)
else:
print(avg+1) |
s473383352 | p03485 | u187109555 | 1573876569 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | a = int(input())
b = int(input())
avg = (a+b) /2
if (avg*10)%10 == 0:
print(avg)
else:
print(avg+1) |
s917823248 | p03485 | u813174766 | 1573099329 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 31 | print((sum(int(input()))+1)//2) |
s948052843 | p03485 | u997346103 | 1572922841 | Python | PyPy3 (2.4.0) | py | Runtime Error | 163 | 38384 | 70 | import math
a,b = map(int, input().split())
print(math.ceil((a+b)/2a)) |
s962059018 | p03485 | u840310460 | 1572554601 | Python | PyPy3 (2.4.0) | py | Runtime Error | 163 | 38256 | 95 | x,y = map(int,input().split())
if (x + y) % == 0:
print((x+y)/2)
else:
print((x+y+1)/2) |
s986463918 | p03485 | u840310460 | 1572554505 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38256 | 91 | x,y = map(int,input().split())
if (x + y) % == 0:
print((x+y)/2)
else:
print((x+y+1)/2) |
s774301732 | p03485 | u840310460 | 1572554399 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38256 | 87 | x,y = int(input().split())
if (x + y) % == 0:
print((x+y)/2)
else:
print((x+y+1)/2) |
s878878932 | p03485 | u066455063 | 1571795667 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 212 | //
// roudupthemean.cpp
//
//
// Created by 田中諒 on 2019/10/22.
//
#include <iostream>
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
cout << (a + b) / 2 << endl;
return 0;
}
|
s286545840 | p03485 | u997346103 | 1571518449 | Python | PyPy3 (2.4.0) | py | Runtime Error | 182 | 38512 | 143 | s = list(input())
t = list(input())
s.sort()
s=''.join(s)
s.sort()
t.reverse()
t=''.join(t)
if s < t:
print('Yes')
else:
print('No') |
s742788237 | p03485 | u997346103 | 1571518422 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 162 | s = list(input())
t = list(input())
s.sort()
s=''.join(s)
s.sort()
t.reverse()
t=''.join(t)
print(s)
print(t)
if s < t:
print('Yes')
else:
print('No') |
s133650661 | p03485 | u997346103 | 1571366730 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38256 | 75 | import math
a, b = map(int, input().split())
(a + b) / 2 = x
print(ceil(x)) |
s716980830 | p03485 | u997346103 | 1571366608 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 85 | from math import ceil
a, b = map(int, input().split())
(a + b) / 2 = x
print(ceil(x)) |
s647095436 | p03485 | u997346103 | 1571366435 | Python | PyPy3 (2.4.0) | py | Runtime Error | 175 | 38640 | 52 | from math import ceil
x = (a + b) / 2
print(ceil(x)) |
s967533691 | p03485 | u190616335 | 1570923463 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 1026 | # -*- coding: utf-8 -*-
def check(z, zz, z_list, dire):
zz += z_list[0] * dire
if len(z_list) == 1:
if z == zz:
return 1
else:
return 0
else:
if check(z, zz, z_list[1:], 1) == 0:
if check(z, zz, z_list[1:], -1) == 0:
return 0
return 1
def func(x, y, xx, yy, x_list, y... |
s263259960 | p03485 | u780354103 | 1570855874 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 63 | a,b = map(open(0).read().split())
print(int(-(-(a + b) // 2))) |
s096891871 | p03485 | u496821919 | 1570832845 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38256 | 112 | a, b = map(int, input().split())
c = a + b
if c % 2 == 0
print(int(c/2))
else:
print(int(c // 2 + 1))
|
s054917788 | p03485 | u496821919 | 1570832657 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | a, b = map(int, input().split())
c = a + b
if c % 2 == 0
print(int(c/2))
else:
print(int(c // 2 + 1))
|
s677158239 | p03485 | u496821919 | 1570832599 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 112 | a, b = map(int, input().split())
c = a + b
if c % 2 == 0
print(int(c/2))
else:
print(int(c // 2 + 1))
|
s577922258 | p03485 | u753682919 | 1569987762 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | a,b=map(int,input(),split())
x=(a+b)/2
if (a+b)%2==0:
print(x)
else:
print(x+1)
|
s098219205 | p03485 | u753682919 | 1569987684 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | a,b=map(int,input(),split())
x=(a+b)/2
if (a+b)%2==0:
print(int(x))
else:
print(int(x)+1) |
s544206822 | p03485 | u602863587 | 1569865635 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 38 | a,b=int(input())
x=(a+b)//2
print(x) |
s640902307 | p03485 | u740047492 | 1569425814 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | inport math
a, b = map(int, input().split())
x = (a + b)/2
print(math.ceil(x)) |
s809228324 | p03485 | u740047492 | 1569425703 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 66 | a, b = map(int, input().split())
x = (a + b)/2
print(math.ceil(x)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.