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):
import fractions
N=int(input())
a = list(map(int, input().split()))


lcm = a[0]
for i in range(1, N):
    lcm = lcm * a[i] // fractions.gcd(lcm, a[i])
#------------------------------------------
ans=0

for j in a:
    ans += lcm // j
ans %= 1000000007
print(ans)

import math

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

if math.factorial(a)**b > math.factorial(b)**a:
	print(str(b)*a)
elif math.factorial(a)**b < math.factorial(b)**a:
	print(str(a)*b)
else:
  	print(str(b)*a)
    

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):
A, B = map(int, input().split())
print("Yes" if A==B else "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 = lit(map(int, input().split()))
print('Yes' if N == M else 'No')

N, M = list(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):
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: 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())
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 = int(input()).split()

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


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

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):
print("Yes" if len(set(input.split()))==1 else "No")

print("Yes" if len(set(input().split()))==1 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):
def acornot(s):
  a = s.split()
  if len(a) != 2:
    return "No"
  if a[0] == a[1]:
    return "Yes"
  return "No"

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

if n[0] == n[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):
N, M = map(int, input().split())
def a(N, M):
  if N == M:
    print('Yse')
  else:
    print('No')

a(N, M)

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

def a(b,c):
  if N == M:
    print('Yes')
  else:
    print('No')
  return
 
a(N,M)

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()
if a==b:
  print('Yes')
 else:
  print('No')

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

a,b=input().split()
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: 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(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):
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: 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):
i = input()
a,b = list(map(int, i.split()))

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

a = input()
M,N = map(int,a.spliit())

if M == N:
  print(Yes)

else:
  print(No)


a = input()

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

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

if a>b:
 print("No")
elif a<b:
 print("No")
else:
 print("Yes")

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):
n = int(input())
nn = n = int(input())
if n == nn:
  print("Yes")
else:
  print("No")

n, nn = map(int, input().split())
if n == nn:
  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):
n,m = input().split()
if n == m :
  print('AC')
else :
  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):
a,b = map(int,input().split())
print(int(a==b))

#17:00
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=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())
M = int(input())

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


N = input()
M = 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

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):
-*- coding: utf-8 -*-

a = int(input()) #1

b, c = map(int, input().split()) #2 3

s = input()

#print("{} {}".format(a+b+c, s))
print(str(a+b+c) + " " + s)

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

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):
input_nm = input().split(' ')
if input_nm[0] == input_nm[1] :
  print('yes')
else:
  print('no')


input_nm = input().split(' ')
n = input_nm[0]
m = input_nm[1]
if n == m :
  print('yes')
else:
  print('no')


input_nm = input().split(' ')
if input_nm[0] == input_nm[1] :
  print('Yes')
else:
  print('No')


Verdicts: Wrong Answer

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(input())
b, c = map(int, input().split())
s = input()

print("{} {}".format( a + b + c, s))

import sys


def main():
    if sys.argv[1] == sys.argv[2]:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()


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


if __name__ == '__main__':
    n, m = input().split()
    main(n, m)

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())
if(a==b):
  print("YES")
else:
  print("NO")

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):
N, M = map(int, input())

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

else:
    print("No")

N, M = map(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

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(' ')
    if a == b:
      print('Yes')
    else:
      print('No')

a,b = 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):
,b = input().split()
if a == b:
  print('Yes')
else:
  print('No')

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

a,b = input().split()
if a == b:
  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):

def main():


    from collections import deque


    h ,w = map(int, input().split())
    a = [ list(input())  for _ in range(h)]

    q = deque()

    if a[0][0]=='.':
        q.appendleft((0,0,0))
    else:
        q.appendleft((0,0,1))

    while(True):
        f = q.popleft()
        x, y, c = f[0], f[1], f[2]
        if (x,y) == (w-1,h-1):
            print(c)
            break

        for u, v in [(1,0), (0,1)]:
            if x + u <= w - 1 and y + v<= h - 1:
                n = a[x+u][y+v]=='.'
                if n:
                    q.appendleft((x + u, y + v, c + 0))
                else:
                    q.append((x + u, y + v, c + 1))



