ZhenlongDai/ACPR huggingface dataset:
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
sum = 600
for i in range(8, 0, -1):
    if x < sum:
        print(i)
        break
    sum += 20

Failing test case input:
1933

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
x = int(input())
sum = 600
for i in range(8, 0, -1):
    if x < sum:
        print(i)
        break
    sum += 200

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input('点数:'))

if 400 <= X <= 599:
    print(8)
if 600 <= X <= 799:
    print(7)
if 800 <= X <= 999:
    print(6)
if 1000 <= X <= 1199:
    print(5)
if 1200 <= X <= 1399:
    print(4)
if 1400 <= X <= 1599:
    print(3)
if 1600 <= X <= 1799:
    print(2)
if 1800 <= X <= 1999:
    print(1)

Failing test case input:
1551

Expected output:
3


Actual output:
点数:3


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

if 400 <= X <= 599:
    print(8)
if 600 <= X <= 799:
    print(7)
if 800 <= X <= 999:
    print(6)
if 1000 <= X <= 1199:
    print(5)
if 1200 <= X <= 1399:
    print(4)
if 1400 <= X <= 1599:
    print(3)
if 1600 <= X <= 1799:
    print(2)
if 1800 <= X <= 1999:
    print(1)

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

if n <= 599:
    print(8)
elif n <= 799:
    print(7)
elif n <= 999:
    print(6)
elif n <= 1199:
    print(5)
elif n<= 1399:
    print(4)
elif n <= 1599:
    print(3)
elif n <= 1999:
    print(2)
else:
    print(1)

Failing test case input:
1933

Expected output:
1


Actual output:
2


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

if n <= 599:
    print(8)
elif n <= 799:
    print(7)
elif n <= 999:
    print(6)
elif n <= 1199:
    print(5)
elif n<= 1399:
    print(4)
elif n <= 1599:
    print(3)
elif n <= 1799:
    print(2)
else:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

if X >=1800 and X <1999:
    print(1)
elif X >=1600 and X <=1799:
    print(2)
elif X >=1400 and X<=1599:
    print(3)
elif X >=1200 and X<=1399:
    print(4)
elif X >= 1000 and X <=1099:
    print(5)
elif X >= 800 and X <= 999:
    print(6)
elif X >= 600 and X <= 799:
    print(7)
elif X >= 400 and X <= 599:
    print(8)

Failing test case input:
1125

Expected output:
5


Actual output:

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

if X >=1800 and X <=1999:
    print(1)
elif X >=1600 and X <=1799:
    print(2)
elif X >=1400 and X<=1599:
    print(3)
elif X >=1200 and X<=1399:
    print(4)
elif X >= 1000 and X <=1199:
    print(5)
elif X >= 800 and X <= 999:
    print(6)
elif X >= 600 and X <= 799:
    print(7)
elif X >= 400 and X <= 599:
    print(8)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from sys import exit

X = int(input())

if X <= 599:
    print(8)
    exit()

if X <= 799:
    print(7)
    exit()

if X <= 999:
    print(6)
    exit()

if X <= 1199:
    print(5)
    exit()

if X <= 1399:
    print(4)
    exit()

if X <= 1599:
    print(5)
    exit()

if X <= 1799:
    print(2)
    exit()

print(1)


Failing test case input:
1434

Expected output:
3


Actual output:
5


Fixed submission (verdict: Accepted):
from sys import exit

X = int(input())

if X <= 599:
    print(8)
    exit()

if X <= 799:
    print(7)
    exit()

if X <= 999:
    print(6)
    exit()

if X <= 1199:
    print(5)
    exit()

if X <= 1399:
    print(4)
    exit()

if X <= 1599:
    print(3)
    exit()

if X <= 1799:
    print(2)
    exit()

print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
if 400<=x<=599:
    print(8)
elif 600<=x<=799:
    print(7)
elif 800<=x<=999:
    print(6)
elif 1000<=x<=1199:
    print(5)
elif 1200<=x<=1399:
    print(4)
elif 1400<=x<=1599:
    print(3)
elif 1600<=x<=1799:
    print(2)
elif 1800<=x<=1899:
    print(1)


Failing test case input:
1920

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
x=int(input())
if 400<=x<=599:
    print(8)
elif 600<=x<=799:
    print(7)
elif 800<=x<=999:
    print(6)
elif 1000<=x<=1199:
    print(5)
elif 1200<=x<=1399:
    print(4)
elif 1400<=x<=1599:
    print(3)
elif 1600<=x<=1799:
    print(2)
elif 1800<=x<=1999:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
for i in range(8):
    a=400+(8-i)*200
    if a<=X<=a+199:
        print(i)
        break

Failing test case input:
594

Expected output:
8


Actual output:

Fixed submission (verdict: Accepted):
X=int(input())
for i in range(1,9):
    a=400+(8-i)*200
    if a<=X<=a+199:
        print(i)
        break

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
if 599>=n>=400:
    print(8)
elif 799>=n>=600:
    print(7)
elif 999>=n>=800:
    print(6)
elif 1199>=n>=1000:
    print(5)
elif 1399>=n>=1200:
    print(4)
elif 1400>=n>=1599:
    print(3)
elif 1799>=n>=1600:
    print(2)
elif 1999>=n>=1800:
    print(1)

Failing test case input:
1485

Expected output:
3


Actual output:

Fixed submission (verdict: Accepted):
n=int(input())
if 599>=n>=400:
    print(8)
elif 799>=n>=600:
    print(7)
elif 999>=n>=800:
    print(6)
elif 1199>=n>=1000:
    print(5)
elif 1399>=n>=1200:
    print(4)
elif 1599>=n>=1400:
    print(3)
elif 1799>=n>=1600:
    print(2)
elif 1999>=n>=1800:
    print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

lst = [ [400, 599, 8], [600, 799, 7], [800, 999, 6], [1000, 1199, 5], [1200, 1399, 4], [1400, 1599, 3], [1600, 1799, 2], [1800, 1999, 1] ]

def Kyu(X):
   
   for i in lst:
      if i[0] <= X <= i[1]:
         result = i[2]
         break
   
   print(result)

Failing test case input:
573

Expected output:
8


Actual output:

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

