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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s787840712 | p03485 | u462214100 | 1536873035 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | import math
a, b = map(int.input().split())
x = (a + b)/2
print(math.ceil(x))
|
s193958433 | p03485 | u462214100 | 1536872959 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | import math
a = int(input())
b = int(input())
x = (a + b)/2
print(math.ceil(x)) |
s463947846 | p03485 | u601082779 | 1536029435 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | a,b=map(int,input().split());print(ceil((a+b)/2)) |
s971966763 | p03485 | u601082779 | 1536029406 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a,b=map(int,input().split());print(math.ceil((a+b)/2)) |
s690493874 | p03485 | u636311816 | 1535648068 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | s=sorted;print(['No','Yes'][s(input())<s(input())[::-1]]) |
s567523231 | p03485 | u636311816 | 1535647974 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | s=sorted;print(['No','Yes'][s(input())<s(input(),reverse=1)]) |
s768724987 | p03485 | u983918956 | 1535566944 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | a,b = map(int,input().split())
x = (a+b)/2
if (a+b) % 2 = 0:
print(int(x))
else:
print(int(x)+1) |
s873084154 | p03485 | u983918956 | 1535566772 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 100 | a,b = map(int,input().split())
x = (a+b)/2
if (a+b)%2 = 0:
print(int(x))
else :
print(int(x)+1)
|
s413817525 | p03485 | u983918956 | 1535566670 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 99 | a,b = map(int,input().split())
x = (a+b)/2
if (a+b)%2 = 0:
print(int(x))
else:
print(int(x)+1)
|
s914820771 | p03485 | u598009172 | 1534887968 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 20 | S=input()
S.count(1) |
s264072251 | p03485 | u038027079 | 1534822715 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | import math
a,b=map(int,input().split())
print(math.floar((a+b)/2)) |
s335911843 | p03485 | u277802731 | 1534685153 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 172 | #82b
s=sorted(list(input()))
t=sorted(list(input()))
ss=''.join(s)
tt=''.join(t)
ans=sorted([tt,ss])
if ss==tt:
print('No')
else:
print(['No','Yes'][ans[0]==ss]) |
s401229465 | p03485 | u197078193 | 1534137072 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | a,b = map(int,input())
print(-int((-a-b)//2) |
s953220236 | p03485 | u052347048 | 1532900678 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b = map(int,input().split())
print((a+b))//2 if (a+b) % 2 == 0 else (a+b)//2+1)) |
s957903299 | p03485 | u599547273 | 1532899567 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | ab=map(int,input()[::1]);print(~-sum(ab)//2+1) |
s560691602 | p03485 | u201234972 | 1532202510 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 60 | a, b = map( int, input().split())
x = (a+b+1)/2
print(int(x) |
s064474812 | p03485 | u115682115 | 1532162557 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | import math
a,b = map(int,input().split())
print(int(math.ceil((a+b)/2,0))) |
s062862001 | p03485 | u879761680 | 1530162258 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | import math
a = list(map(int,input().split()))
c = reduce((lambda x,y: (x+y)/2 ,a)
print(math.ceil(c))
|
s986105174 | p03485 | u879761680 | 1530160925 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | import math
a = list(map(int,input().split()))
c = reduce((lambda x,y: (x+y)/2 ,a)
print(math.cell(c)) |
s429677505 | p03485 | u879761680 | 1530160618 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | import math
a = int(input())
b = int(input())
c = (a + b)/2
print(math.cell(c)) |
s467778713 | p03485 | u879761680 | 1530160530 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | import math
a = int(input())
b = int(input())
c = a * b / 2
print(math.cell(c)) |
s786598661 | p03485 | u411858517 | 1528847597 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 270 | N = int(input())
a = list(map(int, input().split()))
res = 0
a.sort()
for i in range(N-1):
if a[i] != a[i+1]:
count = i + 1 - count
if count < a[i]:
res += count
else:
res += count - a[i]
print(res) |
s221549572 | p03485 | u411858517 | 1528847179 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 278 | N = int(input())
a = list(map(int, input().split()))
res = 0
a.sort()
count = 1
for i in range(N-1):
if a[i] != a[i+1]:
count = i - count
if count < a[i]:
res += count
else:
res += count - a[i]
print(res)
|
s297525216 | p03485 | u411858517 | 1528846104 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 308 | N = int(input())
a = list(map(int, input().split()))
res = 0
a.sort()
for i in range(N):
X = a.count(i+1)
if a[i] > N:
res += N - i
break
elif X < i+1:
res += X
i = i + X
else:
res += X - (i+1)
i = i + X
print(res) |
s082954428 | p03485 | u603234915 | 1528177123 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 38 | print((int(input())+int(input()))//2)
|
s712520520 | p03485 | u864565901 | 1528172933 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | i=lambda:int(input())
print((i()+i()+1)//2) |
s260202146 | p03485 | u203995947 | 1526924421 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 59 | a, b = map(int, input().split(' '))
print(floor((a + b)/2)) |
s786709956 | p03485 | u964998676 | 1526325392 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | digits = input('')
digits = digits.split(' ')
average = math.round(int(digits[0]) + int(digits[1]) / 2)
print(average) |
s682963378 | p03485 | u102126195 | 1525634429 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 50 | a, b = map(int, input())
print(int((a + b ) / 2))
|
s493326424 | p03485 | u221345507 | 1525565981 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 767 | s=list(str(input()))
t=list(str(input()))
alphabet=['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']
for i in range (len(s)):
for j in range (len(alphabet)):
if s[i]==alphabet[j]:
s[i]=j
for k in range (len(t)):
for l in range (len(alph... |
s655528081 | p03485 | u503901534 | 1525156638 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | l = list(map(int,input().split()))
s = l[0] + l[1]
if s % 2 = 1:
s = s+ 1
else:
None
print(s // 2) |
s298513235 | p03485 | u503901534 | 1525156586 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 107 | l = list(map(int,input().split()))
s = l[0] + l[1]
if s % 2 = 1:
s = s+ 1
else:
None
print(s // 2) |
s738832907 | p03485 | u503901534 | 1525156506 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | a,b = map(int,input().split())
s = a + b
if s % 2 = 1:
s = s+ 1
print(s // 2) |
s194098139 | p03485 | u503901534 | 1525156455 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b = map(int,input().split())
s = a + b
if s % 2 = 1:
s =s+ 1
print(s // 2) |
s780452528 | p03485 | u503901534 | 1525156390 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | import math as m
a,b = map(int,input().split())
print(m.round(a + b)) |
s691950219 | p03485 | u314219654 | 1524688399 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a, b = map(int, input().split())
print(ceil((a + b) / 2)) |
s257978337 | p03485 | u591295155 | 1523913023 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | print((int(input())+int(input())+1)//2) |
s866743349 | p03485 | u591295155 | 1523912954 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | print(int((int(input())+int(input())+1)/2)) |
s805370895 | p03485 | u591295155 | 1523910790 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | print(int((int(input())+int(input()))/2)) |
s318055504 | p03485 | u591295155 | 1523910648 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 40 | print(int((int(input())+int(input())/2)) |
s598016811 | p03485 | u417835834 | 1523198288 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | n = int(input())
a = int(input())
if n % 500 <= a:
print('Yes')
else:
print('No') |
s951293962 | p03485 | u934547177 | 1521781526 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | from math import ceil
a, b = map(int, input())
print(ceil((a+b)/2)) |
s551923809 | p03485 | u729707098 | 1521327537 | 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((a+b+1)//2) |
s460070686 | p03485 | u702582248 | 1520566036 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 48 | a=eval(input().replace(' ', '+');print(a//2+a%2) |
s275584839 | p03485 | u702582248 | 1520565710 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | a,b=map(input().split(),int);print(a/b+a%b) |
s258794466 | p03485 | u702582248 | 1520565654 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | a,b=input().split()
print(a/b+a%b) |
s145842783 | p03485 | u702582248 | 1520565613 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | a,b=input().split();print(a/b+a%b) |
s321927313 | p03485 | u702582248 | 1520565582 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 37 | a,b=input().split();printa/b+a%b) |
s726372893 | p03485 | u702582248 | 1520565534 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 40 | a,b=input().split();print(eval(a/b+a%b)) |
s903276151 | p03485 | u702582248 | 1520565450 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | a,b=input().split();print(eval(a/b+a%b) |
s381331641 | p03485 | u636387751 | 1520562586 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | import math
a, b = int(input())
print(int(math.ceil((a+b)/2)))
|
s105411743 | p03485 | u030726788 | 1518896895 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | import math
a,b=map(int,input().split())
print((math.ceil((a+b)/2))
|
s568121863 | p03485 | u667949809 | 1518838748 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | s = list(input())
t = list(input())
s.sort()
t.sort(reverse=True)
if s < t:
print("yes")
else:
print("No") |
s891655817 | p03485 | u019584841 | 1518634009 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a,b=map(int,input().split())
print(int(((a+b)/2)+1)))
|
s999253382 | p03485 | u377301040 | 1518165782 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | s=input()
t=input()
s1="".join(sorted(s));
t1="".join(sorted(t, reverse=true))
if s1<t1:
print("Yes\n")
else:
print("No\n") |
s052422857 | p03485 | u760868074 | 1517455855 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 50 | a,b=map(int, input().split())
print(ceil((a+b)/2)) |
s662023096 | p03485 | u923285281 | 1517157240 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 216 | from collections import Counter
N = int(input())
counter = Counter(map(int, input().split()))
sum = 0
for a, cnt in counter.items():
if a > cnt:
sum += cnt
else:
sum += cnt - a
print(sum)
|
s311117341 | p03485 | u349908314 | 1516568777 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 52 | n,m=map(int,str(raw_input().split()))
print (n+m)/2
|
s675871422 | p03485 | u786607349 | 1516338906 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 447 | s = str(input())
x,y = map(int, input().split())
y = abs(y)
a = 0
b = 0
adjust = 0
forward = 1
flag = "Yes"
for i in range(0,int(len(s))):
if s[i] == "F":
if forward == 1:
a += 1
else:
b += 1
else:
forward *= -1
if(s[0] == "F"):
adjust = 2
if (x >= 0 and a < x... |
s969612059 | p03485 | u850664243 | 1515380326 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 447 | import math
N,H = map(int,input().split())
aList = []
bList = []
for count in range(0,N):
a,b = map(int, input().split())
aList.append(a)
bList.append(b)
bList.sort()
bList.reverse()
maxA = max(aList)
count = 0
damage = 0
for b in bList:
if maxA < b:
damage+=b
count+=1
if damage ... |
s272285238 | p03485 | u569906225 | 1515207257 | Python | Python (2.7.6) | py | Runtime Error | 12 | 2568 | 142 | # B - Two Anagrams
# coding: utf-8
A = list(raw_input())
B = list(raw_input())
A.sort()
B.sort(), B.reverse()
print "Yes" if A < B else "No" |
s117745870 | p03485 | u665415433 | 1514934983 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | import math
print(math.ceil(int((int(input())+int(input()))/2)) |
s561034211 | p03485 | u484460274 | 1514838636 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 280 | def main():
s=input()
t=input()
sd=list(s)
sd.sort()
td=list(t)
td.sort(reverse=True)
for (sc,tc) in zip(sd,td):
if sc<tc:
print("Yes")
return
if len(sd)<len(td) and sd[len(sd)-1]==td[len(sd)-1]:
print("Yes")
return
print("No")
main()
|
s516922770 | p03485 | u499259667 | 1514776767 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 939 | s = input()
x,y=map(int,input().split())
fst = True;xory=1;xc=0;yc=0;xlis=[];ylis=[0];
for c in s:
if c == "F":
if xory == 1:
xc +=1
else:
yc +=1
else:
if fst and xory ==1:
xlis.append(xc)
fst = False
xory -=1
xc = 0... |
s352255819 | p03485 | u401093859 | 1514755452 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 1076 | #sを最高のパターンにして,tを最悪のパターンにすればいい
#continueで強制的に次のループへ
s = list(input())
t = list(input())
s.sort()
t.sort()
t.reverse()
if len(s) == len(t):
pattern == -1
elif len(s) < len(t):
length = len(s)
pattern = 0
else:#sのほうが長い時 pattern = 1
length = len(t)
pattern = 1
if pattern == -1:
for i in range(le... |
s282308915 | p03485 | u401093859 | 1514750795 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | N = map(int, input().split())
print( int((N[0]+N[1])/2) ) |
s832450030 | p03485 | u590211278 | 1514679249 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 714 | import math
s=list(input().split('T'))
sn=[]
for i in range(len(s)):
sn.append(len(s[i]))
x, y = map(int,input().split(' '))
x = x-sn[0]
snx=[]
sny=[]
for i in range(2,len(sn),2):
snx.append(sn[i])
for i in range(1,len(sn),2):
sny.append(sn[i])
#X軸判定
xflg = 0
ansx=[]
prex=[0]
for i in range(len(snx))... |
s261256379 | p03485 | u875021335 | 1514502969 | Python | Python (3.4.3) | py | Runtime Error | 53 | 5108 | 228 | # -*- coding: utf-8 -*-
import sys, argparse
from math import ceil
parser = argparse.ArgumentParser()
parser.add_argument('stdin', nargs=2)
args = parser.parse_args()
a,b = map(int, args.stdin)
avg = ceil((a+b)/2.0)
print(avg)
|
s965482155 | p03485 | u463059138 | 1514454196 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 404 | s = input()
t = input()
list_s = list(s)
list_s.sort()
list_t = list(t)
list_t.sort(reverse=True)
yes = False
if len(list_s) < len(list_t):
yes = True
for i in range(len(list_s)):
if len(list_t)-1 < i:
break
if list_s[i] < list_t[i]:
yes = True
break
elif list_s[i] > list_t[i... |
s239296085 | p03485 | u323777507 | 1514316329 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 119 | # -*- coding: utf-8 -*-
a, b = map(int, input().split())
x = (a + b) / 2
if x > 0:
return x + 1
else:
return x
|
s769283456 | p03485 | u323777507 | 1514316246 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 112 | # -*- coding: utf-8 -*-
a, b = map(int,input().split())
x = (a + b) / 2
if x > 0:
return x + 1
else:
return x
|
s151036589 | p03485 | u323777507 | 1514316158 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 108 | # -*- coding: utf-8 -*-
a, b = int(input().split())
x = (a + b) / 2
if x > 0:
return x + 1
else:
return x
|
s450563529 | p03485 | u323777507 | 1514315996 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | a, b = input().split()
x = (a + b) / 2
if x > 0:
return x + 1
else:
return x |
s901193039 | p03485 | u010437136 | 1514305076 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | import sys
x = 0
import math
for i in range(2):
a1 = sys.stdin.readline()
a2 = a1.rstrip()
a = int(a1)
x = x + int(a)
x = x/2
print(math.ceil(x))
|
s208305816 | p03485 | u010437136 | 1514304578 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | import sys
x = 0
import math
for i in range(2):
a1 = sys.stdin.readline()
a2 = a1.rstrip()
x = x + int(a1)
x = x/2
print(math.ceil(x))
|
s920398628 | p03485 | u010437136 | 1514303644 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 167 | import sys
a1 = sys.stdin.readline()
b1 = sys.stdin.readline()
a2 = a1.rstrip()
b2 = b1.rstrip()
import math
a = int(a2)
b = int(b2)
x = (a + b)/2
print(math.ceil(x)) |
s791476559 | p03485 | u010437136 | 1514303613 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 138 | import sys
a = sys.stdin.readline()
b = sys.stdin.readline()
a = x.rstrip()
b = x.rstrip()
import math
x = (a + b)/2
print(math.ceil(x)) |
s995700137 | p03485 | u010437136 | 1514303389 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 138 | import sys
a = sys.stdin.readline()
b = sys.stdin.readline()
a = x.rstrip()
b = x.rstrip()
import math
x = (a + b)/2
print(math.ceil(x)) |
s302126123 | p03485 | u390958150 | 1514132101 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 321 | N = int(input().rstrip())
numbers =[ int(i) for i in input().rstrip().split()]
n_dic = {str(i):0 for i in set(numbers)}
for i in numbers:
n_dic[str(i)] += 1
count = 0
for i,j in n_dic.items():
if int(i) < j:
count += j - int(i)
elif int(i) > j:
count += j
print(count... |
s095474533 | p03485 | u390958150 | 1514129808 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3768 | 357 | import string
alphabet = {}
n = 0
for i in string.ascii_lowercase:
alphabet[i] = n
n += 1
s = list(input().rstrip())
t = list(input().rstrip())
for i in range(len(s)):
s[i] = alphabet[s[i]]
for i in range(len(t)):
t[i] = alphabet[t[i]]
s.sort()
t.sort(reverse=True)
if s < t:
pr... |
s557422225 | p03485 | u390958150 | 1514124965 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 142 | import math
numbers = input().rstrip().split()
number1 = numbers[0]
number2 = numbers[1]
mean = (number1+number2) / 2
print(math.ceil(mean)) |
s530187424 | p03485 | u550574002 | 1514043749 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | s = sorted(input())
t = sorted(input())
t.reverse()
if s<t:
print("Yes")
else:
print("No") |
s532944685 | p03485 | u278260778 | 1513975900 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a = int(input().split())
print(int(round((a[0]+a[1])/2))) |
s011976009 | p03485 | u278260778 | 1513975784 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | a = int(input().split())
print(round((a[0]+a[1])/2)) |
s504453524 | p03485 | u278260778 | 1513975279 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 60 | a = input()
b = input()
c = round((a+b)/2)
print(int(c)) |
s248646689 | p03485 | u278260778 | 1513975104 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a = input()
b = input()
c = (a+b)/2
print(c.round()) |
s560872534 | p03485 | u454481887 | 1513915337 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | a, b = map(int, raw_input().split())
if str(a + b) % 1:
print str(a + b + 1)
else:
print str(a + b) |
s017103091 | p03485 | u454481887 | 1513915245 | Python | Python (2.7.6) | py | Runtime Error | 12 | 2692 | 107 | a, b = map(int, raw_input().split())
if str(a + b) % 1:
print str(a + b + 1)
else:
print str(a + b) |
s217422024 | p03485 | u454481887 | 1513915091 | Python | Python (2.7.6) | py | Runtime Error | 12 | 2692 | 107 | a, b = map(int, raw_input().split())
if str(a + b) % 1:
print str(a + b)
else:
print str(a + b + 1) |
s749959576 | p03485 | u454481887 | 1513914981 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | a, b = map(int, raw_input().split())
if str(a + b) % 1:
print str(a + b)
else:
print str(a + b + 1) |
s731123779 | p03485 | u454481887 | 1513914942 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | a, b = map(int, raw_input().split())
if (a + b) % 1:
print str(a + b)
else:
print str(a + b + 1) |
s284078227 | p03485 | u454481887 | 1513914880 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | a, b = map(int, raw_input().split())
if (a + b) % 1:
print str(a + b)
else:
print str(a + b - 1) |
s017392924 | p03485 | u892712833 | 1513909643 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b = map(int,input().sp;it())
print((a+b)//2) |
s369796291 | p03485 | u892712833 | 1513909573 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | a,b = map(int,input().split)
print((a+b)//2) |
s372265584 | p03485 | u651663683 | 1513737393 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 42 | print((sum(map(int,input().split())+1)//2) |
s766072178 | p03485 | u651663683 | 1513737267 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 42 | print((sum(map(int,input().split())+1)//2) |
s946689070 | p03485 | u636684559 | 1513721242 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 586 | def move(key,gx,gy,x,y,mx,my):
if key[0]=='F':
return move(key[1::],gx,gy,x+mx,y+my,mx,my)
elif key[0]=='T':
if mx==0:
return move(key[1::],gx,gy,x,y,1,0)
return move(key[1::],gx,gy,x,y,-1,0)
else:
return move(key[1::],gx,gy,x,y,0,1)
return... |
s197098666 | p03485 | u225528554 | 1513718716 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 1093 | def main(S,target):
dic_vector = [1,0]
position = [0,0]
x_path = abs(target[0])
y_path = abs(target[1])
if (S.count('F')-x_path-y_path)<0:
print("No")
exit()
count = 0
try:
findPath(count,position,dic_vector)
except Exception:
print("No")
def findPath(in... |
s833437115 | p03485 | u865646085 | 1513693399 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | import math
a = int(input())
b = int(input())
ans = math.ceil(a/b)
print(ans) |
s314515092 | p03485 | u865646085 | 1513693221 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 54 | a = int(input())
b = int(input())
ans = a+b
print(a/b) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.