TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a,b=map(input().split())
print(0 if a<b else 10)

a,b=map(int,input().split())
print(0 if a<b else 10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a, x = map(int, input().split())

if a > x:
  print(0)
elif a <= x:
  print(10)

x, a = map(int, input().split())

if a > x:
  print(0)
elif a <= x:
  print(10)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a=map{int,input().split()}
if a>x:
   print("0")
else:
   print("10")

x,a=map(int,input().split())
if x>=a :
   print("10")
else:
   print("0")

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = map(int, input().split)

if X < A:
  print(0)
else:
  print(10)

X, A = map(int, input().split())

if X < A:
  print(0)
else:
  print(10)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a,b= [int(i) for i in input().split()]
if x<a:print(0)
else:print(10)

x,a= [int(i) for i in input().split()]
if x<a:print(0)
else:print(10)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
k=[]
k=list(map(int,input().split())
if k[0]<k[1]:
       print("0")
else:
       print("10")

if __name__=="__main__":
    X,A=input().split()
    X=int(X)
    A=int(A)
    if X<A:
        print("0")
    elif X>=A:
        print("10")

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):

def main():
    x, a = map(int, input().split())
    if x < 0:
        print(0)
    elif x >= a:
        print(10i)
    

if __name__ == "__main__":
    main()



def main():
    x, a = map(int, input().split())
    if x < a:
        print(0)
    else:
        print(10i)
   

if __name__ == "__main__":
    main()



def main():
    x, a = map(int, input().split())
    if x < a:
        print(0)
    else:
        print(10)
   

if __name__ == "__main__":
    main()


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int(input()).split())
if x<a:
  print(0)
else:
  print(10)

x,a = map(int,input().split())
if x<a:
  print(0)
else:
  print(10)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int,input().split())
if x<a:
  print('10')
else:
  print('0')

x, a = map(input()).split()

if x<a:
  print('10')
else:
  print('0')
  

X, A = int(input()).split()

if X > A:
  print 0
elif !(X<A):
  print 10

x,a = map(int,input().split())
if x<a:
    print('0')
else:
    print('10')

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x, a = map(int, input().split())
if x < a:
  print(0)
else:
  print(10

x, a = map(int, input().split())
if x < a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n,x = map(int,input().split())
l = list(map(int,input().split()))
c = 1
D = 0
li = []
for i in range(1,n+1):
  D += l[i]
  if D <= x:
    c += 1
print(c)

x,a = map(int,input().split())

if x<a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,Y= [int(i) for i in input().split()]

if N < X:
	print(0)
else:
	print(10)


N,Y= [int(i) for i in input().split()]

if N < X:
	print(0)
else:
	print(10)


N,Y= [int(i) for i in input().split()]

if N < Y:
	print(0)
else:
	print(10)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X,A = int(input().split())
if X < A:
    print('0')
else:
    print('10')


X,A = (input().split())
if X < A:
    print('0')
else:
    print('10')


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
import std.stdio;

void main() {
  int X, A;
  readf("%d %d", &X, &A);
  writeln(X < A ? 0 : 10);
}

import sys


def solve(X: int, A: int):
    print(0 if X < A else 10)


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    A = int(next(tokens))  # type: int
    solve(X, A)

if __name__ == '__main__':
    main()


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int,input().split)

if x >= a:
  print('10')
else:
  print('0')

x,a = map(int,input().split())

if x >= a:
  print('10')
else:
  print('0')

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
W, H, x, y = map(int, input().split())

if x == W / 2 and y == H / 2:
  print((W * H) / 2, 1)
else:
  print((W * H) / 2, 0)

X, A = map(int, input().split())

if X < A: print(0)
else: print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
w, h, x, y = input().split()
w, h, x, y = int(w), int(h), int(x), int(y)
if (x==0) or (y==0) or (x==w/2) or (y==h/2) or (x==w) or (y==h):
    if (x==w/2) and (y==h/2):
        print(w*h/2, 1)
    else:
        print(w*h/2, 0)
else:
    if (x < w/2) and (y < h/2):
        p = (h-y)/(w-x)
        x_pos = (p*x-y)/p
        print((w-x_pos)*h/2, 0)
    elif (x > w/2) and (y < h/2):
        p = (h-y)/-x
        x_pos = (p*x-y)/p
        print(x_pos*h/2, 0)
    elif (x < w/2) and (y > h/2):
        p = -y/(w-x)
        x_pos = (h-y+p*x)/p
        print((w-x_pos)*h/2, 0)
    elif (x > w/2) and (y > h/2):
        p = y/x
        x_pos = (h-y+p*x)/p
        print(x_pos*h/2, 0)

