ZhenlongDai/ACPR huggingface dataset:
Problem: p03609
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x,t=map(int,input().split())
print(x-t)

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
x,t=map(int,input().split())
print(max(0,x-t))

Problem: p03609
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b = map(int,input().split())
print (a -b if a-b <0 else 0)

Failing test case input:
7 -6

Expected output:
13


Actual output:
0


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
print (a -b if a-b >0 else 0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, t = map(int, input().split())
print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
X, t = map(int, input().split())
print(max(0, X-t))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t = [int(i) for i in input().split()]
print(x-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
x,t = [int(i) for i in input().split()]
print(max(0, x-t))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t = map(int, input().split())
print(min(0, x-t))

Failing test case input:
5 -7

Expected output:
12


Actual output:
0


Fixed submission (verdict: Accepted):
x, t = map(int, input().split())
print(max(0, x-t))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, t = map(int, input().split())
print(X-t)

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
X, t = map(int, input().split())
print(max(0,X-t))

Problem: p03609
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
x, t = map(int, input().split())
print(x-t)

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
x, t = map(int, input().split())
print(max(0, x-t))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):



def main():
    
    x, t = map(int, input().split())
    print(x - t)


if __name__ == "__main__":
    main()


Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):



def main():
    
    x, t = map(int, input().split())
    if x >= t:
        print(x - t)
    else:
        print(0)


if __name__ == "__main__":
    main()

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
print(max(0, b - a))

Failing test case input:
1000000010 1000000000

Expected output:
10


Actual output:
0


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
print(max(0, a - b))

Problem: p03609
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x, t = map(int, input().split())
print(min(x-t, 0))

Failing test case input:
1001000010 1000010011

Expected output:
989999


Actual output:
0


Fixed submission (verdict: Accepted):
x, t = map(int, input().split())
print(max(x-t, 0))
Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t=map(int,input().split())

print(x-t)


Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
x,t=map(int,input().split())

