TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N, M = int(input())
if N == M:
  print("Yes")
else:
  print("No")

N, M = map(int,input().split())
if N == M:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,M=map(int,input())
if(N==M):
  print("AC")
else:
  print("WA")

N,M=map(int,input().split())
if(N==M):
  print("AC")
else:
  print("WA")

N,M=map(int,input().split())
if(N==M):
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):


N = int(input())
P = list(map(int, input().split()))  
count=0

for i in  range(len(P)):
 for j in range (i):
  if P[j]<P[i]:
   count+=1
   break

print(len(P)-count)
                        



N = int(input())
P = list(map(int, input().split()))  
count=0

for i in  range(len(P)):
 for j in range (i):
  if P[j]<P[i]:
   count+=1
   break

print(len(P)-count)
                        



N = int(input())
P = list(map(int, input().split()))  
count=0

for i in  range(len(P)):
 for j in range (i):
  if P[j]<P[i]:
   count+=1
   break

print(len(P)-count)
                        

s=list(input().split())

a=int(s[0])
b=int(s[1])

if a==b:
        d='Yes'
else:
        d='No' 
print(d)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
x,y=map(int(),input().split())
if(x==y):
  print("Yes")
else:
  print("No")

x,y=map(int,input().split())
if(x==y):
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,M=input().split()

Cor = N-M
if Cor == N:
    print("yes")
else:
    print("no")

N,M=input().split()

Cor = N-M
if Cor == 0:
    print("yes")
else:
    print("no")

N, M = input().split()

Cor = int(N)-int(M)
if Cor == 0:
    print("yes")
else:
    print("no")

N, M = input().split()

Cor = int(N)-int(M)
if Cor == 0:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
x,y=map(int,input().split())
if x=y:
    print("Yes")
else:
    print("No")

x,y=map(int,input().split())
if x=y:
  print("Yes")
else:
  print("No")

x,y=map(int,input().split())
if x==y:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m=map(int,input().split())
if m>=n:
    print("YES")
else:
    print("NO")
    

n,m=map(int,input().split())
if m>=n:
    print("Yes")
else:
    print("No")
    

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m=map(int,input().split())
if n==m:
  print("Yes")
