ZhenlongDai/ACPR huggingface dataset:
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

x = int(input())

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



print(ans)


Failing test case input:
1543

Expected output:
3


Actual output:
5


Fixed submission (verdict: Accepted):

x = int(input())

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



print(ans)

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

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

Failing test case input:
1714

Expected output:
2


Actual output:
1


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

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

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

Failing test case input:
1799

Expected output:
2


Actual output:

Fixed submission (verdict: Accepted):
number = int(input())
if number in range(400, 600):
    print('8')
elif number in range(600, 800):
    print('7')
elif number in range(800, 1000):
    print('6')
elif number in range(1000, 1200):
    print('5')
elif number in range(1200, 1400):
    print('4')
elif number in range(1400, 1600):
    print('3')
elif number in range(1600, 1800):
    print('2')
elif number in range(1800, 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 100 <= 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:
5


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 100 <= 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>=499 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:
491

Expected output:
8


Actual output:

Fixed submission (verdict: Accepted):



X = int(input())
if X>=1800:
    print("1")
elif X>=1600:
    print("2")
elif X>=1400:
    print("3")
elif X>=1200:
    print("4")
elif X>=1000:
    print("5")
elif X>=800:
    print("6")
elif X>=600:
    print("7")
elif X>=400:
    print("8")

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
if n <= 599:
    print(8)
elif n <= 899:
    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)
elif n <= 1999:
    print(1)

Failing test case input:
832

Expected output:
6


Actual output:
7


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)
elif n <= 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 <= 1599:
    print(2)
else:
    print(1)

Failing test case input:
1714

Expected output:
2


Actual output:
1


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):
n = int(input())
ans = 8
if n < 600:
  print(ans)
elif n < 800:
  ans -= 1
  print(ans)
elif n < 1000:
  ans -= 2
  print(ans)
elif n < 1200:
  ans -= 3
  print(ans)
elif n < 1400:
  ans -= 4
  print(ans)
elif n < 1600:
  ans -= 5
  print(ans)
elif n < 1800:
  ans -= 6
  print(ans)
elif n < 800:
  ans -= 7
  print(ans)
elif n < 2000:
  ans -= 8
  print(ans)

Failing test case input:
1920

Expected output:
1


Actual output:
0


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

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
value = input()
kyu_rated = 8
flag = 0
lvalue = 400
rvalue = 599
if 400 <= int(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:
1920

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 < 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:
599

Expected output:
8


Actual output:
7


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):
X =int(input())
print(10-X%200)

Failing test case input:
594

Expected output:
8


Actual output:
-184


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



def main():
    import sys
    input = sys.stdin.readline

    x = int(input())

    if x >= 1800:
        print('1')
    elif x >= 1600:
        print('2')
    elif x >= 1400:
        print('3')
    elif x >= 1200:
        print('4')
    elif x >= 1000:
        print('5')
    elif x >= 800:
        print('6')
    elif x >= 600:
        print('7')
    elif x >= 400:
        print('88888888')


if __name__ == '__main__':
    main()


Failing test case input:
565

Expected output:
8


Actual output:
88888888


Fixed submission (verdict: Accepted):



def main():
    import sys
    input = sys.stdin.readline

    x = int(input())

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


if __name__ == '__main__':
    main()

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()


Failing test case input:
1815

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):
a = int(input())

if 400<= a and 500>=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:
594

Expected output:
8


Actual output:

Fixed submission (verdict: Accepted):
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)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
w = 199

x = int(input())

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


Failing test case input:
1600

Expected output:
2

Actual output:
1


Fixed submission (verdict: Accepted):
w = 199

x = int(input())

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

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

def score(x):

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



Failing test case input:
482

Expected output:
8


Actual output:
8
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-kyu")
if(x>=600 and x<=799):
  print("7-kyu")
if(x>=800 and x<=999):
  print("6-kyu")
if(x>=1000 and x<=1199):
  print("5-kyu")
if(x>=1200 and x<=1399):
  print("4-kyu")
if(x>=1400 and x<=1599):
  print("3-kyu")
if(x>=1600 and x<=1799):
  print("2-kyu")
if(x>=1800 and x<=1999):
  print("1-kyu")

Failing test case input:
648

Expected output:
7


Actual output:
7-kyu


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


Failing test case input:
570

Expected output:
8


Actual output:
7


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

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
if X < 699:
    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)

Failing test case input:
644

Expected output:
7


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,599):
    print(8)
if x in range(600,799):
    print(7)
if x in range(800,999):
    print(6)
if x in range(1000,1199):
    print(5)
if x in range(1200,1399):
    print(4)
if x in range(1400,1599):
    print(3)