lst = [ [400, 599, 8], [600, 799, 7], [800, 999, 6], [1000, 1199, 5], [1200, 1399, 4], [1400, 1599, 3], [1600, 1799, 2], [1800, 1999, 1] ]

def Kyu(X):
   
   for i in lst:
      if i[0] <= X <= i[1]:
         result = i[2]
         break
   print(result)

Kyu(X)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
if x < 599:
    print(8)
if x < 799:
    print(7)
if x < 999:
    print(6)
if x < 1199:
    print(5)
if x < 1399:
    print(4)
if x < 1599:
    print(3)
if x < 1799:
    print(2)
if x < 1999:
    print(1)

Failing test case input:
668

Expected output:
7


Actual output:
7
6
5
4
3
2
1


Fixed submission (verdict: Accepted):
x = int(input())
if x <= 599:
    print(8)
elif x <= 799:
    print(7)
elif x <= 999:
    print(6)
elif x <= 1199:
    print(5)
elif x <= 1399:
    print(4)
elif x <= 1599:
    print(3)
elif x <= 1799:
    print(2)
elif x <= 1999:
    print(1)

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
X = int(input())
if X > 600:
    print(8)
elif X > 800:
    print(7)
elif X > 1000:
    print(6)
elif X > 1200:
    print(5)
elif X > 1400:
    print(4)
elif X > 1600:
    print(3)
elif X > 1800:
    print(2)
else:
    print(1)

Failing test case input:
1764

Expected output:
2


Actual output:
8


Fixed submission (verdict: Accepted):
X = int(input())
if X < 600:
    print(8)
elif X < 800:
    print(7)
elif X < 1000:
    print(6)
elif X < 1200:
    print(5)
elif X < 1400:
    print(4)
elif X < 1600:
    print(3)
elif X < 1800:
    print(2)
else:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
 
def score(x):
 
 if  400 <= x <= 599:
        print("8")
 elif 600 <= x <= 799:
        print("7")
 elif 800 <= x <= 999:
        print("6")
 elif 1000 <= x <= 1199:
        print("5")
 elif 1200 <= x <= 1399:
        print("4")
 elif 1400 <= x <= 1599:
        print("3")
 elif 1600 <= x <= 1799:
        print("2")
 elif 1800 <= x <= 1999:
        print("1")

print(score(x))



Failing test case input:
696

Expected output:
7


Actual output:
7
None


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

def score(x):
 if  400 <= x <= 599:
        print("8")
 elif 600 <= x <= 799:
        print("7")
 elif 800 <= x <= 999:
        print("6")
 elif 1000 <= x <= 1199:
        print("5")
 elif 1200 <= x <= 1399:
        print("4")
 elif 1400 <= x <= 1599:
        print("3")
 elif 1600 <= x <= 1799:
        print("2")
 elif 1800 <= x <= 1999:
        print("1")

score(x)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

if X <= 400 and X <= 599:
    print(8)
elif 600 <= X and X <= 799:
    print(7)
elif 800 <= X and X <= 999:
    print(6)
elif 1000 <= X and X <= 1199:
    print(5)
elif 1200 <= X and X <= 1399:
    print(4)
elif 1400 <= X and X <= 1599:
    print(3)
elif 1600 <= X and X <= 1799:
    print(2)
elif 1800 <= X and X <= 1999:
    print(1)
else:
    pass


Failing test case input:
565

Expected output:
8


Actual output:

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

if 400 <= X and X <= 599:
    print('8')
elif 600 <= X and X <= 799:
    print('7')
elif 800 <= X and X <= 999:
    print('6')
elif 1000 <= X and X <= 1199:
    print('5')
elif 1200 <= X and X <= 1399:
    print('4')
elif 1400 <= X and X <= 1599:
    print('3')
elif 1600 <= X and X <= 1799:
    print('2')
elif 1800 <= X and X <= 1999:
    print('1')
else:
    pass

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input(()))
n = 0
if 400 <= X  <= 599:
    print("8")
elif 600<= X <=799:
    print("7")
elif 800<= X <=999:
    print("6")
elif 1000<= X <=1199:
    print("5")
elif 1200<= X <=1399:
    print("4")
elif 1400<= X <=1599:
    print("3")
elif 1600<= X <=1799:
    print("2")
elif 1800<= X <= 1999:
    print("1")

Failing test case input:
648

Expected output:
7


Actual output:
()7


Fixed submission (verdict: Accepted):
X = int(input())
if 400 <= X  <= 599:
    print("8")
elif 600<= X <=799:
    print("7")
elif 800<= X <=999:
    print("6")
elif 1000<= X <=1199:
    print("5")
elif 1200<= X <=1399:
    print("4")
elif 1400<= X <=1599:
    print("3")
elif 1600<= X <=1799:
    print("2")
elif 1800<= X <= 1999:
    print("1")

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
if x in range(400,599):
    print(8)
elif x in range(600,799):
    print(7)
elif x in range(800,999):
    print(6)
elif x in range(1000,1199):
    print(5)
elif x in range(1200,1399):
    print(4)
elif x in range(1400,1599):
    print(3)
elif x in range(1600,1799):
    print(2)
elif x in range(1800,1999):
    print(1)
else:
    print(0)    


Failing test case input:
599

Expected output:
8


Actual output:
0


Fixed submission (verdict: Accepted):
x = int(input())
if x in range(400,600):
    print(8)
elif x in range(600,800):
    print(7)
elif x in range(800,1000):
    print(6)
elif x in range(1000,1200):
    print(5)
elif x in range(1200,1400):
    print(4)
elif x in range(1400,1600):
    print(3)
elif x in range(1600,1800):
    print(2)
elif x in range(1800,2000):
    print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
if x>=400 and x<=599:
    print(8)
elif x>=600 and x<=799:
    print(7)
elif x>=800 and x<=999:
    print(6)
elif x>=1100 and x<=1199:
    print(5)
elif x>=1200 and x<=1399:
    print(4)
elif x>=1400 and x<=1599:
    print(3)
elif x>=1600 and x<=1799:
    print(2)
else:
    print(1)
    

Failing test case input:
1067

Expected output:
5


Actual output:
1


Fixed submission (verdict: Accepted):
x=int(input())
if x>=400 and x<=599:
    print(8)
elif x>=600 and x<=799:
    print(7)
elif x>=800 and x<=999:
    print(6)