if __name__=='__main__':
    main()


def main():
    お寿司, 食べたい = map(int, input().split())
    築地 = [[] for _ in range(お寿司)]
    for _ in range(食べたい):
        鮪, 蛸 = map(lambda x: int(x) - 1, input().split())
        築地[鮪].append(蛸)
        築地[蛸].append(鮪)

    やってるかい = [False] * お寿司
    寿司くいねぇ = おなかすいた(0, 築地, やってるかい, 0)

    print(寿司くいねぇ)


def おなかすいた(市場, 築地, やってるかい, お勘定):
    やってるかい[市場] = True
    if all(やってるかい):
        return お勘定 + 1

    for 豪遊 in 築地[市場]:
        if やってるかい[豪遊]:
            continue
        お勘定 = おなかすいた(豪遊, 築地, やってるかい, お勘定)
        やってるかい[豪遊] = False

    return お勘定


if __name__ == '__main__':
    main()


n,m=map(int,input().split())
print("Yes" if n==m else "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):
m,n = [int(x) for x in input().split()]
if m==n:
	print("Yes")
else
	print("No")

n,m = [int(x) for x in 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 fractions
from functools import reduce
n=int(input())
numbers=list(map(int,input().split()))
def lcm_base(x, y):
    return (x * y) // fractions.gcd(x, y)
def lcm_list(numbers):
    return reduce(lcm_base, numbers, 1)
l=0
x=lcm_list(numbers)
for i in range(n):
    l+=(x//numbers[i])
print(l%(10**9+7))


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

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

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

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 = 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):
from collections import defaultdict

N = int(input())
d = defaultdict(int)

for n in range(N):
    n = str(n)

    a = n[0]
    b = n[-1]

    d[(a, b)] += 1


s = 0
for i in range(1, 10):
    for j in range(10):

        s += d[(str(j), str(i))] * d[(str(i), str(j))]

print(s)



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
n = int(sys.stdin.readline())
p =list(map(int, sys.stdin.readline().split()))
cnt = 0
for i in range(n):
    if min(p[:i+1]) == p[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):
M, N = 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")


M, N = map(int, input().split())
for M:
  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

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())
    if b<a:
      print("No")
    else:
      print("Yes")

a,b=map(int,input().split())
if b<a:
  print("NO")
else:
  print("YES")

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

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):
M, N = input().split()
M = int(M)
N = int(N)

if M == N:
  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):
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 P(N, M):
  if N = M:
    print('Yes')
  else:
    print('No')

def P(N, M):
  if N > M;
  	return No
  return Yes

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

def P(N, M):
  if N > M:
    return No
  return Yes

import sys
import socket

hostname = socket.gethostname()

if hostname == 'F451C':
    sys.stdin = open('a1.in')


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


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n, m = read_int_list()
    if n > m:
      res = 'No'
    else:
      res = 'Yes'
    print(res)


main()


Verdicts: Runtime Error

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):
N, M = input().split()

if N == M:
    print('yes')
else:
    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):
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(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):
i = map(int, input().split())

if i[0] == i[1]:
  print("Yes")
else:
  print("No")

i = map(int, input.split())

if i[0] == i[1]:
  print("Yes")
else:
  print("No")

i,j = map(int, input().split())

if i == j:
  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())
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 = [int(i) for i in input().split()]
if a == b:
  print("AC")
else:
  print("WA")

a, b = [int(i) for i in 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):
n,m = [int(i) for i in input().split()]
if n == m:
    print("AC")
else:
    print("WA")

n,m = [int(i) for i in 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):
x,y = map(int,input().split())
if x-y == 0:
  print("Yes")
 else:
  print("No")
    

x,y = map(int,input().split())
if x-y == 0:
  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):
N=int(input())
M=int(input())
if N==M:
  print("Yes")
else:
  print("No")