x, a = input().split()
if x < a:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = map(int, input().split())
if X < A:
    print(0)
else:
    print(10)A

X, A = map(int, input().split())
if X < A:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N, X = map(int, input().split())
L = list(map(int, input().split()))

bound = [0]
for i in range(N):
    bound += [L[i] + bound[-1]]
    #print(bound)

#print(bound)

counter = 0
for i in bound:
    if i <= X:
        counter += 1
    else:
        break
print(counter)

X,A = map(int, input().split())

if X >= A :
    print(10)
else:
    print(0)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int,input().split())
if a >= x:
  print('10')
else:
  print(0)

x,a = map(int,input().split())
if x >= a:
  print(10)
else:
  print(0)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int, input().split())

if x >= a:
    print(0)
else:
    print(10)


x,a = map(int, input().split())

if x >= a:
    print(10)
else:
    print(0)


Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x, a = map(int, input())
if a<=x:
  print(10)
else:
  print(0)

x, a = map(int, input().split())
if a<=x:
  print(10)
else:
  print(0)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,X=map(int,input().split())
L=list(map(int,input().split()))
L.append(0)
L.sort()
for i in range(N+1):
  if sum(L[:i+1]) > X:
    print(i)
    break
  elif sum(L) =<X:
    print(N)
    break

X,A=map(int,input().split())
if X < A:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,K = map(int, input().split())
A_list = [int(i) for i in input().split()]


sum_tmp = 0
Answer = 0

if N==1 : Answer = 0

else :
    for i in range(N):
        sum_tmp = A_list[i]
        for j in range(i+1,N):
            sum_tmp += A_list[j]
            #print(sum_tmp)
            if sum_tmp < K:
                continue
            else:
                Answer += N - j
                #print('answer += {0:5d}'.format(N-j))
                break

print(Answer)

X,A = map(int, input().split())

if X < A:
    print("0")
else:
    print("10")
    

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a,b = int(input())
#lis = list(map(int,input().split()))
if a<b:
    print(0)
else:
    print(0)


a,b = int(input().split())
#lis = list(map(int,input().split()))
if a<b:
    print("0")
else:
    print("10")

a,b = int(input())
#lis = list(map(int,input().split()))
if a<b:
    print(0)
else:
    print(10)

a,b = int(input().split())
#lis = list(map(int,input().split()))
if a<b:
    print(0)
else:
    print(10)

a,b = map(int,input().split())
#lis = list(map(int,input().split()))
if a<b:
    print("0")
else:
    print("10")





Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a=input();
b=input();
if a<b:
    print(0);
else:
    print(10);

x,a=map(int,input().split())
if x<a:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x, a = map(int, input())
if x < a:
    print(0)
else:
    print(1)

from sys import stdin
n=input().split(' ')
if(int(n[0])>=int(n[1])):
    print('10')
else:
    print('0')

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a, x = int(input().split())
print("0" if x < a else "10") 

n, x = map(int, input().split())
l = list(map(int, input().split()))
d = 0
ans = 1

for i in range(n):
  d += l[i]
  if d < x:
    ans += 1
  else:
    break
    
print(ans)


n, x = map(int, input().split())
l = list(map(int, input().split()))
d = 0
ans = 1

for i in range(n):
  d += l[i]
  if d < x:
    ans ++;
  else:
    break
    
print(ans)

N, X = map(int, input().split())
L = list(map(int, input().split()))
D = 0
ans = 1

for i in range(N):
    D += L[i]
    if D <= X:
        ans += 1

print(ans)


x, a = map(int, input().split())
if x < a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = int(input())

if x > a:
  print(0)
else:
  print(10)

x,a = map(int, input().split())
 
if x > a:
  print(0)
else:
  print(10)

x,a = map(int, input().split())
 
if x < a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
def calcBoundCount(rangex, lstL):
    d = 0
    for i in range(0, len(lstL)):
        d = d + lstL[i]
        if rangex < d:
            return i + 1
    return len(lstL) + 1

