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
u519339498
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()))', 'def if_3(t1,ans1,t2,ans2,ans3):print(ans1 if t1 else ans2 if t2 else ans3)\ndef if_2(t1,ans1,ans2):print(ans1 if t1 else ans2)\ndef YN(t):print("YES" if t else "NO")\ndef yn(t):print("yes" if t else "no")\ndef Yn(t):print("Yes" if t else "No")\ndef main():\n import sys\n pin=sys.stdin.readline\n pout=sys.stdout.write\n perr=sys.stderr.write\n x=int(pin())\n if_2(x==1,0,1)\n return\nmain()']
['Wrong Answer', 'Accepted']
['s200514205', 's423824668']
[9156.0, 9020.0]
[27.0, 25.0]
[21, 385]
p02552
u519557161
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 = map(int,input().split())\n\nif x==1:\n print(0)\nelse:\n print(1)', 'x = int(input())\n\nif x == 1:\n x=0\nelif x==0 :\n x=1\n\nprint(x)']
['Wrong Answer', 'Accepted']
['s848293258', 's873643002']
[9024.0, 9152.0]
[29.0, 29.0]
[70, 66]
p02552
u525589885
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())\nl = 10**9+7\nlist_1 = [0, 1, 1, 1]\nlist_2 = [0, 1, 2]\nfor i in range(3, s):\n list_2.append((list_2[i-1] + list_1[i])%l)\n list_1.append(list_2[i-2])\nif s = 1 or s = 2:\n print(0)\nelse:\n print(list_1[s-1])', 'c = int(input())\nif c == 0:\n print(1)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s258661535', 's832143012']
[8964.0, 9148.0]
[27.0, 35.0]
[222, 55]
p02552
u530650201
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 a=0\nelse:\n a=1\n\nprint(a)', 'x=int(input())\n\nif x==1:\n x=0\n\nelif x==0:\n x=1\n\nprint(x)']
['Wrong Answer', 'Accepted']
['s371861667', 's889856641']
[8884.0, 8888.0]
[27.0, 28.0]
[50, 62]
p02552
u531456543
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)', 'x = int(input())\n \nif x == 0:\n print(1)\nelif x == 1:\n print(0)']
['Runtime Error', 'Accepted']
['s649884351', 's565562668']
[8812.0, 9092.0]
[25.0, 30.0]
[61, 64]
p02552
u535117304
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 n=0\nif n==0:\n n=1\nprint(n)', 'n=int(input())\nif n==1:\n n=0\nelse:\n n=1\nprint(n)\n']
['Wrong Answer', 'Accepted']
['s574920629', 's639938396']
[9144.0, 9072.0]
[31.0, 28.0]
[57, 55]
p02552
u537208079
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(a)\nif a == '0':\n print('1')\nelif a == '1':\n print('0')", "a = input()\nif a == '0':\n print('1')\nelif a == '1':\n print('0')"]
['Runtime Error', 'Accepted']
['s401139550', 's498057125']
[8972.0, 8984.0]
[25.0, 30.0]
[62, 65]
p02552
u539969758
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']
['s938745695', 's044649293']
[9132.0, 9052.0]
[30.0, 28.0]
[24, 29]
p02552
u546157297
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 = input()\nif n:\n print("1")\nelse:\n print("0")', 'n = int(input())\nprint(abs(n-1))']
['Wrong Answer', 'Accepted']
['s469049551', 's991632482']
[9096.0, 9092.0]
[27.0, 31.0]
[53, 32]
p02552
u548272916
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 \nx = []\ny = []\ndistance = []\n \nfor i in range(n):\n x1, y1 = input().split()\n x1 = int(x1)\n y1 = int(y1)\n x.append(x1)\n y.append(y1)\n \nfor i in range(len(x)):\n for j in range(i+1,len(x)):\n temp = abs(x[i] - x[j]) + abs(y[i] - y[j])\n distance.append(temp)\n\n \nfor i in range(len(distance)-1):\n if distance[i] >= distance[i+1]:\n a = distance[i]\n \nprint(a)', 'x = input()\n\nif x == 0:\n x = 1\n\nif x == 1:\n x = 0\n \nprint(x)', 'x = int(input())\nif x == 0:\n x = 1\nelse:\n x = 0\nprint(x)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s013881818', 's483356623', 's435587916']
[9144.0, 8948.0, 9040.0]
[23.0, 28.0, 28.0]
[385, 62, 58]
p02552
u553459461
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)', 'x = int(input())\nif(x==0):\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Accepted']
['s894252172', 's524385114']
[9144.0, 9144.0]
[28.0, 26.0]
[26, 58]
p02552
u555878443
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")\n', 'x = input()\n\nif x == "1":\n print("0")\nif x == "0":\n print("1")']
['Wrong Answer', 'Accepted']
['s654253601', 's751467760']
[9012.0, 9080.0]
[33.0, 28.0]
[60, 68]
p02552
u556477263
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 = input()\nif n == 1:\n print(0)\nif n == 0:\n print(1)', "n = int(input('enter number:'))\nif n == 1:\n print(0)\nif n == 0:\n print(1)\n", 'n = int(input())\nif n == 1:\n print(0)\nif n == 0:\n print(1)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s258910722', 's820292391', 's014950654']
[9020.0, 9080.0, 9140.0]
[27.0, 28.0, 25.0]
[59, 80, 65]
p02552
u556589653
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) if int(input()) == 0 else print(1)', 'x = int(input())\nif x == 1:\n print(0)\nelse:\n print(1)']
['Wrong Answer', 'Accepted']
['s049992339', 's935497763']
[9148.0, 9064.0]
[30.0, 32.0]
[43, 59]
p02552
u559272602
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\nx = a*c\n\nif a*c < a*d:\n x=a*d\nelif a*d < b*c:\n x=b*c\nelif b*c < b*d:\n x=b*d\n\nprint(x)', 'x=int(input())\n\nif x == 1:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Accepted']
['s972979517', 's556570446']
[9164.0, 9148.0]
[26.0, 24.0]
[134, 58]
p02552
u561294476
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)\nif x == 1:\n print(0)\n', 'x = int(input())\nif x == 0:\n print(1)\nif x == 1:\n print(0)\n']
['Wrong Answer', 'Accepted']
['s506507088', 's414546459']
[8940.0, 9144.0]
[28.0, 30.0]
[60, 65]
p02552
u578992689
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(not(input()))', 'x = input()\nprint(1) if x == 0 else print(1)', 'x = int(input())\nprint(int(not(x))', 'print(1) if x == 1 else print(0)', 'x = int(input())\nprint(1) if x == 0 else print(0)']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s115756336', 's495896253', 's500849936', 's569580651', 's526543393']
[9024.0, 9032.0, 8868.0, 8948.0, 9096.0]
[23.0, 29.0, 23.0, 25.0, 29.0]
[23, 44, 34, 32, 49]
p02552
u582435914
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\nusing namespace std;\n\nint main() {\n int x;\n cin>>x;\n if (x==0){\n cout<<1<<endl;\n \n }\n else{\n cout<<0<<endl;\n }\n\n return 0; \n}', 'h=int(input())\nif x==1:\n print(0)\nif x==0:\n print(-1)\n ', '\n\nusing namespace std;\n\nint main() {\n int x;\n cin>>x;\n if (x==0){\n cout<<0<<endl;\n \n }\n if (x==1){\n cout<<1<<endl;\n }\nelse{\n \n\n cout<<"error"<<endl;\n}\n return 0; \n}', 'x=int(input())\nif x==0:\n print(1)\nelif x==1:\n print(0)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s641567240', 's743689466', 's900447793', 's588582942']
[8832.0, 9020.0, 8920.0, 9156.0]
[25.0, 29.0, 27.0, 30.0]
[188, 58, 231, 56]
p02552
u586280809
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)\nif x==0:\n print(1)', 'x=int(input())\nif x==1:\n print(0)\nelse:\n print(1)']
['Wrong Answer', 'Accepted']
['s296841268', 's692384265']
[9080.0, 9144.0]
[31.0, 24.0]
[49, 51]
p02552
u587429593
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")', 'x = int(input())\n\nif x >= 1:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s308693300', 's732181295', 's372013497']
[8872.0, 8940.0, 9144.0]
[24.0, 26.0, 33.0]
[55, 59, 56]
p02552
u598755311
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(~int(input())))', 'print(int(not int(input())))\n']
['Wrong Answer', 'Accepted']
['s581408894', 's985539819']
[8948.0, 9112.0]
[27.0, 30.0]
[25, 29]
p02552
u601842281
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 print(1)", "print(0) if input() == '1' else print(1)"]
['Wrong Answer', 'Accepted']
['s548615019', 's975974768']
[9012.0, 9076.0]
[36.0, 30.0]
[38, 40]
p02552
u605161376
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==0:\n print(0)\nelse:\n print(1)', 'a = int(input())\n\nif a==0:\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Accepted']
['s822582681', 's920539548']
[9140.0, 9148.0]
[27.0, 29.0]
[58, 58]
p02552
u607629451
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 not x == 1:\n\tprint(0)\nelse :\n \tprint(1)', 'x = 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)']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s116368024', 's857864577', 's170349649']
[8940.0, 8944.0, 9004.0]
[30.0, 23.0, 27.0]
[61, 52, 62]
p02552
u610801172
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()) < 0 else 1)', 'print( 1 if int(input()) < 1 else 0)']
['Wrong Answer', 'Accepted']
['s872114451', 's060665447']
[9140.0, 9140.0]
[27.0, 31.0]
[36, 36]
p02552
u614063956
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 if x == 0:\n print(1)\n else:\n print(0)', 'x = int(input())\nif x == 0:\n print(1)\nelse:\n print(0)\n']
['Runtime Error', 'Accepted']
['s656498756', 's807056695']
[8860.0, 9140.0]
[25.0, 33.0]
[79, 60]
p02552
u617322197
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 = input()\nif a == '1':\n print('0')\nelse:\n print('1')"]
['Wrong Answer', 'Accepted']
['s275670209', 's651104280']
[8980.0, 9012.0]
[28.0, 27.0]
[50, 56]
p02552
u621582427
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()\nprint(1 - x)', 'x = int(input())\nprint(1 - x)']
['Runtime Error', 'Accepted']
['s411626981', 's995780245']
[8972.0, 9076.0]
[19.0, 24.0]
[24, 29]
p02552
u623094203
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 - input())', 'print(1 - (int(input())))']
['Runtime Error', 'Accepted']
['s870497117', 's646765356']
[9004.0, 9020.0]
[31.0, 25.0]
[18, 25]
p02552
u628597699
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.
['bool a = input()\nprint(!a)', 'print(!input())', 'print(!(int)(input()))', 'print(int(not int(input())))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s694307718', 's791710514', 's859098976', 's024654893']
[8712.0, 8812.0, 8812.0, 8804.0]
[22.0, 22.0, 27.0, 24.0]
[26, 15, 22, 28]
p02552
u629254463
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 print(0)\nelse :\n print(1)', 'if x==1 :\n print(0)\nelse print(1)', 'x = int(input())\nif x == 1 :\n print(0)\nelse :\n print(1)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s055916106', 's136236380', 's352738687']
[9064.0, 8920.0, 8972.0]
[25.0, 24.0, 29.0]
[38, 34, 57]
p02552
u631521893
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(0 if x else 0)', 'n = input()\nif n=="0":\n print(1)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s698809373', 's103282119']
[9144.0, 9020.0]
[30.0, 26.0]
[37, 50]
p02552
u635759013
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")\nelif x == 0:\n print("1")', 'a,b,c,d = [int(x) for x in input().split()]\n\nnums = [a*c,a*d,b*c,b*d]\nprint(max(nums))', 'x = int(input())\nif x == 1:\n print("0")\nelif x == 0:\n print("1")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s086638489', 's195527070', 's517614331']
[9076.0, 9156.0, 9092.0]
[29.0, 24.0, 32.0]
[65, 86, 70]
p02552
u637387397
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().split(" ")\n\nx = [int(a[0]),int(a[1])]\ny = [int(a[2]),int(a[3])]\n\nans = []\n\nfor i in x:\n for j in y:\n s = i*j\n \n ans.append(s)\nans.sort(reverse = True) \nprint(ans[0])\n \n', 'n = int(input())\n\nif n == 1:\n print(0)\nelif n == 0:\n print(1)\n']
['Runtime Error', 'Accepted']
['s779840188', 's725137400']
[9076.0, 9016.0]
[24.0, 25.0]
[194, 64]
p02552
u639703036
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 == 0):\n printf(1)\nif(n == 1):\n printf(0)', 'n = int(input())\n\nif(n == 0):\n printf(1)\nelse if(n == 1):\n printf(0)', 'n = int(input())\n\nif(n == 0):\n print(1)\nelse if(n == 1):\n print(0)', 'n = int(input())\n\nif(n == 0):\n printf(1)\nif(n == 1):\n printf("0")', 'n = int(input())\n\nif(n == 0):\n print(1)\nelif(n == 1):\n print(0)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s490736485', 's665617494', 's732872852', 's820013622', 's060281560']
[9124.0, 8880.0, 8844.0, 9024.0, 8928.0]
[31.0, 25.0, 28.0, 32.0, 36.0]
[69, 74, 72, 71, 69]
p02552
u642201941
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())\nreturn 0 if n == 1 else n', 'n = int(input())\nprint(0 if n == 1 else 1)\n']
['Runtime Error', 'Accepted']
['s528799262', 's346904871']
[9040.0, 9100.0]
[26.0, 27.0]
[42, 43]
p02552
u642528832
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','1'][x==1])", "x=int(input())\nprint(['0','1'][x==1])", "x=int(input())\nprint(['1','0'][x==1])\n\n\n"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s198565790', 's546681658', 's724548246']
[8908.0, 9092.0, 9068.0]
[26.0, 34.0, 27.0]
[22, 37, 40]
p02552
u643679148
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(0)\nelif x == 1:\n print(1)\n', 'x = int(input())\nif x == 0:\n print(1)\nelif x == 1:\n print(0)\n']
['Wrong Answer', 'Accepted']
['s842403744', 's223711984']
[9140.0, 9068.0]
[31.0, 33.0]
[67, 67]
p02552
u649769812
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 x == 1:\n print(0)\n', 'x = int(input())\n\nif x == 0:\n print(1)\nelse:\n print(0)\n']
['Runtime Error', 'Accepted']
['s877041202', 's645600004']
[9000.0, 9072.0]
[23.0, 27.0]
[68, 61]
p02552
u659328126
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.
['inp = input()\nif inp == 1:\nprint(0)\nelse:\nprint(1)', 'if input() == "1":\nprint(0)\nelse:\nprint(1)', 'if input()==1:\n print(0)\nelse:\n print(1)', 'if(input()) == 0:\nprint(0)\nelse:\nprint(1)', 'if(input()) is 0:\nprint(0)\nelse:\nprint(1)', 'if input() == 1:\nprint(0)\nelse:\nprint(1)', 'if input() == 1:\n print(0)\nelse:\n print(1)', 'if int(input())==1:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s185026789', 's185250488', 's191671975', 's640540999', 's646177598', 's890316516', 's906110595', 's752602499']
[8944.0, 8944.0, 8968.0, 8852.0, 9036.0, 8812.0, 8960.0, 9072.0]
[28.0, 30.0, 25.0, 23.0, 23.0, 27.0, 25.0, 25.0]
[50, 42, 46, 41, 41, 40, 48, 51]
p02552
u665090185
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 0 <= X:\n print(1)\nelif X <= 1:\n print(0)', 'X = int(input())\nif 0 == X:\n print(1)\nelif X == 1:\n print(0)']
['Wrong Answer', 'Accepted']
['s196596835', 's929256099']
[9080.0, 9144.0]
[58.0, 29.0]
[66, 66]
p02552
u668525894
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 f(x):\n if (x == 0):\n return 1\n else if (x == 1):\n return 0\n\n \nf(int(input())', 'def f(x):\n\tif x == 0:\n\t\treturn 1\n\telif x == 1:\n\t\treturn 0\n\n\nn = float(input())\nr = f(n)\nif r != None:\n\tprint(r)\n']
['Runtime Error', 'Accepted']
['s490292078', 's662331556']
[8872.0, 8952.0]
[26.0, 26.0]
[89, 112]
p02552
u669742612
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())\nif abs(a) <= abs(b) and abs(c) <= abs(d):\n print(b*d)\nelif abs(a) > abs(b) and abs(c) <= abs(d):\n print(b*c)\nelif abs(a) <= abs(b) and abs(c) > abs(d):\n print(a*d)\nelse:\n print(a*c)', 'if abs(a) <= abs(b) and abs(c) <= abs(d):\n print(b*d)\nelif abs(a) >= abs(b) and abs(c) <= abs(d):\n print(b*c)\nelif abs(a) <= abs(b) and abs(c) >= abs(d):\n print(a*d)\nelif abs(a) >= abs(b) and abs(c) >= abs(d):\n print(a*c)', "x= int(input())\nif x==1:\n print('0')\nelif x==0:\n print('1')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s217454505', 's762379588', 's289675194']
[9060.0, 9120.0, 9024.0]
[28.0, 22.0, 35.0]
[232, 233, 65]
p02552
u670961163
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 main():\n x = int(input())\n if x == 0:\n print(1)\n else:\n print(1)\n\n\nif __name__ == "__main__":\n main()', 'def main():\n x = int(input())\n if x == 0:\n print(1)\n else:\n print(0)\n\n\nif __name__ == "__main__":\n main()']
['Wrong Answer', 'Accepted']
['s096828192', 's278216079']
[9152.0, 9096.0]
[28.0, 27.0]
[131, 131]
p02552
u674588203
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.
['\nprint(input()^1)', 'print(int(input())^1)']
['Runtime Error', 'Accepted']
['s287504901', 's600405306']
[9052.0, 9172.0]
[24.0, 26.0]
[17, 21]
p02552
u683027991
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\nif a*c > b*d:\n print(a*c)\nelif b > 0 and d > 0:\n print(b*d)\nelif a < 0 and c < 0:\n print(a*c)\nelse:\n x = min(abs(a),abs(b))\n y = min(abs(c),abs(d))\n print(-x*y)', 'x = int(input())\n\nif x == 0:\n print(1)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s134255056', 's153061321']
[9192.0, 9148.0]
[28.0, 27.0]
[214, 60]
p02552
u688203790
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)\nelif x == 0:\n print(1)']
['Wrong Answer', 'Accepted']
['s498120481', 's290539027']
[8940.0, 9020.0]
[25.0, 29.0]
[50, 62]
p02552
u691710466
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 x = 1\nelse:\n x = 0\nprint(x)', 'if x = 0:\n x = 1\nelse\n x = 0\nreturn x', 'x = int(input())\nif x == 0:\n x = 1\nelif x == 1:\n x = 0\nprint(x)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s159910410', 's651396167', 's466260461']
[9028.0, 8952.0, 9140.0]
[28.0, 32.0, 31.0]
[41, 39, 65]
p02552
u693716675
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(1 if x==0 else 1)', 'x = int(input())\nprint(1 if x==0 else 0)']
['Wrong Answer', 'Accepted']
['s523178185', 's025610647']
[8984.0, 8992.0]
[27.0, 26.0]
[40, 40]
p02552
u694665829
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(1 if x ==0 else 0)']
['Runtime Error', 'Accepted']
['s014840863', 's156112353']
[9068.0, 9140.0]
[23.0, 32.0]
[1, 41]
p02552
u697690147
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\nprint(1 if x == 0 else 0)', 'x = int(input())\n\nprint(1 if x == 0 else 0)']
['Runtime Error', 'Accepted']
['s674421269', 's061561903']
[8948.0, 9140.0]
[29.0, 32.0]
[41, 43]
p02552
u698526962
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(x))\nif x == 1:\n print(0)\nelse:\n print(1)', 'x = int(input(x))\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', 'Accepted']
['s305978452', 's735980957', 's055094091']
[9016.0, 9020.0, 9076.0]
[24.0, 25.0, 32.0]
[56, 56, 55]
p02552
u698916859
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.
['\nN = int(input())\n \nprint( 8**(N-2) * N * (N-1) / (10**9 + 7))', '\nN = int(input())\n\nprint((10 ** (N-2) * N * (N-1) - (N * (N-1))) % (10**9 + 7))', 'import math\ndef combinations_count(N, r):\n return math.factorial(N) // (math.factorial(N - r) * math.factorial(r))\n \n\nN = int(input())\nr = 2\n\nprint(combinations_count(N, r))', '\nN = int(input())\n\nprint( 8**(N-2) * N * (N-1))', '\na = int(input())\n\nif a == 0:\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s094759021', 's758272299', 's893838756', 's984770503', 's721528451']
[9400.0, 9348.0, 9152.0, 9284.0, 9144.0]
[27.0, 28.0, 22.0, 32.0, 34.0]
[79, 96, 193, 64, 74]
p02552
u702018889
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(0 if n==0 else 1)', 'n=int(input())\nprint(0 if n==1 else 1)']
['Wrong Answer', 'Accepted']
['s588905475', 's894048987']
[9144.0, 9088.0]
[31.0, 32.0]
[38, 38]
p02552
u706625459
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=input()\nprint(1 if n==0 else 1)', 'n=int(input())\nif n==0:\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Accepted']
['s451882303', 's638152269']
[9080.0, 9080.0]
[31.0, 33.0]
[33, 51]
p02552
u707187541
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())\nans=1+(-1)*x\nprint(x)', 'x=int(input())\nans=1+(-1)*x\nprint(ans)']
['Wrong Answer', 'Accepted']
['s683797580', 's928604807']
[9084.0, 9140.0]
[29.0, 28.0]
[36, 38]
p02552
u714852797
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\nprint((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))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s417231163', 's441599606', 's246068034']
[8916.0, 9108.0, 9140.0]
[25.0, 22.0, 28.0]
[71, 87, 26]
p02552
u718536599
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 ans=1\nelse x==1:\n ans=0\n \nprint(ans)', 'x=int(input())\nif x==0:\n ans=1\nelif x==1:\n ans=0\nprint(ans)']
['Runtime Error', 'Accepted']
['s261682061', 's459559253']
[8972.0, 9048.0]
[23.0, 26.0]
[64, 61]
p02552
u718765445
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 (int(input()) ==0:\n print(1)\nelse:\n print(0)', 'if (int(input())) == 0:\n print(1)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s583744544', 's718006137']
[8872.0, 9140.0]
[26.0, 28.0]
[53, 55]
p02552
u719873358
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!=0)', 'x = int(input())\nprint(int(not x))']
['Wrong Answer', 'Accepted']
['s021268644', 's097436813']
[9080.0, 9140.0]
[33.0, 30.0]
[28, 34]
p02552
u722829410
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()\nif a = 1:\n print(0)\nelse:\n print(1)', 'a = int(input())\nif a == 1:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Accepted']
['s311243848', 's125636255']
[8940.0, 9144.0]
[25.0, 24.0]
[57, 59]
p02552
u726154863
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")\nelse:\n print("0")']
['Wrong Answer', 'Accepted']
['s522859377', 's723440123']
[9016.0, 9148.0]
[26.0, 29.0]
[59, 59]
p02552
u736729525
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()\nprint(1 - x)\n', 'x = int(input())\nprint(1 - x)\n']
['Wrong Answer', 'Accepted']
['s085289699', 's985784103']
[8936.0, 9076.0]
[32.0, 31.0]
[23, 30]
p02552
u737397387
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 print(0)\nif x=0:\n print(1)', 'x = int(input())\n\nif x == 1:\n print(0)\nif x == 0:\n print(1)']
['Runtime Error', 'Accepted']
['s110481769', 's580503442']
[8964.0, 8976.0]
[22.0, 31.0]
[37, 61]
p02552
u742260762
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("x:")\nif x == 0:\n print(1)\nif x == 1:\n print(0)', 'x = int(input())\nif x == 0:\n print(1)\nif x == 1:\n print(0)\n']
['Wrong Answer', 'Accepted']
['s983833180', 's363469882']
[9064.0, 9104.0]
[25.0, 29.0]
[59, 61]
p02552
u746627216
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(1)', 'x = int(input())\n \nif x == 0:\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Accepted']
['s170606666', 's979573511']
[9084.0, 9148.0]
[25.0, 25.0]
[56, 57]
p02552
u752200367
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") if input() == 0; else("0")', 'x = int(input())\nif x == 1:\n print("0")\nelse:print("1")']
['Runtime Error', 'Accepted']
['s620917064', 's632448192']
[8816.0, 9048.0]
[26.0, 28.0]
[37, 56]
p02552
u761320129
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.
['from random import randint\nprint(randint(0,1))', 'X = int(input())\nprint(1-X)\n']
['Wrong Answer', 'Accepted']
['s218431554', 's286762420']
[9532.0, 9132.0]
[29.0, 34.0]
[46, 28]
p02552
u766646838
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 print(1)\nelse:\n print(0)', 'N = int(input())\nif N ==0:\n print(1)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s384203271', 's925859068']
[9080.0, 9140.0]
[23.0, 27.0]
[52, 54]
p02552
u767012807
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)\n', 'x=int(input())\nif x==0:\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Accepted']
['s686912445', 's769262890']
[9048.0, 9012.0]
[30.0, 28.0]
[55, 55]
p02552
u768752804
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())\nx = a\ny = c\nmax = x * y\nfor x in range(a,b + 1):\n for y in range(c,d + 1):\n if x * y > max:\n max = x * y\nprint(max)', 'a,b,c,d = map(int, input().split())\nx = a\ny = c\nmax = x * y\nif b < 0:\n print(max)\nelse:\n for x in range(a,b + 1):\n for y in range(c,d + 1):\n if x * y > max:\n max = x * y\n print(max)\n', 'num = int(input())\nif num == 0:\n print(1)\nelse:\n print(0)\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s131221004', 's831334935', 's617170276']
[9100.0, 9104.0, 9140.0]
[26.0, 22.0, 25.0]
[160, 200, 60]
p02552
u770534985
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().split()\nif X == 1:\n print(0)\nelse:\n print(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', 'Wrong Answer', 'Accepted']
['s294861428', 's962296356', 's068694727']
[8948.0, 8992.0, 9092.0]
[31.0, 25.0, 28.0]
[62, 54, 59]
p02552
u772705651
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 = input()\n \nif x == 1:\n print(0)\nelif x == 0:\n print(1)', 'x = int(input())\n \nif x == 1:\n print(0)\nelif x == 0:\n print(1)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s482389793', 's833689600', 's617025429']
[9012.0, 9080.0, 9084.0]
[24.0, 27.0, 29.0]
[51, 59, 64]
p02552
u776429183
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 main():\n if x =1:\n return 0\n else:\n return 1\n\nmain()\n', 'def main(x):\n if x =1:\n return 0\n else:\n return 1\n\nmain(x)\n', 'def main(x):\n if x =1:\n return 0\n else:\n return 1\n\nmain(x)\n', 'def main():\n if x =1:\n return 0\n elif x !=1:\n return 1\n\nmain()', 'x=int(input())\n\ndef main(x):\n if x ==1:\n return 0\n else:\n return 1\nprint(main(x))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s128621815', 's184439332', 's317364326', 's887068155', 's897300361']
[8816.0, 8960.0, 8964.0, 8816.0, 9100.0]
[24.0, 27.0, 26.0, 20.0, 26.0]
[77, 79, 79, 82, 101]
p02552
u776826405
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 random\n \nx = random.randint(0,1)\n \nif x == 1:\n x = 0\n \nelse:\n x = 1', 'if x == 0:\n print(1)\n \nelse:\n print(0)', 'import random\n\nx = random.randint(0,1)\n\nif x == 1:\n print(0)\n \nelse:\n print(1)', 'x = int(input())\n\nif x == 1:\n print(0)\n \nelse:\n print(1)']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s246135112', 's721220559', 's995319505', 's063352588']
[9552.0, 8904.0, 9468.0, 9040.0]
[27.0, 20.0, 26.0, 28.0]
[77, 41, 81, 58]
p02552
u784450941
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.
['# cording:utf-8\n\n\nx = int(input())\n\n\nif x == 0:\n \n print("0")\nelif x == 1:\n \n print("1")', '# cording:utf-8\n\n\nx = int(input())\n\n\nif x == 0:\n \n print("1")\nelif x == 1:\n \n print("0")\n']
['Wrong Answer', 'Accepted']
['s719589496', 's833419761']
[9148.0, 9136.0]
[28.0, 32.0]
[149, 150]
p02552
u785578220
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())\nif a == 0:\n print(0)\nelse:\n print(1)', 'a = int(input())\nif a == 0:\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Accepted']
['s076815290', 's908961254']
[9088.0, 9148.0]
[27.0, 28.0]
[59, 59]
p02552
u786150969
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(x)\n\nif x == 0:\n print('1')\nif x == 1:\n print('0')", "x = int(input())\n\nif x == 0:\n print('1')\nif x == 1:\n print('0')"]
['Runtime Error', 'Accepted']
['s421863557', 's974382325']
[9076.0, 9148.0]
[26.0, 34.0]
[66, 70]
p02552
u786572314
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', 'def not_op(x):\n x = int(input())\n if x != 0:\n x = 1\n elif x != 1:\n x = 0\n return x\n ', 'x = int(input())\nif x != 1:\n return 0\nelif x != 0:\n return 1\n', 'x = int(input())\nif x == 1:\n print(0)\nelif x == 0:\n print(1)']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s140883137', 's166138918', 's529228268', 's572454290']
[8920.0, 9052.0, 8988.0, 9104.0]
[24.0, 27.0, 28.0, 26.0]
[65, 97, 63, 66]
p02552
u794274928
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 if x == 0:\n print(1)', 'x = int(input())\nif x == 1:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Accepted']
['s601059733', 's011150491']
[8884.0, 8996.0]
[22.0, 29.0]
[65, 55]
p02552
u801617021
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.
['t=int(input())\nif(t==1):\n print(0)\nelse:\n print(1)/', 't=int(input())\nif(t==1):\n print(0)\nelse:\n print(1)\n']
['Runtime Error', 'Accepted']
['s940254001', 's392438379']
[8864.0, 8948.0]
[24.0, 26.0]
[53, 53]
p02552
u816552564
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 x == 1:\n print(0)', 'x = input()\ny=int(x)\nif y==0:\n print("1")\nelif y==1:\n print("0")']
['Runtime Error', 'Accepted']
['s304912887', 's384083337']
[8892.0, 8920.0]
[23.0, 24.0]
[56, 66]
p02552
u817565863
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=float(input())\nif x>=0 :\n print(1)\nelse:\n print(0)', 'x=float(input())\nif x>=0 and x<=1:\n if x==0:\n print(1)\n else:\n print(0)\n']
['Wrong Answer', 'Accepted']
['s098259152', 's077637526']
[8836.0, 9072.0]
[25.0, 28.0]
[54, 88]
p02552
u819362132
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())\nza=abs(a)\nzb=abs(b)\nzc=abs(c)\nzd=abs(d)\nif b>=0 and d>=0 :\n if a>0 or c>0:\n print(b*d)\n else:\n ans=max(a*c,b*d)\n print(ans)\nelif b<0 and d<0 :\n x=max(za,zb)\n y=max(zc,zd)\n print(x*y)\nelse:\n if b>=0 and d<0 :\n \tx=max(za,zb)\n \ty=max(zc,zd)\n \tprint(x*y)\n else:\n \tx=max(za,zb)\n \ty=max(zc,zd)\n \tprint(x*y)\n\n', 'x=int(input())\nif x ==1:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Accepted']
['s271726739', 's184943873']
[9148.0, 9140.0]
[24.0, 25.0]
[359, 52]
p02552
u819495227
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 x == 0 else "0")', 'n = int(input())\nprint("1" if n == 0 else "0")']
['Runtime Error', 'Accepted']
['s256546568', 's498804789']
[9032.0, 9004.0]
[23.0, 25.0]
[46, 46]
p02552
u825924332
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 int(input()) ==0:\n\tprint(1)\nelse:\n\tprint(1)', 'if int(input()) ==0:\n\tprint(1)\nelse:\n\tprint(0)']
['Wrong Answer', 'Accepted']
['s780613782', 's317040898']
[9144.0, 9156.0]
[32.0, 28.0]
[46, 46]
p02552
u826637752
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 \nprint(1-n)', 'n = int(input())\n \nprint(1-n)']
['Runtime Error', 'Accepted']
['s145871689', 's571672397']
[8880.0, 9064.0]
[25.0, 26.0]
[31, 30]
p02552
u835095496
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 run(x):\n '''\n\n '''\n print('{}'.format(0 if x==1 else 1))\n\n\n\nif __name__ == '__main__':\n x = int(input())\n run(x)def run(x):\n '''\n\n '''\n print('{}'.format(0 if x==1 else 1))\n\n\n\nif __name__ == '__main__':\n x = int(input())\n run(x)", "def run(x):\n '''\n\n '''\n print('{}'.format(0 if x==1 else 1))\n\n\n\nif __name__ == '__main__':\n x = int(input())\n run(x)"]
['Runtime Error', 'Accepted']
['s858245900', 's583257126']
[8888.0, 9152.0]
[29.0, 32.0]
[262, 131]
p02552
u843060713
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)\nelif x = "0":\n print(1)', 'x = input()\n\nif x == "0":\n print(1)\nelif x == "1":\n print(0)']
['Runtime Error', 'Accepted']
['s958669146', 's105733702']
[8924.0, 9064.0]
[22.0, 29.0]
[60, 62]
p02552
u843764230
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())\nA = (a*c)\nB = (a*d) \nC = (b*c)\nD = (c*d)\nMAX = A\n\nif MAX < B:\n MAX = B\nelif MAX < C:\n MAX = C\nelif MAX < D:\n MAX = D\n\nprint(MAX)', "a = int(input())\nif a == 0:\n print('1')\nelse:\n print('0')"]
['Runtime Error', 'Accepted']
['s089703277', 's248065359']
[9052.0, 9084.0]
[29.0, 31.0]
[173, 63]
p02552
u847033024
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())\nif b * d >= 0:\n print(b * d)\nelse:\n z = []\n\n for x in range(a, b + 1):\n for y in range(c, d + 1):\n z.append(x * y)\nprint(max(z))', 'a = int(input())\nif a == 0:\n print(1)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s137418200', 's922965895']
[9112.0, 9140.0]
[28.0, 25.0]
[178, 55]
p02552
u848097937
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(0)\nelse:\n print(1)', 'x=int(input())\nif x!=0:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Accepted']
['s584279110', 's553644110']
[8952.0, 9036.0]
[27.0, 32.0]
[55, 51]
p02552
u852790844
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\nimport numpy as np\n\nn = int(input())\na = np.array(input().split(), dtype=np.int64)\nb = np.array(input().split(), dtype=np.int64)\nac = np.bincount(a, minlength=n+2)\nab = np.bincount(b, minlength=n+2)\nif np.max(ac+ab) <= n:\n num, count = np.unique(b, return_counts=True)\n ans = []\n for i in range(n):\n if a[i] == num[-1]:\n if len(num) == 1:\n print("No")\n sys.exit()\n ans.append(num[-2])\n if count[-2] == 1:\n num[-2] = num[-1]\n count[-2] = count[-1]\n num = num[:-1]\n count = count[:-1]\n else:\n count[-2] -= 1\n else:\n ans.append(num[-1])\n if count[-1] == 1:\n num = num[:-1]\n count = count[:-1]\n else:\n count[-1] -= 1\n print("Yes")\n print(*ans)\nelse:\n print("No")\n', 'x = int(input())\nif x ==\u30001:\n ans = 0\nelse:\n ans = 1\nprint(ans)', 'x = int(input())\nif x == 1:\n ans = 0\nelse:\n ans = 1\nprint(ans)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s863555818', 's864903075', 's842857122']
[27076.0, 8940.0, 9140.0]
[121.0, 21.0, 21.0]
[925, 70, 68]
p02552
u858244177
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()\n\nif s > 0:\n print(1)\nelse:\n print(0)', '\n#s = input() \n\n#s = int(input()) \n\n#s = float(input())\n\ns=int(input())\n\nif 0 < s:\n print(1)\nelse:\n print(0)', 's=int(input())\n\nif 0 == s:\n print(1)\nelse:\n print(0)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s167039967', 's383315046', 's789555407']
[8940.0, 9084.0, 9052.0]
[22.0, 26.0, 25.0]
[52, 211, 58]
p02552
u859547105
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')\nelif x == 1:\n print('0')", "x = int(input())\nif x == 0:\n print('1')\nelif x == 1:\n print('0')"]
['Runtime Error', 'Accepted']
['s509847150', 's079590232']
[8932.0, 8996.0]
[25.0, 28.0]
[47, 64]
p02552
u865343871
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']
['s478158772', 's607533484']
[9088.0, 9144.0]
[27.0, 30.0]
[54, 59]
p02552
u873605671
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:\n print 0\nelse:\n print 1', 'if x:\n print 0\nelse:\n print 1', 'if x:\n return 0\nelse:\n return 1', 'x = int(input())\n \nif x:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s811793770', 's931983441', 's995080175', 's797954367']
[9000.0, 8936.0, 9040.0, 9092.0]
[26.0, 24.0, 25.0, 27.0]
[48, 35, 37, 56]
p02552
u875291233
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.
['# coding: utf-8\n# Your code here!\nimport sys\nreadline = sys.stdin.readline\nread = sys.stdin.read\n\nn, = map(int,readline().split())\n*a, = map(int,readline().split())\n*b, = map(int,readline().split())\nb = b[::-1]\n\nfrom collections import Counter\nd = Counter(a+b)\nif max(d.values()) > n:\n print("No")\n exit()\n\nsame = set(i for i in range(n) if a[i]==b[i])\nfrom random import randrange\nwhile same:\n i = same.pop()\n while True:\n j = randrange(0,n)\n if a[j] != b[i] and a[i] != b[j]:\n b[i],b[j] = b[j],b[i]\n same.discard(j)\n break\n\nprint("Yes")\nprint(*b)\n', '# coding: utf-8\n# Your code here!\nimport sys\nreadline = sys.stdin.readline\nread = sys.stdin.read\n\nx, = map(int,read().split())\nprint(1-x)']
['Runtime Error', 'Accepted']
['s907424034', 's683182766']
[9344.0, 9144.0]
[30.0, 27.0]
[608, 137]
p02552
u883983516
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())\n\nif x == 1:\n print(0)\nelse:\n print(1)']
['Runtime Error', 'Accepted']
['s823336191', 's424476903']
[9008.0, 9012.0]
[20.0, 27.0]
[42, 60]
p02552
u886902015
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(0)\nelse:\n print(1)', 'x=int(input())\nif x==0:\n print(1)\nelse:\n print(0)']
['Wrong Answer', 'Accepted']
['s554812806', 's868985832']
[9144.0, 9016.0]
[30.0, 28.0]
[55, 55]