problem_id
stringlengths 6
6
| user_id
stringlengths 10
10
| time_limit
float64 1k
8k
| memory_limit
float64 262k
1.05M
| problem_description
stringlengths 48
1.55k
| codes
stringlengths 35
98.9k
| status
stringlengths 28
1.7k
| submission_ids
stringlengths 28
1.41k
| memories
stringlengths 13
808
| cpu_times
stringlengths 11
610
| code_sizes
stringlengths 7
505
|
---|---|---|---|---|---|---|---|---|---|---|
p02552 | u175720502 | 2,000 | 1,048,576 | 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. | ["s = input()\nif s==1:\n print('0')\nelif s==0:\n print('1')", 's = int(input())\nif s == 1:\n print(0)\nelse:\n print(1)\n'] | ['Wrong Answer', 'Accepted'] | ['s794713084', 's469520682'] | [8984.0, 9140.0] | [29.0, 27.0] | [57, 56] |
p02552 | u176165272 | 2,000 | 1,048,576 | 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. | ['x = input()\nif X == "1":\n print("0")\nelse:\n print("1")', 'X = input()\nif X == "1":\n print("0")\nelse:\n print("1")'] | ['Runtime Error', 'Accepted'] | ['s991052925', 's649957265'] | [9020.0, 8980.0] | [22.0, 28.0] | [60, 60] |
p02552 | u182689172 | 2,000 | 1,048,576 | 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. | ['x = input()\nif x == 0:\n print(1)\nelif x == 1:\n print(0)', 'x = input()\nx = input()\nif x == 0:\n print(1)\nelif x == 1:\n print(0)', 'x = int(input())\nif x == 0:\n print(1)\nelif x == 1:\n print(0)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s119506127', 's664595126', 's814406015'] | [9016.0, 9084.0, 9144.0] | [24.0, 23.0, 25.0] | [61, 73, 66] |
p02552 | u186397299 | 2,000 | 1,048,576 | 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. | ['A = input()\nB = A.split()\na = int(B[0])\nb = int(B[1])\nc = int(B[2])\nd = int(B[3])\n\nif a <= 0 and b <= 0 and c <= 0 and d <= 0:\n print(a*c)\nelif a > 0 and b > 0 and c > 0 and d > 0:\n print(b*d)\nelif a > 0 and b > 0 and c<=0 and d<=0:\n print(a*d)\nelif a<=0 and b<=0 and c>0 and d>0:\n print(b*c)\nelif a<=0 and b<=0 and c<=0 and d>0:\n print(a*c)\nelif a>0 and b>0 and c<=0 and d>0:\n print(b*d)\nelif a <= 0 and b > 0:\n if c <= 0 and d > 0:\n if -c <= d and -a <= b:\n print(d*b)\n elif -c <= d and -a > b:\n if a*c > b*d:\n print(a*c)\n elif a*c <= b*d:\n print(b*d)\n elif -c > d and -a <= b:\n if a*c > b*d:\n print(a*c)\n elif a*c <= b*d:\n print(b*d)\n elif -c > d and -a > b:\n print(a*c)\n elif c> 0 and d <= 0:\n print()\n elif c<=0 and d<=0:\n print(a*c)', 'x = int(input())\nif x == 1:\n print(0)\nelif x == 0:\n print(1)'] | ['Runtime Error', 'Accepted'] | ['s172869294', 's526933502'] | [8924.0, 9084.0] | [26.0, 30.0] | [933, 66] |
p02552 | u187193817 | 2,000 | 1,048,576 | 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. | ['a = list(map(int, input().split()))\n\ntmp = 0\nif(len(a) != 4):\n exit()\nif(a[0] > a[1]):\n tmp = a[1]\n a[1] = a[0]\n a[0] = tmp\n\nif(a[2] > a[3]):\n tmp = a[3]\n a[3] = a[2]\n a[2] = tmp\na_len = list(range((a[0]), a[1] + 1))\nb_len = list(range((a[2]), a[3] + 1))\n\nmax = -100000\nprint(a_len, b_len)\nfor str1 in a_len:\n for str2 in b_len:\n if(str1 * str2 > max):\n max = str1 * str2\nprint(max)\n', 'a = int(input())\nif(a == 0):\n print(1)\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s621378050', 's547715761'] | [9248.0, 9148.0] | [24.0, 26.0] | [425, 56] |
p02552 | u189023301 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nprint(not n)', 'n = int(input())\nprint(int(not n))\n'] | ['Wrong Answer', 'Accepted'] | ['s807146513', 's845709832'] | [9136.0, 9032.0] | [27.0, 27.0] | [29, 35] |
p02552 | u190405516 | 2,000 | 1,048,576 | 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. | [" 1 s = int(input())\n 2\n 3 if s == 1:\n 4 print('0')\n 5 elif s == 0:\n 6 print('1')", 's = int(input())\n\nif s == 1:\n print(0)\nelif s == 0:\n print(1)'] | ['Runtime Error', 'Accepted'] | ['s405146638', 's480886099'] | [8908.0, 9052.0] | [24.0, 23.0] | [94, 67] |
p02552 | u192221858 | 2,000 | 1,048,576 | 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. | ['x = int(input())\nif x == 1:\n print("1")\nelse:\n print("0")', 'x = int(input())\nif x == 1:\n print("0")\nelse:\n print("1")'] | ['Wrong Answer', 'Accepted'] | ['s815250344', 's787129714'] | [9124.0, 9148.0] | [35.0, 28.0] | [63, 63] |
p02552 | u200527996 | 2,000 | 1,048,576 | 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. | ['import math\nprint(math.floor(int(input())/1))', 'print(1-int(input()))'] | ['Wrong Answer', 'Accepted'] | ['s265681946', 's343059426'] | [9176.0, 9072.0] | [31.0, 30.0] | [45, 21] |
p02552 | u205116974 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nif x == 0:\n print(1)\nelif x == 1:\n print(0)', 'x = int(input())\nif x == 0:\n print(1)\nelif x == 1:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s343143388', 's849622089'] | [9144.0, 9084.0] | [28.0, 29.0] | [66, 66] |
p02552 | u206352909 | 2,000 | 1,048,576 | 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. | ['a=input()\nif a==1:\n print(0)\nelse:\n print(1)', 'a=int(input())\nif a==1:\n print(0)\nelse:\n print(1)\n'] | ['Wrong Answer', 'Accepted'] | ['s195571174', 's164447030'] | [9032.0, 9092.0] | [23.0, 27.0] | [46, 52] |
p02552 | u208633734 | 2,000 | 1,048,576 | 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. | ['a,b,c,d = map(int,input().split())\nans = -float("INF")\n\nx = for x in (a,b):\n for y in (c,d):\n ans = max(ans,X*y)\nprint(ans)', 'x = int(input())\nif x == 1:\n print(0)\nelse:\n print(1)'] | ['Runtime Error', 'Accepted'] | ['s267034214', 's276133763'] | [8928.0, 9040.0] | [22.0, 25.0] | [127, 55] |
p02552 | u209268771 | 2,000 | 1,048,576 | 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. | ['x = input()\nif x == 0:\n print(1)\nelif x == 1:\n print(0)\nelse:\n pass', 'x = input()\nif x == 0:\n print(1)\nelif x == 1:\n print(1)', 'x = input()\nif x == 0:\n print(1)\nelif x == 1:\n print(1)\nelse:\n pass', 'x = int(input())\n\nif x == 0:\n print("1")\nelif x == 1:\n print("0")\nelse:\n pass'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s176918574', 's205905703', 's273990917', 's484953142'] | [9012.0, 8944.0, 9008.0, 9148.0] | [29.0, 31.0, 23.0, 27.0] | [76, 61, 76, 86] |
p02552 | u212347962 | 2,000 | 1,048,576 | 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. | ["x = int(input())\n\nif(x == 0):\n print('1')\nelif(x == 1):\n print('0')\nelse:", "x = int(input())\n\nif(x == 0):\n print('1')\nelif(x == 1):\n print('0')\nelse:\n pass"] | ['Runtime Error', 'Accepted'] | ['s169053174', 's547425564'] | [9012.0, 9120.0] | [30.0, 29.0] | [79, 88] |
p02552 | u220545090 | 2,000 | 1,048,576 | 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. | ['print(x^1)', 'x = input()\nprint(x^1)', 'x = int(input())\nprint(x^1)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s351661526', 's726699782', 's233982626'] | [9080.0, 8944.0, 9140.0] | [22.0, 26.0, 28.0] | [10, 22, 27] |
p02552 | u228288852 | 2,000 | 1,048,576 | 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. | ['x=int(input())\nif x==1:\n print("0")\nelse:\n print("1!)', 'x=int(input())\n\nif x==1:\n print("0")\nelse:\n print("1")'] | ['Runtime Error', 'Accepted'] | ['s780095522', 's987926374'] | [8856.0, 9116.0] | [24.0, 27.0] | [55, 56] |
p02552 | u229621546 | 2,000 | 1,048,576 | 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. | ['if 1 == int(input()):\n print(0)\nelse\n print(1)', 'if 1 == int(input()):\n print(0)\nelse:\n print(1)'] | ['Runtime Error', 'Accepted'] | ['s943785476', 's902182321'] | [8932.0, 9144.0] | [24.0, 25.0] | [48, 49] |
p02552 | u234680893 | 2,000 | 1,048,576 | 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. | ['x=int(input())\nif(x==1):\n print(0)\n elif(x==0):\n print(1)', 'print(int(not(int(input()))))'] | ['Runtime Error', 'Accepted'] | ['s978618890', 's897764411'] | [9004.0, 9124.0] | [23.0, 25.0] | [59, 29] |
p02552 | u239228953 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nprint(x^1)', 'x = int(input())\npint(x^1)', 'x = int(input())\nif x==1:\n print(0)\nelse:\n print(1', 'x = int(input())\nprint(x^1)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s307445137', 's698357357', 's814549443', 's916460030'] | [9072.0, 9132.0, 8960.0, 8976.0] | [27.0, 28.0, 24.0, 30.0] | [27, 26, 52, 27] |
p02552 | u240234332 | 2,000 | 1,048,576 | 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. | ['x = input()\n\nif x == 1:\n print(0)\nelse:\n print(1)', 'x = int(input())\n\nif x == 1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s572532537', 's265723365'] | [9016.0, 9156.0] | [30.0, 28.0] | [51, 60] |
p02552 | u243061947 | 2,000 | 1,048,576 | 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. | ['x = int(input())\nif x == 1:\n print(1)\nelse:\n print(0)', 'x = int(input())\nif x == 1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s915472580', 's035837844'] | [9148.0, 9144.0] | [27.0, 25.0] | [55, 55] |
p02552 | u244416763 | 2,000 | 1,048,576 | 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. | ['x = int(input())\nprint(0 if x == 0 else 1)', 'a, b, c, d = map(int, input().split())\nprint(max([a*c, a*d, b*c, c*d]))', 'x = int(input())\nprint(1 if x == 0 else 1)', 'x = int(input())\nprint(1 if x == 0 else 0)'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s396245216', 's402709112', 's822097953', 's828260858'] | [9024.0, 9152.0, 9104.0, 9144.0] | [32.0, 27.0, 36.0, 29.0] | [42, 71, 42, 42] |
p02552 | u250362126 | 2,000 | 1,048,576 | 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. | ['num = int(input())\nif num == 1:\n print(0)\n else:\n print(1)\n', 'num = int(input())\nif num == 1:\n print(1)\n else:\n print(0)\n', 'num = input()\nif num == 1:\n print(1)\n else:\n print(0)', "def _print():\n a = int(input())\n print(1 if a == 0 else 0)\n\nif __name__ = '__main__':\n _print()", "def _print():\n a = int(input())\n print(1 if a == 0 else 0)\n\nif __name__ == '__main__':\n _print()\n"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s272850013', 's281765811', 's706671163', 's936057357', 's689245233'] | [8952.0, 8836.0, 8988.0, 8872.0, 9096.0] | [26.0, 21.0, 23.0, 27.0, 25.0] | [61, 61, 55, 98, 100] |
p02552 | u252828980 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nif n == 1:\n print(1)\nelif n == 0:\n print(0)', 'n = int(input())\nif n == 1:\n print(0)\nelif n == 0:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s804078878', 's582147174'] | [9084.0, 9152.0] | [29.0, 25.0] | [62, 62] |
p02552 | u261427665 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nxy = [map(int, input().split()) for _ in range(n)]\nx, y = [list(i) for i in zip(*xy)]\n\na = 0\nfor i in range(0,n):\n for j in range(1,n-i):\n c = abs(x[i] - x[i + j]) + abs(y[i] - y[i + j])\n print(c)\n if a >= c:\n a = a\n else:\n a = c\nprint(a)\n\n ', 'n = int(input())\nif n == 0:\n print("1")\nelse:\n print("0")'] | ['Runtime Error', 'Accepted'] | ['s553295608', 's007840661'] | [9068.0, 9148.0] | [25.0, 33.0] | [314, 63] |
p02552 | u263173473 | 2,000 | 1,048,576 | 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. | ['a=int(input())\nprint(not a )', 'a=int(input())\nif a:\n print(1)\nelse:\n print(0)', 'a=int(input())\nif (not a):\n print(1)\nelse:\n print(0)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s180315342', 's614253638', 's783981306'] | [9148.0, 9144.0, 9144.0] | [30.0, 26.0, 28.0] | [28, 48, 54] |
p02552 | u266675845 | 2,000 | 1,048,576 | 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. | ['x = int(input())\n\nif x == 0:\n print(1)\nels:\n print(0)', 'x = int(input())\n\nif x == 0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s174641283', 's939633179'] | [8944.0, 9008.0] | [26.0, 31.0] | [59, 60] |
p02552 | u267933821 | 2,000 | 1,048,576 | 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. | ['if x==0:\n return 1\nelif x==1:\n return 0\nelse:\n break', 'x=int(input())\n\nif x==0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s940758388', 's482431375'] | [8908.0, 9012.0] | [25.0, 30.0] | [55, 52] |
p02552 | u269054236 | 2,000 | 1,048,576 | 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. | ['import sys\nx=int(sys.argv)\n\nprint ([0 if i==1 else 1 for i in x])', 'x=int(input())\nprint (0 if x==1 else 1)'] | ['Runtime Error', 'Accepted'] | ['s630926756', 's091352969'] | [9032.0, 9116.0] | [24.0, 27.0] | [65, 39] |
p02552 | u270728572 | 2,000 | 1,048,576 | 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. | ['x = input()\nif x == 0:\n print(1)\nelif x==1:\n print(0)', 'x = int(input())\nif x==0:\n print(1)\nelif x==1:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s101631917', 's871875911'] | [9080.0, 9084.0] | [23.0, 32.0] | [55, 58] |
p02552 | u271123940 | 2,000 | 1,048,576 | 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. | ['def in(x):\n\tif x == 0:\n\t\treturn 1\n if x == 1:\n\t\treturn 0\nx = int(input())\nprint(in(x))', 'x = int(input())\nif x == 0:\n print(1)\nif x == 1:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s028634566', 's752225062'] | [9004.0, 9152.0] | [26.0, 30.0] | [89, 60] |
p02552 | u272975200 | 2,000 | 1,048,576 | 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. | ['x=int,input()\nif(x==1):\n print(0)\nelif(x==0):\n print(1)\n', 'x=int(input())\nif(x==1):\n print(0)\nelif(x==0):\n print(1)\n'] | ['Wrong Answer', 'Accepted'] | ['s441152187', 's286170366'] | [9072.0, 9148.0] | [29.0, 32.0] | [58, 59] |
p02552 | u273914730 | 2,000 | 1,048,576 | 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. | ['if x==0:\n return 1\nelse:\n return 0', 'if x=0:\n return 1\nelse:\n return 0', 'x=input()\n\nif x==0:\n print(x+1)\nelif x==1:\n print(x-1)\n', 'if x==0:\n return 1\nelif x==1:\n return 0', 'if x==0:\n print (1)\nelif x==1:\n print(0)', 'x=input()\n\nif x==1:\n print(0)\nelse:\n print(1)\n', 'x=input()\n\nif x>0.5:\n print(0)\nelif x<0.5:\n print(1)\n', 'x=int(a)\nif a==0:\n return 1\nelif a==1:\n return 0', 'x=input()\n\nif x==0:\n print(1)\nelif x==1:\n print(0)', 'x=int(a)\nif a==0:\n print (1)\nelif a==1:\n print(0)', 'x=int(input())\n\nif s==0:\n print( 1)\nelif s==1:\n print( 0)', 'x=int(input())\ns=input()\nif s==0:\n return 1\nelif s==1:\n return 0', 'x=int(input())\n\nif x==0:\n return 1\nelif x==1:\n return 0', 'x=int(input())\n\nif s==0:\n return 1\nelif s==1:\n return 0', 'x=int(input())\n\nif x==0:\n print(1)\nelif x==1:\n print(0)\n'] | ['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'] | ['s049693520', 's205478284', 's213898531', 's263324904', 's290561134', 's306627657', 's357505642', 's526097965', 's529927382', 's556711997', 's592761026', 's708761837', 's733485679', 's849502097', 's885013618'] | [9076.0, 8940.0, 9012.0, 9072.0, 9016.0, 9084.0, 9008.0, 9072.0, 9088.0, 8972.0, 9076.0, 9080.0, 9012.0, 8916.0, 9160.0] | [22.0, 24.0, 29.0, 22.0, 28.0, 31.0, 24.0, 27.0, 35.0, 25.0, 23.0, 30.0, 21.0, 26.0, 26.0] | [36, 35, 57, 41, 44, 48, 55, 50, 52, 53, 59, 66, 57, 57, 58] |
p02552 | u275893569 | 2,000 | 1,048,576 | 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. | ['x = input()\n\nif x==0:\n print(1)\nelif x == 1:\n print(0)', 'x = int(input())\n\nif x==0:\n print(1)\nelif x == 1:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s665819513', 's166506185'] | [9084.0, 9148.0] | [29.0, 29.0] | [56, 61] |
p02552 | u277433256 | 2,000 | 1,048,576 | 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. | ['s = int(input())\nif s != 0:\n print("1");\nelse:\n print("0");', 's = int(input())\nprint(s, type(s))\nif s != 0:\n print("0");\nelse:\n print("1");', 's = input()\nif s != "0":\n print("1");\nelse:\n print("0");', 's = int(input())\n\nif s != 0:\n print("0");\nelse:\n print("1");'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s612508424', 's847356438', 's890095583', 's148439198'] | [9084.0, 9156.0, 8904.0, 9004.0] | [29.0, 29.0, 28.0, 27.0] | [61, 79, 58, 62] |
p02552 | u280325247 | 2,000 | 1,048,576 | 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. | ['a, b, c, d = map(int, input().split())\n \nprint(max(a * c, b * d, a * d, b * c))', 'x = int(input())\n\nprint(int(x == 0))'] | ['Runtime Error', 'Accepted'] | ['s385889534', 's942280476'] | [9152.0, 9144.0] | [23.0, 30.0] | [79, 36] |
p02552 | u284744415 | 2,000 | 1,048,576 | 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. | ['print("0" if int(input()) == "1" else "1")', 'x = int(input())\nif(x == 0):\n print(1)\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s185894965', 's523052920'] | [9128.0, 9132.0] | [25.0, 29.0] | [42, 56] |
p02552 | u290866833 | 2,000 | 1,048,576 | 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. | ["x = int(input())\n\nif x == 0:\n print('0')\nelse:\n print('1')", "x = int(input())\n\nif x == 0:\n print('1')\nelse:\n print('0')"] | ['Wrong Answer', 'Accepted'] | ['s938206611', 's593060435'] | [9172.0, 9144.0] | [28.0, 31.0] | [64, 64] |
p02552 | u291266927 | 2,000 | 1,048,576 | 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. | ['x=int(input())\nif x==0:\n print(1)\nelif x==1:\n print(0)\nelse:\n break', 'x=int(input())\nif x==0:\n print(1)\nelif x==1:\n print(0)\n'] | ['Runtime Error', 'Accepted'] | ['s663662934', 's161536192'] | [8952.0, 9136.0] | [25.0, 23.0] | [76, 61] |
p02552 | u302084097 | 2,000 | 1,048,576 | 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. | ['x=int(input())\nif x=1:\n print(0)\nelse:\n print(1)', 'x=int(input())\nif x==1:\n print(0)\nelse:\n print(1)'] | ['Runtime Error', 'Accepted'] | ['s844929046', 's138333647'] | [8940.0, 9144.0] | [26.0, 26.0] | [54, 55] |
p02552 | u303650945 | 2,000 | 1,048,576 | 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. | ['x = input()\nif x == 0:\n print("0")\nelse:\n print("1")', 'x = bool(int(input()))\na = not x\nprint(int(a))'] | ['Wrong Answer', 'Accepted'] | ['s567651726', 's622968514'] | [9088.0, 9100.0] | [26.0, 29.0] | [58, 46] |
p02552 | u308914480 | 2,000 | 1,048,576 | 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. | ['x=int(input())\nif x=0:\n print("1")\nelse:\n print("0")', 'x=input()\nif x=0:\n print("1")\nelse:\n print("0")', 'x=input()\nif x=0:\n print(1)\nelse:\n print(0)', 'x=input()\nif x=0:\n print(1)\nelse:\n print(0)', 'x=int(input())\nif x==0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s147163324', 's153612417', 's166665160', 's776318253', 's018283988'] | [9000.0, 8936.0, 8940.0, 8868.0, 9084.0] | [21.0, 23.0, 22.0, 21.0, 35.0] | [54, 49, 45, 45, 51] |
p02552 | u309562711 | 2,000 | 1,048,576 | 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. | ['n=int(input().split())\nif n==1:\n print(0)\nelse:\n print(1)', 'n=int(input())\nif n==1:\n print(0)\nelse:\n print(1)\n'] | ['Runtime Error', 'Accepted'] | ['s323066970', 's289935340'] | [9012.0, 9064.0] | [25.0, 32.0] | [59, 52] |
p02552 | u314042989 | 2,000 | 1,048,576 | 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. | ['a = input()\nif a == 1:\n print(0)\nelse:\n print(1)\n ', 'a = input()\nif int(a) == 1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s889267051', 's576494663'] | [8936.0, 9080.0] | [28.0, 25.0] | [59, 59] |
p02552 | u316152477 | 2,000 | 1,048,576 | 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. | ['x = import()\n\nif x == 0:\n print(1)\n\nelse:\n print(0)', 'x = int(import())\n\nif x == 0:\n print(1)\n\nelse:\n print(0)', 'x = int(input())\n\nif x == 0:\n print(1)\n\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s449242174', 's503358878', 's721806948'] | [8996.0, 8932.0, 9092.0] | [21.0, 28.0, 28.0] | [57, 62, 61] |
p02552 | u322442506 | 2,000 | 1,048,576 | 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. | ["x=int(input())\nif x==0:\n print('1')\nelse:\n print('0", "x=int(input())\nif x==0:\n print('1')\nelse:\n print('0')"] | ['Runtime Error', 'Accepted'] | ['s509718691', 's895483723'] | [8952.0, 9156.0] | [29.0, 32.0] | [57, 59] |
p02552 | u329271833 | 2,000 | 1,048,576 | 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. | ['x = int(input())\nif x = 1:\n print("0")\nif x = 0:\n print("1")', 'x = input()\nx = int(x)\nif x == 1:\n print("0")\nelse:\n print("1")'] | ['Runtime Error', 'Accepted'] | ['s103202472', 's801382135'] | [8940.0, 9148.0] | [27.0, 31.0] | [62, 69] |
p02552 | u336828547 | 2,000 | 1,048,576 | 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. | ['x=str(input())\nif x==1:\n print("0")\nelif x==0:\n print("1")', 'x=input("xを入力してください")\nif x==1:\n print("0")\nelif x==0:\n print("1")', 'x=input(xを入力してください)\nif x==1:\n print("0")\n elif x==0:\n print("1")', 'x=include("xを入力してください")\nif x==1:\n print("0")\nelse:\n print("1")', 'x=input()\nif x==1:\n print("0")\nelif x==0:\n print("1")\nelse:\n break', 'x=int(input())\nif x==1:\n print("0")\nif x==0:\n print("1")'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s003299721', 's048146286', 's307000228', 's433749080', 's838251974', 's360403955'] | [8832.0, 8956.0, 8848.0, 8780.0, 9000.0, 9012.0] | [27.0, 30.0, 29.0, 24.0, 22.0, 29.0] | [60, 85, 84, 82, 69, 58] |
p02552 | u337040834 | 2,000 | 1,048,576 | 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. | ['print(abs(1-input()))\n', 'print(abs(1-int(input())))'] | ['Runtime Error', 'Accepted'] | ['s891814131', 's189513154'] | [9076.0, 9120.0] | [27.0, 31.0] | [22, 26] |
p02552 | u344698790 | 2,000 | 1,048,576 | 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. | ['x = int(input())\nprint(not(x))', 'x = int(input())\nif x==0:\n\tprint(1)\nelse:\n\tprint(0)'] | ['Wrong Answer', 'Accepted'] | ['s110070882', 's019274277'] | [9080.0, 9152.0] | [25.0, 27.0] | [30, 51] |
p02552 | u344859508 | 2,000 | 1,048,576 | 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. | ["x = int(input('0か1を入れてください'))\nif x == 0:\n print(1)\nelif x == 1:\n print(0)", 'x = int(input())\nif x == 0:\n print(1)\nelif x == 1:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s201608446', 's038901235'] | [9156.0, 9088.0] | [29.0, 26.0] | [99, 66] |
p02552 | u345621867 | 2,000 | 1,048,576 | 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. | ['C:\\Users\\satosyuuta\\Anaconda3\\python.exe C:/Users/satosyuuta/PycharmProjects/untitled/xtb/AtCorder/test.py\n0\n1\n\nProcess finished with exit code 0\n', 'N = int(input())\nif N == 1:\n print(int(0))\nelse:\n print(int(1))'] | ['Runtime Error', 'Accepted'] | ['s377925543', 's672776335'] | [9000.0, 9148.0] | [31.0, 27.0] | [146, 69] |
p02552 | u357120030 | 2,000 | 1,048,576 | 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. | ['if x == 1:\n\tprint(0)\nelse:\n\tprint(1)', 'def ri():\n return int(input())\n\n\ndef rii():\n return [int(v) for v in input().split()]\n\n\ndef solve(x):\n return 0 if x else 1\n\n\nif __name__ == "__main__":\n print(solve(ri()))'] | ['Runtime Error', 'Accepted'] | ['s776374599', 's192744575'] | [9044.0, 9092.0] | [26.0, 29.0] | [36, 184] |
p02552 | u363961322 | 2,000 | 1,048,576 | 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. | ['i = int(input())\nif i = 0:\n print(1)\nelif i = 1:\n print(0)\n \nelse:\n pass', 'x = int(input())\nif x>=0:\n print(1)\nelse:\n print(0)', 'x = int(input())\nif 0<=x:\n print(1)\nelif x<=1:\n print(0)\nelse:\n pass', 'x = int(input())\nif x==0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s143061943', 's250436403', 's521480354', 's114943157'] | [8820.0, 9084.0, 9056.0, 9052.0] | [28.0, 26.0, 27.0, 26.0] | [76, 53, 77, 57] |
p02552 | u364090041 | 2,000 | 1,048,576 | 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. | ['a = input()\nif a == 0:\n print(1)\n\nif a == 1:\n print(0)\n', 'a = input()\nprint(!a)', 'a = input()\nif a == 0:\n print(1)\n\nif a == 1:\n print(0)\n', 'a = int(input())\nif a == 0:\n print(1)\n\nif a == 1:\n print(0)'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s170082732', 's510715620', 's737820149', 's618630187'] | [9080.0, 8940.0, 8996.0, 9076.0] | [30.0, 28.0, 27.0, 29.0] | [61, 21, 61, 65] |
p02552 | u371056862 | 2,000 | 1,048,576 | 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. | ['print(1 - int(input())', 'print(1 - int(input()))'] | ['Runtime Error', 'Accepted'] | ['s640070015', 's555943756'] | [9012.0, 9056.0] | [28.0, 30.0] | [22, 23] |
p02552 | u371255848 | 2,000 | 1,048,576 | 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. | ['x = int(input())\ny = !x\nprint(y)', 'x = int(input())\nprint(!x)', 'x = int(input())\nprint(1-x)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s031682626', 's259371260', 's491604412'] | [8908.0, 8928.0, 9136.0] | [24.0, 23.0, 24.0] | [32, 26, 27] |
p02552 | u371409687 | 2,000 | 1,048,576 | 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. | ["print(0 if input()='1' else 1)", "print(0 if input()=='1' else 1)"] | ['Runtime Error', 'Accepted'] | ['s338789699', 's329495409'] | [8916.0, 9012.0] | [27.0, 31.0] | [30, 31] |
p02552 | u376754170 | 2,000 | 1,048,576 | 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. | ['s = input()\nif s==1:\n print(0)\nelse:\n print(1)', 's = int(input())\nif s==1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s254472198', 's848834028'] | [9036.0, 9144.0] | [26.0, 30.0] | [52, 57] |
p02552 | u382209062 | 2,000 | 1,048,576 | 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. | ['n = int(input())\n\nans = 0\n\nfor i in range(n):\n if i == 0:\n ans = 1\n else:\n ans *= 2\n\nprint(ans)\n', 'i = input()\n\nif i == "0":\n print(1)\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s225316871', 's955091838'] | [9104.0, 9084.0] | [31.0, 26.0] | [116, 57] |
p02552 | u383805907 | 2,000 | 1,048,576 | 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. | ['input = int(input())\nif input == 0: return 1\nreturn 0', 'input = int(input())\nif input == 0: print (1)\nelse: print (0)'] | ['Runtime Error', 'Accepted'] | ['s742739190', 's386141642'] | [9012.0, 9052.0] | [26.0, 31.0] | [53, 61] |
p02552 | u389058980 | 2,000 | 1,048,576 | 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. | ['a,b,c,d = map(int,input().split())\nprint(max(a,b)*max(c,d))\n', "x = int(input())\nif x == 0:\n print('1')\nelse:\n print('0')"] | ['Runtime Error', 'Accepted'] | ['s964506974', 's722239634'] | [8956.0, 9156.0] | [22.0, 24.0] | [60, 63] |
p02552 | u389069686 | 2,000 | 1,048,576 | 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. | ['x = input()\n\nif x == 0:\n print(1)\nelif x == 1:\n print(0) ', 'x = 0\n\nif x == 0:\n print(1)\nelif x == 1:\n print(0) ', 'x = int(input())\n\nif x == 0:\n print(1)\nelif x == 1:\n print(0) '] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s347945998', 's793890650', 's743303137'] | [9080.0, 9012.0, 9144.0] | [22.0, 28.0, 24.0] | [63, 57, 68] |
p02552 | u389530753 | 2,000 | 1,048,576 | 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. | ["x=input()\nif x==1:\n print('0')\nelse:\n print('1')", "x=int(input())\nif x==1:\n print('0')\nelse:\n print('1')\n"] | ['Wrong Answer', 'Accepted'] | ['s576001417', 's580275544'] | [9052.0, 8996.0] | [33.0, 29.0] | [50, 56] |
p02552 | u396252065 | 2,000 | 1,048,576 | 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. | ['data = int(input())\n\nprint(data)', 'data = int(input())\n\nans = abs(data-1)\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s799059125', 's374707547'] | [9152.0, 8944.0] | [28.0, 27.0] | [32, 49] |
p02552 | u404034840 | 2,000 | 1,048,576 | 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. | ['print(-(int(inpuut())-1))\n ', 'x = int(inpuut())\nif x ==1:\n print(0)\nelse:\n print(1)\n ', 'x = int(input())\nif x ==1:\n print(0)\nelse:\n print(1)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s204531589', 's270002503', 's769928465'] | [9000.0, 9072.0, 9160.0] | [27.0, 27.0, 32.0] | [30, 60, 54] |
p02552 | u405382377 | 2,000 | 1,048,576 | 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. | ['a = input()\nif a==1:\n print(0)\nif a==0:\n print(1)', 'input_number = input()\nif input_number = 0:\n print(1)\nelse:\n print(0)', 'a = input()\nif a==0:\n print(1)\nif a==1:\n print(0)', 'a = input()\nif a==1:\n print(0)\nelse:\n print(1)', 'a = int(input())\nif a==1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s172206541', 's331087220', 's569788538', 's987171507', 's291039609'] | [8988.0, 8844.0, 8888.0, 8920.0, 9068.0] | [26.0, 24.0, 25.0, 31.0, 30.0] | [51, 71, 51, 48, 53] |
p02552 | u408148811 | 2,000 | 1,048,576 | 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. | ['n=int(input())\nif (n==0)print(1)\nelse print(0)', 'n=int(input())\nif (n==0):print(1)\nelse :print(0)'] | ['Runtime Error', 'Accepted'] | ['s391138696', 's784660030'] | [9004.0, 9144.0] | [25.0, 28.0] | [46, 48] |
p02552 | u411923565 | 2,000 | 1,048,576 | 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. | ['N = int(input())\n \nif N == 1:\n print(1)\nelse:\n print(0)', 'N = int(input())\n \nif N == 1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s606395630', 's736987437'] | [9020.0, 9144.0] | [26.0, 34.0] | [64, 64] |
p02552 | u418381221 | 2,000 | 1,048,576 | 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. | ["N = int(input())\nA = list(map(int,input().split()))\nB = list(map(int,input().split()))\n\ncnt = 0\nstep = 0\n\nfor i in range(N):\n if A[step] == B[i]:\n cnt += 1\n else:\n step += 1\n\nC = B[cnt:]+B[:cnt]\n\nflag = 0\nfor i in range(N):\n if A[i] == C[i]:\n flag = 1\n break\n\nif flag == 1:\n print('No')\nelse:\n print('Yes')\n print(' '.join(map(str, B[cnt:]+B[:cnt])))", 'x = int(input())\nif x == 0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s360181706', 's737914049'] | [9220.0, 9144.0] | [29.0, 29.0] | [396, 59] |
p02552 | u418407003 | 2,000 | 1,048,576 | 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. | ['x = int(input)\nif x == 0:\n\tprint(1)\nelse:\n print(0)', 'x = int(input())\nif x == 0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s633694894', 's238699222'] | [9076.0, 9104.0] | [26.0, 23.0] | [52, 55] |
p02552 | u419978514 | 2,000 | 1,048,576 | 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. | ['a=int(input())\n\nif a&1:\n print(1)\n\nelse:\n print(0)', 'a=int(input())\n\nif a&1:\n print(0)\n\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s641642128', 's232751289'] | [9172.0, 9144.0] | [25.0, 26.0] | [56, 56] |
p02552 | u421674761 | 2,000 | 1,048,576 | 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. | ['1x = int(input())\n\nif x == 1:\n print(0)\nelse:\n print(1)\n', 'x = int(input())\n\nif x == 1:\n print(0)\nelif x == 0:\n print(1)\n'] | ['Runtime Error', 'Accepted'] | ['s600249105', 's436548786'] | [8940.0, 9136.0] | [22.0, 28.0] | [62, 68] |
p02552 | u427321447 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nprint(n&1)', 'n = int(input())\nprint(n^1)'] | ['Wrong Answer', 'Accepted'] | ['s997613677', 's328623931'] | [9072.0, 9016.0] | [28.0, 30.0] | [27, 27] |
p02552 | u428341537 | 2,000 | 1,048,576 | 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. | ['x=input()\n\nif x==0:\n print(1)\nelif x==1:\n print(0)', 'x=int(input())\n\nif x==0:\n print(1)\nelif x==1:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s857044447', 's267166581'] | [8964.0, 9040.0] | [23.0, 24.0] | [52, 57] |
p02552 | u430621070 | 2,000 | 1,048,576 | 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. | ['while True:\n\tx = input()\n\tif x == 1:\n \t\tprint(0)\n \t\tbreak\n\telif x ==0:\n \t\tprint(1)\n break\n else:\n continue\n', "while True:\n \ttry:\n\t\tx = input()\n\t\tif x == 1:\n \t\t\tprint(0)\n \t\t\tbreak\n elif x ==0:\n print(1)\n break\n else:\n continue\n\texcept:\n \tprint('invalid input')\n continue", "def func_not(x:int) -> None:\n if x == 0:\n print(1)\n elif x == 1:\n print(0)\n else:\n print('invalid input')", 'if x == 0:\n print(1)\nelif x == 1:\n print(0)', 'x = int(input())\nif x == 1:\n print(0)\nif x == 0:\n print(1)'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s590190779', 's792695548', 's896802261', 's995954967', 's163501149'] | [8864.0, 8940.0, 8928.0, 8980.0, 8992.0] | [24.0, 28.0, 27.0, 21.0, 26.0] | [126, 222, 117, 45, 60] |
p02552 | u431583295 | 2,000 | 1,048,576 | 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. | ['if x = 0:\n print(1)\nelse:\n print(0)', 'x = int(input())\nif x == 0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s365879392', 's917004006'] | [8836.0, 9044.0] | [22.0, 28.0] | [37, 55] |
p02552 | u440161695 | 2,000 | 1,048,576 | 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. | ['print(~int(input()))', 'print(~int(input())', 'a = int(input())\nif a == 0:\n print(1)\nelse:\n print(0)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s062872346', 's448697971', 's216869229'] | [9144.0, 9004.0, 9116.0] | [27.0, 25.0, 27.0] | [20, 19, 55] |
p02552 | u440649533 | 2,000 | 1,048,576 | 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. | ["a=input()\nif a=='1':\n print('0')\n else:\n print('1')", "a=input()\nif a=='1':\n print('0')\nif a=='0':\n print('1')\n "] | ['Runtime Error', 'Accepted'] | ['s326739745', 's175871739'] | [8772.0, 8980.0] | [26.0, 27.0] | [53, 60] |
p02552 | u444766154 | 2,000 | 1,048,576 | 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. | ['if x = 0:\n print(1)\nelse:\n print(0)', 'if x = 0:\n print(1)\nelse:\n print(0)\n', 'if x == 0:\n print(1)\nelse:\n print(0)\n', 'x = int(input(x)) \nif x == 0:\n print(1)\nelse:\n print(0)\n ', 's = int(input()) \nif s == 0:\n print(1)\nelse:\n print(0)\n '] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s201469065', 's211552579', 's928935163', 's992802400', 's729348023'] | [9004.0, 8936.0, 8892.0, 9008.0, 9164.0] | [23.0, 21.0, 20.0, 26.0, 26.0] | [37, 38, 39, 60, 59] |
p02552 | u444934588 | 2,000 | 1,048,576 | 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. | ["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)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s195908334', 's726551148', 's573806109'] | [9092.0, 9024.0, 9168.0] | [34.0, 31.0, 26.0] | [48, 40, 43] |
p02552 | u447294263 | 2,000 | 1,048,576 | 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. | ['i = int(input())\nprint(~i)', 'i = int(input())\nprint(i^1)'] | ['Wrong Answer', 'Accepted'] | ['s059463637', 's431595122'] | [8916.0, 9148.0] | [33.0, 25.0] | [26, 27] |
p02552 | u447564882 | 2,000 | 1,048,576 | 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. | ['x=input()\nif x==0:\n print(1)\nelse if x==1:\n print(0)', 'x=int(input())\nif x==0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s239052625', 's326930642'] | [8980.0, 9084.0] | [26.0, 26.0] | [54, 51] |
p02552 | u448406471 | 2,000 | 1,048,576 | 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. | ['x = input()\nif x == 1:\n print(0)\nelse:\n print(1)', 'x = int(input())\nif x == 1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s925401833', 's179432795'] | [9080.0, 9088.0] | [30.0, 28.0] | [50, 55] |
p02552 | u451973336 | 2,000 | 1,048,576 | 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. | ['num = input()\nprint(0 if num==1 else 1)', "if __name__ == '__main__':\n num=input()\n print(0 if num==1 else 1)", 'num = int(input())\nprint(0 if num == 1 else 1)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s115299917', 's832763259', 's208600555'] | [9008.0, 9088.0, 9088.0] | [29.0, 24.0, 28.0] | [39, 68, 46] |
p02552 | u453529685 | 2,000 | 1,048,576 | 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. | ['N = int(input())\ncount = 0\nfor i in range(10**N):\n l = str(i)\n count += "0" in l and "9" in l\nprint((count+(9**(N-2)))//(10**9+7))\n', 'x = int(input())\nif x == 1:\n print(0)\nelse:\n print(1)'] | ['Wrong Answer', 'Accepted'] | ['s177914861', 's165333274'] | [9256.0, 9080.0] | [31.0, 26.0] | [133, 55] |
p02552 | u454356633 | 2,000 | 1,048,576 | 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. | ['x = int(input())\n\nif x == 0:\n print(1)\nelse\n print(0)', 'x = int(input())\n\nif x == 0:\n print(1)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s275371317', 's740527928'] | [9008.0, 9096.0] | [26.0, 26.0] | [59, 60] |
p02552 | u456225659 | 2,000 | 1,048,576 | 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. | ['a,b,c,d=map(int,input().split())\ng=[]\ng.append(a*c)\ng.append(a*d)\ng.append(b*c)\ng.append(b*d)\nprint(max(g))', 't=int(input())\nif t==1:\n print("0")\nelse:\n print("1")'] | ['Runtime Error', 'Accepted'] | ['s915620920', 's700109210'] | [9160.0, 9148.0] | [24.0, 31.0] | [107, 59] |
p02552 | u459419927 | 2,000 | 1,048,576 | 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. | ['x=int(input())\nprint(x%2)', 'x=int(input())\nif x==0:print(1)\nelse:print(0)'] | ['Wrong Answer', 'Accepted'] | ['s288779400', 's249622613'] | [9096.0, 9104.0] | [26.0, 32.0] | [25, 45] |
p02552 | u461913494 | 2,000 | 1,048,576 | 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. | ['print(not(int(input())))', 'print(int(not(int(input()))))'] | ['Wrong Answer', 'Accepted'] | ['s406921692', 's812314326'] | [9140.0, 9144.0] | [27.0, 34.0] | [24, 29] |
p02552 | u466916194 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nif x == 1:\n print("0")\nelse:\n print("1")', 'n = int(input())\nif n == 1:\n print("0")\nelse:\n print("1")'] | ['Runtime Error', 'Accepted'] | ['s385633659', 's145085319'] | [9144.0, 9080.0] | [22.0, 30.0] | [59, 59] |
p02552 | u468972478 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nprint(1 if n == 1 else 0)', 'n = int(input())\nprint(0 if n == 1 else 1)'] | ['Wrong Answer', 'Accepted'] | ['s229122129', 's946241423'] | [9144.0, 9148.0] | [33.0, 26.0] | [42, 42] |
p02552 | u475581024 | 2,000 | 1,048,576 | 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. | ['x = int(input())\nif x^0: print(1)\nelif x^1: print(0)', 'x = float(input())\nif float(x) == 0:\n print(1)\nelif float(x)==1:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s076156682', 's759343030'] | [9112.0, 9040.0] | [23.0, 24.0] | [52, 76] |
p02552 | u476628920 | 2,000 | 1,048,576 | 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. | ['a,b,c,d = map(int,input().split())\nprint(max([a*b,b*c,a*d,b*d]))', 'x = int(input())\nif x == 1:\n print(0)\nelse :\n print(1)\n'] | ['Runtime Error', 'Accepted'] | ['s559488259', 's537762149'] | [9088.0, 9008.0] | [24.0, 25.0] | [64, 57] |
p02552 | u486209657 | 2,000 | 1,048,576 | 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. | ['a,b,c,d=map(int,input().split())\nprint(max(a*c, a*d, b*c, b*d))', 'a,b,c,d=map(int,input().split())\nA=max(a,b)\nB=max(c,d)\n\nif (A<=0 and B<=0) or (A>0 and B>0):\n print(A*B)\nelif A<0 and B>0:\n print(A*min(c,d))\nelse:\n print(min(a,b)*B)\n', 'a,b,c,d=map(int,input().split())\nA=max(a,b)\nB=max(c,d)\n\nif (A>0 and B>0):\n print(A*B)\nelif A<0 and B>0:\n print(A*min(c,d))\nelif A>0 and B<0:\n print(min(a,b)*B)\nelif A<=0 and B<=0:\n print(min(a,b)*min(c,d))\n', 'a,b,c,d=map(int,input().split())\nA=max(a,b)\nB=max(c,d)\n\nif (A<=0 and B<=0) or (A>0 and B>0):\n print(A*B)\nelif A<0 and B>0:\n print(min(a,b)*B)\nelse:\n print(A*min(c,d))', 'a,b,c,d=map(int,input().split())\nA=max(a,b)\nB=max(c,d)\n\nif (A<=0 and B<=0) or (A>0 and B>0):\n print(A*B)\nelif A<0 and B>0:\n print(A*min(c,d))\nelif A>0 and B<0:\n print(min(a,b)*B)\n', 'x = int(input())\n\nif x == 0:\n print(1)\nelif x == 1:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s176982587', 's350427961', 's802271053', 's941948493', 's947040957', 's492728761'] | [8928.0, 8944.0, 9180.0, 9020.0, 9024.0, 9140.0] | [20.0, 26.0, 20.0, 19.0, 23.0, 27.0] | [63, 170, 210, 169, 182, 63] |
p02552 | u494678441 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nif n == 0 {\n\tprint(1)\n} else n == 1 {\n\tprint(0)\n} \n ', 'n = int(input())\nif n == 0:\n\tprint(1)\nelif n == 1:\n\tprint(0)'] | ['Runtime Error', 'Accepted'] | ['s255874713', 's541598432'] | [8964.0, 9076.0] | [25.0, 29.0] | [70, 60] |
p02552 | u503221936 | 2,000 | 1,048,576 | 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. | ['print(~int(input()))', 'print((int(input())+1)%2)'] | ['Wrong Answer', 'Accepted'] | ['s876753460', 's272719656'] | [9212.0, 8976.0] | [23.0, 30.0] | [20, 25] |
p02552 | u508742316 | 2,000 | 1,048,576 | 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. | ['x = input()\nif x = "0":\n print(1)\nelif x = "1":\n print(0) ', 'x = input()\nif x == "0":\n print(1)\nelse:\n print(0) '] | ['Runtime Error', 'Accepted'] | ['s129795924', 's801201494'] | [9000.0, 9084.0] | [26.0, 30.0] | [61, 54] |
p02552 | u515638999 | 2,000 | 1,048,576 | 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. | ['n = int(input())\nprint(!n)', 'n = int(input())\nprint(1^n)'] | ['Runtime Error', 'Accepted'] | ['s906318257', 's741768256'] | [8976.0, 9076.0] | [24.0, 28.0] | [26, 27] |
p02552 | u517682687 | 2,000 | 1,048,576 | 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. | ['import numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\nimport plotly.express as px\nimport statsmodels.api as sm\n\n\nx = int(input())\n# h_list = list(map(int, input().split()))\n\nif x == 0:\n print(1)\nelse:\n print(0)\n', 'x = int(input())\n# h_list = list(map(int, input().split()))\n\nif x == 0:\n print(1)\nelse:\n print(0)\n\n'] | ['Runtime Error', 'Accepted'] | ['s477919051', 's276435008'] | [27152.0, 9140.0] | [121.0, 31.0] | [234, 105] |