ZhenlongDai/ACPR huggingface dataset:
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys


val = []
val = input()

arrays = val.split(' ')
a = int(arrays[0])*500

if a>=int(arrays[1]):
    print("Yes")
elif a<int(arrays[1]):
    print("No")

print(arrays, a)
sys.exit()


Failing test case input:
0 88

Expected output:
No


Actual output:
No
['0', '88'] 0


Fixed submission (verdict: Accepted):
import sys


val = []
val = input()

arrays = val.split(' ')
a = int(arrays[0])*500

if a>=int(arrays[1]):
    print("Yes")
elif a<int(arrays[1]):
    print("No")

sys.exit()

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = map(int, input().split())

if k * 500 > x:
    print("Yes")
else:
    print("No")

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


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

if k * 500 >= x:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = list(map(int, input().split()))

K = A[0]
X = A[1]

money = K*500

if X < 500:
	print ("No")
else:
	print("Yes")

Failing test case input:
1 246

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A = list(map(int, input().split()))
 
K = A[0]
X = A[1]
 
money = K*500
 
if X <= money:
	print ("Yes")
else:
	print("No")

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

if 500*K>=X:
    print("yes")
else:
    print("no")

Failing test case input:
1 104

Expected output:
Yes


Actual output:
yes


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

if 500*K>=X:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin

a, b = stdin.readline().rstrip().split()

if a*500 >= b:
    print('Yes')
else:
    print("No")


Failing test case input:
1 246

Expected output:
Yes


Actual output:
No


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

a, b = stdin.readline().rstrip().split()

if int(a)*500 >= int(b):
    print('Yes')
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x = map(int,input().split())
K = 500*k
if x > k:
    print("No")

else:
    print("Yes")

Failing test case input:
15 85

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k,x = map(int,input().split())
K = 500*k
if x > K:
    print("No")
else:
    print("Yes")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X = map(int, input().split())
if K*500 > X:
	print('YES')
else:
	print('NO')

Failing test case input:
2 81

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
K,X = map(int, input().split())
if K*500 >= X:
	print('Yes')
else:
	print('No')
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X=map(int, input().split())
if 500*K >=X:
    print("yes")
else:
    print("No")

Failing test case input:
8 1282

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
K,X=map(int, input().split())
if K*500>=X:
    print('Yes')
else:
    print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=(int(x) for x in input().split())

if a*500 >= b:
    print("YES")
else:
    print("NO")

Failing test case input:
1 104

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
K,X=(int(x) for x in input().split())
 
if K*500 >= X:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = map(int, input().split(" "))

if 500*K>X:
  print("Yes")
else:
  print("No")

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


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

if 500*K>=X:
  print("Yes")
else:
  print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
KX = input().split()
K = int(KX[0])
X = int(KX[1])

answer = "No"
if 500*K > X:
  answer = "Yes"
 
print(answer)

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
KX = input().split()
K = int(KX[0])
X = int(KX[1])

answer = "No"
if 500*K >= X:
  answer = "Yes"
 
print(answer)

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = map(int,input().split())
if 500*x >= y:
    print('Yes')
else:
    print('N0')

Failing test case input:
0 192

Expected output:
No


Actual output:
N0


Fixed submission (verdict: Accepted):
x,y = map(int,input().split())
if 500*x >= y:
    print('Yes')
else:
    print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = input().split()
if (k * 500)>=x:
    print("Yes")
else:
    print("No")

Failing test case input:
12 299

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k, x = [int(i) for i in input().split()]
if (k * 500) >= x:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x = input().split(" ")
if (k*500>=x):
    print('Yes')
else:
    print('No')


Failing test case input:
15 287

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k,x = input().split(" ")
val = int(k)*500
if (val>=int(x)):
    print('Yes')
else:
    print('No')

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

if 500*a > b:
    print("YES")
else:
    print("NO")

Failing test case input:
15 85

Expected output:
Yes


Actual output:
YES


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

if 500*a >= b:
    print("Yes")
else:
    print("No")
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = list(map(int, input().split()))
print("yes" if 500 * K >= X else "no" )

Failing test case input:
0 165

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
K, X = list(map(int, input().split()))
print("Yes" if 500 * K >= X else "No" )

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x = map(int,input().split())
print("Yes" if k * 500 <= x else "No")