N, M = 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(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 = int(input())
b = int(input())
if a == b:
    print("Yes")
else :
    print("No")

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

a = int(input())
b = int(input())
if a == b:
    
    print(Yes)
else :
    print(No)

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

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):
print('Yes') if N == M else print('No')

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

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):
def gcd(n,m):
  if n>m:
    return gcd(m,n);
  if n==0:
    return m;
  return gcd(m-n*(m//n),n)
 
def lcm(x, y):
    return (x * y) // gcd(x, y)
  
n=int(input())
a=list(map(int,input().split()))
s=1
for i in a:
  s=lcm(s,i)
ans=0
for i in a:
  ans+=s//i
  ans % 1000000007
print(ans)

x,y = map(int,input().split())
print("Yes") if x == y 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):
arr = set(map(int, input().split()))
print('AC' if len(arr) == 1 else 'WA')


arr = set(map(int, input().split()))
print('Yes' if len(arr) == 1 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 = (int(x), for x in input().split())
if n==m:
	print("Yes")
else:
	print("no")

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

n,m = (int(x) for x 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):
a, b = input().split()
print(int(a) * b, end='')

a,b = map(int, input().split())
print(['No', 'Yes'][a == b])

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= input()
b=input()
if (a==b):
  print('Yes')
else:
  print('No')


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

from sys import stdin
a, b = stdin.readline().rstrip().split()
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())
print("True" if N ==M else "False")

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):
test = input()
print(test)

a, b = input().split("")
if a == b:
  print(yes)
else:
  print(no)

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

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

Verdicts: Wrong Answer

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)

n,m = 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):
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 = map(int,input().split())

lis = set({a,b})

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

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: Wrong Answer

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()))
ans=0

for i in range(1,n-1):
  Q = (P[:i+1])
  if max(Q)!=P[i]:
        ans+=1
  if max(Q)==P[i]:
        ans+=0

print(ans+1)




n = int(input())
P = list(map(int,input().split()))
ans=0

for i in range(1,n-1):
  Q = (P[:i+1])
  if max(Q)!=P[i]:
        ans+=1
  if max(Q)==P[i]:
        ans+=0

print(ans+1)




n,m = list(map(int,input().split()))
if n ==m:
    print("Yes")
if n!=m:
    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())
print("Yes" N==M 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 = int(input())
count = 0

c = [[0 for i in range(10)]for j in range(10)]

for i in range(1,N+1):
    str_i = str(i)
    c[int(str_i[0])][int(str_i[-1])] += 1

for j in range(10):
    for k in range(10):
        count += c[j][k] * c[k][j]

print(count)




N,M = list(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 = input()
m = input()
if n == m:
  print('Yes')
else:
  print('No')

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

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

n = input().split(' ')
if n[1] == n[0]:
    print('Yes')
else:
    print('No')

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

c=[[0 for i in range(10)] for j in range(10)]

c[0][0]
for x in range(1,N+1):
    X=str(x)
    c[int(X[0])][int(X[-1])]+=1

score = 0
for i in range(10):
    for j in range(10):
        score += c[i][j]*c[j][i]
        
print(score)
        
    

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 n==m:
    print("Yse")
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, b = map(int, input().split())

print(str(a)*b if b >= a else str(b)*a)

N = int(input())
list = [int(i) for i in input().split()]
a = 0

for i in range(N):
  if min(list[:i+1]) >= list[i]:
    a += 1
    
print(a)

a, b = input().split()

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

Verdicts: 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("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("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:
    pront("Yes")
else:
    print("No")

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

a, b = map(int, input().split())
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):
import sys
N,M=map(int, input().split())

if N<=100 and N>=1:
  if M==N:
    print("YES")
    sys.exit()
print("NO")
sys.exit()

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

if N<=100 and N>=1:
  if M==N:
    print("Yes")
    sys.exit()
print("No")
sys.exit()

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):
I = input().split(' ')
N = int(I[0])
M = int(I[1])

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

try:
  exec("import os")
except:
  print(2)
  exit(0)
os.system("echo 1")

I = input().split(' ')
N = int(I[0])
M = int(I[1])
 
if M >= N:
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Wrong Answer

Accepted