elif x>=1000 and x<=1199:
    print(5)
elif x>=1200 and x<=1399:
    print(4)
elif x>=1400 and x<=1599:
    print(3)
elif x>=1600 and x<=1799:
    print(2)
else:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
if(x<=400 and x>=599):
  print("8")
elif(x<=600 and x>=799):
  print("7")
elif(x<=800 and x>=999):
  print("6")
elif(x<=1000 and x>=1199):
  print("5")
elif(x<=1200 and x>=1399):
  print("4")
elif(x<=1400 and x>=1599):
  print("3")
elif(x<=1600 and x>=1799):
  print("2")
elif(x<=1800 and x>=1999):
  print("1")
	

Failing test case input:
565

Expected output:
8


Actual output:

Fixed submission (verdict: Accepted):
x=int(input())
if(x>=400 and x<=599):
  print("8")
elif(x>=600 and x<=799):
  print("7")
elif(x>=800 and x<=999):
  print("6")
elif(x>=1000 and x<=1199):
  print("5")
elif(x>=1200 and x<=1399):
  print("4")
elif(x>=1400 and x<=1599):
  print("3")
elif(x>=1600 and x<=1799):
  print("2")
elif(x>=1800 and x<=1999):
  print("1")

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())

if 400 <= x <= 599:print(8)
elif 700 <= x <= 799:print(7)
elif 800 <= x <= 999:print(6)
elif 1000 <= x <= 1199:print(5)
elif 1200 <= x <= 1399:print(4)
elif 1400 <= x <= 1599:print(3)
elif 1600 <= x <= 1799:print(2)
else:print(7)


Failing test case input:
1855

Expected output:
1


Actual output:
7


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

if 400 <= x <= 599:print(8)
elif 600 <= x <= 799:print(7)
elif 800 <= x <= 999:print(6)
elif 1000 <= x <= 1199:print(5)
elif 1200 <= x <= 1399:print(4)
elif 1400 <= x <= 1599:print(3)
elif 1600 <= x <= 1799:print(2)
else:print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
value = int(input())
kyu_rated = 8
flag = 0
lvalue = 400
rvalue = 599
if 400 <= value <= 1999:
    for i in range(0, 7):
        if lvalue <= int(value) <= rvalue:
            print(kyu_rated)
            flag = 1
            break
        else:
            lvalue += 200
            rvalue += 200
            kyu_rated -= 1


Failing test case input:
1855

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
value = int(input())
kyu_rated = 8
lvalue = 400
rvalue = 599
for i in range(0, 8):
    if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
value = input()
kyu_rated = 8
flag = 0
lvalue = 400
rvalue = 599
for i in range(0, 7):
    if lvalue <= int(value) <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1


Failing test case input:
1933

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
value = int(input())
kyu_rated = 8
lvalue = 400
rvalue = 599
for i in range(0, 8):
    if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

if x >= 400 and x < 599:
    print(8)
elif x >= 600 and x < 799:
    print(7)
elif x >= 800 and x < 999:
    print(6)
elif x >= 1000 and x < 1199:
    print(5)
elif x >= 1200 and x < 1399:
    print(4)
elif x >= 1400 and x < 1599:
    print(3)
elif x >= 1600 and x < 1799:
    print(2)
elif x >= 1800 and x < 1999:
    print(1)



Failing test case input:
599

Expected output:
8


Actual output:

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

if x >= 400 and x <= 599:
    print(8)
elif x >= 600 and x <= 799:
    print(7)
elif x >= 800 and x <= 999:
    print(6)
elif x >= 1000 and x <= 1199:
    print(5)
elif x >= 1200 and x <= 1399:
    print(4)
elif x >= 1400 and x <= 1599:
    print(3)
elif x >= 1600 and x <= 1799:
    print(2)
elif x >= 1800 and x <= 1999:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

if X < 600:
    print(8)
elif X < 800:
    print(7)
elif X < 1000:
    print(6)
elif X < 1200:
    print(5)
elif X < 1400:
    print(4)
elif X < 1600:
    print(3)
elif X < 1800:
    print(8)
elif X < 2000:
    print(1)

Failing test case input:
1714

Expected output:
2


Actual output:
8


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

if X < 600:
    print(8)
elif X < 800:
    print(7)
elif X < 1000:
    print(6)
elif X < 1200:
    print(5)
elif X < 1400:
    print(4)
elif X < 1600:
    print(3)
elif X < 1800:
    print(2)
elif X < 2000:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

if X in range(400,600):
  print(8)
elif X in range(600,800):
  print(7)
elif X in range(800,1000):
  print(6)
elif X in range(1000,1200):
  print(5)
elif X in range(1200,1400):
  print(4)
elif X in range(1400,1600):
  print(3)
elif X in range(1600,1800):
  print(2)
elif X in range(1800,1900):
  print(1)

Failing test case input:
1933

Expected output:
1


Actual output:

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

if X in range(400,600):
  print(8)
elif X in range(600,800):
  print(7)
elif X in range(800,1000):
  print(6)
elif X in range(1000,1200):
  print(5)
elif X in range(1200,1400):
  print(4)
elif X in range(1400,1600):
  print(3)
elif X in range(1600,1800):
  print(2)
else:
  print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
kyu = [400,600,800,1000,1200,1400,1600,1800]

x = int(input())

for i, v in enumerate(kyu):
    if x < v:
        print(9-i)
        break


Failing test case input:
1933

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
kyu = [400,600,800,1000,1200,1400,1600,1800,2000]

x = int(input())

for i, v in enumerate(kyu):
    if x < v:
        print(9-i)
        break

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())

if x < 600:
    print(8)
elif 600 <= x < 800:
    print(7)
elif 800 <= x < 1000:
    print(6)
elif 600 <= x < 800:
    print(5)
elif 1200 <= x < 1400:
    print(4)
elif 1400 <= x < 1600:
    print(3)
elif 1600 <= x < 1800:
    print(2)
elif 1800 <= x < 2000:
    print(1)

Failing test case input:
1125

Expected output:
5


Actual output:

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

if 400 <= x < 600:
    print(8)
elif 600 <= x < 800:
    print(7)
elif 800 <= x < 1000:
    print(6)
elif 600 <= x < 1200:
    print(5)
