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):
x = input()
if x == 0:
    print(1)
if x == 1:
    print(0)


x = int(input())
if x == 0:
    print(1)
if 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):
print(int(not(input()))

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

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

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

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

Verdicts: Runtime Error

Wrong Answer

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


using namespace std;

int main() {
    int x;
    cin>>x;
    if (x==0){
        cout<<1<<endl;
        
    }
    else{
        cout<<0<<endl;
    }

    return 0; 
}

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



using namespace std;

int main() {
    int x;
    cin>>x;
    if (x==0){
        cout<<0<<endl;
        
    }
    if (x==1){
        cout<<1<<endl;
    }
else{
    

    cout<<"error"<<endl;
}
    return 0; 
}

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

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)
if x==0:
  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 = 0:
  print(1)
else:
  print(0)

x = int(input())

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

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):
print(int(~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):
print(0) if input == '1' else print(1)

print(0) if input() == '1' 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 = int(input())

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

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

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

x = input()

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

x = int(input())

if x == 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):
print( 0 if int(input()) < 0 else 1)

print( 1 if int(input()) < 1 else 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)
    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 = input()
if a == 1:
  print(0)
else:
  print(1)

a = 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):
x = input()
print(1 - x)

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

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 - 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):
bool a = input()
print(!a)

print(!input())

print(!(int)(input()))

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

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):
if x==1 :
  print(0)
else :
  print(1)

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):
n = int(input())
print(0 if x else 0)

n = 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):
x = input()
if x == 1:
    print("0")
elif x == 0:
    print("1")

a,b,c,d = [int(x) for x in input().split()]

nums = [a*c,a*d,b*c,b*d]
print(max(nums))

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

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().split(" ")

x = [int(a[0]),int(a[1])]
y = [int(a[2]),int(a[3])]

ans = []

for i in x:
  for j in y:
    s = i*j
    
    ans.append(s)
ans.sort(reverse = True)  
print(ans[0])
    


n = int(input())

if n == 1:
  print(0)
elif n == 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())

if(n == 0):
    printf(1)
if(n == 1):
    printf(0)

n = int(input())

if(n == 0):
    printf(1)
else if(n == 1):
    printf(0)

n = int(input())

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

n = int(input())

if(n == 0):
    printf(1)
if(n == 1):
    printf("0")

n = int(input())

if(n == 0):
    print(1)
elif(n == 1):
    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())
return 0 if n == 1 else n

n = int(input())
print(0 if n == 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):
print(['0','1'][x==1])

x=int(input())
print(['0','1'][x==1])

x=int(input())
print(['1','0'][x==1])




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())
if x == 0:
    print(0)
elif x == 1:
    print(1)


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

if x == 0:
    print(1)
else 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):
inp = input()
if inp == 1:
print(0)
else:
print(1)

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

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

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

if(input()) is 0:
print(0)
else:
print(1)

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

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

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

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

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())
if 0 <= X:
    print(1)
elif X <= 1:
    print(0)

X = int(input())
if 0 == X:
    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 f(x):
  if (x == 0):
    return 1
  else if (x == 1):
    return 0

  
f(int(input())

def f(x):
	if x == 0:
		return 1
	elif x == 1:
		return 0


n = float(input())
r = f(n)
if r != None:
	print(r)


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())
if abs(a) <= abs(b) and abs(c) <= abs(d):
    print(b*d)
elif abs(a) > abs(b) and abs(c) <= abs(d):
    print(b*c)
elif abs(a) <= abs(b) and abs(c) > abs(d):
    print(a*d)
else:
    print(a*c)

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

x= int(input())
if x==1:
    print('0')
elif x==0:
    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):
def main():
    x = int(input())
    if x == 0:
        print(1)
    else:
        print(1)


if __name__ == "__main__":
    main()

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


if __name__ == "__main__":
    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):

print(input()^1)

print(int(input())^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())

if a*c > b*d:
    print(a*c)
elif b > 0 and d > 0:
    print(b*d)
elif a < 0 and c < 0:
    print(a*c)
else:
    x = min(abs(a),abs(b))
    y = min(abs(c),abs(d))
    print(-x*y)

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)
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:
  x = 1
else:
  x = 0
print(x)

if x = 0:
  x = 1
else
  x = 0
return x

x = int(input())
if x == 0:
  x = 1