N, X = map(int, input().split())
lstL = list(map(int, input().split()))

count = calcBoundCount(X, lstL)
print((count if count <= N+1 else N+1))

X,A = map(int, input().split())

res = (int)(10 if X>=A else 0)

print(res)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
import sys
sys.setrecursionlimit(10**7)
INF = 10 ** 18
MOD = 10 ** 9 + 7
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return input()
from collections import default

x ,a = LI()
if x>= a:
    print(10)
else:
    print(0)

  


import sys
sys.setrecursionlimit(10**7)
INF = 10 ** 18
MOD = 10 ** 9 + 7
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return input()

x ,a = LI()
if x>= a:
    print(10)
else:
    print(0)

  


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a, x = map(int,input().split())

if a>x:
  print(0)
else:
  print(10)

x,a = map(int,input().split())

if a>x:
  print(0)
else:
  print(10)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = list(map(int, input().split()))
if X < A:
  print(0)
elif X => A:
  print(10)
  
  


x, a = map(int, input().split())
print(19 x>=a else 0)

x, a = map(int, input().split())
print(10 if x>=a else 0)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X,A=map(int, input().split())
if X<A:
  print(0)
 else:
  print(10)

X,A=map(int, input().split())
if X<A:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a, b = map(int, input().split())
k = 1
s = 0
for i in map(int, input().split()):
    if s + i <= b:
        k += 1
    s += i
print(k)


a,b=map(int,input().split())
k = 1
s = 0
for i in map(int,input().split()):
    if s+i<=b:
        k+=1
    s+=i

x,y=map(int,input().split())
if x<y:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
i,j =map(int,input())
if i>=10:
  print(10)
else:
  print(0)

X, Y = map(int, input().split())
if X >= Y:
  print(10)
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
b, c = map(int, input().split())
if b<c:
  print("0")
else if:
  print("10")
  

b, c = map(int, input().split())
if b<c :
  print("0")
else if :
  print("10")
  


b, c = map(int, input().split())
num1 = 0
num2 = 10
if b<c:
  print(str(num1))
else:
  print(str(num2))
  


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):

#include <algorithm>
#include <cmath>

using namespace std;

int main(){
    int x, a;
    cin >> x >> a;
    if (x < a) cout << 0 << endl;
    else cout << 10 << endl;
}


x, a = map(int, input().split())
if x < a:
    print(0)
else:
    print(10)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
# coding: utf-8
# Your code here!
x,n=map(int,input().split())
l=input().split(" ")
c=0
ans=0
for i in range(x):
    t=int(l[i])
    if(c>n):
        break
    c+=t
    ans+=1
   
print(ans)
        

# coding: utf-8
# Your code here!
x,a=map(int,input().split())
ans=0
if(x>=a):
    ans=10
print(ans)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
w, h, x, y = map(int,input().split())
area=w*h/2
awee=0
if x==w/2 or y==h/2:
    awee=0
    if x==w/2 and y==h/2:
        awee=1
else:
    awee=0

print(str(area)+" "+str(awee))

x, a = map(int,input().split())
print(0) if x<a else print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,X = map(int,input().split())
L = list(map(int,input().split()))	

D=0
c=1

for i in range(N):
    D=D+L[i]
    if D<=X:
        c=c+1
    else: break

print(c)

x,y=map(int,input().split())
if x >= y:
  print(10)
else: print(0)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n,x = map(int,input().split())
l = list(map(int,input().split()))
count = 1
x1 = 0
for i in range(n):
  if x1 + l[i] <= x:
    count += 1
    x1 += l[i]
  else:
    print(count)
    exit()
print(count)  