elif 1200 <= x < 1400:
    print(4)
elif 1400 <= x < 1600:
    print(3)
elif 1600 <= x < 1800:
    print(2)
elif 1800 <= x < 2000:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
if x < 599:
    print(8)
elif x < 799:
    print(7)
elif x < 999:
    print(6)
elif x < 1199:
    print(5)
elif x < 1399:
    print(4)
elif x < 1599:
    print(3)
elif x < 1799:
    print(2)
elif x < 1999:
    print(1)

Failing test case input:
1799

Expected output:
2


Actual output:
1


Fixed submission (verdict: Accepted):
x = int(input())
if x <= 599:
    print(8)
elif x <= 799:
    print(7)
elif x <= 999:
    print(6)
elif x <= 1199:
    print(5)
elif x <= 1399:
    print(4)
elif x <= 1599:
    print(3)
elif x <= 1799:
    print(2)
elif x <= 1999:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = int(input())
r = 1
for i in range(1790,598,-200):
    if a <= i:
        r += 1
print(r)

Failing test case input:
1799

Expected output:
2


Actual output:
1


Fixed submission (verdict: Accepted):
a = int(input())
r = 1
for i in range(1799,598,-200):
    if a <= i:
        r += 1
print(r)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

if X <= 400 and X <= 599:
    print(8)
elif 600 <= X and X <= 799:
    print(7)
elif 800 <= X and X <= 999:
    print(6)
elif 1000 <= X and X <= 1199:
    print(5)
elif 1200 <= X and X <= 1399:
    print(4)
elif 1400 <= X and X <= 1599:
    print(3)
elif 1600 <= X and X <= 1799:
    print(2)
elif 1800 <= X and X <= 1999:
    print(1)


Failing test case input:
565

Expected output:
8


Actual output:

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

if 400 <= X and X <= 599:
    print('8')
elif 600 <= X and X <= 799:
    print('7')
elif 800 <= X and X <= 999:
    print('6')
elif 1000 <= X and X <= 1199:
    print('5')
elif 1200 <= X and X <= 1399:
    print('4')
elif 1400 <= X and X <= 1599:
    print('3')
elif 1600 <= X and X <= 1799:
    print('2')
elif 1800 <= X and X <= 1999:
    print('1')
else:
    pass
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    X = int(input())

    l = [6,8,10,12,14,16,18]

    for i, v in enumerate(l):
        if X < v *100:
            print(8-i)
            exit()
if __name__ == "__main__":
    main()

Failing test case input:
1815

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
def main():
    X = int(input())
    if X >= 1800:
        print(1)
        exit()
    l = [6,8,10,12,14,16,18]

    for i, v in enumerate(l):
        if X < v *100:
            print(8-i)
            exit()
if __name__ == "__main__":
    main()

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
if X < 600:
    print(8)
elif X < 799:
    print(7)
elif X < 999:
    print(6)
elif X < 1199:
    print(5)
elif X < 1399:
    print(4)
elif X < 1599:
    print(3)
elif X < 1799:
    print(2)
else:
    print(1)

Failing test case input:
1799

Expected output:
2


Actual output:
1


Fixed submission (verdict: Accepted):
X = int(input())
if X < 600:
    print(8)
elif X < 800:
    print(7)
elif X < 1000:
    print(6)
elif X < 1200:
    print(5)
elif X < 1400:
    print(4)
elif X < 1600:
    print(3)
elif X < 1800:
    print(2)
else:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
import sys
import collections
import bisect
readline = sys.stdin.readline


def main():
    x = int(readline().rstrip())
    li = [400, 600, 800, 1000, 1200, 1400, 1600, 1800]
    for i in range(8):
        if li[i] > x:
            print(9 - i)
            break


if __name__ == '__main__':
    main()


Failing test case input:
1933

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
import math
import sys
import collections
import bisect
readline = sys.stdin.readline


def main():
    x = int(readline().rstrip())
    li = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000]
    for i in range(9):
        if li[i] > x:
            print(9 - i)
            break


if __name__ == '__main__':
    main()

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

if x >= 400 and 599 >= x:
    print("8級")
elif x >= 600 and 799 >= x:
    print("7級")
elif x >= 800 and 999 >= x:
    print("6級")
elif x >= 1000 and 1199 >= x:
    print("5級")
elif x >= 1200 and 1399 >= x:
    print("4級")
elif x >= 1400 and 1599 >= x:
    print("3級")
elif x >= 1600 and 1799 >= x:
    print("2級")
elif x >= 1800 and 1999 >= x:
    print("1級")

Failing test case input:
644

Expected output:
7


Actual output:
7級


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

if x >= 400 and 599 >= x:
    print("8")
elif x >= 600 and 799 >= x:
    print("7")
elif x >= 800 and 999 >= x:
    print("6")
elif x >= 1000 and 1199 >= x:
    print("5")
elif x >= 1200 and 1399 >= x:
    print("4")
elif x >= 1400 and 1599 >= x:
    print("3")
elif x >= 1600 and 1799 >= x:
    print("2")
elif x >= 1800 and 1999 >= x:
    print("1")
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
if x<600:
    print(8)
elif x<800:
    print(7)
elif x<1000:
    print(6)
elif x<1200:
    print(5)
elif x<1400:
    print(4)
elif x<1600:
    print(3)
elif x<1800:
    print(2)
elif x<2000:
    print(6)

Failing test case input:
1933

Expected output:
1


Actual output:
6


Fixed submission (verdict: Accepted):
x=int(input())
if x<600:
    print(8)
elif x<800:
    print(7)
elif x<1000:
    print(6)
elif x<1200:
    print(5)
elif x<1400:
    print(4)
elif x<1600:
    print(3)
elif x<1800:
    print(2)
elif x<2000:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

if (X < 599):
    print('8')
elif (X < 799):
    print('7')
elif (X < 999):
    print('6')
elif (X < 1199):
    print('5')
elif (X < 1399):
    print('4')
elif (X < 1599):
    print('3')
elif (X < 1799):
    print('3')
elif (X < 1999):
    print('1')

Failing test case input:
1669

Expected output:
2


Actual output:
3


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

if (X <= 599):
    print('8')
elif (X <= 799):
    print('7')
elif (X <= 999):
    print('6')
elif (X <= 1199):
    print('5')