elif x == 1:
  x = 0
print(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):
x = int(input())
print(1 if x==0 else 1)

x = int(input())
print(1 if x==0 else 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())
print(1 if x ==0 else 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)

print(1 if x == 0 else 0)

x = int(input())

print(1 if x == 0 else 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(x))
if x == 1:
  print(0)
else:
  print(1)

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

N = int(input())
 
print( 8**(N-2) * N * (N-1) / (10**9 + 7))


N = int(input())

print((10 ** (N-2) * N * (N-1) - (N * (N-1))) % (10**9 + 7))

import math
def combinations_count(N, r):
    return math.factorial(N) // (math.factorial(N - r) * math.factorial(r))
 

N = int(input())
r = 2

print(combinations_count(N, r))


N = int(input())

print( 8**(N-2) * N * (N-1))


a = int(input())

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

Verdicts: Wrong Answer

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):
n=int(input())
print(0 if n==0 else 1)

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):
n=input()
print(1 if n==0 else 1)

n=int(input())
if n==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())
ans=1+(-1)*x
print(x)

x=int(input())
ans=1+(-1)*x
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):
N = int(input())

print((10 ** N - 2 * 9 ** N + 8 ** N % (10 ** 9 + 7))

print((10 ** int(input()) - 2 * 9 ** int(input()) + 8 ** int(input())) % (10 ** 9 + 7))

print(abs(int(input())-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==0:
  ans=1
else x==1:
  ans=0
  
print(ans)

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

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 (int(input()) ==0:
    print(1)
else:
    print(0)

if (int(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):
x = int(input())
print(x!=0)

x = int(input())
print(int(not 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):
a = int(input()
if a = 1:
    print(0)
else:
    print(1)

a = int(input())
if a == 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=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()
print(1 - x)


x = int(input())
print(1 - 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):
if x=1:
  print(0)
if x=0:
  print(1)

x = int(input())

if x == 1:
  print(0)
if 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):
x = input("x:")
if x == 0:
  print(1)
if x == 1:
  print(0)

x = int(input())
if x == 0:
  print(1)
if 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):
x = int(input())

if x == 0:
  print(1)
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):
print("1") if input() == 0; else("0")

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):
from random import randint
print(randint(0,1))

X = int(input())
print(1-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):
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):
x=int(input())
if x<1:
    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):
a,b,c,d = map(int, input().split())
x = a
y = c
max = x * y
for x in range(a,b + 1):
  for y in range(c,d + 1):
    if x * y > max:
      max = x * y
print(max)

a,b,c,d = map(int, input().split())
x = a
y = c
max = x * y
if b < 0:
  print(max)
else:
  for x in range(a,b + 1):
    for y in range(c,d + 1):
      if x * y > max:
        max = x * y
  print(max)


num = int(input())
if num == 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 = input().split()
if X == 1:
    print(0)
else:
    print(1)

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

X = int(input())
if X == 1:
    print(0)
else:
    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):
x = input()

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

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

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 main():
    if x =1:
        return 0
    else:
        return 1

main()


def main(x):
    if x =1:
        return 0
    else:
        return 1

main(x)


def main(x):
    if x =1:
        return 0
    else:
        return 1

main(x)


def main():
    if x =1:
        return 0
    elif x !=1:
        return 1

main()

x=int(input())

def main(x):
    if x ==1:
        return 0
    else:
        return 1
print(main(x))

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):
import random
 
x = random.randint(0,1)
 
if x == 1:
  x = 0
  
else:
  x = 1

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

import random

x = random.randint(0,1)

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

x = int(input())

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

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):
# cording:utf-8


x = int(input())


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

# cording:utf-8


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):
a = int(input())
if a == 0:
    print(0)
else:
    print(1)

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

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

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)


def not_op(x):
  x = int(input())
  if x != 0:
    x = 1
  elif x != 1:
    x = 0
  return x
    

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


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

Verdicts: 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):
x = int(input())
if x == 1:
  print(0)
else if x == 0:
  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):
t=int(input())
if(t==1):
  print(0)
else:
  print(1)/

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 = input()
if x ==0:
  print(1)
else x == 1:
  print(0)

x = input()
y=int(x)
if y==0:
  print("1")
elif y==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=float(input())
if x>=0 :
  print(1)
else:
  print(0)

x=float(input())
if x>=0 and x<=1:
    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):
