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
|
---|---|---|---|---|---|---|---|---|---|---|
p03260 | u288948615 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = map(int, input())\n\nif a * b % 2 == 0:\n print("No")\nelse:\n print("Yes")', 'a, b = map(int, input().split())\n \nif a * b % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s220252731', 's112664954'] | [2940.0, 2940.0] | [18.0, 17.0] | [83, 92] |
p03260 | u291543340 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = map(int, input().split())\nif a % 2 == 0 or b % 2 == 0:\n print("YES")\nelse:\n print("NO")\n', 'a, b = map(int, input().split())\nif a % 2 == 0 and b % 2 == 0:\n print("YES")\nelse:\n print("NO")\n', 'a, b = map(int, input().split())\nif a % 2 == 1 and b % 2 == 1:\n print("YES")\nelse:\n print("NO")\n', 'a, b = map(int, input().split())\nif a % 2 == 1 and b % 2 == 1:\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s514419038', 's757294388', 's997949911', 's884491503'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [101, 102, 102, 102] |
p03260 | u292814514 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['import math\nnum=int(input())\na,b=num.split()\n\nif a%2!=0 and b%2!=0:\n print("Yes")\nelse\n print("No")', 'import math\nnum=int(input())\na,b=num.split()\n\nif a%2==0 and b%2==0:\n print("Yes")\nelse\n print("No")', 'import math\nnum=int(input())\na,b=num.split()\n\nif a%2!=0 and b%2!=0:\n print("Yes")\nelse:\n print("No")', 'num=int(input())\na,b=num.split()\n\nif a!=2 and b!=2:\n print("Yes")\nelse:\n print("No")', 'import math\nnum=input()\na,b=int(num.split())\n\nif a!=2 and b!=2:\n print("Yes")\nelse:\n print("No")', 'import math\nnum=input().split()\na=int(num[0])\nb=int(num[1])\n\nif a!=2 and b!=2:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s045233309', 's315177969', 's405068512', 's482907380', 's759704112', 's441616793'] | [2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [105, 105, 106, 90, 102, 117] |
p03260 | u296150111 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b=map(int,input().split())\n\nif a % 2==1 and b % 2==1:\n print("Yes")\nelse: \n print("No")\u200b', 'a,b=map(int,input().split())\n\nif a % 2==1 and b % 2==1:\n print("Yes")\nelse: \n print("No")'] | ['Runtime Error', 'Accepted'] | ['s408506977', 's693131195'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 89] |
p03260 | u299801457 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b=list(map(int,input().split())\n\nif a%2==1 and b%2==1:\n print('Yes')\nelse:\n print('No')\n\n", "a,b=list(map(int,input().split()))\n\nif a*b%2==0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s485322458', 's414635892'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 87] |
p03260 | u302292660 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b = map(int,input().split())\nif "2" in a or "2" in b:\n print("No")\nelse:\n print("Yes")', 'a,b = input().split()\nif "2" in a or "2" in b:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s118352227', 's621985537'] | [2940.0, 2940.0] | [17.0, 17.0] | [90, 81] |
p03260 | u305077229 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['T = [int(a) for a in input().split()]\nif (T[0]*T[1])%2 == 0:\n \tprint("No")\nelse\n\tprint("Yes")', 'T = [int(a) for a in input().split()]\nif (T[0]*T[1])%2 == 0:\n \tprint("No")\nelse:\n\tprint("Yes")\n'] | ['Runtime Error', 'Accepted'] | ['s443231125', 's279694231'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 96] |
p03260 | u305452255 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = (map(int, input().split(\' \')))\n\nif sum(num) < 2 or 6 < sum(num):\n raise ValueError(\'Input value is more than 1 and less than 3.\')\n\nprint(\'Yes\' if (a * b) % 2 == 1 else "No")\n', 'a, b = map(int, input().split(\' \'))\n\nif sum(num) < 2 or 6 < sum(num):\n raise ValueError(\'Input value is more than 1 and less than 3.\')\n\nprint(\'Yes\' if (a * b) % 2 == 1 else "No")\n', 'a, b = map(int, input().split(\' \'))\n\nif a + b < 2 or 6 < a + b:\n raise ValueError(\'Input value is more than 1 and less than 3.\')\n\nprint(\'Yes\' if (a * b) % 2 == 1 else "No")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s111304817', 's207690941', 's830039610'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [184, 182, 176] |
p03260 | u306865094 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\nab = a * b\nif ab % 2 == 0:\n print('No')\nelif (ab * 3) % 2 == 0:\n print('No')\nelse:\n print('yes')", "a, b = map(int, input().split())\nab = a * b\nif ab % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s855681096', 's756923447'] | [2940.0, 2940.0] | [17.0, 18.0] | [138, 98] |
p03260 | u313994303 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['\nusing namespace std;\n\nint main(){\n\tint A, B;\n\tcin >> A >> B;\n\tif(A * B % 2 == 0){\n\t\tcout << "No" << endl;\n\t}\n\telse{\n\t\tcout << "Yes" << endl;\n\t}\n}', 'A, B = map(int, input().split())\nif A*B % 2 == 0:\n\tprint("No")\nelse:\n\tprint("Yes")'] | ['Runtime Error', 'Accepted'] | ['s998653199', 's916900148'] | [2940.0, 2940.0] | [17.0, 17.0] | [165, 82] |
p03260 | u314089899 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | [' A, B = map(int, input().split())\n \n if A*B%2==0:\n print("No")\n else:\n print("Yes")', 'A, B = map(int, input().split())\n\nif A*B%2=0:\n print("No")\nelse:\n print("Yes")', 'A, B = map(int, input().split())\n\nif A*B%2==0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s000462980', 's427437039', 's233223169'] | [2940.0, 2940.0, 3316.0] | [17.0, 17.0, 19.0] | [106, 80, 81] |
p03260 | u316341119 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['(H, W) = map(int, input().split())\na = []\nfor i in range(H):\n a.append(list(map(int, input().split())))\n#print("a: ")\n#print(a)\n\nodd_flag = []\nfor i in range(len(a)):\n odd_flag.append(list())\n for j in range(len(a[i])):\n if a[i][j]%2 != 0:\n odd_flag[i].append(True)\n else:\n odd_flag[i].append(False)\n#print("odd_flag: ")\n#print(odd_flag)\n\nodd_sum = 0\nfor i in range(len(odd_flag)):\n odd_sum += odd_flag[i].count(True)\n#print(odd_sum)\n\ns_h = 0\ns_w = 0\nmove_flag = False\n\ndef move(h, w):\n if h%2 == 0:\n if w == W-1:\n return (h+1, w)\n else:\n return (h, w+1)\n else:\n if w == 0:\n return (h+1, w)\n else:\n return (h, w-1)\n\nN = 0\nans = ""\nwhile odd_sum >= 2:\n \n if move_flag is True and odd_flag[s_h][s_w] is True:\n move_flag = False\n (s_h, s_w) = move(s_h, s_w)\n odd_sum -= 2\n N += 1\n \n elif move_flag is True and odd_flag[s_h][s_w] is False:\n ans += str(s_h+1) + " " + str(s_w+1) + " "\n (s_h, s_w) = move(s_h, s_w)\n ans += str(s_h+1) + " " + str(s_w+1) + "\\n"\n \n elif move_flag is False and odd_flag[s_h][s_w] is False:\n (s_h, s_w) = move(s_h, s_w)\n \n elif move_flag is False and odd_flag[s_h][s_w] is True:\n move_flag = True\n ans += str(s_h+1) + " " + str(s_w+1) + " "\n (s_h, s_w) = move(s_h, s_w)\n ans += str(s_h+1) + " " + str(s_w+1) + "\\n"\n\nprint(N)\n#print(ans[0:-1])\n \n\n', '(A, B) = map(int, input().split())\nans = "No"\nfor i in range(1, 3):\n if((A*B*i)%2 == 1):\n ans = "Yes"\nprint(ans)\n'] | ['Runtime Error', 'Accepted'] | ['s938380558', 's020031599'] | [3188.0, 3316.0] | [18.0, 20.0] | [1580, 123] |
p03260 | u328131364 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A, B = map(input().split())\n\nif A % 2 == 1 and B % 2 == 1:\n print("Yes")\n\nelse:\n print("No")', 'A, B = map(int, input().split())\n\nif A % 2 == 1 and B % 2 == 1:\n print("Yes")\n\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s236064818', 's928551882'] | [2940.0, 2940.0] | [18.0, 18.0] | [98, 103] |
p03260 | u329058683 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b=map(int,input().splite())\nif a%2==0 or b%==0:\n print("Yes")\nelse:\n print("No")', 'a,b=map(int,input().split())\nif a%2==0 or b%2==0:\n print("Yes")\nelse:\n print("No")', 'a,b=map(int,input().split())\nif a%2==0 or b%==0:\n print("Yes")\nelse:\n print("No")', 'a,b=map(int,input().split())\nif a%2==1 and b%2==1:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s601774187', 's631743604', 's915447169', 's558295521'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [84, 84, 83, 85] |
p03260 | u332386346 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['if __name__ == \'__main__\':\n a = input().spit()\n if a[0]%2 == 1 and a[1]%2 == 1:\n print("Yes")\n else:\n print("No")\n\n\n\n', "a, b = map(int, input().split())\n\nif a%2 == 1 .and. b%2 == 1:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\n\nif a%2 == 1 and b%2 == 1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s227617729', 's235730093', 's569774048'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [140, 100, 98] |
p03260 | u333731247 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["if A*B%2==0:\n print('No')\nelse :\n print('Yes')", "A,B=map(int,input().split())\n\n\nif (A*B)%2==0:\n print('No')\nelse :\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s695807597', 's755664062'] | [2940.0, 2940.0] | [17.0, 17.0] | [52, 85] |
p03260 | u334712262 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['# -*- coding: utf-8 -*-\nimport bisect\nimport heapq\nimport math\nimport random\nimport sys\nfrom collections import Counter, defaultdict, deque\nfrom decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal\nfrom functools import lru_cache, reduce\nfrom itertools import combinations, combinations_with_replacement, product, permutations\nfrom operator import add, mul, sub\n\nsys.setrecursionlimit(10000)\n\n\ndef read_int():\n return int(input())\n\n\ndef read_int_n():\n return list(map(int, input().split()))\n\n\ndef read_float():\n return float(input())\n\n\ndef read_float_n():\n return list(map(float, input().split()))\n\n\ndef read_str():\n return input().strip()\n\n\ndef read_str_n():\n return list(map(str, input().split()))\n\n\ndef error_print(*args):\n print(*args, file=sys.stderr)\n\n\ndef mt(f):\n import time\n\n def wrap(*args, **kwargs):\n s = time.time()\n ret = f(*args, **kwargs)\n e = time.time()\n\n error_print(e - s, \'sec\')\n return ret\n\n return wrap\n\n\n@mt\ndef slv(A, B):\n if A % 2 == 0 and B % 2 == 0:\n return \'No\'\n return "yes"\n\n\ndef main():\n A, B = read_int_n()\n print(slv(A, B))\n\n\nif __name__ == \'__main__\':\n main()\n', '# -*- coding: utf-8 -*-\nimport bisect\nimport heapq\nimport math\nimport random\nimport sys\nfrom collections import Counter, defaultdict, deque\nfrom decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal\nfrom functools import lru_cache, reduce\nfrom itertools import combinations, combinations_with_replacement, product, permutations\nfrom operator import add, mul, sub\n\nsys.setrecursionlimit(10000)\n\n\ndef read_int():\n return int(input())\n\n\ndef read_int_n():\n return list(map(int, input().split()))\n\n\ndef read_float():\n return float(input())\n\n\ndef read_float_n():\n return list(map(float, input().split()))\n\n\ndef read_str():\n return input().strip()\n\n\ndef read_str_n():\n return list(map(str, input().split()))\n\n\ndef error_print(*args):\n print(*args, file=sys.stderr)\n\n\ndef mt(f):\n import time\n\n def wrap(*args, **kwargs):\n s = time.time()\n ret = f(*args, **kwargs)\n e = time.time()\n\n error_print(e - s, \'sec\')\n return ret\n\n return wrap\n\n\n@mt\ndef slv(A, B):\n if A % 2 == 0:\n return \'No\'\n if B % 2 == 0:\n return \'No\'\n return "yes"\n\n\ndef main():\n A, B = read_int_n()\n print(slv(A, B))\n\n\nif __name__ == \'__main__\':\n main()\n', '# -*- coding: utf-8 -*-\nimport bisect\nimport heapq\nimport math\nimport random\nimport sys\nfrom collections import Counter, defaultdict, deque\nfrom decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal\nfrom functools import lru_cache, reduce\nfrom itertools import combinations, combinations_with_replacement, product, permutations\nfrom operator import add, mul, sub\n\nsys.setrecursionlimit(10000)\n\n\ndef read_int():\n return int(input())\n\n\ndef read_int_n():\n return list(map(int, input().split()))\n\n\ndef read_float():\n return float(input())\n\n\ndef read_float_n():\n return list(map(float, input().split()))\n\n\ndef read_str():\n return input().strip()\n\n\ndef read_str_n():\n return list(map(str, input().split()))\n\n\ndef error_print(*args):\n print(*args, file=sys.stderr)\n\n\ndef mt(f):\n import time\n\n def wrap(*args, **kwargs):\n s = time.time()\n ret = f(*args, **kwargs)\n e = time.time()\n\n error_print(e - s, \'sec\')\n return ret\n\n return wrap\n\n\n@mt\ndef slv(A, B):\n if A == 2 or B == 2:\n return \'No\'\n return "Yes"\n\n\ndef main():\n A, B = read_int_n()\n print(slv(A, B))\n\n\nif __name__ == \'__main__\':\n main()\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s358650577', 's514927687', 's246869329'] | [7252.0, 7776.0, 7340.0] | [128.0, 262.0, 71.0] | [1182, 1206, 1173] |
p03260 | u335278042 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['N,X = map(int, input().split())\ndef myabs(i):\n return abs(i-X)\nxlis = list(map(myabs, map(int, input().split())))\n\nfrom fractions import gcd\n\nres = xlis[0]\nfor i in xlis:\n if i%res == 0:\n continue\n res = gcd(i,res)\n\nprint(res)', "A,B = map(int,input().split())\nif A%2==1 and B%2==1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s307161893', 's540496637'] | [3060.0, 2940.0] | [17.0, 18.0] | [242, 87] |
p03260 | u339550873 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\n\nA,B = [int(x) for x in input().split()]\nif A % 2 == 0 and B%2 ==0:\n print('Yes')\nelse:\n print('No')", "#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\n\nA,B = [int(x) for x in input().split()]\nif A % 2 != 0 and B%2 !=0:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s605206088', 's571879295'] | [2940.0, 2940.0] | [17.0, 17.0] | [150, 151] |
p03260 | u342051078 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['int A, B, C\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C ==3:\n print("Yes")', 'A, B = map(int, input().split())\nint C\n\nif (A == 2) or (B == 2):\n print("No")\n \nelse:\n print("Yes")', 'A, B = map(int, input().split())\nint C\n\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C == 3:\n print("Yes")', 'A, B = map(int, input())\nint C\n\nif A == 2 or B == 2:\n print("No")\n \nelse:\n print("Yes")', 'A, B = int(input())\nint C\n\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C ==3:\n print("Yes")', 'int C\nA, B = [int(i) for i in input().split()]\n\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C ==3:\n print("Yes")', 'A, B = [int(i) for i in input().split()]\nint C\n\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C ==3:\n print("Yes")', 'int A, B, C\nA = input()\nB = input()\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C ==3:\n print("Yes")', 'int C\nA = int(input())\nB = int(input())\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C ==3:\n print("Yes")', 'int i, t\nA, B = int(input(i, t))\nint C\n\nif A == 2 or B == 2:\n print("No")\n \nelif C == 1 or C == 3:\n print("Yes")', 'A, B = map(int, input().split())\nint C\n\nif A == 2 or B == 2:\n print("No")\n \nelse:\n print("Yes")', 'A, B = map(int, input().split())\n\nif A == 2 or B == 2:\n print("No")\n \nelse: \n print("Yes")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s071641997', 's183981091', 's319120801', 's430640002', 's502711208', 's511194018', 's571203356', 's617708924', 's659850151', 's673799064', 's985772636', 's366065934'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 16.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [86, 102, 115, 90, 101, 122, 122, 110, 114, 115, 98, 93] |
p03260 | u345483150 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b=map(int, input().split())\nif (a*b)%2==0:\n print('Yes')\nelse:\n print('No')", "a, b=map(int, input().split())\nif (a*b)%2==0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s216528246', 's163497894'] | [3316.0, 2940.0] | [25.0, 18.0] | [80, 80] |
p03260 | u346028292 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b=map(int,input().split())\nif (a*b)%2!==0:\n print("Yes")\nelif (a*b*3)%2!==0:\n print("Yes")\n \nelse:\n print("No)', 'a,b=map(int,input().split())\nif (a*b)%2!=0:\n print("Yes")\nelif (a*b*3)%2!=0:\n print("Yes")\n \nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s417130364', 's854774282'] | [2940.0, 2940.0] | [17.0, 17.0] | [116, 115] |
p03260 | u353919145 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["line = input()\na, b = [int(n) for n in line.split()]\n\nif(a==2 or b==2):\n print('NO')\nelse:\n print('YES')", 'a, b = map(int, input().split())\nfor i in range(1, 4):\n if (i * a * b) % 2 != 0:\n print("YES")\n quit()\nprint("NO")\n', 'x = input()\na = {}\na = [int(i) for i in x.split()]\n\ny = {1, 2, 3}\n\nc = y.difference(a)\na = list(a)\n\nmult = a[0] * a[1]\nc = list(c)[0]\nflag = False\nfor i in y:\n if (mult * i) % 2:\n flag = True\nif flag:\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s513435112', 's994478445', 's003986756'] | [2940.0, 2940.0, 3060.0] | [17.0, 18.0, 18.0] | [110, 132, 250] |
p03260 | u354623416 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A, B = map(int, input().split())\nif A % 2 == 0 \n print("No")\nelse:\n print("Yes")', 'A, B = map(int, input().split())\nif A % 2 == 0 or B % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s934219341', 's472621815'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 96] |
p03260 | u355154595 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,s=map(int,input().split())\nif a!=2 and s!=2!\n print('YES')\n \nelse:\n print('NO')\n", "a,s=map(int,input().split())\nif a==2 or s==2:\n print('NO')\nelse:\n print('YES')", "a,s=map(int,input().split())\nif a!=2 and s!=2!:\n print('YES')\n \nelse:\n print('NO')\n", "a,s=map(int,input().split())\nif a!=2 and s!=2:\n print('YES')\n \nelse:\n print('NO')\n", "a,s=map(int,input().split())\nif a==2 or s==2:\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s011979109', 's392642895', 's842300223', 's858358147', 's531381894'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0] | [91, 84, 92, 91, 85] |
p03260 | u355631794 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['import fractions\nfrom functools import reduce\ndef func():\n n,x0 = map(int,input().split())\n x = [int(i) for i in input().split()]\n x.append(x0)\n x.sort()\n x.reverse()\n \n l = []\n before = 0\n before = None\n for xi in x:\n if before == None:\n before = xi\n continue\n l.append(xi-before)\n before = xi\n \n print(abs(reduce(fractions.gcd,l)))\nfunc()', 'def func():\n a,b = map(int,input().split())\n if a & 1 == 1 and b & 1 == 1:\n print("Yes")\n else:\n print("No")\nfunc()'] | ['Runtime Error', 'Accepted'] | ['s381722950', 's340946813'] | [5048.0, 2940.0] | [35.0, 17.0] | [419, 138] |
p03260 | u355649707 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\n\nprint('Yes' if a % 2 == 0 and b % 2 == 0 else 'No')", "a, b = map(int, input().split())\n\nprint('Yes' if a % 2 != 0 and b % 2 != 0 else 'No')"] | ['Wrong Answer', 'Accepted'] | ['s616999810', 's029665914'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 85] |
p03260 | u363118893 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A, B = map(int, input().split())\n\nif (A % 2) and (B % 2):\n print("yes")\nelse:\n print("no")\n\n', 'A, B = map(int, input().split())\n\nif (A % 2) and (B % 2):\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Accepted'] | ['s262139151', 's985983908'] | [2940.0, 2940.0] | [17.0, 17.0] | [98, 97] |
p03260 | u364541509 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["A, B = map(int, input().split())\nD = A * B\nif D / 2 ==D // 2:\n print('Yes')\nelse:\n print('No')", "A, B = map(int, input().split())\nD = A * B\nif D / 2 ==D // 2:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s949801257', 's474247530'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 96] |
p03260 | u366959492 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b=map(int,input().split())\nif a%2==0 and b%2==0:\n print("Yes")\nelse:\n print("No")\n', 'a,b=map(int,input().split())\nif a%2==1 and b%2==1:\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Accepted'] | ['s841716393', 's694212966'] | [2940.0, 2940.0] | [17.0, 17.0] | [90, 90] |
p03260 | u371530330 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b = map(int, input().split())\n\nif (a==1 and b==1) or (a==3 and b==3):\n print('Yes')\nelse:\n print('No')", "a,b = map(int, input().split())\n \nif a%2 !=0 and b%2 !=0 :\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s660948248', 's236878908'] | [2940.0, 2940.0] | [18.0, 17.0] | [106, 93] |
p03260 | u371595076 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["#!/bin/evn python\n# -*- coding: utf-8 -*-\n\nn = int(input())\nwords = [input() for _ in range(n)]\n\nlast = ''\nsuccess = True\n\nif len(set(words)) != len(words):\n success = False\n\nif success:\n for word in words:\n if last[-1] != word[0]:\n success = False \n break\n\nif success:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\n\nif (a * b) % 2 == 1:\n print('Yes')\nelse:\n print('No')\n\n"] | ['Runtime Error', 'Accepted'] | ['s275700750', 's992255911'] | [3060.0, 2940.0] | [17.0, 17.0] | [343, 95] |
p03260 | u373061468 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\nif (a * b) % == 1:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\nif (a * b) % 2 == 1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s514223651', 's226136634'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 88] |
p03260 | u373295322 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = list(map(int, input().split()))\nif a % 2 == 0 or b % 2 == 0:\n print("no")\nelse:\n print("yes") ', 'a, b = list(map(int, input().split()))\nif a % 2 == 0 or b % 2 == 0:\n print("No")\nelse:\n print("Yes") '] | ['Wrong Answer', 'Accepted'] | ['s382729382', 's638476537'] | [2940.0, 2940.0] | [18.0, 17.0] | [103, 103] |
p03260 | u374829922 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['def main():\n a,b = map(int, input().split())\n if (a*b) % 2== 1:\n print("Yes")\n else:\n print(\'No")\n\n\n\nif __name__ == \'__main__\' :\n main()', "import sys\n\ndef odd_def(num):\n if num % 2 == 0:\n return False\n else:\n return True\n\ndef main():\n a,b = map(int, input().split())\n for i in range(1,4):\n mal = a*b*c\n if odd_def(mal):\n print('Yes')\n sys.exit()\n print('No')\n\n\nif __name__ == '__main__' :\n main()", 'def main():\n a,b = map(int, input().split())\n if (a*b) % 2== 1:\n print("Yes")\n else:\n print(\'No\')\n \n \n \nif __name__ == \'__main__\' :\n main()', 'def main():\n a,b = map(int, input().split())\n if (a*b) % 2== 1:\n print("Yes")\n else:\n print(\'No\')\n \n \n \nif __name__ == \'__main__\' :\n main()'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s079193403', 's369689683', 's517637329', 's555052280'] | [2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [154, 325, 157, 155] |
p03260 | u374929478 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["N = int(input())\na = [input() for i in range(N)]\n \nfor num in range(N):\n if a[num] in a[:num-1]:\n print('No')\n break\n if num < N-1:\n if a[num][-1] != a[num+1][0]:\n \tprint('No')\n \tbreak\n print('Yes')", "N = int(input())\na = [input() for i in range(N)]\n \nfor num in range(N):\n if a[num] in a[:num-1]:\n print('No')\n break\n if num < N-1:\n if a[num][-1] != a[num+1][0]:\n \tprint('No')\n \tbreak\n if num == N-1:\n print('Yes')", "A, B = map(int, raw_input().split())\nx = A * B\nif x % 2 == 0:\n print('No')\nelse:\n print('Yes')", "A, B = map(int, raw_input().split(' '))\n\nif (A * B) % 2 == 0:\n print('No')\nelse:\n print('Yes')", "N = int(input())\na = [input() for i in range(N)]\n \nfor num in range(N):\n if a[num] in a[:num]:\n print('No')\n break\n if num < N-1:\n if a[num][-1] != a[num+1][0]:\n \tprint('No')\n \tbreak\n print('Yes')", "A, B = map(int, raw_input().split())\n\nif (A * B) % 2 == 0:\n print('No')\nelse:\n print('Yes')", "A, B = map(int, input().split())\nx = A * B\nif x % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s291006918', 's456379160', 's528069018', 's602091878', 's718819305', 's933462642', 's910237304'] | [3060.0, 3060.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 21.0] | [216, 235, 100, 100, 214, 97, 96] |
p03260 | u375172966 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\nif (a*b)%2 == 1:\n print('YES')\nelse:\n print('NO')\n", "a, b = map(int, input().split())\nif a%2 != 0 and b%2 != 0:\n print('YES')\nelse:\n print('NO')\n", "a, b = map(int, input().split())\nif (a*b)%2 == 1:\n print('YES')\nelse:\n print('NO')\n", "a, b = map(int, input().split())\nif a%2 == 1 and b%2 == 1:\n print('YES')\nelse:\n print('NO')\n", "a, b = map(int, input().split())\nif (a*b)%2 == 1:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s592569830', 's676565080', 's768738127', 's919092415', 's649813983'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [89, 98, 89, 98, 89] |
p03260 | u380524497 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input())\nif a * b % 2 == 1:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\nif a * b % 2 == 1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s100344028', 's613339106'] | [2940.0, 2940.0] | [19.0, 18.0] | [82, 90] |
p03260 | u392423112 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A,B = map(int,input().split())\nX = A * B\n\nif X % == 0:\n print("Yes")\nelse:\n print("No")\n', 'A,B = map(int,input().split())\nX = A * B\n\nif X % 2 == 0:\n print("Yes")\nelse:\n print("No")\n', 'A,B = map(int,input().split())\nX = A * B\n\nif X % 2 != 0:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s681181422', 's966202209', 's471825054'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [94, 96, 96] |
p03260 | u394482932 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['print(" YNeos"eval(input()).replace(" ","*")%2::2))', 'print(" YNeos"[eval(input().replace(" ","*"))%2::2])'] | ['Runtime Error', 'Accepted'] | ['s923012834', 's763074880'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 52] |
p03260 | u394853232 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = map(int, input().split())\nif a % 1 == 0 or b % 2 == 0:\n print("No")\nelse:\n print("Yes")', 'a, b = map(int, input().split())\nif a % 2 == 0 or b % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s112212591', 's661098574'] | [2940.0, 2940.0] | [17.0, 17.0] | [100, 100] |
p03260 | u397563544 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b= map(int,input().split())\n\nif (a*b)%2 == 0:\n print('NO')\nelse:\n print('YES')", "a,b= map(int,input().split())\n \nif (a*b)%2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s595322540', 's568813415'] | [2940.0, 2940.0] | [18.0, 18.0] | [82, 83] |
p03260 | u398983698 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b=map(int,input().split)\nif(a%2==1 and b%2==1):\n print("Yes")\nelse:\n print("No")', 'a,b=map(int,input().split())\nif(a%2==1 and b%2==1):\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s942956388', 's662938624'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 86] |
p03260 | u399721252 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = [ int(v) for v in input().split() ]\nans = "Yes"\nif (a * b) % 2 == 1:\n ans = "No"\nprint(ans)', 'a, b = [ int(v) for v in input().split() ]\nans = "Yes"\nif (a * b) % 2 == 0:\n ans = "No"\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s510140975', 's420867070'] | [2940.0, 2940.0] | [18.0, 17.0] | [99, 99] |
p03260 | u400221789 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['h,w=map(int,input().split())\na=[]\n\nfor i in range(h):\n x=list(map(int,input().split()))\n a.append(x)\nans=[]\ntimes=0\nfor i in range(h):\n for j in range(w-1):\n if a[i][j]%2!=0:\n a[i][j]-=1\n a[i][j+1]+=1\n ans.append([i+1,j+1,i+1,j+2])\n times+=1\nfor i in range(h-1):\n if a[i][w-1]%2!=0:\n a[i][w-1]-=1\n a[i+1][w-1]+=1\n ans.append([i+1,w,i+2,w])\n times+=1\nprint(times)\nfor i in range(len(ans)):\n print(ans[i])', "a,b,=map(int,input().split())\nif a%2!=0 and b%2!=0:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s998463249', 's144344052'] | [3064.0, 2940.0] | [18.0, 17.0] | [443, 86] |
p03260 | u404676457 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\nif a % 2 == 0 or b % 2 == 0:\n print('No')\nelse:\n print('Yes)", "a, b = map(int, input().split())\nif a % 2 == 0 or b % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s974672930', 's464773837'] | [2940.0, 2940.0] | [18.0, 18.0] | [99, 100] |
p03260 | u405660020 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b=map(int,input())\nif a%2==1 and b%2==1:\n print("Yes")\nelse:\n print("No")', 'a,b=map(int,input().split())\nif a%2==1 and b%2==1:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s066270336', 's921821874'] | [2940.0, 2940.0] | [18.0, 17.0] | [81, 89] |
p03260 | u406109688 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a = input()\nb = input()\nif a * b % 2:\n return "Yes"\nreturn "No"', 'nums = map(int, input().split())\nif nums[0] * nums[1] % 2:\n return "Yes"\nreturn "No"', 'return input() * input() % 2', 'numbers = input()\nnum_a = int(numbers.split()[0])\nnum_b = int(numbers.split()[1])\nif (num_a * num_b) % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s088588249', 's185892084', 's769044156', 's725057464'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [64, 85, 28, 145] |
p03260 | u407837208 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['(n, x) = list(map(int, input().split()))\nx_list = list(map(int, input().split()))\n\nx_list.append(x)\nx_list.sort()\n\nmin_diff = 99999999999\nfor i in range(len(x_list) - 1):\n diff = x_list[i + 1] - x_list[i]\n if min_diff > diff:\n min_diff = diff\n\n\nx_diff = [xx - x_list[0] for xx in x_list]\n\nfor i in range(1, min_diff):\n if min_diff % i != 0: \n continue\n xx = min_diff // i\n is_divided = [j for j in x_diff if j % xx != 0]\n if len(is_divided) == 0:\n print(xx)\n exit()\n', "(a, b) = list(map(int, input().split()))\n\nif a % 2 == 0 or b % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s463874837', 's314906515'] | [3064.0, 2940.0] | [17.0, 17.0] | [598, 109] |
p03260 | u415905784 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["A, B = map(int, input().split())\nprint('Yes' A % 2 and B % 2 else 'No')", "A, B = map(int, input().split())\nprint('Yes' if A % 2 and B % 2 else 'No')"] | ['Runtime Error', 'Accepted'] | ['s532304085', 's779637726'] | [2940.0, 2940.0] | [17.0, 18.0] | [71, 74] |
p03260 | u425019904 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["def main():\n N = int(input())\n W = []\n for n in range(N):\n W.append(input())\n for i, w in enumerate(W):\n prev_w = w\n if i==0:\n continue\n for wn in W[:i]:\n if w == wn:\n print('No')\n return \n if prev_w[-1] != w[0]:\n print('No')\n return\n print('Yes')\n return\n\nmain()\n", "from fractions import gcd\ndef fun():\n nx = input()\n N, X = nx.split(' ')\n N = int(N)\n X = int(X)\n cities = [int(c) for c in input().split(' ')]\n cities.append(X)\n x = sorted(cities)\n nx = x[1:]\n dist = [nn - x[i] for i, nn in enumerate(nx)]\n if N==1:\n print(dist[0])\n return\n min_gcd = 10000000000\n for i, d in enumerate(dist[:-1]):\n dp = dist[i+1]\n gc = gcd(d, dp)\n if gc < min_gcd:\n min_gcd = gc\n print(min_gcd)\n\nfun()\n", "def main():\n N = int(input())\n W = []\n for n in range(N):\n W.append(input())\n for i, w in enumerate(W):\n prev_w = w\n if i==0:\n continue\n for wn in W[:i-1]:\n if w == wn:\n print('No')\n return \n if prev_w[-1] != w[0]:\n print('No')\n return\n print('Yes')\n return\n\nmain()\n", "def main():\n N = int(input())\n W = []\n for n in range(N):\n W.append(input())\n for i, w in enumerate(W):\n if i==0:\n prev_w = w\n continue\n for wn in W[:i]:\n if w == wn:\n print('No')\n return \n if prev_w[-1] != w[0]:\n print('No')\n return\n prev_w = w\n print('Yes')\n return\n\nmain()\n", "s = input()\na,b = s.split(' ')\na = int(a)\nb = int(b)\nif (a%2 == 0) or (b%2 == 0):\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s284128536', 's422121971', 's821734735', 's885386244', 's104424378'] | [3060.0, 5076.0, 3060.0, 3060.0, 2940.0] | [17.0, 36.0, 17.0, 17.0, 17.0] | [391, 506, 393, 414, 121] |
p03260 | u431832062 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['import sys\n\n\nargv = sys.argv\nargc = len(argv)\n\nA = int(argv[1])\nB = int(argv[2])\n\nAB = A * B\nexists = False\n\n\nfor C in range(1, 4):\n if (AB * C % 2 == 1):\n exists = True\n break\n\n\nif (exists):\n print("Yes")\nelse:\n print("No")\n', 'import sys\n\n\nargv = sys.argv\nargc = len(argv)\n\n\nif (argc != 3):\n print("引数2個が必要")\n sys.exit()\n\nA = int(argv[1])\nB = int(argv[2])\n\nif (A < 1 or 3 < A):\n print("Aが不正 (1-3)")\n sys.exit()\n\nif (B < 1 or 3 < B):\n print("Bが不正 (1-3)")\n sys.exit()\n\nAB = A * B\nexists = False\n\n\nfor C in range(1, 4):\n if (AB * C % 2 == 1):\n exists = True\n break\n\n\nif (exists):\n print("Yes")\nelse:\n print("No")\n', 'import sys\n\n\nargv = sys.argv\nargc = len(argv)\n\n\nif (argc != 3):\n print("引数2個が必要")\n sys.exit()\n\nA = int(argv[1])\nB = int(argv[2])\n\nif (A < 1 or 3 < A):\n print("Aが不正 (1-3)")\n sys.exit()\n\nif (B < 1 or 3 < B):\n print("Bが不正 (1-3)")\n sys.exit()\n\nAB = A * B\nexists = False\n\n\nfor C in range(1, 4):\n if (AB * C % 2 == 1):\n exists = True\n break\n\n\nif (exists):\n print("YES")\nelse:\n print("NO")\n', '# -*- coding: utf-8 -*-\n\nA, B = map(int, input().split())\nAB = A * B\n\nexists = False\n\nfor C in range(1, 4):\n if (AB * C % 2 == 1):\n exists = True\n break\n\nif (exists):\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s243942095', 's700880715', 's911041687', 's557249265'] | [2940.0, 3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 18.0] | [292, 514, 514, 250] |
p03260 | u431930591 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["arg = raw_input().split()\n\nnum = int(arg[0]) * int(arg[1])\n\nif num % 2 == 0:\n print('No')\nelse:\n print('Yes')", 'N = raw_input().split()\nprint(N)', "arg = raw_input().split()\n\nnum = int(arg[0]) * int(arg[1])\n\nif (num % 2) == 0:\n print('No')\nelse:\n print('Yes')", 'N = raw_input().split()\nprint(N)', "arg = input().split()\n\nnum = int(arg[0]) * int(arg[1])\n\nif (num % 2) == 0:\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s017997442', 's434974431', 's481938285', 's599657220', 's544927755'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [111, 32, 113, 32, 110] |
p03260 | u432805419 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a = [int(input()) for i in range(2)]\nif (a[0] * a[1]) % 2 == 0:\n print("No")\nelse:\n print("Yes")', 'a,b = [int(input()) for i in range(2)]\nif (a * b) % 2 == 0:\n print("No")\nelse:\n print("Yes")', 'a,b = list(map(int,input().split()))\nif a * b % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s086518821', 's480404817', 's952187536'] | [2940.0, 3056.0, 3064.0] | [17.0, 17.0, 17.0] | [98, 94, 90] |
p03260 | u434282696 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b = map(int,input().split())\n\nif a == 2 or b == 2;\n\tprint('No')\nelse:\n\tprint('Yes')", "a,b = map(int,input().split())\n \nif a == 2 or b == 2:\n\tprint('No')\nelse:\n\tprint('Yes')"] | ['Runtime Error', 'Accepted'] | ['s855069472', 's621438602'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 86] |
p03260 | u434872492 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["A, B = map(int,input())\nab = A*B\nif ab % 2 == 0:\n print('No')\nelse:\n print('Yes')", "A, B = map(int,input().split())\nab = A*B\nif ab % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s256759923', 's325558030'] | [2940.0, 2940.0] | [18.0, 17.0] | [87, 95] |
p03260 | u439176910 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A, B = [int(item) for item in input().split()]\nans = "yes" if (A * B) % 2 == 1 else "no"\nprint(ans)', 'A, B = [int(item) for item in input().split()]\nans = "yes" if (A * B) % 2 == 1 else "no"\nprint(ans)', 'A, B = [int(item) for item in input().split()]\nans = "Yes" if (A * B) % 2 == 1 else "No"\nprint(ans)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s392563306', 's778540187', 's582318646'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [99, 99, 99] |
p03260 | u439312138 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A, B = map(int,input().split())\n \nif (A*B*1 % 2 == 0) or (A*B*3 % 2 == 0):\n print("Yes")\nelse:\n print("No")', 'A, B = map(int,input().split())\n\nif (A*B*1 % 2 == 0) or (A*B*3 % 2 ==0):\n print("Yes")\nelse:\n print("No")', 'A, B = map(int,input().split())\n \nif (A*B*1 % 2 != 0) or (A*B*3 % 2 != 0):\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s002485303', 's854701745', 's954101765'] | [2940.0, 3188.0, 3064.0] | [17.0, 20.0, 17.0] | [109, 107, 109] |
p03260 | u440447290 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['import sys\nl = map(int, raw_input().split())\nif (l[0] * l[1]) % 2 == 0:\n print("No")\nelse:\n print("Yes")', 'import sys\nl = list(map(int, input().split()))\nif (l[0] * l[1]) % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s460506500', 's437622397'] | [2940.0, 2940.0] | [17.0, 18.0] | [110, 112] |
p03260 | u441272768 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A,B = map(int, input().split())\n\nc = 1\n\nif A*B*c/2 == 0:\n\tprint("Yes")\nelse:\n\tprint("No") ', 'A,B = map(int, input().split())\n\n\nif A*B/2 == 0:\n\tprint("Yes")\nelse:\n\tprint("No") ', 'A,B = map(int, input().split())\n\n\nif A*B/2 == 0 or A*B == 1:\n\tprint("Yes")\nelse:\n\tprint("No") ', 'A,B = map(int, input().split())\n\n\nif A*B%2 != 0:\n\tprint("Yes")\nelse:\n\tprint("No") '] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s500411992', 's543690730', 's714241562', 's775150978'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [90, 82, 94, 82] |
p03260 | u445628522 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A=int(input())\nB=int(input())\nif A%2!=0 and B%2!=0:\n print("Yes")\nelse :\n print("No") ', 'N=int(input())\nbefore=[]\nans="Yes"\nfor i in range(N):\n s=input()\n if s in before:\n ans="No"\n if len(before)>0:\n if before[-1][-1]!=s[0]:\n ans="No"\n before.append(s)\n\nprint(ans)', 'A,B=map(int,input().split())\n\nif A%2!=0 and B%2!=0:\n print("Yes")\nelse :\n print("No") '] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s416314654', 's920079813', 's784806716'] | [2940.0, 3060.0, 2940.0] | [18.0, 17.0, 18.0] | [100, 257, 100] |
p03260 | u453068434 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b=map(int,input().split())\nif((a!=1 and b!=3) or (b!=1 and a!=3) or(a!=1 and b!=1) or (a!=3 and b!=3)):\n print('No')\nelse:\n print('Yes')", "a,b=map(int,input().split())\nif((a!=1 and b!=3) or (b!=1 and a!=3)):\n print('No')\nelse:\n print('Yes')", "a,b=map(int,input().split())\nif((a*b)%2==0):\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s212488885', 's308964974', 's096363997'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [144, 107, 83] |
p03260 | u453526259 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['n = int(input())\n\nused = [empty]\nans = "Yes"\n\nfor i in range(n):\n if i == 0:\n t = str(input())\n \n past = t\n else:\n t = str(input())\n for j in used:\n if j == t:\n ans = "No"\n \n if past[-1] != t[1]:\n ans = "No"\n used.append(t)\n past = t\n\nprint(ans)\n\n \n \n', 'a,b = map(int, input().split())\nc = 0\n\nfor i in range(1,3):\n if (a*b*c%2) == 1:\n c = 1\n\nif c == 1:\n print("Yes")\nelse:\n print("No")', 'a,b = map(int, input().split())\nc = 0\n\nfor i in range(1,3):\n if ((a*b*i)%2) == 1:\n c = 1\n\nif c == 1:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s059046340', 's155275283', 's159801114'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [343, 147, 149] |
p03260 | u455696302 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["N,X =[int(i) for i in input().split()]\nc = [int(i) for i in input().split()]\n\nc.append(X)\nc.sort()\n\nD = float('inf')\n\nfor i in range(1,N+1):\n if c[i] - c[i-1] < D:\n D = abs(c[i] - c[i-1])\n\nprint(int(D))", "N,X =[int(i) for i in input().split()]\nc = [int(i) for i in input().split()]\n\nc.append(X)\nc.sort()\n\nD = float('inf')\n\nfor i in range(1,N+1):\n if c[i] - c[i-1] < D:\n D = abs(c[i] - c[i-1])\n\nprint(int(D))\n\n", "a,b=[int(i) for i in input().split()]\n\nres = 0\nf = False\nfor i in range(1,4):\n res = a * b * i\n if res % 2 == 1:\n f = True\n\nif f:\n print('Yes')\nelse:\n print('No')\n\n\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s670959659', 's999149986', 's533949983'] | [3064.0, 3060.0, 2940.0] | [17.0, 18.0, 17.0] | [212, 214, 184] |
p03260 | u458608788 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b=map(int,input()split())\nprint("Yes" if a%2 and b%2 else "No")', 'a,b=map(int,input().split())\nprint("Yes" if a%2 and b%2 else "No")'] | ['Runtime Error', 'Accepted'] | ['s604307383', 's233308484'] | [2940.0, 2940.0] | [17.0, 17.0] | [65, 66] |
p03260 | u464032595 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['N = int(input())\nW = []\nflag = "Yes"\nlast_chara = \'\'\nfor i in range(N):\n now_W = input()\n www = list(now_W)\n if i != 0:\n if www[0] != last_chara:\n flag = "No"\n break\n if now_W in W:\n flag = "No"\n break\n W.append(now_W)\n last_chara = www[-1]\nprint(flag)', 'A, B = list(map(int, input().split()))\nif A * B % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s905202978', 's139474384'] | [3064.0, 2940.0] | [17.0, 17.0] | [277, 92] |
p03260 | u465691148 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['import numpy\n\na, b = map(int, input().split())\nc = np.asarray([[1,2,3], [4,5,6]])\nif a % 2 == 0 or b % 2 == 0:\n print("No")\nelse:\n print("Yes")', 'a, b = map(int, input().split())\nif a % 2 == 0 or b % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s062535054', 's785759853'] | [13204.0, 2940.0] | [169.0, 17.0] | [149, 100] |
p03260 | u475402977 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a=int(input())\nb=int(input())\nif a%2==0 or b%2==0:\n print("No")\nelse:\n print("Yes")', 'l = list(map(int, input().split()))\na=l[0]\nb=l[1]\nif a%2==0 or b%2==0:\n print("No")\nelse:\n print("Yes")\n'] | ['Runtime Error', 'Accepted'] | ['s667582141', 's420175783'] | [2940.0, 2940.0] | [17.0, 18.0] | [89, 110] |
p03260 | u475675023 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A,B=map(int,input.split())\nif A*B*1%2==1 or A*B*2%2==1 or A*B*3%2==1:\n print("Yes")\nelse:\n print("No")', 'N,X=map(int,input().split())\ninputcities=list(map(int, input().split()))\ncities=list(set([abs(inputcities[i]-X) for i in range(N)]))\nN=len(cities)\ncount=0\nflag=0\nminimum=min(cities)\nfor j in range(minimum+1)[::-1]:\n for i in range(N):\n if cities[i]%j==0:\n count+=1\n else:\n count=0\n break\n if count==N:\n print(j)\n flag=1\n break\n if flag==1:\n break', 'A,B=map(int,input().split())\nif A*B*1%2==1 or A*B*2%2==1 or A*B*3%2==1:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s146295696', 's211433454', 's734306806'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [104, 390, 106] |
p03260 | u480300350 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = map(int, input().split())\nprint("Yes" if a % 2 == 1 and b % 2 == 0 else "No")\n', '#!/usr/bin/env python3\n\nimport sys\n# import math\n# from string import ascii_lowercase, ascii_upper_case, ascii_letters, digits, hexdigits\n# import re # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)\n# from operator import itemgetter # itemgetter(1), itemgetter(\'key\')\n\n# from collections import defaultdict # subclass of dict. defaultdict(facroty)\n# from collections import Counter # subclass of dict. Counter(iter): c.elements(), c.most_common(n), c.subtract(iter)\n# from heapq import heapify, heappush, heappop # built-in list. heapify(L) changes list in-place to min-heap in O(n), heappush(heapL, x) and heappop(heapL) in O(lgn).\n# from heapq import nlargest, nsmallest # nlargest(n, iter[, key]) returns k-largest-list in O(n+klgn).\n# from itertools import count, cycle, repeat # count(start[,step]), cycle(iter), repeat(elm[,n])\n# from itertools import groupby # [(k, list(g)) for k, g in groupby(\'000112\')] returns [(\'0\',[\'0\',\'0\',\'0\']), (\'1\',[\'1\',\'1\']), (\'2\',[\'2\'])]\n# from itertools import starmap # starmap(pow, [[2,5], [3,2]]) returns [32, 9]\n# from itertools import product, permutations # product(iter, repeat=n), permutations(iter[,r])\n# from itertools import combinations, combinations_with_replacement\n# from itertools import accumulate # accumulate(iter[, f])\n# from functools import reduce # reduce(f, iter[, init])\n# from functools import lru_cache # @lrucache ...arguments of functions should be able to be keys of dict (e.g. list is not allowed)\n# from bisect import bisect_left, bisect_right # bisect_left(a, x, lo=0, hi=len(a)) returns i such that all(val<x for val in a[lo:i]) and all(val>-=x for val in a[i:hi]).\n# from copy import deepcopy # to copy multi-dimentional matrix without reference\n# from fractions import gcd # for Python 3.4 (previous contest @AtCoder)\n\n\ndef main():\n mod = 1000000007 # 10^9+7\n inf = float(\'inf\') # sys.float_info.max = 1.79...e+308\n # inf = 2 ** 64 - 1 # (for fast JIT compile in PyPy) 1.84...e+19\n sys.setrecursionlimit(10**6) # 1000 -> 1000000\n def input(): return sys.stdin.readline().rstrip()\n def ii(): return int(input())\n def mi(): return map(int, input().split())\n def mi_0(): return map(lambda x: int(x)-1, input().split())\n def lmi(): return list(map(int, input().split()))\n def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))\n def li(): return list(input())\n \n \n a, b = mi()\n print(\'No\') if a % 2 == 0 or b % 2 == 0 else print(\'Yes\')\n\n\nif __name__ == "__main__":\n main()\n'] | ['Wrong Answer', 'Accepted'] | ['s494337937', 's368777679'] | [2940.0, 3064.0] | [17.0, 18.0] | [85, 2939] |
p03260 | u482157295 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b = map(int,input().split())\nif a*b%2 == 0:\n print("No")\nelse:\n ptint("Yes")', 'a,b = map(int,input().split())\nif a*b%2 == 0:\n print("No")\nelse:\n print("Yes")\n'] | ['Runtime Error', 'Accepted'] | ['s881184901', 's925881891'] | [2940.0, 2940.0] | [17.0, 17.0] | [80, 81] |
p03260 | u488934106 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['def ABC(a , b):\n\n return "Yes" if (a * b) % 2 == 0 else "No"\n\ndef main():\n a , b = map(int , input().split())\n print(ABC(a , b))\n\nif __name__ == \'__main__\':\n main()', 'def ABC(a , b):\n\n return "No" if (a * b) % 2 == 0 else "Yes"\n\ndef main():\n a , b = map(int , input().split())\n print(ABC(a , b))\n\nif __name__ == \'__main__\':\n main()'] | ['Wrong Answer', 'Accepted'] | ['s919115712', 's362536282'] | [2940.0, 2940.0] | [17.0, 17.0] | [176, 176] |
p03260 | u490489966 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b=map(int,input().split())\nif a%2==0 and b%2==0:\n print('Yes')\nelse:\n print('No')", "a,b=map(int,input().split())\nif a%2!=0 and b%2!=0:\n print('No')\nelse:\n print('Yes')", "a,b,c=map(int,input().split())\nif a%2==1 and b%2==1 and c%2==1:\n print('Yes')\nelse:\n print('No')", "a,b,c=map(int,input().split())\nif a%2==1 and b%2==1 and c%2==1:\n print('Yes')\nelse:\n print('No')\n", "a,b,c=map(int,input().split())\nif (a%2==1 and b%2==1 and c%2==1):\n print('Yes')\nelse:\n print('No')", "a,b,c=map(int,input().split())\nif(a%2==0 and b%2==0 and c%2==0):\n print('Yes')\nelse:\n print('No')", "a,b=map(int,input().split())\nif a%2==0 or b%2==0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s160909924', 's216856531', 's461030779', 's474674882', 's606900468', 's931136189', 's998060053'] | [2940.0, 2940.0, 2940.0, 2940.0, 3316.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 20.0, 17.0, 17.0] | [85, 85, 98, 99, 100, 99, 84] |
p03260 | u491656579 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\n\nif (a * b) % 2 == 0:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\n\nif (a * b) % 2 != 0:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s567988824', 's666875843'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 93] |
p03260 | u492030100 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b=map(int,input().split())\nif((a*b)%2==0):\n print('Yes')\nelse:\n print('No')", "a,b=map(int,input().split())\nif((a*b)%2==0):\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s169592059', 's903036204'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 83] |
p03260 | u500279510 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = int(input())\n\nd = a * b\nif d % 2 == 0:\n print('Yes')\nelse:\n print('No')", "a, b = map(int,input().split())\n\nd = a * b\nif d % 2 == 0:\n print('Yes')\nelse:\n print('No')", "a, b = map(int,input().split())\n\nd = a * b\nif d % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s668276932', 's789095246', 's861218726'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [84, 96, 96] |
p03260 | u503221936 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['import sys\n\ndef main(lines):\n a, b = map(int, lines[0].split())\n if a % 2 != 0 and b % 2 != 0:\n print("No")\n return\n print("Yes")\n\n\nif __name__ == \'__main__\':\n lines = []\n for l in sys.stdin:\n lines.append(l.rstrip(\'\\r\\n\'))\n main(lines)', 'import sys\n\ndef main(lines):\n a, b = map(int, lines[0].split())\n if a % 2 != 0 and b % 2 != 0:\n print("Yes")\n return\n print("No")\n\n\nif __name__ == \'__main__\':\n lines = []\n for l in sys.stdin:\n lines.append(l.rstrip(\'\\r\\n\'))\n main(lines)'] | ['Wrong Answer', 'Accepted'] | ['s048516292', 's427909409'] | [3060.0, 3060.0] | [17.0, 19.0] | [261, 261] |
p03260 | u503228842 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['def gcd(a,b):\n while b!=0:\n a,b = b,b%a\n return a\ndef lcm(a,b):\n return (a*b)//gcd(a,b)\n\nN,X = map(int,input().split())\nx = list(map(int,input().split()))\nx = list(map(lambda q:abs(q-X),x))\nans = 1\nfor xx in x:\n ans = gcd(ans,xx)\nprint(ans)', 'a,b = map(int,input().split())\nif (a*b)%2:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s296825775', 's755015980'] | [3064.0, 2940.0] | [17.0, 17.0] | [259, 81] |
p03260 | u504836877 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['N,X = map(int, input().split())\nList = [int(x) for x in input().split()]\n \nimport math\nList.append(X)\nList.sort()\n \ndistance = []\nfor i in range(N):\n distance.append(List[i+1]-List[i])\n \nd_min = min(distance)\n \nnum_list = []\n \nc = 1\nwhile c <= math.sqrt(d_min):\n if d_min%c == 0:\n num_list.append(c)\n c += 1\n \nnum_list2 = [0]*len(num_list)\nfor i in range(len(num_list)):\n num_list2[len(num_list)-i-1] = int(d_min/num_list[i])\n \nnum_list = num_list + num_list2\n \nj = len(num_list)-1\nc2 = 0\nwhile j >= 0:\n for k in range(len(distance)):\n if distance[k]%num_list[j] == 0:\n c2 += 1\n if c2 == len(distance):\n ans = num_list[j]\n j = 0\n j -= 1\n \nprint(ans)', 'A,B = map(int, input().split())\nif (A*B)%2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s680899691', 's913121901'] | [3064.0, 2940.0] | [18.0, 17.0] | [709, 87] |
p03260 | u506689504 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\nif a*b%2 == 0:\n print('Yes')\nelse:\n print('No')", "a,b = map(int, input().split())\nif a*b%2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s643934975', 's816656828'] | [2940.0, 2940.0] | [17.0, 18.0] | [82, 81] |
p03260 | u507749492 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["class ABC109Solver():\n def __init__(self):\n self.a = int()\n self.b = int()\n def input(self, a, b):\n self.a = a\n self.b = b\n def solve(self):\n # return 'Yes'\n # return 'No' if self.b%2 == 0 else 'Yes'\n return 'No' if self.a%2 == 0 or self.b%2 == 0 else 'Yes'\n \na = int(input())\nb = int(input())\nsolver = ABC109Solver()\nsolver.input(a,b)\n\nprint( solver.solve() )\n", "\nclass ABC109Solver():\n def __init__(self):\n self.a = int()\n self.b = int()\n\n def input(self, a, b):\n self.a = a\n self.b = b\n\n def solve(self):\n # return 'Yes'\n # return 'No' if self.b%2 == 0 else 'Yes'\n return 'No' if self.a%2 == 0 or self.b%2 == 0 else 'Yes'\n \na = input()\nb = input()\nsolver = ABC109Solver()\nsolver.input(a, b)\nprint( solver.solve() )", "\nclass ABC109Solver():\n def __init__(self):\n self.a = int()\n self.b = int()\n def input(self, a, b):\n self.a = a\n self.b = b\n def solve(self):\n # return 'Yes'\n # return 'No' if self.b%2 == 0 else 'Yes'\n return 'No' if self.a%2 == 0 or self.b%2 == 0 else 'Yes'\n \na = int(input())\nb = int(input())\nsolver = ABC109Solver()\n\nprint( solver.solve() )", "class ABC109Solver():\n def __init__(self):\n self.a = int()\n self.b = int()\n def input(self, a, b):\n self.a = a\n self.b = b\n def solve(self):\n # return 'Yes'\n # return 'No' if self.b%2 == 0 else 'Yes'\n return 'No' if self.a%2 == 0 or self.b%2 == 0 else 'Yes'\n\nvals = input().split(' ')\na, b = int(vals[0]), int(vals[1])\nsolver = ABC109Solver()\nsolver.input(a,b)\n \nprint( solver.solve() )"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s488967758', 's528333247', 's729932415', 's311377845'] | [3060.0, 3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 18.0] | [424, 416, 406, 444] |
p03260 | u508273185 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a,b = map(int,input().split())\n\nfor i in range(3):\n if a*b*i%2==1:\n print("Yes")\n break\n else :\n print("No")\n break', 'a,b = map(int,input().split())\nif a%2==0 or b%2==0:\n print("No")\nelse :\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s116353267', 's899553844'] | [2940.0, 2940.0] | [17.0, 17.0] | [149, 91] |
p03260 | u512865746 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a = int(input())\nb = int(input())\n\nfor c in range(1,4):\n answer = a * b * c\n mod = answer % 2\n if mod == 1:\n print('Yes')\n break\n print('No')\n break", "a = input() \nb = input()\n\na = int(a)\nb = int(b)\n\n\nfor c in range(1,4):\n answer = a * b * c\n mod = answer % 2\n if mod == 1:\n print('Yes')\n break\n print('No')\n break", "# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\n\nfor c in range(1,4):\n answer = a * b * c\n mod = answer % 2\n if mod == 1:\n print('Yes')\n break\n print('No')\n break", "# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\n\nfor c in range(1,4):\n answer = a * b * c\n mod = answer % 2\n if mod == 1:\n print('Yes')\n break\n print('No')\n break", "# -*- coding: utf-8 -*-\n\na, b = map(int, input().split()) \n\nfor c in range(1,4):\n answer = a * b * c\n mod = answer % 2 \n if mod == 1:\n print('Yes') \n break\n print('No') \n break"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s487144482', 's494417202', 's765770179', 's796912006', 's266300577'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0] | [177, 284, 202, 202, 278] |
p03260 | u515364861 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["import sys\n\n\ndef solve(a,b):\n if a or b == 2:\n return 'No'\n else:\n return 'Yes'\n \n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\n\ndef solve(a,b):\n if a == 2:\n return 'No'\n elif b == 2:\n return 'No'\n else:\n return 'Yes'\n \n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()"] | ['Wrong Answer', 'Accepted'] | ['s202796578', 's504886238'] | [3060.0, 3060.0] | [17.0, 17.0] | [525, 557] |
p03260 | u518042385 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['i=int(input())\nl=[]\nc=True\nfor k in range(1,i+1):\n l.append(list(input())\nif len(l)==len(set(l)):\n for k in range(0,i):\n if l[k][-1]!=l[k+1][0]:\n c=False\n break\nelse:\n c=False\nif c==False:\n print("No")\nelse:\n print("Yes")\n \n \n', 'a,s=map(int,input().split())\nif a*s%2==0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s721403564', 's752789923'] | [2940.0, 2940.0] | [17.0, 17.0] | [257, 76] |
p03260 | u523964576 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['n=int(input())\na=[]\nfor i in range(n):\n a.append(input())\nflag=0\nfor i in range(n):\n s=a[i]\n \n if i==0:\n continue\n else:\n if last!=a[i][len(a[i])-1]:\n flag=1\n \n last=a[i][len(a[i])-1]\nif flag==1:\n print("No")\nelse:\n print("Yes")\n', 'a,b=map(int,input().split())\nflag=0\nfor i in range(1,4):\n if a*b*c%2==1:\n flag=1\nif flag==1:\n print("Yes")\nelse:\n print("No")\n', 'a,b=map(int,input().split())\nflag=0\nfor i in range(1,4):\n if a*b*i%2==1:\n flag=1\nif flag==1:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s120675540', 's627552685', 's156145677'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [282, 142, 142] |
p03260 | u524484925 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, raw_input().split())\nif a % 2 == 0 or b % 2 == 0:\n print('No')\nelse:\n print('Yes')\n", "a, b = map(int, raw_input().split())\nif a%2 == 0 or b%2 == 0:\n print('no')\nelse:\n print('yes')", "a, b = map(int, input().split())\nif a % 2 == 0 or b % 2 == 0:\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s907813212', 's983517358', 's591472058'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [105, 100, 101] |
p03260 | u531813944 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['from sys import stdin\n\ndef gcd(a, b):\n\twhile b: a, b = b, a % b\n\treturn a\n\nN, X = [int(x) for x in stdin.readline().rstrip().split()]\nx_lst = sorted(set([abs(int(x)-X) for x in stdin.readline().rstrip().split()]))\n\nif len(x_lst) == 1:\n print(x_lst[0])\nelse:\n prev_x = x_lst[0]\n for x in x_lst[1:]:\n prev_x = gcd(prev_x, x)\n if prev_x == 1: break\n print(prev_x)', "from sys import stdin\n\nA,B = [int(x) for x in stdin.readline().rstrip().split()]\n\nif(A*B % 2 == 0): print('No')\nelse: print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s993660897', 's368610394'] | [3064.0, 2940.0] | [17.0, 17.0] | [370, 130] |
p03260 | u532966492 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A,B = list(map(int,input().split()))\nif A*B % 2 == 0:\n print("NO")\nelse:\n print("YES")', 'A,B = list(map(int,input().split()))\nif A*B % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s977025695', 's829399894'] | [3060.0, 2940.0] | [18.0, 17.0] | [92, 92] |
p03260 | u535827181 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['import fractions\nfrom functools import reduce\n\n\ndef gcd(*numbers):\n return reduce(fractions.gcd, numbers)\n\n\ndef gcd_list(numbers):\n return reduce(fractions.gcd, numbers)\n\n\nN, X = (int(i) for i in input().split())\nA = [int(i) for i in input().split()]\n\n\ndef aho(x):\n return x - X\n\n\nB = list(map(aho, A))\n\nC = gcd_list(B)\n\nprint(C)', "A, B = (int(i) for i in input().split())\nif A % 2 == 0 and B % 2 == 0:\n print('Yes')\nelse:\n print('No')", "A, B = (int(i) for i in input().split())\nif A % 2 == 0 or B % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s164985102', 's708028671', 's836702675'] | [5076.0, 2940.0, 2940.0] | [35.0, 17.0, 17.0] | [336, 109, 108] |
p03260 | u536177854 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b=map(int(input().split()))\nif a==2 or b==2:\n print('No')\nelse:\n print('Yes')", " a,b=map(int,input().split())\n if a==2 or b==2:\n print('No')\n else:\n print('Yes')", "a,b=map(int,input().split())\nif a==2 or b==2:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s071316942', 's799288586', 's173356758'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [81, 100, 80] |
p03260 | u543954314 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = map(int, input().split())\nif a % 2 != 0 and b % 2 != 0:\n print(“Yes”)\nelse:\n print(“No”)\n', 'a, b = map(int, input().split())\nif a * b % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s630362386', 's772448500'] | [2940.0, 2940.0] | [17.0, 18.0] | [106, 86] |
p03260 | u544050502 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A,B=int(input().split())\nprint("Yes" if (A*B)%1==0 else "No")', 'A,B=map(int,input().split())\nprint("Yes" if (A*B)%2==1 else "No")'] | ['Runtime Error', 'Accepted'] | ['s991675723', 's036948194'] | [2940.0, 2940.0] | [18.0, 18.0] | [61, 65] |
p03260 | u548545174 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["A, B = map(int, input().split())\nfor c in range(1, 4):\n if (a * b * c) % 2 != 0:\n print('Yes')\n break\nelse:\n print('No')\n", "A, B = mpa(int, input(),.split())\nfor c in range(1, 4):\n if (a * b * c) % 2 != 0:\n print('Yes')\n break\nelse:\n print('No')", "a, b = map(int, input().split())\nfor c in range(1, 4):\n if (a * b * c) % 2 != 0:\n print('Yes')\n break\nelse:\n print('No')\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s226001495', 's322500683', 's254503723'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [141, 141, 141] |
p03260 | u556712459 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['a, b = map(int,(input().split(",")))\nif ((a%2) * (b%2)) != 0:\n print("Yes")\nelse:\n print("No")', 'a, b = map(int(input()))\nif a%2 == 1:\n if b%2 == 1:\n \tprint("Yes")\n else:\n print("No")\n else:\n print("No")\n', 'a, b = map(int(input()))\nif (a%2 * b%2) == 1:\n print("Yes")\nelse:\n print("No")', 'a, b = map(int(input()))\nif ((a%2) * (b%2)) != 0:\n print("Yes")\nelse:\n print("No")\n', 'a, b = map(int,(input().split(" ")))\nif ((a%2) * (b%2)) != 0:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s326524578', 's486446152', 's739231901', 's848751485', 's949284826'] | [2940.0, 3064.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 18.0, 18.0] | [96, 121, 80, 85, 96] |
p03260 | u558059388 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a,b=(int(x) for x in input().split())\nif a*b % 2 == 0:\n print('NO')\nelse:\n print('YES')\n ", "a,b=(int(x) for x in input().split())\nif (a*b) % 2 == 0:\n print('NO')\nelse:\n print('YES')\n ", "a,b=(int(x) for x in input().split())\nif (a*b) % 2 == 0:\n print('No')\nelse:\n print('Yes')\n "] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s662451924', 's690565796', 's095966567'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [92, 94, 94] |
p03260 | u559424030 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['A,B =map(int, input().split())\nX=A*B\nif X%2==0:\n\tprint("no")\nelse:\n\tprint("yes")', 'A,B =map(int, input().split())\nX=A*B\nif X%2==0:\n\tprint("No")\nelse:\n\tprint("Yes")\n'] | ['Wrong Answer', 'Accepted'] | ['s621882332', 's570131770'] | [2940.0, 2940.0] | [18.0, 17.0] | [80, 81] |
p03260 | u562016607 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['if input().count("2")>0:\n print("Yes")\nelse:\n print("No")', 'if input().count("2")>0:\n print("No")\nelse:\n print("Yes")\n'] | ['Wrong Answer', 'Accepted'] | ['s936847446', 's725847422'] | [2940.0, 2940.0] | [18.0, 17.0] | [59, 60] |
p03260 | u565149926 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ['print("YES" if all(int(i) % 2 for i in input().split()) else "NO")\n', 'A, B = map(int, input().split())\nprint("YES" if A * B % 2 else "NO")\n', 'A, B = map(int, input().split())\nprint("Yes" if A * B % 2 else "No")\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s400585925', 's653713663', 's412123526'] | [2940.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0] | [67, 69, 69] |
p03260 | u572032237 | 2,000 | 1,048,576 | You are given integers A and B, each between 1 and 3 (inclusive). Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number. | ["a, b = map(int, input().split())\nprint('YES') if a % 2 == 1 and b % 2 == 1 else print('NO') ", "a, b = map(int, input().split())\nprint('Yes') if a % 2 == 1 and b % 2 == 1 else print('No') "] | ['Wrong Answer', 'Accepted'] | ['s320352127', 's332354906'] | [9156.0, 9184.0] | [28.0, 27.0] | [92, 92] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.