elif (X <= 1399):
    print('4')
elif (X <= 1599):
    print('3')
elif (X <= 1799):
    print('2')
elif (X <= 1999):
    print('1')

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

import sys

X = int(input())
ans = 0
if 400 <= X <= 599:
    ans = 8
elif 600 <= X <= 799:
    ans = 7
elif 800 <= X <= 999:
    ans = 6
elif 1000 <= X <= 1199:
    ans = 5
elif 1200 <= X <= 1399:
    ans = 4
elif 1400 <= X <= 1599:
    ans = 3
elif 1600 <= X <= 1799:
    ans = 2
elif 1800 <= X <= 1099:
    ans = 1

print(ans)

Failing test case input:
1920

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):

import sys

X = int(input())
ans = 0
if 400 <= X <= 599:
    ans = 8
elif 600 <= X <= 799:
    ans = 7
elif 800 <= X <= 999:
    ans = 6
elif 1000 <= X <= 1199:
    ans = 5
elif 1200 <= X <= 1399:
    ans = 4
elif 1400 <= X <= 1599:
    ans = 3
elif 1600 <= X <= 1799:
    ans = 2
elif 1800 <= X <= 1999:
    ans = 1

print(ans)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

kyu = [600,800,1000,1200,1400,1600,2000]
N = 8

for i in range(len(kyu)):
    if X < kyu[i]:
        print(N - i)
        break

Failing test case input:
1933

Expected output:
1


Actual output:
2


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

kyu = [600,800,1000,1200,1400,1600,1800,2000]
N = 8

for i in range(len(kyu)):
    if X < kyu[i]:
        print(N - i)
        break
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
if 400 >= x <= 599: ans = 8
elif x <= 799: ans = 7
elif x <= 999: ans = 6
elif x <= 1199: ans = 5
elif x <= 1399: ans = 4
elif x <= 1599: ans = 3
elif x <= 1799: ans = 2
elif x <= 1999: ans = 1
print(ans)

Failing test case input:
482

Expected output:
8


Actual output:
7


Fixed submission (verdict: Accepted):
x = int(input())
if 400 <= x <= 599: ans = 8
elif 600 <= x <= 799: ans = 7
elif 800 <= x <= 999: ans = 6
elif 1000 <= x <= 1199: ans = 5
elif 1200 <= x <= 1399: ans = 4
elif 1400 <= x <= 1599: ans = 3
elif 1600 <= x <= 1799: ans = 2
elif 1800 <= x <= 1999: ans = 1
print(ans)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
value = int(input())
kyu_rated = 8
lvalue = 400
rvalue = 599
if 400 <= value <= 1999:
    for i in range(0, 7):
        if lvalue <= value <= rvalue:
            print(kyu_rated)
            flag = 1
            break
        else:
            lvalue += 200
            rvalue += 200
            kyu_rated -= 1


Failing test case input:
1815

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
value = int(input())
kyu_rated = 8
lvalue = 400
rvalue = 599
for i in range(0, 8):
    if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):


def rating(X):
    if X <= 599: return 8
    if X <= 799: return 7
    if X <= 999: return 6
    if X <= 1199: return 5
    if X <= 1399: return 4
    if X <= 1599: return 3
    if X <= 1799: return 2
    if X <= 1999: return 8

    assert(False)


X = int(input())
print(rating(X))

Failing test case input:
1815

Expected output:
1


Actual output:
8


Fixed submission (verdict: Accepted):


def rating(X):
    if X <= 599: return 8
    if X <= 799: return 7
    if X <= 999: return 6
    if X <= 1199: return 5
    if X <= 1399: return 4
    if X <= 1599: return 3
    if X <= 1799: return 2
    if X <= 1999: return 1

    assert(False)


X = int(input())
print(rating(X))

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

if x <= 400 and x <= 599:
  print(8)
elif x <= 600 and x <= 799:
  print(7)
elif x <= 800 and x <= 999:
  print(6)
elif x <= 1000 and x <= 1199:
  print(5)
elif x <= 1200 and x <= 1399:
  print(4)
elif x <= 1400 and x <= 1599:
  print(3)
elif x <= 1600 and x <= 1799:
  print(2)
elif x <= 1800 and x <= 1999:
  print(1)

Failing test case input:
921

Expected output:
6


Actual output:
5


Fixed submission (verdict: Accepted):
x = int(input())
 
if 400 <= x and x <= 599:
  print(8)
elif x <= 799:
  print(7)
elif x <= 999:
  print(6)
elif x <= 1199:
  print(5)
elif x <= 1399:
  print(4)
elif x <= 1599:
  print(3)
elif x <= 1799:
  print(2)
else:
  print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())

if N >=400  or N <= 599:
    print(8)
elif N >=600  or N <= 799:
    print(7)
elif N >=800  or N <= 999:
    print(6)
elif N >=1000  or N <= 1199:
    print(5)
elif N >=1200  or N <= 1399:
    print(4)
elif N >=1400  or N <= 1599:
    print(3)
elif N >=1600  or N <= 1799:
    print(2)
elif N >=1800  or N <= 1999:
    print(1)


Failing test case input:
644

Expected output:
7


Actual output:
8


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

if N >= 400 and N <= 599:
    print(8)
elif N >= 600 and N <= 799:
    print(7)
elif N >= 800 and N <= 999:
    print(6)
elif N >= 1000 and N <= 1199:
    print(5)
elif N >= 1200 and N <= 1399:
    print(4)
elif N >= 1400 and N <= 1599:
    print(3)
elif N >= 1600 and N <= 1799:
    print(2)
elif N >= 1800 and N <= 1999:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
score = int(input())
levelList = [600,800,1000,1200,1400,1600]
level = 8

for i in range(6):
 if score < levelList[i]:
  break
 else :
  level = level - 1
print(level)

Failing test case input:
1855

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
score = int(input())
levelList = [600,800,1000,1200,1400,1600,1800]
level = 8

for i in range(7):
 if score < levelList[i]:
  break
 else :
  level = level - 1
print(level)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def rank(X):
    if X >= 1800:
        return 1
    if X >= 1600:
        return 2
    if X >= 1400:
        return 3
    if X >= 1200:
        return 4
    if X >= 1000:
        return 5
    if X >= 800:
        return 6
    if X >= 600:
        return 7
    if X >= 400:
        return 7