if x in range(1600,1799):
    print(2)
if x in range(1800,1999):
    print(1)                        


Failing test case input:
1799

Expected output:
2


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)
elif x in range(1800,2000):
    print(1)

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

Failing test case input:
1855

Expected output:
1


Actual output:
7


Fixed submission (verdict: Accepted):
a = int(input())
if 400 <= a <= 599:
    print(8)
elif 600 <= a <= 799:
    print(7)
elif 800 <= a <= 999:
    print(6)
elif 1000 <= a <= 1199:
    print(5)
elif 1200 <= a <= 1399:
    print(4)
elif 1400 <= a <= 1599:
    print(3)
elif 1600 <= a <= 1799:
    print(2)
elif 1800 <= a <= 1999:
    print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
initial=400
kyu=8
for add in range(1,9):
  if X<initial+add*200:
    print(kyu)
    break
    kyu-=1

Failing test case input:
1316

Expected output:
4


Actual output:
8


Fixed submission (verdict: Accepted):
X=int(input())
initial=400
kyu=8
for add in range(1,9):
    if X<initial+add*200:
        print(int(kyu))
        break
    kyu-=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:
1600

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")

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 (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())

if 400 <= x < 600:
    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)

Failing test case input:
1799

Expected output:
2


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 1000 <= x < 1200:
    print(5)
elif 1200 <= x < 1400:
    print(4)
elif 1400 <= x < 1600:
    print(3)
elif 1600 <= x < 1800:
    print(2)
else:
    print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
for i in range(7):
  if 400+200*i <= x and x <= 599+200*i:
      print(8-i)

Failing test case input:
1933

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
x=int(input())
for i in range(9):
  if 400+200*i <= x and x <= 599+200*i:
      print(8-i)
  else:
    pass

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 < 799:
    print('1')

Failing test case input:
1933

Expected output:
1


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 (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())
x -= 400
a = 200
for i in range(1, 8):
    if (0 <= x) & (x < i*a):
        print(9 - i)
        break

Failing test case input:
1815

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
x = int(input())
x -= 400
a = 200
for i in range(1, 9):
    if (0 <= x) & (x < i*a):
        print(9 - i)
        break

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
up = 599
down = 400
i=8
while(X <= 400 and X >= 1999):
    if(X <= up and X >= down):
        print(i)
        break
    else:
        up += 200
        down += 200
        i-=1

Failing test case input:
509

Expected output:
8


Actual output:

Fixed submission (verdict: Accepted):
X = int(input())
up = 599
down = 400
i=8
while(i>=1):
    if(X <= up and X >= down):
        print(i)
        break
    else:
        up += 200
        down += 200
        i -= 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')
else:
    print('1')

Failing test case input:
1799

Expected output:
2


Actual output:
1


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):
a = int(input())
if a >= 1800:
  print('1')
elif a >=1600:
  print('2')
elif a >=1400:
  print('3')
elif a>=1200:
  print('4')
elif a >= 1000:
  print('5')
elif a >=800:
  print('6')
else:
  print('7')


Failing test case input:
482

Expected output:
8


Actual output:
7


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

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
if n < 600:
    ans = 8
elif  n < 800:
    ans = 7
elif n < 1000:
    ans = 6
elif n < 1200:
    ans = 5
elif  n < 1400:
    ans = 4
elif  n < 1600:
    ans = 3
elif  n < 1800:
    ans = 2
else:
    ans = 1
print(str(ans) + '-kyu')


Failing test case input:
921

Expected output:
6


Actual output:
6-kyu


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

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

if(n>=400 and n<600):print(8)
elif(n>=600 and n<800):print(7)
elif(n>=800 and n<1000):print(6)
elif(n>=1000 and n<1200):print(5)
elif(n>=1200 and n<1400):print(4)
elif(n>=1400 and n<1600):print(3)
elif(n>=1600 and n<1700):print(2)

Failing test case input:
1933

Expected output:
1


Actual output:

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

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

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

Failing test case input:
1815

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):
x=int(input())
for i in range(9):
  if 400+200*i <= x and x <= 599+200*i:
      print(8-i)
  else:
    pass

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
if (1800 <= X < 2000):
  print("1級")
elif (1600 <= X < 1800):
  print("2級")
elif (1400 <= X < 1600):
  print("3級")
elif (1200 <= X < 1400):
  print("4級")
elif (1000 <= X < 1200):
  print("5級")
elif (800 <= X < 1000):
  print("6級")
elif (600 <= X < 800):
  print("7級")
elif (400 <= X < 600):
  print("8級")

Failing test case input:
1434

Expected output:
3


Actual output:
3級