X,A = map(int,input().split())
print(0 if X < A else 10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
if input() < input():
  print(0)
else :
  print(1)

x,a = map(int(input.split()))
if x<a:
  print(0)
else :
  print(10)

a,b = map(int,input().split())
if a < b:
  print(0)
else :
  print(10)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
import sys

w, h, x, y = input().split()
w = float(w)
h = float(h)
x = float(x)
y = float(y)
s=0

for i in range(100000000):
  a=i/1000
  if a<=h/w:
    cand=w*(a*w-2*a*x+2*y)/2
    s_cand=min(cand,w*h-cand)
    if s_cand>s:
      s=s_cand
  else:
    cand=h*(h+2*a*x-2*y)/(2*a)
    s_cand=min(cand,w*h-cand)
    if s_cand>s:
      s=s_cand
      
if w/2==x and h/2==y:
  print(w*h/2, 1)
else:
  print(s,0)

x, a = input().split()
x = int(x)
a = int(a)

if x < a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X,A = int(input())
if X >= A:
  print('10')
else:
  print("0")

X,A = map(int,input().split())
if X >= A:
  print('10')
else:
  print("0")

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
A = map(int, input().split(" "))
print([10, 0][A[0] < A[1]])

A = list(map(int, input().split(" ")))
print([10, 0][A[0] < A[1]])


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n = input()
print(n)

n = input()
m = n.split()

if m[0] < m[1]:
  print(0)
else:
  print(10)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
import sys

def input():
    return sys.stdin.readline()[:-1]

N, K = map(int, input().split())
a = list(map(int, input().split()))

from itertools import accumulate
count = 0
acum = list(accumulate(a))

for i in range(N-1, -1, -1):
    if acum[i] >= K:
        count += 1
    else:
        break

for i in range(N):
    for j in range(N-1, i, -1):
        s = acum[j]-acum[i]
        if s >= K:
            count += 1
        else:
            break

print(count)



X, A = map(int, input().split())

if(X < A):
    print(0)
else:
    print(10)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
l = list(map(input().split()))
x = l[0]
a = l[1]
if x < a:
  print('0')
else:
  print('10')

l = list(map(int, input().split()))
x = l[0]
a = l[1]
if x < a:
  print('0')
else:
  print('10')


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,X=map(int,input().split())
L=list(map(int,input().split()))
count=1
tmp=0
for i in range(N):
  tmp+=L[i]
  if tmp<=X:
    count+=1
print(count)

X, A = map(int,input().split())
if X < A:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
List = list(map(int,inport().split()))
if List[0] >= List[1]:
  print('10')
else:
  print('0')

List = list(map(int,inport().split()))
if List[0] >= List[1]:
  print(10)
else:
  print(0)

List = list(map(int,input().split()))
if List[0] >= List[1]:
  print(10)
else:
  print(0)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n,x=map(int,input().split())
L=list(map(int,input().split()))
#print(L)
D=0
B=[0]
C=[]
for i in range(len(L)):
  D=D+L[i]
  B.append(D)

for i in range(len(L)):
  if B[i]<=x:
    C.append(i)
  else:
    pass
#print(C)
print(min(n+1,len(C)))


X,A = list(map(int, input().split()))
if X<A:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X,A = map(int,input().split())
if X < A:
  print(X)
else:
  print('10')

X,A = map(int,input().split())
if X < A:
  print('0')
else:
  print('10')

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X,A=map(int,input().split())
if X<A:
  print(10)
else:
  print(0)

X,A=map(int,input().split())
if X<A:
  print(0)
else:
  print(10)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int,input().split())
print(0) if x<a else: print(10)

x,a = map(int,input().split())
print(0) if x<a else print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
count=0
a=0
n,x = map(int,input().split())
li = list(map(int,input().split()))
for i in range(n):
    if (a<=x):
        a=a+li[i]
        count+=1
print(count)

x,y = map(int,input().split())
if x<y:
	print(0)
else:
	print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
3 5

x, a = list(map(int, input().split(' ')))

if x < a:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
3 5
 
if X < A:
 print(0)
else:
 print(10)

X = 3
A = 5

X = 7
A = 5

X = 6
A = 6

if X < A:
 print(0)
else:
 print(10)

if X < A:
    print('0')
else:
    print('10')

# -*- coding: utf-8 -*-
 
X = input()
A = input()
 
if X < A:
 print(0)
else:
 print(10)

if X < A:
    print(0)
else:
    print(10)

X = 6
A = 6
 
if X < A:
 print('0')
else:
 print('10')

X = int(input())
A = int(input())

if X < A:
 print(0)
else:
 print(10)

X = int(input(7))
A = int(input(4))
 
if X < A:
 print(0)
else:
 print(10)

X = 9
A = 1
if X < A:
 print(0)
else:
 print(10)

# -*- coding: utf-8 -*-

if X < A:
　print('0')
else:
　print('10')

X = input()
A = input()

if X < A:
　print('0')
else:
　print('10')


X = 6
A = 6
 
if X < A:
 print('0')
elif A <= X:
 print('10')