print(max(x-t,0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,t = map(int, input().split())
print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
X,t = map(int, input().split())
print(X-t if X-t > 0 else 0)

Problem: p03609
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X, t = map(int, input().split())
print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
X, t = map(int, input().split())
print(X-t if X > t else 0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=map(int,input().split())
print(min(0,abs(x-y)))

Failing test case input:
1100001111 0110010100

Expected output:
989991011


Actual output:
0


Fixed submission (verdict: Accepted):
x,y=map(int,input().split())
print(max(0,x-y))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, t = map(int, input().split())
print(X - t)

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
X, t = map(int, input().split())
print(max((X - t), 0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
num = input().split()
num_i = [int(s) for s in num]

X, t = num_i

print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
num = input().split()
num_i = [int(s) for s in num]

X, t = num_i

if (X-t)>0:
    print(X-t)
else:
    print('0')

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t=map(int,input().split())
print(x-t)

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
x,t=map(int,input().split())
print(x-t if(x>=t) else 0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

X, t = map(int, open(0).read().split())
print(X - t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):

X, t = map(int, open(0).read().split())
print(X - t if X > t else 0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t=map(int,input().split())
print(x-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
x,t=map(int,input().split())
print(x-t if x>=t else 0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


X,t=list(map(int,input().split(" ")))

print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):


X,t=list(map(int,input().split(" ")))

print(max(X-t,0))
Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
print(a-b)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
print(a-b if a>b else "0")

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
print(a-b)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
print(a-b) if a>b else print(0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t=map(int,input().split())
print(x-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
x,t=map(int,input().split())
print(max(x-t,0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
print(a-b)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
print("0" if a-b<0 else a-b)

Problem: p03609
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x,t=map(int,input().split())
print(x-t)

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
x,t=map(int,input().split())
print(x-t) if x-t>=0 else print(0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ls = list(map(int, input().split()))
if (ls[0] - ls[1]) >= 0:
    print(ls[0]-ls[1])

Failing test case input:
000 17

Expected output:
0


Actual output:

Fixed submission (verdict: Accepted):
ls = list(map(int, input().split()))
if (ls[0] - ls[1]) >= 0:
    print(ls[0]-ls[1])
else:
    print(0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,t = map(int,input().split())
print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
X,t = map(int,input().split())
print(max(X-t,0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t=map(int,input().split())
print(x-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
x,t=map(int,input().split())
print(max(x-t,0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, t = map(int, input().split())
print(x - t)


Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
x, t = map(int, input().split())
print(max(x - t, 0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, t = map(int, input().split())
ans = min(0, X-t)
print(ans)

Failing test case input:
1100001111 0110011100

Expected output:
989990011


Actual output:
0


Fixed submission (verdict: Accepted):
X, t = map(int, input().split())
ans = max(0, X-t)
print(ans)
Problem: p03609
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x, t = map(int, input().split())
print(x - t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
x, t = map(int, input().split())
print(max((x - t), 0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N, H = map(int, read().split())
print(N - H)


Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):


import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N, H = map(int, read().split())
print(max(N - H,0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, t = map(int, input().split())
print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
X, t = map(int, input().split())
print(max(X-t,0))

Problem: p03609
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
X,t = map(int,input().split())

ans = min(X-t,0)
print(ans)

Failing test case input:
1110001100 0010011100

Expected output:
1099990000


Actual output:
0


Fixed submission (verdict: Accepted):
X,t = map(int,input().split())

ans = max(X-t,0)
print(ans)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, t = list(map(int, input().split()))

print(x - t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
x, t = list(map(int, input().split()))

if x - t < 0:
	print(0)
else:
	print(x - t)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t=map(int,input().split());print(x-t)

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
x,t=map(int,input().split());print(max(x-t,0))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,t = map(int,input().split())
print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
-10


Fixed submission (verdict: Accepted):
X,t = map(int,input().split())
print(max(0,X-t))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split());print(min(0,a-b))

Failing test case input:
1011100111 0101011100

Expected output:
910089011


Actual output:
0


Fixed submission (verdict: Accepted):
a,b=map(int,input().split());print(max(0,a-b))

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,t = map(int,input().split())

if t >= X:
  print(X)
else:
  print(X-t)

Failing test case input:
48 58

Expected output:
0

Actual output:
48


Fixed submission (verdict: Accepted):
X,t = map(int,input().split())
 
if t >= X:
  print(0)
else:
  print(X-t)
Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = input().split()
x = int(l[0])
t = int(l[1])
y = x - t
print('{0}'.format(y))

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
l = input().split()
x = int(l[0])
t = int(l[1])
y = x - t
if y > 0:
	print('{0}'.format(y))
else:
	print('0')

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,t=map(int, input().split())
print(X-t)



Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
X,t=map(int, input().split())
print(X-t if X-t>=0 else 0)

Problem: p03609
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,t=map(int,input().split(' '))
print(int(x-t))

Failing test case input:
000 17

Expected output:
0


Actual output:
-17


Fixed submission (verdict: Accepted):
x,t=map(int,input().split(' '))
print(max(int(x-t),0))
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N % 2==0:
    print(N/2)
else:
    print(N/2+0.5)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N=int(input())
if N % 2==0:
    print(int(N/2))
else:
    print(int(N/2+0.5))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N + 1)

Failing test case input:
583

Expected output:
292


Actual output:
584


Fixed submission (verdict: Accepted):
N = int(input())

if N % 2 == 0:
    print(N
else:
    print(N

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
print(math.ceil(int(input())))


Failing test case input:
840

Expected output:
420


Actual output:
840


Fixed submission (verdict: Accepted):
import math
print(math.ceil(int(input())/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=10
k=N%2
if k==0:
    print(round(N/2.0))
else:
    print(round(N/2+1/2.0))

Failing test case input:
583

Expected output:
292


Actual output:
5


Fixed submission (verdict: Accepted):
n=input()
N=float(n)
k=N%2
if k==0:
    print(round(N/2.0))
else:
    print(round(N/2+1/2.0))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==0:
  print(n/2)
else:
  print(n/2+0.5)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
  print(n
else:
  print((n+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
n = int(N/2)
print(n)

Failing test case input:
583

Expected output:
292


Actual output:
291


Fixed submission (verdict: Accepted):
N = int(input())
print(int((N+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N % 2 ==0:
  print(N/2)
 
else:
  print((1+N)/2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N = int(input())
if N % 2==0:
  print(int(N/2))
  
else:
  print(int((N/2)+1))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
ans = n
print(ans)

Failing test case input:
740

Expected output:
370


Actual output:
740


Fixed submission (verdict: Accepted):
n = int(input())
ans = -(-n
print(ans)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==0:
  print(N/2)
else:
  print((N+1)/2)
  

Failing test case input:
557

Expected output:
279


Actual output:
279.0


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
  print(int(N/2))
else:
  print((N

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==0:
  print(n/2)
else:
  print(int(n/2)+1)  

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
  print(int(n/2))
else:
  print(int((n+1)/2))
Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())

if N%2==0:
  print(N/2)
else:
  print((N+1)/2)
  

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N=int(input())

if N%2==0:
  print(N
else:
  print((N+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math

print(math.ceil(int(input()) / 4))

Failing test case input:
583

Expected output:
292


Actual output:
146


Fixed submission (verdict: Accepted):
import math

print(math.ceil(int(input()) / 2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N%2==0:
  print(N/2)
else:
  print((N+1)/2)

Failing test case input:
557

Expected output:
279


Actual output:
279.0


Fixed submission (verdict: Accepted):
N = int(input())
if N%2==0:
  print('{:.0f}'.format(N/2))
else:
  print('{:.0f}'.format((N+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(int((N-N%2)/2))

Failing test case input:
583

Expected output:
292


Actual output:
291


Fixed submission (verdict: Accepted):
N = int(input())
print(int((N-N%2)/2+ N%2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import ceil
n = int(input())
print(round(n/2))

Failing test case input:
1073

Expected output:
537


Actual output:
536


Fixed submission (verdict: Accepted):
from math import ceil
n = int(input())
print(ceil(n/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=input()
N=int(N)

if N%2==1:
    N=int(((N-1)/2)+1)
    print(N)
else:
    N=int(N)
    print(N)

Failing test case input:
740

Expected output:
370


Actual output:
740


Fixed submission (verdict: Accepted):
N=input()
N=int(N)

if N%2==1:
    N=int(((N-1)/2)+1)
    print(N)
else:
    N=int(N/2)
    print(N)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N % 2 == 0:
    N /=2
    print(N)
else:
    N /=2
    N+=1
    N = int(N)
    print(N)


Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N = int(input())
if N % 2 == 0:
    N /=2
    print(int(N))
else:
    N /=2
    N+=1
    N = int(N)
    print(N)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
if n%2==0:
    print(n/2)
else:
    print(int(n/2)+1)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
    print(int(n/2))
else:
    print(int(n/2)+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
page = int(input())
paper = page / 2
print(paper)

Failing test case input:
583

Expected output:
292


Actual output:
291.5


Fixed submission (verdict: Accepted):
page = int(input())
paper = -(-page 
print(paper)
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==0:
  print(N/2)
else:
  print(N/2+1)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
n = int(input())
if n % 2:
    print(n 
else:
    print(n

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==0:
    print(N/2)
else:
    print((N-1)/2+1)

Failing test case input:
583

Expected output:
292


Actual output:
292.0


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
    print(N
else:
    print((N-1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N % 2 == 0:
    answer = N /2
else:
    answer = (N + 1) / 2

print(answer)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N = int(input())
if N % 2 == 0:
    answer = N /2
else:
    answer = (N + 1) / 2

print(int(answer))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==0:
  ans=n/2
else:
  ans=(n+1)/2

print(ans)

Failing test case input:
557

Expected output:
279


Actual output:
279.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
  ans=n/2
else:
  ans=(n+1)/2

print(int(ans))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==0:
  print(n/2)
else:
  print(n/2+1)

Failing test case input:
1073

Expected output:
537


Actual output:
537.5


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
  print(int(n/2))
else:
  print(int(n/2+1))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==0:
	print(round(N/2))
else:
	print(round(N/2)+1)

Failing test case input:
583

Expected output:
292


Actual output:
293


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
	print(int(N/2))
else:
	print(int((N+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math

N = int(input())

number_of_pages = math.floor(N / 2)

print(number_of_pages)


Failing test case input:
487

Expected output:
244


Actual output:
243


Fixed submission (verdict: Accepted):
import math

N = int(input())

number_of_pages = math.ceil(N / 2)

print(number_of_pages)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N % 2 == 0:
  n = N/2
else:
  n = (N+1)/2
print(n)

Failing test case input:
583

Expected output:
292


Actual output:
292.0


Fixed submission (verdict: Accepted):
N = int(input())
if N % 2 == 0:
  n = N / 2
else:
  n = int((N+1) / 2)
print(int(n))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())

print(N/2+N%2)

Failing test case input:
1073

Expected output:
537


Actual output:
537.5


Fixed submission (verdict: Accepted):
N=int(input())

print(int(N/2)+N%2)
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==0:
  print(n/2)
else:
  print((n+1)/2)

Failing test case input:
557

Expected output:
279


Actual output:
279.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
  print(int(n/2))
else:
  print(int((n+1)/2))

Problem: p02759
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n=int(input())
if n%2==0:
    print(n/2)
else:
    print((n+1)/2)

Failing test case input:
487

Expected output:
244


Actual output:
244.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
    print(n
else:
    print((n+1)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())
if(N%2==0):
  print(N/2)
else:
  print((N+1)/2)


Failing test case input:
557

Expected output:
279


Actual output:
279.0


Fixed submission (verdict: Accepted):
N=int(input())
if(N%2==0):
  print(N
else:
  print((N+1)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    N = int(input())
    if N%2 == 1:
      print((N+1)/2)
    else:
      print(N/2)
main()

Failing test case input:
487

Expected output:
244


Actual output:
244.0


Fixed submission (verdict: Accepted):
def main():
    N = int(input())
    if N%2 == 1:
      print(int((N+1)/2))
    else:
      print(int(N/2))
main()

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==1:
    print(int(N/2)+1)
else:
    print(N/2)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==1:
    print(int(N/2)+1)
else:
    print(int(N/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
M=N+1

if N %2 ==0:
  print(N/2)
else:
  print(M/2)

Failing test case input:
487

Expected output:
244


Actual output:
244.0


Fixed submission (verdict: Accepted):
N=int(input())
M=N+1

if N %2 ==0:
  print(N
else:
  print(M

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==0:
  print(N/2)
else:
  print(N+1/2)

Failing test case input:
583

Expected output:
292


Actual output:
583.5


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
  print(N
else:
  print((N+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==0:
  print(n/2)
else:
  print((n+1)/2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
  print(int(n/2))
else:
  print(int((n+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(a / 4)
if (a % 4 !=0):
    b+=1
print(b)


Failing test case input:
840

Expected output:
420


Actual output:
210


Fixed submission (verdict: Accepted):
a = int(input())
b = int(a / 2)
if (a % 2 !=0):
    b+=1
print(b)
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
page = int(input("num: "))
print(math.ceil(page/2))

Failing test case input:
583

Expected output:
292


Actual output:
num: 292


Fixed submission (verdict: Accepted):
import math
page = int(input())
print(math.ceil(page/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
a=N/2
b=N%2
if b == 0:
  print(a)
elif b == 1:
  print(a+0.5)
else:
  print("error")
  

Failing test case input:
487

Expected output:
244


Actual output:
244.0


Fixed submission (verdict: Accepted):
import math
N = int(input())
a=N/2
b=N%2
if b == 0:
  print(math.floor(a))
elif b == 1:
  print(math.floor(a+0.5))
else:
  print("error")

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())
if(N%2==0):
  print(N/2)
else:
  print(N/2+1)

Failing test case input:
1073

Expected output:
537


Actual output:
537.5


Fixed submission (verdict: Accepted):
N=int(input())
if(N%2==0):
  print(N
else:
  print((N+1)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
print(int(n/2)+1)

Failing test case input:
840

Expected output:
420


Actual output:
421


Fixed submission (verdict: Accepted):
n = int(input())
print(int(n/2)+n%2)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = input()
N = int(N)
num_paper = N / 2
if (N % 2) > 0:
  num_paper += 1
else:
  pass

print(num_paper)


Failing test case input:
487

Expected output:
244


Actual output:
244.5


Fixed submission (verdict: Accepted):
N = input()
N = int(N)
num_paper = int(N / 2)
if (N % 2) > 0:
  num_paper += 1
else:
  pass

print(num_paper)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = input()
if int(N) % 2 == 0:
  print(int(N) / 2)
else:
  print(round(int(N) / 2 + 0.5))

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N = input()
if int(N) % 2 == 0:
  print(round(int(N) / 2))
else:
  print(round(int(N) / 2 + 0.5))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())

if n % 2 ==0:
    print(n/2)
else:
    print(int((n-1)/2+1))

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n=int(input())

if n % 2 == 0:
    print(int(n/2))
else:
    print(int((n-1)/2+1))

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())

print(n/2) if n%2 == 0 else print(n/2+1)

Failing test case input:
583

Expected output:
292


Actual output:
292.5


Fixed submission (verdict: Accepted):
n = int(input())

print(int(n/2)) if n%2 == 0 else print(int(n/2+1))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N =int(input())
if N%2 == 0:
    print(N/2)
else:
    print(int(N/2)+1)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N =int(input())
if N%2 == 0:
    print(int(N/2))
else:
    print(int(N/2)+1)
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = input()
N = int(N)

if N%2==0:
    print(int(N/2))
else:
    print(int(round(N/2)+1))

Failing test case input:
487

Expected output:
244


Actual output:
245


Fixed submission (verdict: Accepted):
N = input()
N = int(N)

import math

if N%2==0:
    print(int(N/2))
else:
    print(math.ceil(N/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N%2 ==0:
 print(N%2)
if N%2 ==1:
 N = N
 print(N)

Failing test case input:
583

Expected output:
292


Actual output:
583


Fixed submission (verdict: Accepted):
N = int(input())
if N%2 ==0:
 print(N
if N%2 ==1:
 N = N
 print(N)

Problem: p02759
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n = int(input())
print(n/2 + n%2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if n%2 == 1:
    print((n+1)/2)
else:
    print(n/2)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n = int(input())
if n%2 == 1:
    print(int((n+1)/2))
else:
    print(int(n/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==0:
 print(N/2)
else:
 print ((N+1)/2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
 print(N
else:
 print ((N+1)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())
if N%2==0:
    print(N/2)
else:
    print(N/2+1)

Failing test case input:
557

Expected output:
279


Actual output:
279.5


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
    print(int(N/2))
else:
    print(int(N/2+1))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input().strip()
s = int(s)

if s%2 == 0:
    print(s/2)
else:
    print(int(s/2)+1)


Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
s = input().strip()
s = int(s)

if s%2 == 0:
    print(int(s/2))
else:
    print(int(s/2)+1)

Problem: p02759
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N = int(input())

print(N>>1)

Failing test case input:
487

Expected output:
244


Actual output:
243


Fixed submission (verdict: Accepted):
N = int(input())

print((N+1)>>1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

if N % 2 == 0:
  print(N/2)
else:
  print(N/2+1)

Failing test case input:
583

Expected output:
292


Actual output:
292.5


Fixed submission (verdict: Accepted):
N = int(input())

if N % 2 == 0:
  print(int(N/2))
else:
  print(int(N/2+1))
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math

N = int(input())
ans = 0

if(N%2 == 0):
  ans = N/2
else:
  ans = math.floor(N/2) + 1
  
print(ans)


Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N = int(input())
ans = 0

if(N%2 == 0):
  ans = N/2
else:
  ans = N/2 + 0.5
  
ans = int(ans)
print(ans)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
print(int(n/2))

Failing test case input:
583

Expected output:
292


Actual output:
291


Fixed submission (verdict: Accepted):
n = int(input())
print(int((n+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):










import math
import statistics
import string


def intinput():
    return int(input())
def listintinput():
    return list(map(int, input().split()))
def splitintinput():
    return map(int, input().split())
def factorialsurplus(x, y, z):  
    ret = 1
    for i in range(x, y + 1):
        ret = (ret * i) % z
    return (ret)
def isprime(x):
    if x == 1:
        return False
    if x == 2:
        return True
    sq = int(math.sqrt(x))
    for i in range(2,sq+1):
        if x % i == 0:
            return False
    return True
def hcfnaive(a,b):
    if(b==0):
        return a
    else:
        return hcfnaive(b,a%b)

N = intinput()
print(math.ceil(N))

Failing test case input:
557

Expected output:
279


Actual output:
557


Fixed submission (verdict: Accepted):










import math
import statistics
import string


def intinput():
    return int(input())
def listintinput():
    return list(map(int, input().split()))
def splitintinput():
    return map(int, input().split())
def factorialsurplus(x, y, z):  
    ret = 1
    for i in range(x, y + 1):
        ret = (ret * i) % z
    return (ret)
def isprime(x):
    if x == 1:
        return False
    if x == 2:
        return True
    sq = int(math.sqrt(x))
    for i in range(2,sq+1):
        if x % i == 0:
            return False
    return True
def hcfnaive(a,b):
    if(b==0):
        return a
    else:
        return hcfnaive(b,a%b)

N = intinput()
print(math.ceil(N/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n+1)/2)

Failing test case input:
583

Expected output:
292


Actual output:
292.0


Fixed submission (verdict: Accepted):
n = int(input())
print((n+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==0:
  print(n/2)
else:
  print(n/2+1)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==0:
  print(n
else:
  print((n+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
q, mod = divmod(int(input()), 2)
q+=1 if mod == 1 else q
print(q)

Failing test case input:
740

Expected output:
370


Actual output:
740


Fixed submission (verdict: Accepted):
q, mod = divmod(int(input()), 2)
if mod == 1:
  q+=1
print(q)
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

if n%2 == 0:
    print(n/2)
else:
    print(round(n/2)+1)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
import math

n = int(input())

if n%2 == 0:
    print(n
else:
    print(math.floor(n

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
n = int(sys.stdin.readline())
rem = n%2
print(n/2 + rem)


Failing test case input:
583

Expected output:
292


Actual output:
292.5


Fixed submission (verdict: Accepted):
import sys

n = int(sys.stdin.readline())
rem = n%2
print(n

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
int(int(input())/2+0.5)

Failing test case input:
740

Expected output:
370


Actual output:

Fixed submission (verdict: Accepted):
print(int(int(input())/2+0.5))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N%2 == 0:
    a = N/2
else:
    a = N

print(a)

Failing test case input:
1073

Expected output:
537


Actual output:
1073


Fixed submission (verdict: Accepted):
N = int(input())
if N%2 == 0:
    a = int(N/2)
else:
    a = int(N

print(a)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
answer = N / 2 if N % 2 == 0 else int(N / 2) + 1
print(answer)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N = int(input())
answer = N / 2 if N % 2 == 0 else int(N / 2) + 1
print(int(answer))

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())
if N%2==0:
  print(N)
else :
  print(N+1)

Failing test case input:
1073

Expected output:
537


Actual output:
1074


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
  print(int(N/2))
else :
  print(int(N/2+1))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N % 2 == 0:
  print(N/2)
else:
  print((N+1)/2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N = int(input())
if N % 2 == 0:
  print(int(N/2))

else:
  print(int((N+1)/2))

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
if n % 2 ==0:
    print(n/2)
else:
    print((n+1)/2)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n = int(input())
if n % 2 ==0:
    print(n
else:
    print((n+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
n = int(N/2)
print(n+1)

Failing test case input:
840

Expected output:
420


Actual output:
421


Fixed submission (verdict: Accepted):
N = int(input())
print(int((N+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N / 2 + N % 2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N = int(input())
print(int(N / 2 + N % 2))
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
N = int(input())
print(math.floor(N/2))

Failing test case input:
1073

Expected output:
537


Actual output:
536


Fixed submission (verdict: Accepted):
import math
N = int(input())
print(math.ceil(N/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
if a%2==0:
  ans=a/2
else:
  ans=(a-1)/2+1
print(ans)

Failing test case input:
487

Expected output:
244


Actual output:
244.0


Fixed submission (verdict: Accepted):
a=int(input())
if a%2==0:
  ans=a/2
else:
  ans=(a-1)/2+1
print(int(ans))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2==1:
  print(n/2+1)
else:
  print(n/2)

Failing test case input:
1073

Expected output:
537


Actual output:
537.5


Fixed submission (verdict: Accepted):
n=int(input())
if n%2==1:
  print(n
else:
  print(n

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N/2+N%2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N = int(input())
print(N

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N/2+N%2)

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
N = int(input())
print(int(N/2)+N%2)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if n % 2 == 0:
    print(n/2)
else:
    print((n+1)/2)




Failing test case input:
487

Expected output:
244


Actual output:
244.0


Fixed submission (verdict: Accepted):
n = int(input())
if n % 2 == 0:
    print(int(n/2))
else:
    print(int((n+1)/2))

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
n = int(input())
print(math.floor(n/2))

Failing test case input:
583

Expected output:
292


Actual output:
291


Fixed submission (verdict: Accepted):
import math
n = int(input())
print(math.ceil(n/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = 3
if N % 2 == 1:
	n = N + 1
else:
	n = N
print(int(n / 2))

Failing test case input:
840

Expected output:
420


Actual output:
2


Fixed submission (verdict: Accepted):
N = int(input())
if N % 2 == 1:
	n = N + 1
else:
	n = N
print(int(n / 2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
input = int(input("Enter N number: "))
if input >= 1 and input <= 100:
    result = input - input 
    print(result)
else:
    print('Invalid input')


Failing test case input:
487

Expected output:
244


Actual output:
Enter N number: Invalid input


Fixed submission (verdict: Accepted):
input = int(input())
if input % 2 == 0:
    result = input / 2
    print(int(result))
else:
    result = (input / 2) + 1
    print(int(result))
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N%2==0:
	print(N/2)
else:
	print((N+1)/2)

Failing test case input:
1073

Expected output:
537


Actual output:
537.0


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
	print(int(N/2))
else:
	print(int((N+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N % 2 == 1:
   print((N+1)/2)
else:
    print(N/2)



Failing test case input:
583

Expected output:
292


Actual output:
292.0


Fixed submission (verdict: Accepted):
N = int(input())
if N % 2 == 1:
    print(int((N+1)/2))
else:
    print(int(N/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = input()

if int(x) % 2:
    print(int(x)/2+0.5)
else:
    print(int(x)/2)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
x = input()

if int(x) % 2:
    print(int(int(x)/2+0.5))
else:
    print(int(int(x)/2))

Problem: p02759
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import math
print(int(math.ceil(int(input()))))

Failing test case input:
840

Expected output:
420


Actual output:
840


Fixed submission (verdict: Accepted):
import math
print(int(math.ceil(int(input())/2)))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if(N % 2 == 0):
  print(N/2)
else:
  print(int(N/2)+1)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N = int(input())
if(N % 2 == 0):
  print(int(N/2))
else:
  print(int(N/2)+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if __name__ == '__main__':
    r = input()
    r = int(r)
    result = int(r/2)+1
    print(result)

Failing test case input:
740

Expected output:
370


Actual output:
371


Fixed submission (verdict: Accepted):
if __name__ == '__main__':
    r = input()
    r = int(r)
    result = int(r/2+0.5)
    print(result)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

if N%2 == 0:
  print(int(N%2))
else:
  print(int(N/2)+1)

Failing test case input:
740

Expected output:
370


Actual output:
0


Fixed submission (verdict: Accepted):
N = int(input())

if N%2 == 0:
  print(int(N/2))
else:
  print(int(N/2)+1)

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())

if a%2==1:
    an=(a+1)/2
else:
    an=a/2
print(an)


Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
a=int(input())

if a%2==1:
    an=(a+1)/2
else:
    an=a/2
an=int(an)
print(an)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
print(N / 2 + N % 2)

Failing test case input:
487

Expected output:
244


Actual output:
244.5


Fixed submission (verdict: Accepted):
N = int(input())
print(N
Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
if a % 2:
  b = (a + 1) / 2
else:
  b = a / 2
print(b)

Failing test case input:
557

Expected output:
279


Actual output:
279.0


Fixed submission (verdict: Accepted):
a = int(input())
if a % 2:
  b = (a + 1) / 2
else:
  b = a / 2
print(int(b))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(int(n/5)+n%2)

Failing test case input:
487

Expected output:
244


Actual output:
98


Fixed submission (verdict: Accepted):
n = int(input())
print(int(n/2)+n%2)

Problem: p02759
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n = int(input())
if(n%2 == 0):print(n/2)
else:print(int(n/2)+1)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n = int(input())
if(n%2 == 0):print(int(n/2))
else:print(int(n/2)+1)

Problem: p02759
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())
if N%2==0:
  print(N/2)
else:
  print(int(N/2)+1)

Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
N=int(input())
if N%2==0:
  print(int(N/2))
else:
  print(int(N/2+1))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

if N%2 ==0:
  ans = N%2
  print(ans)
  
else :
  ans = N%2 + 0.5
  print(int(ans))


Failing test case input:
740

Expected output:
370


Actual output:
0


Fixed submission (verdict: Accepted):
N = int(input())

if N%2 ==0:
  ans = N/2
  print(int(ans))
  
else :
  ans = N/2 + 0.5
  print(int(ans))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if(n % 2 == 0 ):
  a = n / 2
else:
  a = n / 2 + 1
print(a)

Failing test case input:
583

Expected output:
292


Actual output:
292.5


Fixed submission (verdict: Accepted):
n = int(input())
if(n % 2 == 0 ):
  a = n / 2
else:
  a = n / 2 + 1
print(int(a))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
N = int(input())
if( N%2 == 0 ):
  print(N/2)
else:
  print(math.ceil((N/2)))

Failing test case input:
840

Expected output:
420


Actual output:
420.0


Fixed submission (verdict: Accepted):
import math
N = int(input())
if( N%2 == 0 ):
  print(int(N/2))
else:
  print(math.ceil((N/2)))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N/2+1)

Failing test case input:
583

Expected output:
292


Actual output:
292.5


Fixed submission (verdict: Accepted):
N = int(input())
print(int((N+1)/2))

Problem: p02759
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
if n%2 == 0:
  print(n/2)
else:
  print(int(n/2)+1)


Failing test case input:
740

Expected output:
370


Actual output:
370.0


Fixed submission (verdict: Accepted):
n=int(input())
if n%2 == 0:
  print(int(n/2))
else:
  print(int(n/2)+1)