Fixed submission (verdict: Accepted):
X = int(input())
if (1800 <= X < 2000):
  print(1)
elif (1600 <= X < 1800):
  print(2)
elif (1400 <= X < 1600):
  print(3)
elif (1200 <= X < 1400):
  print(4)
elif (1000 <= X < 1200):
  print(5)
elif (800 <= X < 1000):
  print(6)
elif (600 <= X < 800):
  print(7)
elif (400 <= X < 600):
  print(8)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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


Failing test case input:
509

Expected output:
8


Actual output:

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

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

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())
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:
1600

Expected output:
2

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 >= 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:
1799

Expected output:
2


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 >=1800 and X <1900:
    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:
1920

Expected output:
1


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 (PyPy3 (7.3.0), verdict: Wrong Answer):
X=int(input())
if X<599:
    k=8
elif 600<=X<=799:
    k=7
elif 800<=X<=999:
    k=6
elif 1000<=X<=1199:
    k=5
elif 1200<=X<=1399:
    k=4
elif 1400<=X<=1599:
    k=3
elif 1600<=X<=1799:
    k=2
else:
    k=1
print(k)

Failing test case input:
599

Expected output:
8


Actual output:
1


Fixed submission (verdict: Accepted):
X=int(input())
if X<=599:
    k=8
elif 600<=X<=799:
    k=7
elif 800<=X<=999:
    k=6
elif 1000<=X<=1199:
    k=5
elif 1200<=X<=1399:
    k=4
elif 1400<=X<=1599:
    k=3
elif 1600<=X<=1799:
    k=2
else:
    k=1
print(k)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from collections import defaultdict,deque
import math
def gcd(a,b):
    return b if not a%b else gcd(b,a%b)
def lcm(a,b):
    return (a*b)

def main():
    n = int(input())
    if(n>=1800):
        print(1)
    elif(n>=1600):
        print(2)
    elif(n>=1400):
        print(3)
    elif(n>=1200):
        print(4)
    elif(n>=1000):
        print(5)
    elif(n>=800):
        print(6)
    elif(n>=600):
        print(7)
    elif(n>=1600):
        print(8)

if __name__ == '__main__':
    main()


Failing test case input:
570

Expected output:
8


Actual output:

Fixed submission (verdict: Accepted):
from collections import defaultdict,deque
import math
def gcd(a,b):
    return b if not a%b else gcd(b,a%b)
def lcm(a,b):
    return (a*b)

def main():
    n = int(input())
    if(n>=1800):
        print(1)
    elif(n>=1600):
        print(2)
    elif(n>=1400):
        print(3)
    elif(n>=1200):
        print(4)
    elif(n>=1000):
        print(5)
    elif(n>=800):
        print(6)
    elif(n>=600):
        print(7)
    elif(n>=400):
        print(8)

if __name__ == '__main__':
    main()

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(4)

Failing test case input:
1933

Expected output:
1


Actual output:
4


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 = 8
if x<600: ans=8
if x<800: ans=7
elif x<1000: ans=6
elif x<1200: ans=5
elif x<1400: ans=4
elif x<1600: ans=3
elif x<1800: ans=2
elif x<2000: ans=1
print(ans)


Failing test case input:
482

Expected output:
8


Actual output:
7


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

print(ans)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    X = int(input())
    lst = [i * 200 + 400 for i in range(8)]
    lst.reverse()
    print(lst)
    for i, l in enumerate(lst):
        if X >= l:
            print(i+1)
            break

if __name__ == '__main__':
    main()

Failing test case input:
1933

Expected output:
1


Actual output:
[1800, 1600, 1400, 1200, 1000, 800, 600, 400]
1


Fixed submission (verdict: Accepted):
def main():
    X = int(input())
    lst = [i * 200 + 400 for i in range(8)]
    lst.reverse()
    for i, l in enumerate(lst):
        if X >= l:
            print(i+1)
            break

if __name__ == '__main__':
    main()

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
for i in range(8):
    if(400+i*200)<=x:
        y=8-i
print(y,'級')


Failing test case input:
1534

Expected output:
3


Actual output:
3 級


Fixed submission (verdict: Accepted):
x=int(input())
for i in range(8):
    if(400+i*200)<=x:
        y=8-i
print(y)

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:
599

Expected output:
8


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):
X = int(input())
if X>=499 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")

Failing test case input:
482

Expected output:
8


Actual output:
1


Fixed submission (verdict: Accepted):



X = int(input())
if X>=1800:
    print("1")
elif X>=1600:
    print("2")
elif X>=1400:
    print("3")
elif X>=1200:
    print("4")
elif X>=1000:
    print("5")