if X < A:
　print('0')
else:
　print('10')

X = input()
A = input()

if X < A:
    print('0')
else:
    print('10')

X, A = map(int, input().split())
 
if X < A:
 print(0)
else:
 print(10)

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
w,h,x,y=map(int,input().split())
ans=0
if (2*x==w)&(2*y==h):
  ans=1
print((w*h)/2,ans)


w,h,x,y=map(int,input().split())
print((w*h)/2,(2*x==w)&(2*y==h))


X,A=map(int,input().split())
print(0) if X<A else print(10)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X = int(input())
A = int(input())

if A > X:
	print(0)
else:
	print(10)

X = int(input().strip())
A = int(input().strip())

if A > X:
	print(0)
else:
	print(10)

X, A = input().strip().split()
X, A = [int(X), int(A)]
if A > X:
	print(0)
else:
	print(10)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
W, H, x, y = map(int, input().split())
 
print((H * W) / 2, end=" ")
 
if W / 2 == x and H /2 == y:
    print(1)
else:
    print(0)

X,A = map(int, input().split())

if X < A:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
# -*- coding: utf-8 -*-

x, a = int(input()), int(input())

if x < a:
    print("0")
else:
    print("10")


# -*- coding: utf-8 -*-

x, a = map(int, input().split())

if x < a:
    print("0")
else:
    print("10")


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = map(int. input().split())

if X < A :
  print(0)
else :
  print(10)


X, A = map(int. input().split())

if X < A :
  print 0
else :
  print 10

X, A = map(int, input().split())

if X < A :
  print(0)
else :
  print(10)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = map(int, input().spilt())

if X < A:
    print(0)
else:
    print(10)

X, A = map(int, input().split())

if X < A:
    print(0)
else:
    print(10)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x, a = map(int, input().sprit().split())
if x < a:
  print(10)
else:
  print(0)

x, a = map(int, input().rstrip().split())
if x < a:
  print(10)
else:
  print(0)

n ,x = map(int, input().rstrip().split())
l = map(int, input().rstrip().split())
d=0
count = 1
for i in range(n):
    d += l[i]
    if d > x:
        continue
    count+=1
    
print(count)

x, a = map(int, input().rstrip().split())
if x < a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a=map(int,input().split())
if	x < a
	l = 0
if x >= a
	l = 10
print (l)   

n,x=map(int,input().split())
li=list(int,map(input().split()))
d=0
c=1
for l in li:
  	d=d+l
	if d>x:
		break
	
	c=c+1
print(c)

x, a=map(int, input().split())
if	x < a
	l = 0
else
	l = 10
print(l)

x,a=map(int,input()split())
if	x<a
	l=0
if x>=a
	l=10
print (l)   

x, a=map(int, input().split())
if	x < a
	l = 0
if x >= a
	l = 10
print (l)   

n,x=map(int,input().split())
li=input().split()
d=0
c=0
for l in li:
	if d>x:
		break
	d=d+l
	c=c+1
	
print(c)


n,x=map(int,input().split())
li=list(map(input().split()))
d=0
c=1
for l in li:
  	d=d+l
	if d>x:
		break
	
	c=c+1
print(c)


x, a=map(int, input().split())
if	x < a
	l = 0
else
	l = 10
print (l)   

n,x=map(int,input().split())
li=map(input().split())
d=0
c=1
for l in li:
  	d=d+l
	if d>x:
		break
	
	c=c+1
	
print(c)


x, a=map(int, input().split())
if	x < a:
	l = 0
else:
	l = 10
print(l)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x >= 0
x <= 9
a >= 0
a <= 9

if x < a 
  print(0)
else
  print(10)

x = int
a = int


 
if x < a:
  print(0)
else:
  print(10)

x = int(input())
a = int(input())
if x < a:
  print("0")
else:
  print("10")

x = input()
a = input()
y = int(x)
b = int(a)
 
 
 
 
if y < b:
  print(0)
else:
  print(10)

x = input()
a = intput()
 
 
 
 
if x < a:
  print("0")
else:
  print("10")

x = int
a = int



 
if x < a:
  print(0)
else:
  print(10)

X, A = map(int, input().split())

if X < A:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
y = [int(z) for z in input().split()]
l = [int(z) for z in input().split()]
d = [0]*(y[0]+1)
c = 0
for i in range(1,y[0]+1):
      d[i] = d[i-1]+l[i-1]
      if (d[i]<=y[1]):
            c+=1