Failing test case input:
2 393

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k,x = map(int,input().split())
print("Yes" if k * 500 >= x else "No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = input().split()

mon = 500*int(K)
if mon > int(X):
    print("Yes")
else:
    print("No")

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
K, X = input().split()

mon = 500*int(K)
if mon >= int(X):
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = map(int,input().split())
if x *500 >= y :
    print("Yes")
else: print("NO") 

Failing test case input:
0 900

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
x,y = map(int,input().split())
if x *500 >= y :
    print("Yes")
else: print("No")

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

a = 500 * K

if a < X:
  print("Yes")
else:
  print("No")


Failing test case input:
0 246

Expected output:
No


Actual output:
Yes


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

a = 500 * K

if a >= X:
  print("Yes")
else:
  print("No")

Problem: p02811
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
k,x = map(int,input().split())
if k*500 > x:
    print("Yes")
else:
    print("No")


Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
k,x = map(int,input().split())
if k*500 >= x:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = list(map(int, input().split(" ")))
if 2 * k >= x:
  print('Yes')
else:
  print('No')

Failing test case input:
9 174

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k, x = list(map(int, input().split(" ")))
if 500 * k >= x:
  print('Yes')
else:
  print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X=input().split()
if 500 * K >= X:
    print('Yes')
else:
    print('No')

Failing test case input:
2 379

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
K,X=(int(x) for x in input().split())
if 500 * K >= X:
    print('Yes')
else:
    print('No')
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X=map(int,input().split())
if 500*K>=X:
    print('YES')
else:
    print('NO')
    

Failing test case input:
1 393

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
k, x = map(int, input().split())
if x <= k*500:
    print('Yes')
else:
    print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X = map(int, input().split())
if K*500 > X:
    print('Yes')
else:
    print('No')

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
K,X = map(int, input().split())
if K*500 >= X:
    print('Yes')
else:
    print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, n = [int(x) for x in input().split()]

if k*500 >= n:
  print("YES")
else:
  print("NO")


Failing test case input:
2 900

Expected output:
Yes

Actual output:
YES


Fixed submission (verdict: Accepted):
k, n = [int(x) for x in input().split()]

if k*500 >= n:
  print("Yes")
else:
  print("No")

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





input1=input()

K,X=input1.split(" ")
K,X=int(K),int(X)

if 500*K>X:
    print("Yes")
else:
    print("NO")


Failing test case input:
0 379

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):





input1=input()

K,X=input1.split(" ")
K,X=int(K),int(X)

if 500*K>=X:
    print("Yes")
else:
    print("No")

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

if a*500 >= b:
    print("YES")
else:
    print("NO")


Failing test case input:
1 104

Expected output:
Yes


Actual output:
YES


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

if a*500 >= b:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = map(int, input().split())
if x * 500 >= x:
    print("Yes")
else:
    print("No")

Failing test case input:
0 85

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
k, x = map(int, input().split())
if k * 500 >= x:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, k = map(int, input().split())
if k * 500 >= x:
    print("Yes")
else:
    print("No")

Failing test case input:
0 85

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
k, x = map(int, input().split())
if k * 500 >= x:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x = map(int,input().split())

if 500*k >= x:
  print("YES")
else:
  print("NO")
  


Failing test case input:
0 29

Expected output:
No


Actual output:
NO


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

if 500*k >= x:
  print("Yes")
else:
  print("No")
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = map(int, input().split())
 
if x <= (5 * 500):
  print('Yes')
else:
  print('No')

Failing test case input:
0 246

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
k, x = map(int, input().split())
 
if x <= (k * 500):
  print('Yes')
else:
  print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a*500 > b:
    print('Yes')
else:
    print('No')

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a*500 >= b:
    print('Yes')
else:
    print('No')

Problem: p02811
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
k,x=map(int,input().split(' '))
if x>=900:
    if 500*x>=900:
        print("Yes")
else:
    print("No")

Failing test case input:
5 174

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k,x=map(int,input().split(' '))
c=500*k
if c>=x:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    a = list(map(int, input().split()))
    if 500 * a[0] >= 900:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Failing test case input:
1 378

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def main():
    a = list(map(int, input().split()))
    if 500 * a[0] >= a[1]:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split( ))
sum=a*500
if b>sum:
  print("Yes")
else:
  print("NO")

Failing test case input:
1 227

Expected output:
Yes


Actual output:
NO


Fixed submission (verdict: Accepted):
a,b=map(int,input().split( ))
sum=a*500
if sum>=b:
  print("Yes")
else:
  print("No")
exit()

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x = input().split(" ")
 
text = "No"
 
if k*500>=x:
  text = "Yes"
  
print(text)


Failing test case input:
1 165

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k,x = input().split(" ")
k = int(k)
x = int(x)



text = "No"
 
if k*500>=x:
  text = "Yes"
  
print(text +"\n")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = input().split()
K, X = int(K), int(X)
if K * 500 > X:
  print("Yes")
else:
  print("No")

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
K, X = input().split()
K, X = int(K), int(X)
if K * 500 >= X:
  print("Yes")
else:
  print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X = map(int, input().split())
print("Yes") if 500*X > K else print("No")

Failing test case input:
0 501

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
K, X = map(int, input().split())
print("Yes") if 500 * K >= X else print("No")
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=map(int,input().split())
if 500*x>=y:
  print("yes")
else:
  print("no")

Failing test case input:
8 299

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
x,y=map(int,input().split())
if 500*x>=y:
  print("Yes")
else:
  print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = input().split()

total = int(K) * 500

if total >= int(X):
  print("YES")
else:
  print("NO")

Failing test case input:
4 105

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
K, X = input().split()

total = int(K) * 500

if total >= int(X):
  print("Yes")
else:
  print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x=map(int,input().split())
print('Yes' if 500*k>=x else 'NO')