a,b,c,d = map(int,input().split())
za=abs(a)
zb=abs(b)
zc=abs(c)
zd=abs(d)
if b>=0 and d>=0 :
  if a>0 or c>0:
    print(b*d)
  else:
    ans=max(a*c,b*d)
    print(ans)
elif b<0 and d<0 :
  x=max(za,zb)
  y=max(zc,zd)
  print(x*y)
else:
  if b>=0 and d<0 :
  	x=max(za,zb)
  	y=max(zc,zd)
  	print(x*y)
  else:
  	x=max(za,zb)
  	y=max(zc,zd)
  	print(x*y)



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):
n = int(input())
print("1" if x == 0 else "0")

n = int(input())
print("1" if n == 0 else "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 int(input()) ==0:
	print(1)
else:
	print(1)

if int(input()) ==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(1-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):
def run(x):
    '''

    '''
    print('{}'.format(0 if x==1 else 1))



if __name__ == '__main__':
    x = int(input())
    run(x)def run(x):
    '''

    '''
    print('{}'.format(0 if x==1 else 1))



if __name__ == '__main__':
    x = int(input())
    run(x)

def run(x):
    '''

    '''
    print('{}'.format(0 if x==1 else 1))



if __name__ == '__main__':
    x = int(input())
    run(x)

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)
elif x = "0":
  print(1)

x = 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,b,c,d = map(int,input().split())
A = (a*c)
B = (a*d)  
C = (b*c)
D = (c*d)
MAX = A

if MAX < B:
    MAX = B
elif MAX < C:
    MAX = C
elif MAX < D:
    MAX = D

print(MAX)

a = int(input())
if a == 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())
if b * d >= 0:
  print(b * d)
else:
  z = []

  for x in range(a, b + 1):
    for y in range(c, d + 1):
      z.append(x * y)
print(max(z))

a = int(input())
if a == 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(0)
else:
    print(1)

x=int(input())
if x!=0:
  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):
import sys
import numpy as np

n = int(input())
a = np.array(input().split(), dtype=np.int64)
b = np.array(input().split(), dtype=np.int64)
ac = np.bincount(a, minlength=n+2)
ab = np.bincount(b, minlength=n+2)
if np.max(ac+ab) <= n:
    num, count = np.unique(b, return_counts=True)
    ans = []
    for i in range(n):
        if a[i] == num[-1]:
            if len(num) == 1:
              print("No")
              sys.exit()
            ans.append(num[-2])
            if count[-2] == 1:
                num[-2] = num[-1]
                count[-2] = count[-1]
                num = num[:-1]
                count = count[:-1]
            else:
                count[-2] -= 1
        else:
            ans.append(num[-1])
            if count[-1] == 1:
                num = num[:-1]
                count = count[:-1]
            else:
                count[-1] -= 1
    print("Yes")
    print(*ans)
else:
    print("No")


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

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

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

if s > 0:
    print(1)
else:
    print(0)


#s = input() 

#s = int(input()) 

#s = float(input())

s=int(input())

if 0 < s:
    print(1)
else:
    print(0)

s=int(input())

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

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

if x:
    print 0
else:
    print 1

if x:
    print 0
else:
    print 1

if x:
    return 0
else:
    return 1

x = int(input())
 
if x:
    print(0)
else:
    print(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):
# coding: utf-8
# Your code here!
import sys
readline = sys.stdin.readline
read = sys.stdin.read

n, = map(int,readline().split())
*a, = map(int,readline().split())
*b, = map(int,readline().split())
b = b[::-1]

from collections import Counter
d = Counter(a+b)
if max(d.values()) > n:
    print("No")
    exit()

same = set(i for i in range(n) if a[i]==b[i])
from random import randrange
while same:
    i = same.pop()
    while True:
        j = randrange(0,n)
        if a[j] != b[i] and a[i] != b[j]:
            b[i],b[j] = b[j],b[i]
            same.discard(j)
            break

print("Yes")
print(*b)


# coding: utf-8
# Your code here!
import sys
readline = sys.stdin.readline
read = sys.stdin.read

x, = map(int,read().split())
print(1-x)

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)

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=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())
print(1-x)

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

if(num == '1'): 
  print('0')
elif(num == '0'):
  print('1')

num = int(input())

if(num == 1): 
  print('0')