print(c)


x,y = [int(x) for x in input().split()]

if (x<y):
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
import sys

if __name__ == '__main__':
  
  x, a = sys.argv[1].split(' ')
  if (x < a):
    printf('0')
  else:
    printf('10')

import sys                                                                      
 
if __name__ == '__main__':  
    x = sys.argv[1]
    a = sys.argv[2]
    if (x < a): 
        print('0')
    else:
        print('10')

import sys

if __name__ == '__main__':  
    x, a = sys.argv[1].split(' ')
    if (x < a):
        printf('0')
    else:
        printf('10')

import sys                                                                      
 
if __name__ == '__main__':
    s = input().strip().split(' ')
    x = int(s[0])
    a = int(s[1])
    if (x < a): 
        print('0')
    else:
        print('10')
 

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
a, b = map(int, input().split())
print(10 if a < b else 0)

x, a = map(int, input().split())
print(0 if x < a else 10)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a  = [int(e) for e in input().split()]
if x < a:
  return 0
else:
  return 10

x,a  = [int(e) for e in input().split()]
if x < a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x1 = list(map(int,input().rstrip().split(" ")))
x2 = list(map(int,input().rstrip().split(" ")))

def makey(x1,x2):
  total = 0
  for i in range(x1[0]):
    total += x2[i]
    if total > x1[1]:
      return i
    return x1[0]

y = makey(x1,x2)
print(y+1)


x1 = list(map(int,input().rstrip().split(" ")))
x2 = list(map(int,input().rstrip().split(" ")))

def makey(x1,x2):
  total = 0
  for i in range(x1[0]):
    total += x2[i]
    if total > x1[1]:
      return i
    return i
y = makey(x1,x2)
print(y+1)


y = list(map(int,input().rstrip().split(" ")))
X,A = y[0],y[1]
if X < A:
  print(0)
else:
  print(10)



Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n,a = map(int,input().split())
if a >= n:
  print("10")
else:
  print("0")

n,a = map(int,input().split())
if n < a:
  print("0")
else:
  print("10")



Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
W,H,x,y=map(int,input().split())

#case1
a=x*H
b=(W-x)*H

if a>=b:
    case1=b
else:
    case1=a

#case2
c=W*y
d=W*(H-y)

if c>=d:
    case2=d
else:
    case2=c

if case1==case2:
    z=1

else:
    z=0

print("{0:.6f}".format(max(case1,case2)),z)


W,H,x,y=map(str,input().split())

#case1
a=x*H
b=(W-x)*H

if a>=b:
    case1=b
else:
    case1=a

#case2
c=W*y
d=W*(H-y)

if c>=d:
    case2=d
else:
    case2=c

if case1==case2:
    z=1

else:
    z=0

print("{0:.9f}".format(max(case1,case2)),z)


x,a=map(int,input().split())

if x<a:
    print("0")

else:
    print("10")
    

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,X = list(map(int,input().split(' ')))
L = list(map(int,input().split(' ')))[:N]

p = 0
count = 1

for i in range(1,N):
    p += L[i]
    if p <= X:
        count += 1
print(count)


x,a = list(map(int,input().split(' ')))
if x < a:
  print(0)
else:
  print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int,input().split())
if x>a:
    print(0)
else:
    print(10)

x,a = map(int,input().split())
if x<a:
    print(0)
else:
    print(10)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
#ABC 130 B
N,X=map(int,input().split())
L= [int(j) for j in input().split()]
cnt=0
d = 0

for l in L :
    d+=l
    if d <= X:
        cnt+=1
    else:
        break
print(cnt+1)

# ABC 130
X ,A =map(int,input().split(" "))
if X < A:
    print(0)
elif A<=X:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
A,X =map(int,input().split())
if X < A:
  print(0)
else:
  print(10)

A,X =map(int,input().split())
if X < A :
  print(0)
elif:
  print(10)

A,X =map(int,input().split())
if X < A :
  print(0)
else:
  print(10)

X,A =map(int,input().split())
if X < A:
  print(0)
else:
  print(10)

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X,A = map(int,input().split())
if X < A :
    print(0)
elif X >= A
    print(10)

X,A = map(int,input().split())
if X < A :
    print(0)