elif X>=800:
    print("6")
elif X>=600:
    print("7")
elif X>=400:
    print("8")
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:
1799

Expected output:
2


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 >= 400 and x <= 599:
    s = 8
elif x >= 600 and x <= 799:
    s = 7
elif x >= 800 and x <= 999:
    s = 6
elif x >= 1000 and x <= 1199:
    s = 5
elif x >= 1200 and x <= 1399:
    s = 4
elif x >= 1400 and x <= 1599:
    s = 3
elif x >= 1600 and x <= 1799:
    s = 2
else:
    s = 1

Failing test case input:
1543

Expected output:
3


Actual output:

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

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

print(s)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
 
if x <= 400 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:
482

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

Failing test case input:
599

Expected output:
8


Actual output:

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

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=float(input("m?"))
for i in range(8):
  if 400+200*i<=x<400+200*(i+1):
    print(8-i)

Failing test case input:
1551

Expected output:
3


Actual output:
m?3


Fixed submission (verdict: Accepted):
x=float(input())
for i in range(8):
  if 400+200*i<=x<400+200*(i+1):
    print(8-i)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
ans = 8
if 600<=x<800: ans=7
elif x<1000: ans=6
elif x<1200: ans=5
elif x<1400: ans=4
elif x<1600: ans=3
elif x<1800: ans=2
elif x<2000: ans=1
print(ans)


Failing test case input:
594

Expected output:
8


Actual output:
6


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

print(ans)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
if (400 <= n <= 599):
    print(8)
elif n <= 899:
    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)
elif n <= 1999:
    print(1)

Failing test case input:
832

Expected output:
6


Actual output:
7


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)
elif n <= 1999:
    print(1)
Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())


if (400 <= X) and (X < 599):
    print(8)

if (600 <= X) and (X < 799):
    print(7)

if (800 <= X) and (X < 999):
    print(6)

if (1000 <= X) and (X < 1199):
    print(5)

if (1200 <= X) and (X < 1399):
    print(4)

if (1400 <= X) and (X < 1599):
    print(3)

if (1600 <= X) and (X < 1799):
    print(2)

if (1800 <= X) and (X < 1999):
    print(1)



Failing test case input:
1799

Expected output:
2


Actual output:

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


if (400 <= X) and (X <= 599):
    print(8)

if (600 <= X) and (X <= 799):
    print(7)

if (800 <= X) and (X <= 999):
    print(6)

if (1000 <= X) and (X <= 1199):
    print(5)

if (1200 <= X) and (X <= 1399):
    print(4)

if (1400 <= X) and (X <= 1599):
    print(3)

if (1600 <= X) and (X <= 1799):
    print(2)

if (1800 <= X) and (X <= 1999):
    print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a=int(input())
print(max(8-(a-400)/200,1))

Failing test case input:
1543

Expected output:
3


Actual output:
2.285


Fixed submission (verdict: Accepted):
a=int(input())
print(max(8-(a-400)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
li=[400,600,800,100,1200,1400,1600,1800,2000]
li2=[8,7,6,5,4,3,2,1,0]
for i in range(8):
    if li[i]<=X and X<li[i+1]:
        print(li2[i])
        exit()

Failing test case input:
915

Expected output:
6


Actual output:
5


Fixed submission (verdict: Accepted):
X=int(input())
li=[400,600,800,1000,1200,1400,1600,1800,2000]
li2=[8,7,6,5,4,3,2,1,0]
for i in range(8):
    if li[i]<=X and X<li[i+1]:
        print(li2[i])
        exit()

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:
1435

Expected output:
3


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 (Python (3.8.2), verdict: Wrong Answer):
print(8-int(int(input())-400)/200)

Failing test case input:
1764

Expected output:
2


Actual output:
1.1799999999999997


Fixed submission (verdict: Accepted):
X=int(input())
N=8-int((X-400)/200)
print(N)
Problem: p02600
Buggy submission (PyPy3 (7.3.0), 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:
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')

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

Failing test case input:
1600

Expected output:
2

Actual output:
3


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

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

if x <= 400 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)

Failing test case input:
573

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)
else:
  print(1)

Problem: p02600
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = int(input())
if(s >=1800 and s<2000):
  print(1)
elif(s>=500 and s<800):
  print(7)
elif(s>=800 and s<1000):
  print(6)
elif(s>=1000 and s<1200):
  print(5)
elif(s>=1200 and s<1400):
  print(4)
elif(s>=1400 and s<1600):
  print(3)
elif(s>=1600 and s<1800):
  print(2)
else:
  print(8)


Failing test case input:
573

Expected output:
8


Actual output:
7


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