elif(num == 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):
import sys
x = int(sys.stdin.read().strip())
print int(not x)

import sys
x = int(sys.stdin.read().strip())
print(int(not x))

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)

print(int(input()) ^ 0x01)

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):
def conj(n):
  if n==0:return 1
  return 0

print(conj(int(input()))

def conj(n):
  if n==0:return 1
  return 0
print(conj(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):
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)
print(abs(1-x))

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

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

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

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

x = input()

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

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

x = input()

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


print(1 - int(input()))

Verdicts: Runtime Error

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(int(not(bool(x))))

if input() == "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())
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().rstrip.split(" ")
z=[]
for i in range(2):
	z.append(x[i-2]*x[0])
    z.append(x[i-2]*x[1])
print(max(z))

x=input()

if int(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=int(input())
print(1 if x==0 else 1)

x=int(input())
print(1 if x==0 else 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):
num = input()
if num is 0:
  print(1)
if num is 1:
  print(0)

num = int(input())
if num is 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 == 1:
    print(0)
else:1
    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):
print(int(input())+1%2)

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

print(0 if x else 1)


x = int(input())

print(0 if x 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):
d,t,s=map(int,input().split())
if s*t >= d:
  print("Yes")
else:
  print("No")

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


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(not int(input()))


print(!int(input()))

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

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):
!

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):
print("0") if input()==1 else print("1")

print("0") if input()=="1" 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):
def fun(x):
    x = int(input())
    if x=0:
        return 1
    else:
        return 0

print(fun(x))

def fun(x)

x = int(input())

if x=0:
    return 1
else:
    return 0

print(fun(x))

def fun(x):
    x = int(input())
    if x==0:
        return 1
    else:
        return 0

print(fun(x))

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



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=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):
if __name__ == "__main__":
    main()


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


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

x = int(input())
if x:
    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):
x = input()
if x == 0:
  print('1')
elif x == 1:
  print('0')

x = input()
if x == '0':
    print('1')
if 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):
x = int(input())
if x ==0:
  x = 1
else:
  x = 0

x = int(input())
if x == 0:
  x = 1
else:
  x = 0
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):
input = input()
if input is 1:
	print(0)
if input is 0:
  	print(1)

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

input = int(input())
if input == 1:
	print(0)
if input == 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):
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):
tmp = input()
if tmp = "0":
  print("1")
else:
  print("0")

tmp = input()
if tmp =="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):
x = int(input())

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

x = int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: How many integer sequences A_1,A_2,\ldots,A_N of length N satisfy all of the following conditions?    * 0 \leq A_i \leq 9   * There exists some i such that A_i=0 holds.   * There exists some i such that A_i=9 holds.  The answer can be very large, so output it modulo 10^9 + 7.

Submission attempts (in order):
n = int(input())
x = 10**n％(10**9+7) + 8**n％(10**9+7) - 2 * 9**n％(10**9+7)
print(x％(10**9+7))

n = int(input())
x = 10**n//(10**9+7) + 8**n//(10**9+7) - 2 * 9**n//(10**9+7)
print(x//(10**9+7))

n = int(input())
x = 10**n%(10**9+7) + 8**n%(10**9+7) - 2 * 9**n%(10**9+7)
print(x%(10**9+7))


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: How many integer sequences A_1,A_2,\ldots,A_N of length N satisfy all of the following conditions?    * 0 \leq A_i \leq 9   * There exists some i such that A_i=0 holds.   * There exists some i such that A_i=9 holds.  The answer can be very large, so output it modulo 10^9 + 7.

Submission attempts (in order):
#!/usr/bin/env python3
import sys

MOD = 1000000007  # type: int


def solve(N: int):
    return N*10**(N-2)%MOD


# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    solve(N)

if __name__ == '__main__':
    main()


#!/usr/bin/env python3
import sys

MOD = 1000000007  # type: int


def solve(N: int):
    return print((10**N - 2*9**N + 8**N))

# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    solve(N)

if __name__ == '__main__':
    main()
~                                                                                                                                        
~                    

#!/usr/bin/env python3
import sys

MOD = 1000000007  # type: int


def solve(N: int):
    return print((10**N - 2*9**N + 8**N)%MOD)

# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    solve(N)

if __name__ == '__main__':
    main()


Verdicts: Wrong Answer

Runtime Error

Accepted