elif X >= A:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = map(int, input().split())
if X < A:
    print(0)
else:
    print(10

X, A = map(int, input().split())
if X < A:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = input().split()
if (x>=a):
    answer = 10
else:
    answer = a
print(answer)

x,a = input().split()
if (x>=a):
    answer = 10
else:
    answer = 0
print(answer)


Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X,A = map(int,input().split())

if X > A :
	print(0)
else :
	print(10)

X,A = map(int,input().split())

if X < A :
	print(0)
else :
	print(10)

Verdicts: Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N, K = map(int, input().split())
a = L = list(map(int, input().split()))
count = 0
if sum(a) >= K:
    count +=1
for n in range(1,N):
    for i in range(N):
        if sum(a[i:i+n]) >= K:
            count += 1
print(count)

X, A = map(int, input().split())
if X >= A:
    print(10)
else:
    print(0)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n,k = map(int,input().split())
a = list(input().split())

s = [0] * n
count = 0
for i in range(n):
    for j in range(i,n):
        if j == i:
            a[i] = int(a[i])
            s[0] = a[j]
        else:
            a[j] = int(a[j])
            s[j-i] = a[j] + s[j-i-1]

        if s[j-i] >= k:
            count += n-j
            #print(count)
            #print(s)
            break


print(count)

a, x =map(int,input().split())
if a>=x :
  print(10)
  
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a=map(int,input().split())
if x>a:
    print(0)
else:
    print(10)

x,a=map(int,input().split())
if x<a:
    print(0)
elif:
    print(10)

x,a=map(int,input().split())
if x<a:
    print(0)
else:
    print(10)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n, x = map(int, input().split())
l = list(map(int, input().split()))

d=[0]
for i in range(1, n+1):
  d.append(d[-1]+l[i-1])
  
print(len([i for i in d if i <= x]))

x, a = map(int, input().split())

if x >= a:
  print(10)
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = (int, input().split())
print(10 if X>=A else 0)

X, A = map(int, input().split())
print(10 if X>=A else 0)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
import sys

argv=sys.argv

#print(argv)

x=int(argv[1])
a=int(argv[2])

if(x<a):
    print(0)
else:
    print(10)


import sys

#argv=sys.argv

#print(argv)

argv=input()
argv1,argv2=argv.split(" ")


x=int(argv1)
a=int(argv2)

if(x<a):
    print(0)
else:
    print(10)


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,X=map(int,input().split())
L=list(map(int,input().split()))
tmp=0
ans=1
for i in range(N):
	tmp+=L[i]
	if tmp>X:
		print(ans)
		exit()
	else:
		ans+=1
print(ans)

X,A = map(int,input().split())

if X<A :
	print(0)
else:
	print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
N,X = map(int, input().split())
L_i = list(map(int, input().split()))

D=[0, 0]
count=1
for n in range(N+1):
  D[1] = D[0] + L_i[n]
  if D[1] <= X:
    count += 1
    D[0] = D[1]
  else:
    break

print(count)

X, A = map(int, input().split())

if X < A:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
W,H,x,y = list(map(int,input().split(" ")))
print(W,H,x,y)

if x ==0 or x == W:
    tatemax = 0
    yokomax = W*H/2.0
if y== 0 or y == H:
    tatemax = W*H/2.0
    yokomax = 0
if x !=0 and x != W and y!= 0 and y != H:       
    if float(y) > float(H)/2.0:
        yokomax = float(W) * float((H-y))
    elif float(y) < float(H)/2.0:
        yokomax = float(W) * float(y)
    elif float(y) == float(H)/2.0:
        yokomax = float(W) * float(y)

    if float(x) > float(W)/2.0:
        tatemax = float(H) * float((W-x))
    elif float(x) < float(W)/2.0:
        tatemax = float(H) *float(x)
    elif float(x) == float(W)/2:
        tatemax = float(H) * float(x)
if yokomax == tatemax: 
    print('{:.12e}'.format(max(yokomax,tatemax)),'1')
else:
    print('{:.12e}'.format(max(yokomax,tatemax)),'0')


W,H,x,y = list(map(int,input().split(" ")))
#print(W,H,x,y)

if x ==0 or x == W:
    tatemax = 0
    yokomax = W*H/2.0
if y== 0 or y == H:
    tatemax = W*H/2.0
    yokomax = 0
if x !=0 and x != W and y!= 0 and y != H:       
    if float(y) > float(H)/2.0:
        yokomax = float(W) * float((H-y))
    elif float(y) < float(H)/2.0:
        yokomax = float(W) * float(y)
    elif float(y) == float(H)/2.0:
        yokomax = float(W) * float(y)

    if float(x) > float(W)/2.0:
        tatemax = float(H) * float((W-x))
    elif float(x) < float(W)/2.0:
        tatemax = float(H) *float(x)
    elif float(x) == float(W)/2:
        tatemax = float(H) * float(x)
if yokomax == tatemax: 
    print(max(yokomax,tatemax),'1')   
#    print('{:.12e}'.format(max(yokomax,tatemax)),'1')
else:
    print(max(yokomax,tatemax),'0')
#    print('{:.12e}'.format(max(yokomax,tatemax)),'0')


a = list(map(int,input().split()))
W = a[0]
H = a[1]
x = a[2]
y = a[3]
#W,H,x,y = list(map(int,input().split(" ").rstrip("")))
#print(W,H,x,y)

if x ==0 or x == W:
    tatemax = 0
    yokomax = W*H/2.0
if y== 0 or y == H:
    tatemax = W*H/2.0
    yokomax = 0
if x !=0 and x != W and y!= 0 and y != H:       
    if float(y) > float(H)/2.0:
        yokomax = float(W) * float((H-y))
        
    elif float(y) < float(H)/2.0:
        yokomax = float(W) * float(y)
        
    elif float(y) == float(H)/2.0:
        yokomax = float(W) * float(y)

    if float(x) > float(W)/2.0:
        tatemax = float(H) * float((W-x))
        
    elif float(x) < float(W)/2.0:
        tatemax = float(H) *float(x)
        
    elif float(x) == float(W)/2.0:
        tatemax = float(H) * float(x)
if W!=H:
    if yokomax == tatemax:
    #    print(max(yokomax,tatemax),'1')   
        print('{:.12e}'.format(max(yokomax,tatemax)),'1')
    else:
    #    print(max(yokomax,tatemax),'0')
        print('{:.12e}'.format(max(yokomax,tatemax)),'0')
elif W ==H:
    if x !=0 and x != W and y!= 0 and y != H:
        print('{:.12e}'.format(max(yokomax,tatemax)),'1')

x,a = list(map(int,input().split()))
if x < a:
    print(0)
elif x >= a:
    print(10)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x, a = map(int,rfile.readline().split())
if x<a:
    print(0)
    else:
    print(10)

x, a = map(int,input().split())
if x<a:
    print(0)
else:
    print(10)

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
import sys

X, A = list(map(int, input().split()))

if X and A >= 0:
    if X < A:
        print("0")
    elif X >= A:
        print("10")
if X and A <= 9:
    if X < A:
        print("0")
    elif X >= A:
        print("10")
else:
    sys.exit()

import sys

X, A = list(map(int, input().split()))

if X >= 9:
    sys.exit()
elif A >= 0:
    sys.exit()
elif X < A:
    print("0")
elif X >= A:
    print("10")

import sys

X, A = list(map(int, input().split()))

if 0 < X:
    sys.exit()
if A < 9:
    sys.exit()
if X < A:
    print("0")
if X >= A:
    print("10")

import sys
     
X, A = list(map(int, input().split()))
     
if X >= 9 and X <= 0:
    sys.exit()
if A >= 9 and A <= 0:
    sys.exit()
if X < A:
    print("0")
if X >= A:
    print("10")

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
n,x=map(int,input().split())
l=list(map(int,input().split()))
d=0
a=1
for i in range(n-1):
    a+=1
    d+=l[i]
    #print(d)
    if d>x:
        break


print(a)

x,a=map(int,input().split())
if x>=a:
    print('10')
else:
    print('0')


Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
X, A = matp(int,input().split())

if X < A:
	print(0)
else:
	print(10)

s=input();print(10*(s>=s[2]))

Verdicts: Runtime Error

Accepted
Problem: X and A are integers between 0 and 9 (inclusive).  If X is less than A, print 0; if X is not less than A, print 10.

Submission attempts (in order):
x,a = map(int,input())

print('0') if x<a else print('10')

x,a = map(int,input().split())

print('0') if x<a else print('10')


Verdicts: Runtime Error

Accepted