TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a,b,c,d = map(int, input().split())
if a >=0:
    if c > 0:
        print(b * d)
    elif d < 0:
        print(a * d)
    else:
        print(b*d)
else:
    if c > 0:
        print(b * c)
    elif d < 0:
        print(a * c)
    else:
        print(b * c)

a,b,c,d = map(int, input().split())
if a >=0:
    if c > 0:
        print(b * d)
    elif d < 0:
        print(a * d)
    else:
        print(b*d)
else:
    if c > 0:
        print(b * c)
    elif d < 0:
        print(a * c)
    else:
        print(b * c)

x = int(input())
if x==1:
    print("0")
else:
    print("1")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
import random


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


def lcm(a, b):
    return (a * b) / gcd(a, b)
x=input()
if x==1:
    print('0')
else:
    print('1')

import random


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


def lcm(a, b):
    return (a * b) / gcd(a, b)
# a=list(map(int , input().split()))
# ans=-1

#     for j in range(i+1,4):
#         if ans==-1:
#             ans=a[i]*a[j]
#         else:
#             ans=max(ans, a[i]*a[j])
# print(ans)
x=int(input())
if x==1:
    print(0)
else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if int(input()) == 1:
  print(0)
else:
  print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

a = int(input())
if a != 0:
    print(0)
else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=input()
if x==1:
  	print("0")
elif x==0:
  	print("1")
    

x=int(input())
if x==1:
  	print(0)
elif x==0:
  	print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
X = int(input())
if X == "0":
    print("1")
elif X == "1":
    print("0")

X = int(input())
if X == 0:
    print("1")
elif X == 1:
    print("0")

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
def(x)
 if x == 1
  return 0
return 1

x = int ( input() )
if x==1:
  print (0)
  