Failing test case input:
0 900

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
k,x=map(int,input().split())
print('Yes' if 500*k>=x else 'No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
Input = list(map(int,input().split()))
K=Input[0]
X=Input[1]

if (500*K)>=K:
  print("Yes")
else:
  print("No")

Failing test case input:
0 165

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
Input = list(map(int,input().split()))
K=Input[0]
X=Input[1]


if (500*K)>=X:
  print("Yes")
else:
  print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x=map(int,input().split())
if 500*k>x:
  print("Yes")
if 500*x<x:
  print("No")

Failing test case input:
0 88

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
k,x=map(int,input().split())
if 500*k>=x:
  print("Yes")
else:
  print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = map(int, input().split())

print('Yes') if k*500==x else print('No')

Failing test case input:
9 134

Expected output:
Yes


Actual output:
No


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

print('Yes') if k*500>=x else print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = map(int, input().split())
if max(500*k, x) == x:
  print("No")
else:
  print("Yes")

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
k, x = map(int, input().split())
if 500*k >= x:
  print("Yes")
else:
  print("No")

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

Z = 500 * K
if K >= X :
    print("Yes")
    
else:
    print("No")

Failing test case input:
1 378

Expected output:
Yes


Actual output:
No


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

Z = int(500 * K)
if Z >= X :
    print("Yes")

else:
    print("No")
Problem: p02811
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
k,x=map(int,input().split(' '))

if (k*x>=900):
    print("Yes")
else:
    print("No")

Failing test case input:
1 379

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
k,x=map(int,input().split(' '))
c=500*k
if c>=x:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k,x = map(int,input().split())
ks = k * 500
if ks < k:
  print('No')
else:
  print('Yes')

Failing test case input:
0 379

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
k,x = map(int,input().split())
ks = k * 500
if ks < x:
  print('No')
else:
  print('Yes')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
K, X = map(int, sys.stdin.readline().strip().split())

if K * 500 >= X:
  print('YES')
else:
  print('NO')

Failing test case input:
2 379

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
import sys
K, X = map(int, sys.stdin.readline().strip().split())

if K * 500 >= X:
  print('Yes')
else:
  print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, k = input().split()

if int(x) <= int(k)*500:
    print("Yes")
else:
    print("No")

Failing test case input:
0 29

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
k, x = input().split()

if int(x) <= int(k)*500:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X = map(int,input().split())
print('Yes') if K*500 > X else print('No')

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
K,X = map(int,input().split())
print('Yes') if K*500 >= X else print('No')

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

count, maxsum = map(int, input().split())
print('YES' if count * 500 >= maxsum else 'No')

Failing test case input:
5 174

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):