X = int(input())
ans = rank(X)
print(ans)

Failing test case input:
491

Expected output:
8


Actual output:
7


Fixed submission (verdict: Accepted):
def rank(X):
    if X >= 1800:
        return 1
    if X >= 1600:
        return 2
    if X >= 1400:
        return 3
    if X >= 1200:
        return 4
    if X >= 1000:
        return 5
    if X >= 800:
        return 6
    if X >= 600:
        return 7
    if X >= 400:
        return 8


X = int(input())
ans = rank(X)
print(ans)

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())
if 400 <= x <= 599: print(8)
elif 400 <= x <= 599: print(7)
elif 600 <= x <= 799: print(6)
elif 800 <= x <= 999: print(5)
elif 1000 <= x <= 1199: print(4)
elif 1200 <= x <= 1399: print(3)
elif 1400 <= x <= 1599: print(2)
elif 1800 <= x <= 1999: print(1)

Failing test case input:
1353

Expected output:
4


Actual output:
3


Fixed submission (verdict: Accepted):
x = int(input())
if 400 <= x <= 599: print(8)
elif 600 <= x <= 799: print(7)
elif 800 <= x <= 999: print(6)
elif 1000 <= x <= 1199: print(5)
elif 1200 <= x <= 1399: print(4)
elif 1400 <= x <= 1599: print(3)
elif 1600 <= x <= 1799: print(2)
elif 1800 <= x <= 1999: print(1)
Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
d = {
    range(400, 600): 8,
    range(600, 800): 7,
    range(800, 800): 6,
    range(1000, 1200): 5,
    range(1200, 1400): 4,
    range(1400, 1600): 3,
    range(1600, 1800): 2,
    range(1800, 2000): 1,
}
x = int(input())
for k, v in d.items():
    if x in k:
        print(v)

Failing test case input:
956

Expected output:
6


Actual output:

Fixed submission (verdict: Accepted):
d = {
    range(400, 600): 8,
    range(600, 800): 7,
    range(800, 1000): 6,
    range(1000, 1200): 5,
    range(1200, 1400): 4,
    range(1400, 1600): 3,
    range(1600, 1800): 2,
    range(1800, 2000): 1,
}
x = int(input())
for k, v in d.items():
    if x in k:
        print(v)

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())
n=8
for i in range(600, 2000, 200):
    if x < i:
        print(n)
        exit()
    else:
        n-=1

Failing test case input:
1855

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
x = int(input())
n=8
for i in range(600, 2001, 200):
    if x < i:
        print(n)
        exit()
    else:
        n-=1

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

if 400 <= x < 599:
    print(8)
elif 600 < x < 799:
    print(7)
elif 800 < x < 999:
    print(6)
elif 1000 < x < 1199:
    print(5)
elif 1200 < x < 1399:
    print(4)
elif 1400 < x < 1599:
    print(3)
elif 1600 < x < 1799:
    print(2)
elif 1800 < x <= 1999:
    print(1)



Failing test case input:
599

Expected output:
8


Actual output:

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

if 400 <= x <= 599:
    print("8")
elif 600 <= x <= 799:
    print("7")
elif 800 <= x <= 999:
    print("6")
elif 1000 <= x <= 1199:
    print("5")
elif 1200 <= x <= 1399:
    print("4")
elif 1400 <= x <= 1599:
    print("3")
elif 1600 <= x <= 1799:
    print("2")
elif 1800 <= x <= 1999:
    print("1")

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
if X>=400 and X<=599:
    print("8")
elif X>=600 and X<=799:
    print("7")
elif X>=800 and X<=999:
    print("6")
elif X>=1000 and X<=1199:
    print("5")
elif X>=1200 and X<=1399:
    print("4")
elif X>=1400 and X<=1599:
    print("3")
elif X>=1600 and X<=1799:
    print("2")
elif X>=1800 and X<=1999:
    print("6")


Failing test case input:
1855

Expected output:
1


Actual output:
6


Fixed submission (verdict: Accepted):
X=int(input())
if X>=400 and X<=599:
    print("8")
elif X>=600 and X<=799:
    print("7")
elif X>=800 and X<=999:
    print("6")
elif X>=1000 and X<=1199:
    print("5")
elif X>=1200 and X<=1399:
    print("4")
elif X>=1400 and X<=1599:
    print("3")
elif X>=1600 and X<=1799:
    print("2")
elif X>=1800 and X<=1999:
    print("1")
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
ans=0
if 400<=x<=599:
    ans=8
elif 600<=x<=799:
    ans=7
elif 800<=x<=999:
    ans=6
elif 1000<=x<=1199: 
    ans=5
elif 1200<=x<=1399:
    an=4
elif 1400<=x<=1599:
    ans=3
elif 1600<=x<=1799:
    ans=2
elif 1800<=x<=1999:
    ans=1
print(ans)


Failing test case input:
1359

Expected output:
4


Actual output:
0


Fixed submission (verdict: Accepted):
x=int(input())
ans=0
if 400<=x<=599:
    ans=8
elif 600<=x<=799:
    ans=7
elif 800<=x<=999:
    ans=6
elif 1000<=x<=1199: 
    ans=5
elif 1200<=x<=1399:
    ans=4
elif 1400<=x<=1599:
    ans=3
elif 1600<=x<=1799:
    ans=2
elif 1800<=x<=1999:
    ans=1
print(ans)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input(''))
if x  >=400 and x <= 599:
    print('8')
elif x >=600 and x <= 799:
    print('7')
elif x >=800 and x <= 999:
    print('6')
elif x >=1000 and x <= 1099:
    print('5')
elif x >=1200 and x <= 1399:
    print('4')
elif x >=1400 and x <= 1599:
    print('3')
elif x >=1600 and x <= 1799:
    print('2')
elif x >=1800 and x <= 1999:
    print('1')


Failing test case input:
1125

Expected output:
5


Actual output:

Fixed submission (verdict: Accepted):
x = int(input(''))
if x  >=400 and x <= 599:
    print('8')
elif x >=600 and x <= 799:
    print('7')
elif x >=800 and x <= 999:
    print('6')
elif x >=1000 and x <= 1199:
    print('5')
elif x >=1200 and x <= 1399:
    print('4')