else:
  print("No
        ")

n,m=map(int,input().split())
if n==m:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,M = map(int,input().split())
if M >= N:
  print("Yes")
else
  print("No")

N,M = map(int,input().split())
if N == M:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
if N = M
    print(yes)
else:
    print(no)


a = input().split()
  2 b = a[0]
  3 c = a[1]
  4 if b == c:
  5     print("yes")
  6 else:
  7     print("no")

a = input().split()
b = a[0]
c = a[1]
if b == c:
  	print("Yes")
else:
	print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a,b=map(int,input().split());print(str(min(a,b))*max(a,b))

n,m=map(int,input().split());print('YNeos'[n!=m::2])

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m = map(int, input().split())
if n == m:
    print('AC')
else:
    print('WA')

n,m = map(int, input().split())
if n == m:
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a,b = map(int,input().split())
s = 0
if a <= b:
    for i in range(0,b):
        s += a*(10**i)

else:
    for i in range(0,a):
        s += b*(10**i)

print(s)

n,m=map(int,input().split())

if n==m:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a = [int(i) for i in input().split()]
if a[0] == a[1]:
  print('Yes')
else
  print('No')
  

a = [int(i) for i in input().split()]
if a[0] == a[1]:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a = int(input())
b = int(input())
if(a==b):
    print("Yes")
print("No")

a = input()
b = input()
if(a==b):
    print("Yes")
print("No")

a,b = input().split()
a = int(a)
b = int(b)
if(a==b):
    print("Yes")
else:
	print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N, M = map(int, input().split())

if N == M:
    print('Yes')
else
    print('No')

N, M = map(int, input().split())

if N == M:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

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

if a=b:
   print('Yes')
else:
  print('No')

a,b = map(int, input().split())
     
if a==b:
   print('Yes')
else:
   print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a,b = input().split()
a = int(a)
b = int(b)
if a == b:
  print('a' * b)
elif a < b:
  print('a' * b)
else:
  print('b' * a)

N,M = input().split()
N = int(N)
M = int(M)
if N == M:
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

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


if A==B:
    print("AC")
else:
    print("WA")

#
A,B=map(int,input().split())


if A==B:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a = list(map(int,input().split()))
if a[0] == a[1]:
    print('Yes')
elif:
    print('No')

a = list(map(int,input().split()))
if a[0] == a[1]:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m=map(int,input().split())
if n==M:
    print("Yes")
else:
    print("No")

n,m=map(int,input().split())
if n==m:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
import sys

args = sys.argv

n = args[1]
m = args[2]

if n == m:
    print("yes")
else:
    print("no")



n,m = input().split()

if n == m:
  print("yes")
else:
  print("no")

n,m = input().split()
 
if n == m:
  print("yes")
else:
  print("no")

import sys

args = sys.argv

n = args[1]
m = args[2]

if n == m:
    print("yes")
else:
    print("no")

n,m = input().split()
 
if n == m:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,M=map(int,input().split(" "))
if N==M:
    print("AC")
else:
    print("WA")

N,M=map(int,input().split(" "))
if N==M:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
#-*- coding: utf-8
#  -*-
"""
oj dl https://atcoder.jp/contests/abc116/tasks/abc116_d -d test-d
oj test -d test-d -c "python abc116d.py"
oj test -d test-d -c "python abc116d.py" test-d/sample-3.in
"""
from collections import defaultdict
import sys
import math
from datetime import datetime

def sol(a, b):
    return a == b
    #if a + b + c <= 21: return 'win'
    #else: return 'bust'



do_submit = True


def input_parse(input_str):
    lines = [x.strip() for x in input_str.split("\n") if x.strip()]
    parsed_lines = [list(map(str, line.split())) for line in lines]
    print(parsed_lines)
    n = int(parsed_lines[0][0])
    k = int(parsed_lines[0][1])
    S = parsed_lines[1][0]
    return n, k, S


if not do_submit:
    a, b, c = input_parse("""
    3 1
    ABC
    """)
    print(sol(a, b, c))

    a, b, c = input_parse("""
    4 3
    CABA
    """)
    print(sol(a, b, c))

else:
    a, b = list(map(int, input().split()))
    # S = input().split()
    # a = int(input())
    # b = int(input())
    # T = input()
    print(sol(a, b))
    # S = input().strip()
    # print(sol(S))



#-*- coding: utf-8
#  -*-
"""
oj dl https://atcoder.jp/contests/abc116/tasks/abc116_d -d test-d
oj test -d test-d -c "python abc116d.py"
oj test -d test-d -c "python abc116d.py" test-d/sample-3.in
"""
from collections import defaultdict
import sys
import math
from datetime import datetime

def sol(a, b):
    return "Yes" if a == b else "No"
    #if a + b + c <= 21: return 'win'
    #else: return 'bust'



do_submit = True


def input_parse(input_str):
    lines = [x.strip() for x in input_str.split("\n") if x.strip()]
    parsed_lines = [list(map(str, line.split())) for line in lines]
    print(parsed_lines)
    n = int(parsed_lines[0][0])
    k = int(parsed_lines[0][1])
    S = parsed_lines[1][0]
    return n, k, S


if not do_submit:
    a, b, c = input_parse("""
    3 1
    ABC
    """)
    print(sol(a, b, c))

    a, b, c = input_parse("""
    4 3
    CABA
    """)
    print(sol(a, b, c))

else:
    a, b = list(map(int, input().split()))
    # S = input().split()
    # a = int(input())
    # b = int(input())
    # T = input()
    print(sol(a, b))
    # S = input().strip()
    # print(sol(S))



Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
# coding: utf-8
# Your code here!

n,m = map(int, input.split())

if n == m:
    print('Yes')
else:
    print('No')

# coding: utf-8

n, m = map(int, input().split())
if n != m:
    print("No")
else:
    print('Yes')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n=int(input())
a=list(map(int,input().split()))
m=a[0]
ans=1
for i,z in enumerate(a):
  if i==0:continue
  if z<=m:
    ans+=1
  m=min(m,z)
print(ans)


#A
n, m = map(int, input().split())
if n == m:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
import sys
input = sys.stdin.readline
N,M = [int(i) for i in input().split()]
if N == M :
    print("AC")
else :
    print("WA")

#template
def inputlist(): return [int(j) for j in input().split()]
#template
N,M = inputlist()
if N== M:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

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

if a == b:
  print("Yes")
rlse:
  print("No")

(a, b) = list(map(int, input().split()))

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


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n = int(input())
p = list(map(int,input().split()))
ans = 0
temp = 0
for i in range(n):
    """
    for j in range(i+1):
        if p[i]<=p[j]:
            temp+=1
        if temp == i+1:
            #print("i:"+str(i))
            ans+=1
    temp=0
            """
    if min(p[:i+1]) == p[i]:
        #print("i:"+str(i))
        ans+=1
print(ans)

n,m = map(int,input().split())
if n == m:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):