else :
  print (1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
s = input()
if s==1:
  print('0')
elif s==0:
  print('1')

s = int(input())
if s == 1:
  print(0)
else:
  print(1)


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()
if X == "1":
    print("0")
else:
    print("1")

X = input()
if X == "1":
    print("0")
else:
    print("1")

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()
if x == 0:
    print(1)
elif x == 1:
    print(0)

x = input()
x = input()
if x == 0:
    print(1)
elif x == 1:
    print(0)

x = int(input())
if x == 0:
    print(1)
elif x == 1:
    print(0)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
A = input()
B = A.split()
a = int(B[0])
b = int(B[1])
c = int(B[2])
d = int(B[3])

if a <= 0 and b <= 0 and c <= 0 and d <= 0:
    print(a*c)
elif a > 0 and b > 0 and c > 0 and d > 0:
    print(b*d)
elif a > 0 and b > 0 and c<=0 and d<=0:
    print(a*d)
elif a<=0 and b<=0 and c>0 and d>0:
    print(b*c)
elif a<=0 and b<=0 and c<=0 and d>0:
    print(a*c)
elif a>0 and b>0 and c<=0 and d>0:
    print(b*d)
elif a <= 0 and b > 0:
    if c <= 0 and d > 0:
        if -c <= d and -a <= b:
            print(d*b)
        elif -c <= d and -a > b:
            if a*c > b*d:
                print(a*c)
            elif a*c <= b*d:
                print(b*d)
        elif -c > d and -a <= b:
            if a*c > b*d:
                print(a*c)
            elif a*c <= b*d:
                print(b*d)
        elif -c > d and -a > b:
            print(a*c)
    elif c> 0 and d <= 0:
        print()
    elif c<=0 and d<=0:
        print(a*c)

x = int(input())
if x == 1:
    print(0)
elif x == 0:
    print(1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

tmp = 0
if(len(a) != 4):
    exit()
if(a[0] > a[1]):
    tmp = a[1]
    a[1] = a[0]
    a[0] = tmp

if(a[2] > a[3]):
    tmp = a[3]
    a[3] = a[2]
    a[2] = tmp
a_len = list(range((a[0]), a[1] + 1))
b_len = list(range((a[2]), a[3] + 1))

max = -100000
print(a_len, b_len)
for str1 in a_len:
    for str2 in b_len:
        if(str1 * str2 > max):
            max = str1 * str2
print(max)


a = int(input())
if(a == 0):
  print(1)
else:
  print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

n = int(input())
print(int(not n))


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
  1 s = int(input())
  2
  3 if s == 1:
  4     print('0')
  5 elif s == 0:
  6     print('1')

s = int(input())

if s == 1:
    print(0)
elif s == 0:
    print(1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = int(input())
if x == 1:
    print("1")
else:
    print("0")

x = int(input())
if x == 1:
    print("0")
else:
    print("1")

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
import math
print(math.floor(int(input())/1))

print(1-int(input()))

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
if x == 0:
    print(1)
elif x == 1:
    print(0)

x = int(input())
if x == 0:
    print(1)
elif x == 1:
    print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

a=int(input())
if a==1:
  print(0)
else:
  print(1)


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a,b,c,d = map(int,input().split())
ans = -float("INF")

x = for x in (a,b):
  for y in (c,d):
    ans = max(ans,X*y)
print(ans)

x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()
if x == 0:
    print(1)
elif x == 1:
    print(0)
else:
    pass

x = input()
if x == 0:
    print(1)
elif x == 1:
    print(1)

x = input()
if x == 0:
    print(1)
elif x == 1:
    print(1)
else:
    pass

x = int(input())

if x == 0:
    print("1")
elif x == 1:
    print("0")
else:
    pass

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if(x == 0):
    print('1')
elif(x == 1):
    print('0')
else:

x = int(input())

if(x == 0):
    print('1')
elif(x == 1):
    print('0')
else:
    pass

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(x^1)

x = input()
print(x^1)

x = int(input())
print(x^1)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=int(input())
if x==1:
  print("0")
else:
  print("1!)

x=int(input())

if x==1:
  print("0")
else:
  print("1")

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if 1 == int(input()):
  print(0)
else:
  print(1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=int(input())
if(x==1):
  print(0)
 elif(x==0):
  print(1)

print(int(not(int(input()))))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
print(x^1)

x = int(input())
pint(x^1)

x = int(input())
if x==1:
  print(0)
else:
  print(1

x = int(input())
print(x^1)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()

if x == 1:
  print(0)
else:
  print(1)

x = int(input())

if x == 1:
    print(0)
else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

a, b, c, d = map(int, input().split())
print(max([a*c, a*d, b*c, c*d]))

x = int(input())
print(1 if x == 0 else 1)

x = int(input())
print(1 if x == 0 else 0)

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
num = int(input())
if num == 1:
  print(0)
 else:
  print(1)


num = int(input())
if num == 1:
  print(1)
 else:
  print(0)


num = input()
if num == 1:
  print(1)
 else:
  print(0)

def _print():
  a = int(input())
  print(1 if a == 0 else 0)

if __name__ = '__main__':
  _print()

def _print():
  a = int(input())
  print(1 if a == 0 else 0)

if __name__ == '__main__':
  _print()


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
if n == 1:
  print(1)
elif n == 0:
  print(0)

n = int(input())
if n == 1:
  print(0)
elif n == 0:
  print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
xy = [map(int, input().split()) for _ in range(n)]
x, y = [list(i) for i in zip(*xy)]

a = 0
for i in range(0,n):
    for j in range(1,n-i):
        c = abs(x[i] - x[i + j]) + abs(y[i] - y[i + j])
        print(c)
        if a >= c:
            a = a
        else:
            a = c
print(a)

    

n = int(input())
if n == 0:
    print("1")
else:
    print("0")

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a=int(input())
print(not a )

a=int(input())
if a:
  print(1)
else:
  print(0)

a=int(input())
if (not a):
  print(1)
else:
  print(0)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if x == 0:
    print(1)
els:
    print(0)

x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
if x==0:
  return 1
elif x==1:
  return 0
else:
  break

x=int(input())

if x==0:
  print(1)
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
import sys
x=int(sys.argv)

print ([0 if i==1 else 1 for i in x])

x=int(input())
print (0 if x==1 else 1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()
if x == 0:
  print(1)
elif x==1:
  print(0)

x = int(input())
if x==0:
  print(1)
elif x==1:
  print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
def in(x):
	if x == 0:
		return 1
    if x == 1:
		return 0
x = int(input())
print(in(x))

x = int(input())
if x == 0:
  print(1)
if x == 1:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=int,input()
if(x==1):
  print(0)
elif(x==0):
  print(1)


x=int(input())
if(x==1):
  print(0)
elif(x==0):
  print(1)


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
if x==0:
  return 1
else:
  return 0

if x=0:
  return 1
else:
  return 0

x=input()

if x==0:
  print(x+1)
elif x==1:
  print(x-1)


if x==0:
  return 1
elif x==1:
  return 0

if x==0:
   print (1)
elif x==1:
   print(0)

x=input()

if x==1:
  print(0)
else:
  print(1)


x=input()

if x>0.5:
  print(0)
elif x<0.5:
  print(1)


x=int(a)
if a==0:
  return 1
elif a==1:
  return 0

x=input()

if x==0:
  print(1)
elif x==1:
  print(0)

x=int(a)
if a==0:
   print (1)
elif a==1:
   print(0)

x=int(input())

if s==0:
  print( 1)
elif s==1:
  print( 0)

x=int(input())
s=input()
if s==0:
  return 1
elif s==1:
  return 0

x=int(input())

if x==0:
  return 1
elif x==1:
  return 0

x=int(input())

if s==0:
  return 1
elif s==1:
  return 0

x=int(input())

if x==0:
  print(1)
elif x==1:
  print(0)


Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()

if x==0:
  print(1)
elif x == 1:
  print(0)

x = int(input())

if x==0:
  print(1)
elif x == 1:
  print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
s = int(input())
if s != 0:
  print("1");
else:
  print("0");

s = int(input())
print(s, type(s))
if s != 0:
  print("0");
else:
  print("1");

s = input()
if s != "0":
  print("1");
else:
  print("0");

s = int(input())

if s != 0:
  print("0");
else:
  print("1");

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a, b, c, d = map(int, input().split())
 
print(max(a * c, b * d, a * d, b * c))

x = int(input())

print(int(x == 0))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print("0" if int(input()) == "1" else "1")

x = int(input())
if(x == 0):
  print(1)
else:
  print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if x == 0:
    print('0')
else:
    print('1')

x = int(input())

if x == 0:
    print('1')
else:
    print('0')

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=int(input())
if x==0:
    print(1)
elif x==1:
    print(0)
else:
    break

x=int(input())
if x==0:
    print(1)
elif x==1:
    print(0)


Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

x=int(input())
if x==1:
    print(0)
else:
    print(1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()
if x == 0:
    print("0")
else:
    print("1")

x = bool(int(input()))
a = not x
print(int(a))

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=int(input())
if x=0:
  print("1")
else:
  print("0")

x=input()
if x=0:
  print("1")
else:
  print("0")

x=input()
if x=0:
  print(1)
else:
  print(0)

x=input()
if x=0:
  print(1)
else:
  print(0)

x=int(input())
if x==0:
  print(1)
else:
  print(0)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n=int(input().split())
if n==1:
  print(0)
else:
  print(1)

n=int(input())
if n==1:
  print(0)
else:
  print(1)


Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

a = input()
if int(a) == 1:
    print(0)
else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = import()

if x == 0:
    print(1)

else:
    print(0)

x = int(import())

if x == 0:
    print(1)

else:
    print(0)

x = int(input())

if x == 0:
    print(1)

else:
    print(0)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=int(input())
if x==0:
    print('1')
else:
    print('0

x=int(input())
if x==0:
    print('1')
else:
    print('0')

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = int(input())
if x = 1:
  print("0")
if x = 0:
  print("1")

x = input()
x = int(x)
if x == 1:
    print("0")
else:
    print("1")

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=str(input())
if x==1:
  print("0")
elif x==0:
  print("1")

x=input("xを入力してください")
if x==1:
  print("0")
elif x==0:
  print("1")

x=input(xを入力してください)
if x==1:
  print("0")
 elif x==0:
  print("1")

x=include("xを入力してください")
if x==1:
  print("0")
else:
  print("1")

x=input()
if x==1:
  print("0")
elif x==0:
  print("1")
else:
  break

x=int(input())
if x==1:
  print("0")
if x==0:
  print("1")

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(abs(1-input()))


print(abs(1-int(input())))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = int(input())
print(not(x))

x = int(input())
if x==0:
	print(1)
else:
	print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = int(input('0か１を入れてください'))
if x == 0:
    print(1)
elif x == 1:
    print(0)

x = int(input())
if x == 0:
    print(1)
elif x == 1:
    print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
C:\Users\satosyuuta\Anaconda3\python.exe C:/Users/satosyuuta/PycharmProjects/untitled/xtb/AtCorder/test.py
0
1

Process finished with exit code 0


N = int(input())
if N == 1:
    print(int(0))
else:
    print(int(1))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
if x == 1:
	print(0)
else:
	print(1)

def ri():
    return int(input())


def rii():
    return [int(v) for v in input().split()]


def solve(x):
    return 0 if x else 1


if __name__ == "__main__":
    print(solve(ri()))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
i = int(input())
if i = 0:
  print(1)
elif i = 1:
  print(0)
  
else:
  pass

x = int(input())
if x>=0:
  print(1)
else:
  print(0)

x = int(input())
if 0<=x:
    print(1)
elif x<=1:
    print(0)
else:
    pass

x = int(input())
if x==0:
    print(1)
else:
    print(0)

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a = input()
if a == 0:
    print(1)

if a == 1:
    print(0)


a = input()
print(!a)

a = input()
if a == 0:
    print(1)

if a == 1:
    print(0)


a = int(input())
if a == 0:
    print(1)

if a == 1:
    print(0)

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(1 - int(input())

print(1 - int(input()))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = int(input())
y = !x
print(y)

x = int(input())
print(!x)

x = int(input())
print(1-x)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

print(0 if input()=='1' else 1)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

s = int(input())
if s==1:
    print(0)
else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

ans = 0

for i in range(n):
    if i == 0:
        ans = 1
    else:
        ans *= 2

print(ans)


i = input()

if i == "0":
    print(1)
else:
    print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
input = int(input())
if input == 0: return 1
return 0

input = int(input())
if input == 0: print (1)
else: print (0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a,b,c,d = map(int,input().split())
print(max(a,b)*max(c,d))


x = int(input())
if x == 0:
    print('1')
else:
    print('0')

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()

if x == 0:
    print(1)
elif x == 1:
    print(0) 

x = 0

if x == 0:
    print(1)
elif x == 1:
    print(0) 

x = int(input())

if x == 0:
    print(1)
elif x == 1:
    print(0) 

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=input()
if x==1:
  print('0')
else:
  print('1')

x=int(input())
if x==1:
  print('0')
else:
  print('1')


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
data = int(input())

print(data)

data = int(input())

ans = abs(data-1)
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(-(int(inpuut())-1))
    

x = int(inpuut())
if x ==1:
  print(0)
else:
  print(1)
    

x = int(input())
if x ==1:
  print(0)
else:
  print(1)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a = input()
if a==1:
  print(0)
if a==0:
  print(1)

input_number = input()
if input_number = 0:
  print(1)
else:
  print(0)

a = input()
if a==0:
  print(1)
if a==1:
  print(0)

a = input()
if a==1:
  print(0)
else:
  print(1)

a = int(input())
if a==1:
  print(0)
else:
  print(1)

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n=int(input())
if (n==0)print(1)
else print(0)

n=int(input())
if (n==0):print(1)
else :print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
N = int(input())
    
if N == 1:
    print(1)
else:
    print(0)

N = int(input())
    
if N == 1:
    print(0)
else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

cnt = 0
step = 0

for i in range(N):
    if A[step] == B[i]:
        cnt += 1
    else:
        step += 1

C = B[cnt:]+B[:cnt]

flag = 0
for i in range(N):
    if A[i] == C[i]:
        flag = 1
        break

if flag == 1:
    print('No')
else:
    print('Yes')
    print(' '.join(map(str, B[cnt:]+B[:cnt])))

x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if a&1:
    print(1)

else:
    print(0)

a=int(input())

if a&1:
    print(0)

else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
1x = int(input())

if x == 1:
    print(0)
else:
    print(1)


x = int(input())

if x == 1:
    print(0)
elif x == 0:
    print(1)


Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
print(n&1)

n = int(input())
print(n^1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=input()

if x==0:
  print(1)
elif x==1:
  print(0)

x=int(input())

if x==0:
  print(1)
elif x==1:
  print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
while True:
	x = input()
	if x == 1:
  		print(0)
   		break
	elif x ==0:
  		print(1)
        break
    else:
      continue


while True:
  	try:
		x = input()
		if x == 1:
  			print(0)
   			break
        elif x ==0:
            print(1)
            break
        else:
            continue
	except:
      	print('invalid input')
        continue

def func_not(x:int) -> None:
  if x == 0:
    print(1)
  elif x == 1:
    print(0)
  else:
    print('invalid input')

if x == 0:
  print(1)
elif x == 1:
  print(0)

x = int(input())
if x == 1:
  print(0)
if x == 0:
  print(1)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
if x = 0:
  print(1)
else:
  print(0)

x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(~int(input()))

print(~int(input())

a = int(input())
if a == 0:
  print(1)
else:
  print(0)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a=input()
if a=='1':
  print('0')
 else:
  print('1')

a=input()
if a=='1':
  print('0')
if a=='0':
  print('1')
  

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
if x = 0:
  print(1)
else:
  print(0)

if x = 0:
  print(1)
else:
  print(0)


if x == 0:
  print(1)
else:
  print(0)


x = int(input(x)) 
if x == 0:
  print(1)
else:
  print(0)
  

s = int(input()) 
if s == 0:
  print(1)
else:
  print(0)
  

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(0 if open(0).read().split() == '1' else 1)

print(0 if open(0).read() == '1' else 1)

print(0 if int(open(0).read()) == 1 else 1)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
i = int(input())
print(~i)

i = int(input())
print(i^1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

x=int(input())
if x==0:
  print(1)
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if __name__ == '__main__':
  num=input()
  print(0 if num==1 else 1)

num = int(input())
print(0 if num == 1 else 1)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
N = int(input())
count = 0
for i in range(10**N):
  l = str(i)
  count += "0" in l and "9" in l
print((count+(9**(N-2)))//(10**9+7))


x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if x == 0:
    print(1)
else
    print(0)

x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
g=[]
g.append(a*c)
g.append(a*d)
g.append(b*c)
g.append(b*d)
print(max(g))

t=int(input())
if t==1:
    print("0")
else:
    print("1")

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x=int(input())
print(x%2)

x=int(input())
if x==0:print(1)
else:print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(not(int(input())))

print(int(not(int(input()))))

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
if x == 1:
  print("0")
else:
  print("1")

n = int(input())
if n == 1:
  print("0")
else:
  print("1")

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
print(1 if n == 1 else 0)

n = int(input())
print(0 if n == 1 else 1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = int(input())
if x^0: print(1)
elif x^1: print(0)

x = float(input())
if float(x) == 0:
  print(1)
elif float(x)==1:
  print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a,b,c,d = map(int,input().split())
print(max([a*b,b*c,a*d,b*d]))

x = int(input())
if x == 1:
  print(0)
else :
  print(1)


Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
print(max(a*c, a*d, b*c, b*d))

a,b,c,d=map(int,input().split())
A=max(a,b)
B=max(c,d)

if (A<=0 and B<=0) or (A>0 and B>0):
  print(A*B)
elif A<0 and B>0:
  print(A*min(c,d))
else:
  print(min(a,b)*B)


a,b,c,d=map(int,input().split())
A=max(a,b)
B=max(c,d)

if (A>0 and B>0):
  print(A*B)
elif A<0 and B>0:
  print(A*min(c,d))
elif A>0 and B<0:
  print(min(a,b)*B)
elif A<=0 and B<=0:
  print(min(a,b)*min(c,d))


a,b,c,d=map(int,input().split())
A=max(a,b)
B=max(c,d)

if (A<=0 and B<=0) or (A>0 and B>0):
  print(A*B)
elif A<0 and B>0:
  print(min(a,b)*B)
else:
  print(A*min(c,d))

a,b,c,d=map(int,input().split())
A=max(a,b)
B=max(c,d)

if (A<=0 and B<=0) or (A>0 and B>0):
  print(A*B)
elif A<0 and B>0:
  print(A*min(c,d))
elif A>0 and B<0:
  print(min(a,b)*B)


x = int(input())

if x == 0:
  print(1)
elif x == 1:
  print(0)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
if n == 0 {
	print(1)
} else n == 1 {
	print(0)
} 
  

n = int(input())
if n == 0:
	print(1)
elif n == 1:
	print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(~int(input()))

print((int(input())+1)%2)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()
if x = "0":
  print(1)
elif x = "1":
  print(0)  

x = input()
if x == "0":
  print(1)
else:
  print(0)  

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

n = int(input())
print(1^n)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import plotly.express as px
import statsmodels.api as sm


x = int(input())
# h_list = list(map(int, input().split()))

if x == 0:
    print(1)
else:
    print(0)


x = int(input())
# h_list = list(map(int, input().split()))

if x == 0:
    print(1)
else:
    print(0)



Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
print(1&int(input()))

def if_3(t1,ans1,t2,ans2,ans3):print(ans1 if t1 else ans2 if t2 else ans3)
def if_2(t1,ans1,ans2):print(ans1 if t1 else ans2)
def YN(t):print("YES" if t else "NO")
def yn(t):print("yes" if t else "no")
def Yn(t):print("Yes" if t else "No")
def main():
  import sys
  pin=sys.stdin.readline
  pout=sys.stdout.write
  perr=sys.stderr.write
  x=int(pin())
  if_2(x==1,0,1)
  return
main()

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if x==1:
    print(0)
else:
    print(1)

x = int(input())

if x == 1:
    x=0
elif x==0 :
    x=1

print(x)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
s = int(input())
l = 10**9+7
list_1 = [0, 1, 1, 1]
list_2 = [0, 1, 2]
for i in range(3, s):
  list_2.append((list_2[i-1] + list_1[i])%l)
  list_1.append(list_2[i-2])
if s = 1 or s = 2:
  print(0)
else:
  print(list_1[s-1])

c = int(input())
if c == 0:
  print(1)
else:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
a=input()
if a==1:
    a=0
else:
    a=1

print(a)

x=int(input())

if x==1:
    x=0

elif x==0:
    x=1

print(x)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

if x = 0:
  print(1)
elif x = 1:
  print(0)

x = int(input())
 
if x == 0:
  print(1)
elif x == 1:
  print(0)

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n=int(input())
if n==1:
    n=0
if n==0:
    n=1
print(n)

n=int(input())
if n==1:
    n=0
else:
    n=1
print(n)


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
input(a)
if a == '0':
  print('1')
elif a == '1':
  print('0')

a = input()
if a == '0':
  print('1')
elif a == '1':
  print('0')

Verdicts: Runtime Error

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = input()
if n:
    print("1")
else:
    print("0")

n = int(input())
print(abs(n-1))

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = int(input())
 
x = []
y = []
distance = []
 
for i in range(n):
  x1, y1 = input().split()
  x1 = int(x1)
  y1 = int(y1)
  x.append(x1)
  y.append(y1)
 
for i in range(len(x)):
  for j in range(i+1,len(x)):
    temp = abs(x[i] - x[j]) + abs(y[i] - y[j])
    distance.append(temp)

 
for i in range(len(distance)-1):
  if distance[i] >= distance[i+1]:
    a = distance[i]
 
print(a)

x = input()

if x == 0:
  x = 1

if x == 1:
  x = 0
 
print(x)

x = int(input())
if x == 0:
  x = 1
else:
  x = 0
print(x)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = int(input())
print(~x)

x = int(input())
if(x==0):
    print(1)
else:
    print(0)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
x = input()

if x == 1:
    print("0")
else:
    print("1")


x = input()

if x == "1":
    print("0")
if x == "0":
    print("1")

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

Submission attempts (in order):
n = input()
if n == 1:
    print(0)
if n == 0:
    print(1)

n = int(input('enter number:'))
if n == 1:
    print(0)
if n == 0:
    print(1)


n = int(input())
if n == 1:
    print(0)
if n == 0:
    print(1)


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer x that is greater than or equal to 0, and less than or equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.

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

x = a*c

if a*c < a*d:
    x=a*d
elif a*d < b*c:
    x=b*c
elif b*c < b*d:
    x=b*d

print(x)

x=int(input())

if x == 1:
    print(0)
else:
    print(1)

Verdicts: Runtime Error

Accepted