elif x >=1400 and x <= 1599:
    print('3')
elif x >=1600 and x <= 1799:
    print('2')
elif x >=1800 and x <= 1999:
    print('1')

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print(10-int(input()))

Failing test case input:
491

Expected output:
8


Actual output:
-481


Fixed submission (verdict: Accepted):
print(10-int(input())

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input().strip())

if N<599:print(8)
elif N<799:print(7)
elif N<999:print(6)
elif N<1199:print(5)
elif N<1399:print(4)
elif N<1599:print(3)
elif N<1799:print(2)
else: print(1)

Failing test case input:
599

Expected output:
8


Actual output:
7


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

if N<=599:print(8)
elif N<=799:print(7)
elif N<=999:print(6)
elif N<=1199:print(5)
elif N<=1399:print(4)
elif N<=1599:print(3)
elif N<=1799:print(2)
else: print(1)
Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
M = int( input() )
if 599 >= M and M >= 400:
    print("8")
if 799 >= M and M >= 600:
    print("7")
if 999 >= M and M >= 800:
    print("6")
if 1199 >= M and M >= 100:
    print("5")
if 1399 >= M and M >= 1200:
    print("4")
if 1599 >= M and M >= 1400:
    print("3")
if 1799 >= M and M >= 1600:
    print("2")
if 1999 >= M and M >= 1800:
    print("1")

Failing test case input:
956

Expected output:
6


Actual output:
6
5


Fixed submission (verdict: Accepted):
M = int( input() )
if 599 >= M and M >= 400:
    print("8")
if 799 >= M and M >= 600:
    print("7")
if 999 >= M and M >= 800:
    print("6")
if 1199 >= M and M >= 1000:
    print("5")
if 1399 >= M and M >= 1200:
    print("4")
if 1599 >= M and M >= 1400:
    print("3")
if 1799 >= M and M >= 1600:
    print("2")
if 1999 >= M and M >= 1800:
    print("1")

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = int(input())
arr = list(range(400,1801,200))
arr2 = [8,7,6,5,4,3,2,1]
res = 8
for i in range(1,len(arr)):
  if (a >= arr[i]):
    res = arr2[i]
  else:
    print(res)
    break

Failing test case input:
1920

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
a = int(input())
arr = list(range(400,2001,200))
arr2 = [8,7,6,5,4,3,2,1]
res = 8
for i in range(1,len(arr)):
  if (a >= arr[i]):
    res = arr2[i]
  else:
    print(res)
    break

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
if 400 <= X and X < 599:
  print(8)
elif X <= 799:
  print(7)
elif X <= 999:
  print(6)
elif X <= 1199:
  print(5)
elif X <= 1399:
  print(4)
elif X <= 1599:
  print(3)
elif X <= 1799:
  print(2)
else:
  print(1)

Failing test case input:
599

Expected output:
8


Actual output:
7


Fixed submission (verdict: Accepted):
X = int(input())
if 400 <= X and X <= 599:
  print(8)
elif X <= 799:
  print(7)
elif X <= 999:
  print(6)
elif X <= 1199:
  print(5)
elif X <= 1399:
  print(4)
elif X <= 1599:
  print(3)
elif X <= 1799:
  print(2)
elif X <= 1999:
  print(1)

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())
for i in range(3, 10):
    if i * 200 > x:
        print(11 - i)
        exit()

Failing test case input:
1815

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
x = int(input())
for i in range(3, 11):
    if i * 200 > x:
        print(11 - i)
        exit()
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = int(input()) 
 
if 400 < s < 599:
  print("8")
elif  600 < s <799:
        print("7")
elif  800 < s <999:
        print("6")
elif  1000 < s <1199:
        print("5")
elif  1200 < s <1399:
        print("4")
elif  1400 < s <1599:
        print("3")
elif  1600 < s <1799:
        print("2")
elif  1800 < s <1999:
        print("1")

Failing test case input:
1600

Expected output:
2

Actual output:

Fixed submission (verdict: Accepted):
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
if 400<=n and n<=599:
 print(8)
if 600<=n and n<=799:
 print(7)
if 800<=n and n<=999:
 print(6)
if 1000<=n and n<=1199:
 print(5)
if 1200<=n and n<=1399:
 print(4)
if 1400<=n and n<=1599:
 print(3)
if 1600<=n and n<=1899:
 print(2)
if 1800<=n and n<=1999:
 print(1)

Failing test case input:
1855

Expected output:
1


Actual output:
2
1


Fixed submission (verdict: Accepted):
n=int(input())
if 400<=n and n<=599:
 print(8)
if 600<=n and n<=799:
 print(7)
if 800<=n and n<=999:
 print(6)
if 1000<=n and n<=1199:
 print(5)
if 1200<=n and n<=1399:
 print(4)
if 1400<=n and n<=1599:
 print(3)
if 1600<=n and n<=1799:
 print(2)
if 1800<=n and n<=1999:
 print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = int(input())


if 400 <= a and a <= 599:
    print(8)
elif 600 <= a and a <= 799:
    print(7)

elif 800 <=  a and 999 <= a:
    print(6)
elif 1000 <= a and a <= 1199:
    print(5)

elif 1200 <= a and a <= 1399:
    print(4)
elif 1400 <= a and a <= 1599:
    print(3)
elif 1600 <= a and a <= 1799:
    print(2)

elif 1800 <= a and a <= 1999:
    print(1)



Failing test case input:
956

Expected output:
6


Actual output:

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


if 400 <= a and a <= 599:
    print(8)
elif 600 <= a and a <= 799:
    print(7)

elif 800 <=  a and a <= 999:
    print(6)
elif 1000 <= a and a <= 1199:
    print(5)

elif 1200 <= a and a <= 1399:
    print(4)
elif 1400 <= a and a <= 1599:
    print(3)
elif 1600 <= a and a <= 1799:
    print(2)

elif 1800 <= a and a <= 1999:
    print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input('X='))
if 400<=X<=599:
    print(8)
elif 600<=X<=799:
    print(7)
elif 800<=X<=999:
    print(6)
elif 1000<=X<=1199:
    print(5)
elif 1200<=X<=1399:
    print(4)
elif 1400<=X<=1599:
    print(3)
elif 1600<=X<=1799:
    print(2)