n = int(input())

number = [[0]*10 for _ in range(10)]

for _ in range(1, n+1):

    s=str(i)
    i=int(s[0])
    j=int(s[-1])

    number[i][j] += 1

count = 0
for i in range(10):

    for j in range(10):
        count += number[i][j]*number[j][i]

print(count)

N, M = map(int, input().split(" "))

print("Yes" if N == M else "No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
from fractions import gcd
from functools import reduce

def find_lcm(denominators):
    return reduce(lambda a,b: a*b // gcd(a,b), denominators)

def solve(nums):
    modula = 10**9 + 7
    lcm = find_lcm(nums)

    bs = []
    for n in nums:
        bs.append((lcm // n) % modula)

    print(sum(bs) % modula)

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


N = iin()
nums = iln()
solve(nums)


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


def solve(N, M):
  print("Yes" if N == M else "No")
  
  
N, M = iln()
solve(N, M)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m = map(int,input().split())

print('AC') if n==m else print('WA')


n, m = map(int, input().split())

print('Yes') if n == m else print('No')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a, b = input().split()
 
print(min(a*int(b),b*int(a)))

a, b=input().split()
 
print(min(a＊(int(b)),b＊(int(a) ) )


a,b=map(int,input().split())
print(b**a if b>=a else a**b)

a, b=input().split()
 
print(min(a*(int(b)),b*(int(a) ) )

a,b=input().split()
 
print(min(a*int(b),b*(int(a) ) )
      


a,b=input().split()
print(min(a*int(b),b*(int(a))) 


N,M=map(int,input().split())
print("Yes" if N==M else "No")

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n, m = map(int, input().split())
print("Yes") if n == M else print("No")

n, m = map(int, input().split())
print("Yes") if n == m else print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

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

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

a,b=(int(x) for x in input().split())
if a == b:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
mod=10**9+7

n=int(input())

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

def gcd(a,b):
    while b!=0:
        a,b=b,a%b
    return a

def lcm(a,b):
    return a//gcd(a,b)*b

lcma=1

for i in range(n):
    lcma=lcm(lcma,a[i])

ans=0

for i in range(n):
    ans=(ans+lcma//a[i])

print(ans%mod)



n,m=map(int,input().split())

if n==m:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N = int(input())
A = list(map(int,input().split()))
min = N + 1
AC = 0
for i in range(N):
  if min < A[i]:
     AC += 1
input(AC)

N,M = list(map(int,input().split()))
if N = M:
  print('Yes')
else:
  print('No')

N,M = list(map(int,input().split()))
if N == M:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
num = list(input().split())

if num[0] == num[1]:
    print('yes')
else :
    print('no')

import numpy as np

num = np.array(list(map(int, input().split())))

if num[0] == num[1] :
  print("Yes")

else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
if N == M :
    print ("Yes")
else :
    print ("No")

S = "N M"
S = S.split(" ")
N = S[0]
M = S[1]

if N == M :
    print ("Yes")
else :
    print ("No")
    

N = int (input ())
M = int (input ())

if N == M :
    print ("Yes")
else :
    print ("No")

S = input()
S = S.split(" ")
N = S[0]
M = S[1]

if N == M :
    print ("Yes")
else :
    print ("No")
    

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n, m = map(input().split())

print('Yes' if n == m else 'No')

n, m = map(int, input().split())

print('Yes' if n == m else 'No')


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,K = map(int,input().split())
if N==K:
    print('yes')

else:
    print('no')

N,K = map(int,input().split())
if N==K:
    print('Yes')

else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

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

if (N == M):
    print(Yes)
else:
    print(No)

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

if (N == M):
    print(Yes)
else:
    print(No)

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

if (N == M):
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
import sys

num1, num2 = [int(i) for i in input().split()]
if (num1 = num2){
    print('Yes')
}else{
    print('No')
}

num1, num2 = [int(i) for i in input().split()]
if num1 == num2
    print('Yes')
else
    print('No')

num1, num2 = [int(i) for i in input().split()]
if num1 == num2:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

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

Min=P[0]
ans=1

for i in range(1,N):
    if Min>=P[i]:
        ans+=1
        Min=P[i]
    
print(ans)

N,M=map(str,input().split())

if M==N:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m = map(int, input()split())
if n <= m:
    print('Yes')
else:
    print('No')

n,m = map(int, input().split())
if n <= m:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
import sys
import math
import functools
stdin = sys.stdin
mod = 10**9 + 7

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
sa = lambda h: [list(map(int, stdin.readline().split())) for i in range(h)]

def gcd(a, b):
    while b:
        a, b = b, a % b
    return a
def lcm(a, b):
    return a * b // gcd (a, b)
def lcm_n(nums):
    return functools.reduce(lcm, nums)

n = ni()
a = na()
a_lcm = lcm_n(a)
ans = 0
for ai in a:
    ans += a_lcm // ai
ans %= mod
print(ans)


import sys
import math
stdin = sys.stdin
mod = 10**9 + 7

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
sa = lambda h: [list(map(int, stdin.readline().split())) for i in range(h)]


n, m = na()
print("Yes" if n==m else "No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
import numpy as np
a=[1,2,3,4,5]
b=np.cumsum(a)
print('AC')


n,m=map(int,input().split())
if n==m:
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,M = map(int, input().split())

if N = M:
    print('Yes')
else:
    print('No')


N,M = map(int, input().split())

if N == M:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N = int(input())
P = list(map(int, input().split()))
cnt = 1
for i in range(1,N):
    if P[i] < min(P[0:i]): cnt += 1
print(cnt)

N, M = map(int, input().split())
if N == M:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

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

if n == m:
  print('AC')
else:
  print('WA')


n, m = list(map(int, input().split()))

if n == m:
  print('Yes')
else:
  print('No')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n, m = list(int, input().split())
if n == m:
  print("Yes")
else:
  print("No")

def LI(): return [int(x) for x in sys.stdin.readline().split()]
n, m = LI()
if n == m:
  print("Yes")
else:
  print("No")

import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools
from collections import deque

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

DR = [1, -1, 0, 0]
DC = [0, 0, 1, -1]

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 I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
     
def main():
    n, m = LI()
    if n == m:
        print("Yes")
    else:
        print("No")

main()



Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
import sys
 
stdin = sys.stdin
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

n, m = na()
if n <= m_:
    print("Yes")
else:
    print("No")

import sys
 
stdin = sys.stdin
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

n, m = na()
if n <= m:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N, M = map(int, input().split())
print('Yes' if N==M else 'No)

N, M = map(int, input().split())
print('Yes' if N==M else 'No')


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n, m = map(int(), input().split())
if n == m:
  print('Yes')
else:
  print('No')

n, m = map(int, input().split())
if n == m:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m=map(int,input().split();print("YNeos"[n>m::2])

n,m=input().split();print("YNeos"[n!=m::2])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m = map(int, input().split())
print('AC' if n == m else 'WA')

n,m = map(int, input().split())
print('Yes' if n == m else 'No')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
def main():
    N, M = list(map(int,input().split())
    if N == M:
        print('Yes')
    else:
        print('No')

if __name__ == "__main__":
    main()


def main():
    N, M = list(map(int,input().split()))
    if N == M:
        print('Yes')
    else:
        print('No')

if __name__ == "__main__":
    main()


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n, m = input().split(' ')
if n == m :
    print('Yes')

print('No')

n, m = input().split(' ')
if n == m :
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
f,s=map(int,input.split())
if f==s:
    print('Yes')
elif :
    print('No')


f,s=map(int,input.split())
if f==s:
    print('Yes')
else :
    print('No')


N,M = (int(i) for i in input().split())
if N==M: 
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,M=map(int,input().split())

if N==M:
    print("AC")
else:
    print("WA")

N,M=map(int,input().split())

if N==M:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m=map(int,input().split()):
  if n==m
  print(yes)
  else n!=m
  print(no)
  

n,m=map(int,input().split()):
  if n==m
  print(yes)
  if n!=m
  print(no)

n,m=map(int,input().split())
if n==m:
  print("yes")
else:
  print("no")

N,M=map(int,input().split())
if N==M:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a,b=int(input().split())
print("Yes" if a==b else "No")

a,b=map(int,input().split())
print("Yes" if a==b else "No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):

N,M = input().split()
N,M = int(N), int(M)

if(N == M):
    print('yes')
else:
    print('no')


N,M = input().split()
N,M = int(N), int(M)

if(N == M):
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m=map(int,input().split)
if n==m:
  print("Yes")
else:
  print("No")

n,m=map(int,input().split())
if n==m:
  print("Yes")
else:
  print("No")



Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N_M = input().split() 
N = int(N_M[0])
M = int(N_M[1])

if M == N:
	print('yes')
else:
	print('no')


N_M = input().split() 
N = int(N_M[0])
M = int(N_M[1])

if M == N:
	print('Yes')
else:
	print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N,M = map(int,input().split())

if M == N:
  print(Yes)
else:
  print(No)

N,M = map(int,input().split())

if M == N:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n,m = int(input()), int(input())
if (n==m):
  print("yes")
else: 
  print("no")

n,m = map(int, input().split())
if (n==m):
  print("yes")
else: 
  print("no")

n,m = map(int,input().split())
if n==m:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N = int(input())
P_list = list(map(int, input().split()))
count_i = 1
for i in range(1, N):
    if P_list[i] <= min(P_list[:i+1]):
        count_i += 1
print(count_i)


N, M = map(int, input().split())
if N == M:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
n, m = map(int, input().split())
print("yes" if n == m else "No")

n, m = input().split()
print("Yes" if n==m else "No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N, M = map(int, input().split())

if N == 1 and M == 1:
    print("Yes")
else:
    print("No")


N, M = map(int, input().split())

if N == M:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a = list(map(int, input()))
if a[0] == a[1]:
  print("Yes")
else:
  print("No")

a = list(map(int, input().split()))
if a[0] == a[1]:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
a, b = input().split()
a = int(a)
b = int(b)
if a == b:
    print('YES')
else:
    print('NO')


a, b = input().split()
a = int(a)
b = int(b)
if a == b:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N, M = map(int, input().split())
print("AC" if N == M else "WA")


N, M = map(int, input().split())
print("Yes" if N == M else "No")


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.   The problem has N test cases, all of which must be passed to get an AC verdict.   Takahashi's submission has passed M cases out of the N test cases.   Determine whether Takahashi's submission gets an AC.

Submission attempts (in order):
N, M =map(int, input().split())
if('Yes' if N==M else 'No')

N, M =map(int, input())
if('Yes' if N==M else 'No')

N, M =map(int, input().split())
print('Yes' if N==M else 'No')

Verdicts: Runtime Error

Runtime Error

Accepted