cnt, maxs = list(map(int, input().split()))
print('Yes' if cnt * 500 >= maxs else 'No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
result = a*500
if result >= b:
    print("yes")
else: 
    print("no")

Failing test case input:
15 363

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
K, X = map(int, input().split())
result = K*500
if result >= X:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = input().split()
if K*500<X:
  print('No')
else:
  print('Yes')
  

Failing test case input:
10 333

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
K, X = map(int, input().split())
if K * 500 >= X:
  print('Yes')
else:
  print('No')
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def two_int():
    N, K = map(int, input().split())
    return N,K

def one_int():
    return int(input())

def one_str():
    return input()

def many_int():
    return list(map(int, input().split()))

K, X = input().split()

if K*500 >= X:
    print("Yes")
else:
    print("No")

Failing test case input:
1 393

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def two_int():
    N, K = map(int, input().split())
    return N,K

def one_int():
    return int(input())

def one_str():
    return input()

def many_int():
    return list(map(int, input().split()))

K, X = two_int()

print()
if K*500 >= X:
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X=map(int, input().split())
if K*500>=X:
    print("yes")
else:
    print("No")

Failing test case input:
1 378

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
K,X=map(int, input().split())
if K*500>=X:
    print('Yes')
else:
    print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X=map(int,input().split())
if 500*K>=X:
  print("yes")
else:
  print("no")

Failing test case input:
0 501

Expected output:
No


Actual output:
no


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

if 500*K >= X:
  print('Yes')
else:
  print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, x = [int(v) for v in input().split()]

if 500 * k >= x:
  print("YES");
else:
  print("NO");

Failing test case input:
15 363

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
k, x = [int(v) for v in input().split()]

if 500 * k >= x:
  print("Yes");
else:
  print("No");

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X=input().split()
if (K*500<=X):
    print("Yes")
else:
    print("No")

Failing test case input:
9 134

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
K,X=map(int,input().split())
if (K*500>=X):
    print("Yes")
else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    k, x = [int(p) for p in input().split()]
    if k * 500 > x:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()


Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
def main():
    k, x = [int(p) for p in input().split()]
    if k * 500 >= x:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Problem: p02811
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
k, x = map(int, input().split())
if 500*k >= x:
    print('yes')
else:
    print('no')


Failing test case input:
12 613

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
k, x = map(int, input().split())
if 500*k >= x:
    print("Yes")

else:
    print("No")
Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = map(int,input().split())
result = K * 500
if X < 10**5 :
    print("Yes")
else:
    print("No")

Failing test case input:
0 88

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
K, X = map(int,input().split())
result = K * 500
if result >= X :
    print("Yes")
else:
    print("No")

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

if 500*K >= X:
    print('YES')
else:
    print('NO')

Failing test case input:
9 134

Expected output:
Yes


Actual output:
YES


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

if 500*K >= X:
    print('Yes')
else:
    print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
k, yen = input().split()
print('Yes' if k*500>=yen else 'No')

Failing test case input:
15 433

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
[k, yen] = [int(x) for x in input().split()]
print('Yes') if k*500>=yen else print('No')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K, X = map(int, input().split())
result = K*500
if result >= X:
    print("yes")
elif result < X:
    print("no")

Failing test case input:
31 433

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
K, X = map(int, input().split())
result = K*500
if result >= X:
    print("Yes")
else:
    print("No")

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

if 500*K > X:
    print("Yes")

else:
    print("No")

Failing test case input:
4 2000

Expected output:
Yes

Actual output:
No


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

if 500*K >= X:
    print("Yes")

else:
    print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X=list(map(int,input().split(' ')))
if X>=K*500:
    print('Yes')
else:
    print('No')

Failing test case input:
2 393

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
K,X=list(map(int,input().split(' ')))
if X>K*500:
    print('No')
else:
    print('Yes')

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
list = [s for s in input().split()]
if list[0] * 500 >= list[1]:
  print("Yes")
else:
	print("No")

Failing test case input:
1 385

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
list = [s for s in input().split()]
if int(list[0]) * 500 >= int(list[1]):
  print("Yes")
else:
	print("No")

Problem: p02811
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
K,X= input().split()
if 500*K>=X:
  print("Yes")
else:
  print("No")

Failing test case input:
15 433

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
K,X=map(int, input().split())
if 500*K>=X:
  print("Yes")
else:
  print("No")
Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,A,B=(int(i) for i in input().split())
X=list(map(int,input().split()))
count=0

for i in range(N-1):
    M=X[i+1]-X[i]
    if M>=B:
        count+=M*A
    else:
        count+=B
print(count)

Failing test case input:
7 1 2
24 1 40 26 72 99 103

Expected output:
-29


Actual output:
120


Fixed submission (verdict: Accepted):
N,A,B=(int(i) for i in input().split())
X=list(map(int,input().split()))
count=0

for i in range(N-1):
    M=(X[i+1]-X[i])*A
    if M<=B:
        count=count+M
    else:
        count=count+B
print(count)

Problem: p03829
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n, a, b = [ int(v) for v in input().split() ]
town_list = [ int(v) for v in input().split() ]
fatigue_list = [ 0 for i in range(n) ]

for i in range(n-1):
	d = town_list[i+1] - town_list[i]
	fatigue_list[i+1] = fatigue_list[i] + min(a*d,b)
print(fatigue_list)


Failing test case input:
7 2 101
20 14 32 1 72 3 37

Expected output:
-7


Actual output:
[0, -12, 24, -38, 63, -75, -7]


Fixed submission (verdict: Accepted):

n, a, b = [ int(v) for v in input().split() ]
town_list = [ int(v) for v in input().split() ]
fatigue_list = [ 0 for i in range(n) ]

for i in range(n-1):
	d = town_list[i+1] - town_list[i]
	fatigue_list[i+1] = fatigue_list[i] + min(a*d,b)
print(fatigue_list[-1])

Problem: p03829
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N, A, B = map(int, input().split())
X = list(map(int, input().split()))
res = 0
for i in range(N - 1):
  if X[i + 1] - X[i] > B:
    res += B
  else:
    res += X[i + 1] - X[i]
print(res)

Failing test case input:
7 2 111
7 174 30 1 146 147 37

Expected output:
-342


Actual output:
-60


Fixed submission (verdict: Accepted):
N, A, B = map(int, input().split())
X = list(map(int, input().split()))
res = 0
for i in range(N - 1):
  if (X[i + 1] - X[i]) * A > B:
    res += B
  else:
    res += (X[i + 1] - X[i]) * A
print(res)

Problem: p03829
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n, a, b = map(int, input().split())
x = list(map(int, input().split()))

diff = [x[i] - x[i-1] for i in range(1, n)]

res = 0
for d in diff:
	res += min(d, b)

print(res)

Failing test case input:
7 4 101
40 29 77 3 146 75 37

Expected output:
-574


Actual output:
-45


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

diff = [x[i] - x[i-1] for i in range(1, n)]

res = 0
for d in diff:
	res += min(d * a, b)

print(res)

Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,A,B=(int(i) for i in input().split())
X=list(map(int,input().split()))
count=0

for i in range(N-1):
    M=(X[i+1]-X[i])*A
    if M>=B:
        count+=M
    else:
        count+=B
print(count)

Failing test case input:
7 2 101
18 8 32 1 146 3 37

Expected output:
-151


Actual output:
795


Fixed submission (verdict: Accepted):
N,A,B=(int(i) for i in input().split())
X=list(map(int,input().split()))
count=0

for i in range(N-1):
    M=(X[i+1]-X[i])*A
    if M<=B:
        count=count+M
    else:
        count=count+B
print(count)
Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, a, b = map(int, input().split())
c = list(map(int, input().split()))

ans = 0
for i in range(n-1):
    ans += min(c[i+1] - c[i], b)
print(ans)

Failing test case input:
7 2 101
20 105 33 1 146 3 37

Expected output:
-224


Actual output:
-27


Fixed submission (verdict: Accepted):
n, a, b = map(int, input().split())
c = list(map(int, input().split()))

ans = 0
for i in range(n-1):
    ans += min((c[i+1] - c[i]) * a, b)
print(ans)

Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,A,B=(int(i) for i in input().split())
X=list(map(int,input().split()))
count=0

for i in range(N-1):
    M=X[i+1]-X[i]
    if M>=B:
        count+=M
    else:
        count+=B
print(count)

Failing test case input:
7 1 2
24 68 40 26 72 99 103

Expected output:
-34


Actual output:
125


Fixed submission (verdict: Accepted):
N,A,B=(int(i) for i in input().split())
X=list(map(int,input().split()))
count=0

for i in range(N-1):
    M=(X[i+1]-X[i])*A
    if M<=B:
        count=count+M
    else:
        count=count+B
print(count)

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

N, A, B=map(int, input().split())
lis=list(map(int,input().split()))

out=0
for i in range(0,N-1):
    d=lis[i+1]-lis[i]
    if d < (B-A):
        out=out+d
    else:
        out=out+B
print(out)

Failing test case input:
7 2 101
40 67 45 5 146 196 37

Expected output:
-187


Actual output:
-43


Fixed submission (verdict: Accepted):

N, A, B=map(int, input().split())
lis=list(map(int,input().split()))

out=0
for i in range(0,N-1):
    d=(lis[i+1]-lis[i])*A
    if d < B:
        out=out+d
    else:
        out=out+B
print(out)

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

N, A, B=map(int, input().split())
lis=list(map(int,input().split()))

out=0
for i in range(0,N-1):
    d=lis[i+1]-lis[i]
    if d*A < (B-A):
        out=out+d*A
    else:
        out=out+B
print(out)


Failing test case input:
7 4 111
40 67 45 3 146 196 37

Expected output:
-562


Actual output:
-559


Fixed submission (verdict: Accepted):

N, A, B=map(int, input().split())
lis=list(map(int,input().split()))

out=0
for i in range(0,N-1):
    d=(lis[i+1]-lis[i])*A
    if d < B:
        out=out+d
    else:
        out=out+B
print(out)

Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,A,B=map(int,input().split())
X=list(map(int,input().split()))

ans=0
pre=X[0]

for xi in X[1:]:
    if (xi-pre)*A-B>0:
        ans+=B
    else:
        ans+=(xi-pre)
    pre=xi

print(ans)

Failing test case input:
7 2 101
20 19 33 1 146 3 37

Expected output:
-155


Actual output:
-27


Fixed submission (verdict: Accepted):
N,A,B=map(int,input().split())
X=list(map(int,input().split()))

ans=0
pre=X[0]

for xi in X[1:]:
    if (xi-pre)*A-B>0:
        ans+=B
    else:
        ans+=(xi-pre)*A
    pre=xi

print(ans)
Problem: p03829
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n, a, b = map(int, input().split())
x = list(map(int, input().split()))

diff = [x[i] - x[i-1] for i in range(1, n)]

print(diff)

res = 0
for d in diff:
	res += min(d * a, b)

print(res)

Failing test case input:
4 2 5
1 1 5 7

Expected output:
9


Actual output:
[0, 4, 2]
9


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

diff = [x[i] - x[i-1] for i in range(1, n)]

res = 0
for d in diff:
	res += min(d * a, b)

print(res)

Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,a,b = (int(i) for i in input().split())
x = list(int(i) for i in input().split())
ans = 0
for i in range(n-1):
 dist  = x[i+1]-x[i]
 move = dist*a
 print(move)
 if move <= b:
  ans += move
 else:
  ans += b
print(ans)
      

Failing test case input:
7 2 100
20 19 32 1 146 3 37

Expected output:
-156


Actual output:
-2
26
-62
290
-286
68
-156


Fixed submission (verdict: Accepted):
n,a,b = (int(i) for i in input().split())
x = list(int(i) for i in input().split())
ans = 0
for i in range(n-1):
 dist  = x[i+1]-x[i]
 move = dist*a
 if move <= b:
  ans += move
 else:
  ans += b
print(ans)

Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,a,b = map(int,input().split())
towns = list(map(int,input().split()))

fatigue = 0
for i in range(n-1):
  d = towns[i+1] -towns[i]
  fatigue = max(d*a,b)
print(fatigue)

Failing test case input:
7 1 2
24 1 40 26 72 99 103

Expected output:
-29


Actual output:
4


Fixed submission (verdict: Accepted):
n,a,b = map(int,input().split())
towns = list(map(int,input().split()))

fatigue = 0
for i in range(n-1):
  d = towns[i+1] -towns[i]
  fatigue += min(d*a,b)
print(fatigue)

Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, A, B = map(int, input().split())
X = list(map(int, input().split()))

diff = [X[i + 1] - X[i] for i in range(len(X) - 1)]
print(diff)

fatigue = 0
for i in diff:
    if i * A < B:
        fatigue += i * A
    else:
        fatigue += B

print(fatigue)


Failing test case input:
7 1 010
30 1 2 1 131 451 43

Expected output:
-417


Actual output:
[-29, 1, -1, 130, 320, -408]
-417


Fixed submission (verdict: Accepted):
N, A, B = map(int, input().split())
X = list(map(int, input().split()))

diff = [X[i + 1] - X[i] for i in range(len(X) - 1)]

fatigue = 0
for i in diff:
    if i * A < B:
        fatigue += i * A
    else:
        fatigue += B

print(fatigue)
Problem: p03829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if __name__=="__main__":
    [N, A, B] = map(int,input().split())
    xs = list(map(int,input().split()))
    d_xs = [xs[i] - xs[i-1] for i in range(1,len(xs))]
    print(d_xs)
    s = 0
    for d in d_xs:
        if(d*A < B):
            s+=d*A
        else:
            s+=B
    print(s)

Failing test case input:
7 2 101
13 8 32 1 182 3 37

Expected output:
-213


Actual output:
[-5, 24, -31, 181, -179, 34]
-213


Fixed submission (verdict: Accepted):
if __name__=="__main__":
    [N, A, B] = map(int,input().split())
    xs = list(map(int,input().split()))
    d_xs = [xs[i] - xs[i-1] for i in range(1,len(xs))]
    s = 0
    for d in d_xs:
        if(d*A < B):
            s+=d*A
        else:
            s+=B
    print(s)
Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K, C = map(int, input().split())
S = input()

L = []
R = []
holiday = 0

for i in range(N):
  if holiday:
    holiday -= 1
  elif S[i] == 'o':
    L.append(i)
    holiday = C
holiday = 0
for i in range(N-1, -1, -1):
  if holiday:
    holiday -= 1
  elif S[i] == 'o':
    R.append(i)
    holiday = C
out = set(L) and set(R)
if len(L) == K and len(R) == K:
  for n in out:
    print(n+1)

Failing test case input:
16 4 3
oxxoxoxxxxxooxoo

Expected output:
1
6
12
16


Actual output:
1
12
6
16


Fixed submission (verdict: Accepted):
N, K, C = map(int, input().split())
S = input()

L = []
R = []
holiday = 0

for i in range(N):
  if holiday:
    holiday -= 1
  elif S[i] == 'o':
    L.append(i)
    holiday = C
holiday = 0
for i in range(N-1, -1, -1):
  if holiday:
    holiday -= 1
  elif S[i] == 'o':
    R.append(i)
    holiday = C
R = R[::-1]
out = set(L) and set(R)
if len(L) == K:
  for l, r in zip(L, R):
    if l == r: print(l+1)

Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K,C=map(int,input().split())
S=input()
L=[]
R=[]
n=0
rc=0
lc=0
while True:
  if lc==K:
    break
  if S[n]=="o":
    L+=[n+1]
    n+=C
    lc+=1
  else:
    n+=1
n=N-1
while True:
  if rc==K:
    break
  if S[n]=="o":
    R+=[n+1]
    n-=C
    rc+=1
  else:
    n-=1
for i in L:
  if i in R:
    print(i)


Failing test case input:
16 4 3
ooxxoxoxxxoxoxxo

Expected output:
11
16

Actual output:
16


Fixed submission (verdict: Accepted):
N,K,C=map(int,input().split())
S=input()
L=[0 for i in range(K)]
R=[0 for i in range(K)]
n=0
rc=0
lc=0
while True:
  if lc==K:
    break
  if S[n]=="o":
    L[lc]=n+1
    n+=C+1
    lc+=1
  else:
    n+=1
n=N-1
while True:
  if rc==K:
    break
  if S[n]=="o":
    R[K-1-rc]=n+1
    n-=C+1
    rc+=1
  else:
    n-=1
for i in range(K):
  if R[i]==L[i]:
    print(R[i])

Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K, C = map(int, input().split())
S = input()

L = [0] * K
i = 0
x = 0
while i<K and x<N:
    if S[x] == 'o':
        L[i] = x
        i += 1
        x += C
    else:
        x += 1

R = [0] * K
i = K-1
x = N-1
while i>=0 and x>=0:
    if S[x] == 'o':
        R[i] = x
        i -= 1
        x -= C
    else:
        x -= 1

ans = []
for i in range(K):
    if L[i] == R[i]:
        ans.append(L[i])
for a in ans:
    print(a+1)


Failing test case input:
11 3 1
xoovoyxxpox

Expected output:
5
10


Actual output:

Fixed submission (verdict: Accepted):
N, K, C = map(int, input().split())
S = input()

L = [0] * K
i = 0
x = 0
while i<K and x<N:
    if S[x] == 'o':
        L[i] = x
        i += 1
        x += C+1
    else:
        x += 1

R = [0] * K
i = K-1
x = N-1
while i>=0 and x>=0:
    if S[x] == 'o':
        R[i] = x
        i -= 1
        x -= C+1
    else:
        x -= 1

ans = []
for i in range(K):
    if L[i] == R[i]:
        ans.append(L[i])
for a in ans:
    print(a+1)
Problem: p02721
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

N,K,C = map(int,input().split())
S = input()
L = [0]*K
R = [0]*K

i = 0
for j in range(K):
    while S[i]!='o':
        i += 1
    L[j] = i
    i += C+1

i = K-1
for j in range(K-1,-1,-1):
    while S[i]!='o':
        i -= 1
    R[j] = i
    i -= C+1
    
for j in range(K):
    if L[j]==R[j]:
        print(L[j])

Failing test case input:
11 3 1
owyxooxxxoo

Expected output:
1


Actual output:

Fixed submission (verdict: Accepted):

N,K,C = map(int,input().split())
S = input()
L = [0]*K
R = [0]*K

i = 0
for j in range(K):
    while S[i]!='o':
        i += 1
    L[j] = i
    i += C+1

i = N-1
for j in range(K-1,-1,-1):
    while S[i]!='o':
        i -= 1
    R[j] = i
    i -= C+1
    
for j in range(K):
    if L[j]==R[j]:
        print(L[j]+1)

Problem: p02721
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys
sys.setrecursionlimit(10**9)
N,K,C = map(int,input().split())
S = input()

i=0
forward = set()
while N>i and len(forward) < K:
    if S[i] == "o":
        forward.add(i)
        i+=C+1
    else:
        i+=1

i=N-1
backward = set()
while i>=0 and len(backward) < K:
    if S[i] == "o":
        backward.add(i)
        i-=C+1
    else:
        i-=1
    
isect = forward&backward
for i in isect:
    print(i+1)


Failing test case input:
11 3 4
ooyxxoxxxoo

Expected output:
1
6
11


Actual output:
1
11
6


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(10**9)
N,K,C = map(int,input().split())
S = input()

i=0
forward = set()
while N>i:
    if S[i] == "o":
        forward.add(i)
        i+=C+1
    else:
        i+=1

if len(forward) != K:
    exit()

i=N-1
backward = set()
while i>=0:
    if S[i] == "o":
        backward.add(i)
        i-=C+1
    else:
        i-=1
    

isect = list(forward&backward)
for i in sorted(isect):
    print(i+1)

Problem: p02721
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n, k, c = map(int, input().split())
s = input()
left = set()
right = set()
i = 0
while i < n:
    if s[i] == 'o':
        left.add(i)
        i += c
        if len(left) == k:
            break
    i += 1
i = n - 1
while i >= 0:
    if s[i] == 'o':
        right.add(i)
        i -= c
        if len(right) == k:
            break
    i -= 1
for x in left & right:
    print(x + 1)

Failing test case input:
16 4 3
poxxoxoxxyoxoxxo

Expected output:
2
7
11
16


Actual output:
2
11
7
16


Fixed submission (verdict: Accepted):
n, k, c = map(int, input().split())
s = input()

left = []
right = []

i = 0
while i < n:
    if s[i] == 'o':
        left.append(i)
        i += c
        if len(left) == k:
            break
    i += 1
i = n - 1
while i >= 0:
    if s[i] == 'o':
        right.append(i)
        i -= c
        if len(right) == k:
            break
    i -= 1
right.reverse()
ans = []
for i, j in zip(left, right):
    if i == j:
        ans.append(i)
for x in ans:
    print(x + 1)
Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k,c= map(int,input().split())
s = input()
i = 0

def func(s,k,c):
  i = 0
  res = []
  while 1:
    if s[i] == 'o':
      res.append(i)
      if len(res)== k:
        break
      i += c
    i+= 1
  return res
ans1 = set(func(s,k,c))
ans2 = set(func(s[::-1],k,c))
ans2 = [n-a-1 for a in ans2]


ans = list(ans1.intersection(ans2))
for a in ans:
  print(a+1)



Failing test case input:
11 3 1
ooyxxpovxox

Expected output:
7
10


Actual output:
10
7


Fixed submission (verdict: Accepted):
n,k,c= map(int,input().split())
s = input()
i = 0

def func(s,k,c):
  i = 0
  res = []
  while 1:
    if s[i] == 'o':
      res.append(i)
      if len(res)== k:
        break
      i += c
    i+= 1
  return res
ans1 = func(s,k,c)
ans2 = func(s[::-1],k,c)
ans2 = [n-a-1 for a in ans2]
ans2 = ans2[::-1]

for i in range(k):
  if ans1[i]==ans2[i]:
    print(ans1[i]+1)

Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import copy
 
n,k,c = map(int,input().split())
s = list(input())
 
front = []
back = []
 

j = copy.copy(k)
i = 0
while j > 0:
  if s[i] == "o":
    front.append(i)
    i += c+1
    j -= 1
  else:
    i += 1
 

 
j = copy.copy(k)
i = n-1
while j > 0:
  if s[i] == "o":
    back.append(i)
    i -= c+1
    j -= 1
  else:
    i -= 1

back.sort()
for i in range(k):
  if front[i] == back[i]:
    print(i+1)

Failing test case input:
11 3 2
xooxxyovpox

Expected output:
7
10


Actual output:
2
3


Fixed submission (verdict: Accepted):
import copy
 
n,k,c = map(int,input().split())
s = list(input())
 
front = []
back = []
 

j = copy.copy(k)
i = 0
while j > 0:
  if s[i] == "o":
    front.append(i)
    i += c+1
    j -= 1
  else:
    i += 1
 

 
j = copy.copy(k)
i = n-1
while j > 0:
  if s[i] == "o":
    back.append(i)
    i -= c+1
    j -= 1
  else:
    i -= 1

back.sort()
for i in range(k):
  if front[i] == back[i]:
    print(front[i]+1)

Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
data = input().split(" ")
N, K, C = int(data[0]), int(data[1]), int(data[2])
S = input()

point = 0
work_start = [0] * (K + 1)
for i in range(1, K + 1):
  point = S.find("o", point, N)
  work_start[i] = point + 1
  point += C

point = N
work_end = [0] * (K + 1)
for i in range(K, 0, -1):
  point = S.rfind("o", 0, point)
  work_end[i] = point + 1
  point -= C

for i in range(1, K + 1):
  if work_start[i] == work_end[i]:
    print(work_start[i])

Failing test case input:
16 4 3
oxxoxoxxxxxooxoo

Expected output:
1
6
12
16


Actual output:
1
12


Fixed submission (verdict: Accepted):
data = input().split(" ")
N, K, C = int(data[0]), int(data[1]), int(data[2])
S = input()

point = 0
work_start = [0] * (K + 1)
for i in range(1, K + 1):
  point = S.find("o", point, N)
  work_start[i] = point + 1
  point += (C + 1)

point = N
work_end = [0] * (K + 1)
for i in range(K, 0, -1):
  point = S.rfind("o", 0, point)
  work_end[i] = point + 1
  point -= C

for i in range(1, K + 1):
  if work_start[i] == work_end[i]:
    print(work_start[i])
Problem: p02721
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n,k,c = map(int,input().split())
S = input()

left = [ -1 for i in range(k)]
right = [ -1 for i in range(k)]

pointer = 0
for l in range(k):

  for s in range(pointer,n):
    if S[s] == 'o':
      left[l] = s
      pointer = s+c
      break

pointer = n-1
for r in range(k):

  for s in range(pointer,0,-1):
    if S[s] == 'o':
      right[r] = s
      pointer = s-c
      break

for l,r in zip(left, right[::-1]):
  if l==r:
    print(l+1)


Failing test case input:
11 3 2
ooyxxwoowox

Expected output:
7
10


Actual output:
10


Fixed submission (verdict: Accepted):

n,k,c = map(int,input().split())
S = input()

left = [ -1 for i in range(k)]
right = [ -1 for i in range(k)]

pointer = 0
for l in range(k):

  for s in range(pointer,n):
    if S[s] == 'o':
      left[l] = s
      pointer = s+c+1
      break

pointer = n-1
for r in range(k):

  for s in range(pointer,-1,-1):
    if S[s] == 'o':
      right[r] = s
      pointer = s-c-1
      break

for l,r in zip(left, right[::-1]):
  if l==r:
    print(l+1)

Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K,C = (int(i) for i in input().split())
S = str(input())

L = [-1] * K
R = [-1] * K
S_index = 0
count = 0
while count < K:
  if S[S_index] == "o":
    L[count] = S_index
    count += 1
    S_index += C+1
  else:
    S_index += 1

S_index = N-1
count = 0
while count < K:
  if S[S_index] == "o":
    R[count] = S_index
    count += 1
    S_index -= C+1
  else:
    S_index -= 1

ans = list(set(R) & set(L))
for a in ans:
  print(a+1)


Failing test case input:
11 3 1
onxnxoxwxox

Expected output:
1
6
10


Actual output:
1
10
6


Fixed submission (verdict: Accepted):
N,K,C = (int(i) for i in input().split())
S = str(input())

L = [-1] * K
R = [-1] * K
S_index = 0
count = 0
while count < K:
  if S[S_index] == "o":
    L[count] = S_index
    count += 1
    S_index += C+1
  else:
    S_index += 1

S_index = N-1
count = 0
while count < K:
  if S[S_index] == "o":
    R[count] = S_index
    count += 1
    S_index -= C+1
  else:
    S_index -= 1

R.reverse()
for l,r in zip(L,R):
  if l == r:
    print(l+1)

Problem: p02721
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K, C = map(int,input().split())
S = list(input())

A = list()
B = list()

i = 0
num = 0
while num < K:
  if S[i] == "o":
    A.append(i)
    num += 1
    i += C
  i += 1
i = len(S)-1
num = 0
while num < K:
  if S[i] == "o":
    B.append(i)
    num+=1
    i -= C
  i -= 1
B.sort()

print(A)
print(B)

for i,j in zip(A,B):
  if i == j:
    print(i+1)

Failing test case input:
11 3 2
ooxyxoxxxoo

Expected output:
6


Actual output:
[0, 5, 9]
[1, 5, 10]
6


Fixed submission (verdict: Accepted):
N, K, C = map(int,input().split())
S = list(input())

A = list()
B = list()

i = 0
num = 0
while num < K:
  if S[i] == "o":
    A.append(i)
    num += 1
    i += C
  i += 1
i = len(S)-1
num = 0
while num < K:
  if S[i] == "o":
    B.append(i)
    num+=1
    i -= C
  i -= 1
B.sort()

for i,j in zip(A,B):
  if i == j:
    print(i+1)