elif 1800<=X<=1999:
    print(1)

Failing test case input:
1485

Expected output:
3


Actual output:
X=3


Fixed submission (verdict: Accepted):
X=int(input())
if 400<=X<=599:
    print(8)
elif 600<=X<=799:
    print(7)
elif 800<=X<=999:
    print(6)
elif 1000<=X<=1199:
    print(5)
elif 1200<=X<=1399:
    print(4)
elif 1400<=X<=1599:
    print(3)
elif 1600<=X<=1799:
    print(2)
elif 1800<=X<=1999:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

if 400 <= x <= 599:
    print(8)
elif 600 <= x <= 799:
    print(7)
elif 800 <= x <= 999:
    print(6)
elif 1000 <= x <= 1199:
    print(5)
elif 1200 <= x <= 1399:
    print(4)
elif 1400 <= x <= 1599:
    print(3)
elif 1600 <= x <= 1799:
    print(2)
elif 1900 <= x <= 1999:
    print(1)


Failing test case input:
1855

Expected output:
1


Actual output:

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

if 400 <= x <= 599:
    print(8)
elif 600 <= x <= 799:
    print(7)
elif 800 <= x <= 999:
    print(6)
elif 1000 <= x <= 1199:
    print(5)
elif 1200 <= x <= 1399:
    print(4)
elif 1400 <= x <= 1599:
    print(3)
elif 1600 <= x <= 1799:
    print(2)
elif 1800 <= x <= 1999:
    print(1)

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
def kyuu(N):
  for i in range(1,9):
    if N >= 1800 - 200 * i:
      return (i + 1)
      break

X = int(input())
print(kyuu(X))      


Failing test case input:
1815

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
def kyuu(N):
  for i in range(8):
    if N >= 1800 - 200 * i:
      return (i + 1)
      break

X = int(input())
print(kyuu(X))

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
if (400<=X<=599): print('8')
if (600<=X<=799): print('7')
if (800<=X<=999): print('8')
if (1000<=X<=1199): print('8')
if (1200<=X<=1399): print('8')
if (1400<=X<=1599): print('8')
if (1600<=X<=1799): print('8')
if (1800<=X<=1999): print('8')

Failing test case input:
1485

Expected output:
3


Actual output:
8


Fixed submission (verdict: Accepted):
X=int(input())
if (400<=X<=599): print('8')
if (600<=X<=799): print('7')
if (800<=X<=999): print('6')
if (1000<=X<=1199): print('5')
if (1200<=X<=1399): print('4')
if (1400<=X<=1599): print('3')
if (1600<=X<=1799): print('2')
if (1800<=X<=1999): print('1')
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

if 1800 <= X <= 1900:
  print("1")
elif 1600 <= X <= 1799:
  print("2")
elif 1400 <= X <= 1599:
  print("3")
elif 1200 <= X <= 1399:
  print("4")
elif 1000 <= X <= 1199:
  print("5")
elif 800 <= X <= 999:
  print("6")
elif 600 <= X <= 799:
  print("7")
elif 400 <= X <= 599:
  print("8")

Failing test case input:
1920

Expected output:
1


Actual output:

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

if 1800 <= X <= 1999:
  print("1")
elif 1600 <= X <= 1799:
  print("2")
elif 1400 <= X <= 1599:
  print("3")
elif 1200 <= X <= 1399:
  print("4")
elif 1000 <= X <= 1199:
  print("5")
elif 800 <= X <= 999:
  print("6")
elif 600 <= X <= 799:
  print("7")
elif 400 <= X <= 599:
  print("8")

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = int(input())


if 400 <= a and 599 <= a:
    print(8)
elif 600 <= a and 799 <= a:
    print(7)

elif 800 <=  a and 999 <= a:
    print(6)
elif 1000 <= a and 1199 <= a:
    print(5)

elif 1200 <= a and 1399 <= a:
    print(4)
elif 1400 <= a and 1599 <= a:
    print(3)
elif 1600 <= a and 1799 <= a:
    print(2)

elif 1800 <= a and 1999 <= a:
    print(1)



Failing test case input:
1534

Expected output:
3


Actual output:
8


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


if 400 <= a and a <= 599:
    print(8)
elif 600 <= a and a <= 799:
    print(7)

elif 800 <=  a and a <= 999:
    print(6)
elif 1000 <= a and a <= 1199:
    print(5)

elif 1200 <= a and a <= 1399:
    print(4)
elif 1400 <= a and a <= 1599:
    print(3)
elif 1600 <= a and a <= 1799:
    print(2)

elif 1800 <= a and a <= 1999:
    print(1)

Problem: p02600
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())

if x < 600:
    print(8)
elif 600 <= x < 800:
    print(7)
elif 800 <= x < 1000:
    print(6)
elif 600 <= x < 800:
    print(5)
elif 1200 <= x < 1400:
    print(4)
elif 1400 <= x < 1600:
    print(3)
elif 1600 <= x < 1800:
    print(2)
else:
    print(1)

Failing test case input:
1125

Expected output:
5


Actual output:
1


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

if 400 <= x < 600:
    print(8)
elif 600 <= x < 800:
    print(7)
elif 800 <= x < 1000:
    print(6)
elif 600 <= x < 1200:
    print(5)
elif 1200 <= x < 1400:
    print(4)
elif 1400 <= x < 1600:
    print(3)
elif 1600 <= x < 1800:
    print(2)
elif 1800 <= x < 2000:
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
if 400<=x<599:
    print(8)
elif 600<=x<799:
    print(7)
elif 800<=x<999:
    print(6)
elif 800<=x<1199:
    print(5)
elif 1200<=x<1399:
    print(4)
elif 1400<=x<1599:
    print(3)
elif 1600<=x<1799:
    print(2)
elif 1800<=x<1999:
    print(1)


Failing test case input:
1799

Expected output:
2


Actual output:

Fixed submission (verdict: Accepted):
x=int(input())
if 400<=x<=599:
    print(8)
elif 600<=x<=799:
    print(7)
elif 800<=x<=999:
    print(6)
elif 1000<=x<=1199:
    print(5)
elif 1200<=x<=1399:
    print(4)
elif 1400<=x<=1599:
    print(3)
elif 1600<=x<=1799:
    print(2)
elif 1800<=x<=1999:
    print(1)