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 | u018017456 | 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. | ["input = input().split()\n\ncntYes = 0\nfor C in range(1,4):\n ans = int(input[0])*int(input[1])*C\n if ans%2!=0:\n cntYes += 1\nif cnt>0:\n print('Yes')\nelse:\n print('No')", "input = input().split()\n\ncntYes = 0\nfor C in range(1,4):\n ans = int(input[0])*int(input[1])*C\n if ans%2!=0:\n ... | ['Runtime Error', 'Accepted'] | ['s478366758', 's149811321'] | [2940.0, 2940.0] | [17.0, 17.0] | [181, 184] |
p03260 | u018679195 | 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==0 or b%2==0):\n print('NO')\nelse:\n print('YES')", 'C = 0\nN = input()\nnum = N.split()\nA = num[0]\nB = num[1]\nR = int(A) * int(B)\nwhile C != 3:\n result = R * C\n if result % 2 == 0:\n C = C + 1\n if C == 3:\n p... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s441123798', 's461653502', 's441203696'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [114, 255, 155] |
p03260 | u021548497 | 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 i%2==1 for i in [map(int, input().split())] else "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'] | ['s271851211', 's975343142'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 93] |
p03260 | u021916304 | 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\nimport fractions\ndef ii():return int(input())\ndef iim():return map(int,input().split())\ndef iil():return list(map(int,input().split()))\ndef ism():return map(str,input().split())\ndef isl():return list(map(str,input().split()))\n\nn,x = iim()\nxmod = list(map(lambda y:int(y)-x,input().split()))\n#pri... | ['Runtime Error', 'Accepted'] | ['s193903523', 's551881135'] | [5076.0, 2940.0] | [36.0, 17.0] | [388, 179] |
p03260 | u022113193 | 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 \n\tnum = input()\n\n\tif int(num[0]) * int(num[1]) % 2 ==0:\n\t\tprint("No")\n\telse:\n \t\tprint("Yes")', 'num = input().split()\n\nif num[0] * num[1] % 2 == 0 :\n print("No")\nelse:\n print("Yes")', 'if __name__ == \'__main__\':\n \n\tnum = input().split()\n\n\tif int(num[0]) * ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s184236028', 's825253598', 's580082091'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [122, 87, 130] |
p03260 | u022488946 | 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 * B % 2 == 0 else 'No')", "A, B = map(int, input().split())\nprint('Yes' if A * B % 2 == 1 else 'No')"] | ['Wrong Answer', 'Accepted'] | ['s782799197', 's486966903'] | [9124.0, 9072.0] | [28.0, 27.0] | [73, 73] |
p03260 | u023077142 | 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(n) for n in input().split()]\n\nprint('Yes' if A % 2 == 0 or B % 2 == 0 else 'No')", "A, B = [int(n) for n in input().split()]\n \nprint('No' if A % 2 == 0 or B % 2 == 0 else 'Yes')"] | ['Wrong Answer', 'Accepted'] | ['s844049440', 's044641209'] | [2940.0, 3316.0] | [17.0, 23.0] | [92, 93] |
p03260 | u023229441 | 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())]\nif a!=2 and b!=2:\n\tprint("Yes")\nelse:\n\tprint("No")', 'a,b=map(int,input().split())\n\tif a!=2 and b!=2:\n\t\tprint("Yes")\n\telse:\n\t\tprint("No")', 'a,b=[int(input())]\n\tif a!=2 and b!=2:\n\t\tprint("Yes")\n\telse:\n\t\tprint("No")', 'a,b=[int(input().split())]\n\tif a!=2 and b!=2:... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s219079204', 's471377755', 's548977083', 's649062534', 's981845030'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [77, 83, 73, 81, 79] |
p03260 | u030726788 | 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 c in range(1,4):\n if(a*b*c % 2 == 1):\n print('Yes')\n else:\n print('No')", "a,b = map(int,input().split())\n\nfor c in range(1,4):\n if(a*b*c % 2 == 1):\n print('Yes')\n exit()\nprint('No')"] | ['Wrong Answer', 'Accepted'] | ['s668821892', 's292246831'] | [2940.0, 2940.0] | [17.0, 17.0] | [127, 124] |
p03260 | u037221289 | 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 != 0) and (B % 2 != 0):\n print('No')\nelse:\n print('Yes')", "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'] | ['s391060189', 's025978522'] | [2940.0, 2940.0] | [18.0, 18.0] | [103, 104] |
p03260 | u037485167 | 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. | ['# Read the values of A and B from the screen, save them as integers\na = int(input())\nb = int(input())\n\n# Use a for-loop to check if there is integer C, A <= C <= B\n# such that A*B*C is odd\ngot_an_odd = False\nfor c in range(a, b+1):\n if a*b*c % 2 == 1:\n got_an_odd = True\n\n# Print the answer on the... | ['Runtime Error', 'Accepted'] | ['s200116213', 's771348864'] | [2940.0, 2940.0] | [17.0, 17.0] | [368, 229] |
p03260 | u038216098 | 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==0 :\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")'] | ['Runtime Error', 'Accepted'] | ['s908735470', 's154749683'] | [8992.0, 9148.0] | [27.0, 29.0] | [70, 78] |
p03260 | u041075929 | 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, os\n\nf = lambda:list(map(int,input().split()))\nif \'local\' in os.environ :\n sys.stdin = open(\'./input.txt\', \'r\')\n\ndef solve():\n a,b = f()\n for i in range(1,4):\n if a*b*c%2 == 1:\n print("Yes")\n return\n \n print(\'No\')\n \n\nsolve()\n', 'import... | ['Runtime Error', 'Accepted'] | ['s130762452', 's081986105'] | [2940.0, 2940.0] | [18.0, 17.0] | [283, 283] |
p03260 | u050428930 | 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("Yws")\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', 'Accepted'] | ['s591001068', 's109182584'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 83] |
p03260 | u051496905 | 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())\nl = a * b\nl * i\ne = l * i\nfor i in range(1,3):\n if e % 2 == 0:\n print("NO")\nelse:\n print("YES")\n', 'a, b = map(int, input().split())\nl = a * b\nif l % 2 == 0:\n print("NO")\nelse:\n print("YES")', 'a, b = map(int, input().split())\nl = a * b\nif l % 2 == 0:\n p... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s319905016', 's593604051', 's545686046'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [134, 96, 96] |
p03260 | u059210959 | 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())\n\nif a*b%2 == 0:\n\tprint("No")\n \nelse:\n\tprint("Yes")', 'a,b = int(input().split())\n\n\nif a*b%2 == 0:\n print("No")\n \nelse:\n print("Yes")', 'a,b = map(int, input().split())\n\nif a*b%2 == 0:\n print("No")\n\nelse:\n print("Yes")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s679492993', 's882127818', 's310592931'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [78, 81, 84] |
p03260 | u064408584 | 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:print('No')\nelse: print('Yse')", "a,b=map(int, input().split())\nif (a*b)%2==0:print('No')\nelse: print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s434146724', 's646687537'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 74] |
p03260 | u069602573 | 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 == 0:\n print("Yes")\nelse:\n print("No")\n', 'a, b = map(int, input().split()) \n\nif a % 2 == 1 and b % 2 == 1:\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Accepted'] | ['s433712308', 's287892104'] | [2940.0, 2940.0] | [18.0, 17.0] | [125, 125] |
p03260 | u071852601 | 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())\nr=0\nW=[]\nfor i in range(N):\n W.append(input())\n\nfor i in range(N-1):\n if W[i+1][0]!=W[i][-1]:\n r = r+1\nfor i in range(N):\n for p in range(N):\n if W[i]==W[p]:\n r = r+1\nif r == N:\n print('Yes')\nelse:\n print('No')", "a,b=list(map(int,input().split())... | ['Runtime Error', 'Accepted'] | ['s311870236', 's777487092'] | [3064.0, 2940.0] | [18.0, 17.0] | [265, 95] |
p03260 | u074445770 | 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)]\nif len(set(a))!=N:\n\tprint("No")\nelse:\n\tfor i in range(1,N):\n\t\tif a[i-1][-1]!=a[i][0]:\n\t\t\tprint("No")\n\t\t\tbreak\n\t\tprint("yes")\t\t', 'A,B=map(int,input().split())\nif A*B%2==0:\n\tprint("No")\nelse:\n\tprint("Yes")\t'] | ['Runtime Error', 'Accepted'] | ['s526227215', 's042078323'] | [3060.0, 2940.0] | [17.0, 17.0] | [171, 75] |
p03260 | u074680119 | 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. | ["d = {}\n\ni = int(input())\n\nfor m in range(i):\n\tword = input()\n\td[m] = word\nfor n in range(1, i):\n\th = n - 1\n\ta = d[h]\n\tb = d[n]\n\tif a[-1] == b[0]:\n\t\tcontinue\n\telse:\n\t\tprint('No')\n\t\texit()\nfor x in range (i - 1):\n\tfor j in range (x + 1, i):\n\t\tif d[x] == d[j]:\n\t\t\tprint('No')\n\t\t\t... | ['Runtime Error', 'Accepted'] | ['s639932539', 's544565792'] | [3064.0, 2940.0] | [17.0, 17.0] | [296, 102] |
p03260 | u075303794 | 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('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s189348986', 's109738381'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 82] |
p03260 | u076512055 | 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('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s228457502', 's360294761'] | [2940.0, 3060.0] | [17.0, 19.0] | [97, 97] |
p03260 | u077816564 | 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(['No','Yes'][A%2==1 and B%2==1]", "A,B = map(int,input().split())\nprint(['No','Yes'][A%2==1 and B%2==1])"] | ['Runtime Error', 'Accepted'] | ['s734105793', 's493566971'] | [8832.0, 8944.0] | [27.0, 25.0] | [68, 69] |
p03260 | u084968244 | 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\nif __name__ == '__main__':\n N = int(input())\n W = [str(input()) for _ in range(N)]\n for i in range(1,N):\n if W[i-1][-1] != W[i][0]:\n print('No')\n sys.exit(0)\n print('Yes')", "import sys\nif __name__ == '__main__':\n N = int(input())\n W = [int(input())... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s743448630', 's889947218', 's218572511'] | [3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [223, 223, 151] |
p03260 | u086503932 | 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())\nif A == 2 or B == 2:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s664155101', 's572261647'] | [2940.0, 2940.0] | [18.0, 17.0] | [87, 87] |
p03260 | u088488125 | 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==1 and b%2==1:\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Accepted'] | ['s978763660', 's826473119'] | [9120.0, 9100.0] | [30.0, 26.0] | [86, 87] |
p03260 | u088974156 | 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 "2" in input() else "No")', 'print("No" if "2" in input() else "Yes")'] | ['Wrong Answer', 'Accepted'] | ['s927659723', 's969232206'] | [3064.0, 2940.0] | [17.0, 17.0] | [40, 40] |
p03260 | u089230684 | 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 = input().split()\na, b = int(n[0]), int(n[1])\nc, cnt = 0, 0\n\nfor i in range(a, b+1, 1):\n c = i\n if (a*b*c) % 2 != 0:\n cnt += 1\n\nif cnt>0 :\n print("Yes")\nelse:\n print("No")\n', 'C = 3\nN = input()\nnum = N.split()\nA = num[0]\nB = num[1]\nR = int(A) * int(B) * int(C)\nif R % 2 == 0:\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s016483887', 's279810849', 's053646157'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [193, 139, 164] |
p03260 | u096608204 | 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")', 'a,b = map(int, input().split(" "))\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")', 'a,b = map(int, input().split())\nif (a*b)%2==1:\n p... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s390907952', 's733852958', 's811918811', 's046059283'] | [3316.0, 3064.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0, 17.0] | [79, 82, 81, 81] |
p03260 | u101490607 | 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 == 0 or b % 2 == 0 ):\n print('NO')\nelse:\n print('YES')\n ", "a,b = map(int, input().split())\n\nif( a % 2 == 0 or b % 2 == 0 ):\n print('NO')\nelse:\n print('YES')\n ", "a,b = map(int, input().split())\n\nif( a % 2 == 0 or b % 2 == 0 ):\n print('No')\nelse:\n pr... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s300816236', 's848650428', 's427933377'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [102, 102, 99] |
p03260 | u102461423 | 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()),int(input())\nprint('Yes' if A&B&1 else 'No)", "A,B = int(input()),int(input())\nprint('Yes' if A&B&1 else 'No')", "A,B = map(int,input().split())\nprint('Yes' if A&B&1 else 'No')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s074377026', 's720699070', 's008990607'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [62, 63, 62] |
p03260 | u102960641 | 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 = input().split()\nprint("Yes") if a % 2 != 0 and b % 2 != 0 else print("No")\n ', 'a, b = map(int, input().split())\nprint("Yes") if a % 2 != 0 and b % 2 != 0 else print("No")\n \n'] | ['Runtime Error', 'Accepted'] | ['s282080178', 's171715484'] | [2940.0, 2940.0] | [18.0, 17.0] | [99, 110] |
p03260 | u103902792 | 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(nit,input().split())\nprint('Yes') if a*b%2 ==1 else print('No')", "a,b = map(int,input().split())\nprint('Yes') if a*b%2 ==1 else print('No')\n"] | ['Runtime Error', 'Accepted'] | ['s710979821', 's721055539'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 74] |
p03260 | u106342872 | 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. | ['k = int(input())\nif k % 2 == 0:\n print((k//2) * (k//2))\nelse:\n print((k//2) * (k//2+1))\n', "a,b = map(int, input().split())\n\nflag = False\nfor c in range(1,4):\n if a*b*c % 2 == 1:\n flag = True\n\nif flag:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s169641802', 's035194313'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 158] |
p03260 | u108990937 | 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 = (int(i) for i in input().split(' '))\n\n\na=[]\nfor i in range(h):\n a.append([int(j) for j in input().split(' ')])\n\nj = 0\np = []\ntr = []\npicked = False\n\nfor i in range(h):\n \n step = -1 if i%2 else 1\n j = w-1 if i%2 else 0\n while j >=0 and j < w:\n if a[i][j] % 2:\n... | ['Runtime Error', 'Accepted'] | ['s627652612', 's536966169'] | [3064.0, 2940.0] | [17.0, 17.0] | [735, 96] |
p03260 | u109632368 | 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 if b == 0:\n return a\n return gcd(b, a % b)\n\n\nN, X = map(int, input().split())\n\nans = 0\n\n\nx = list(map(int, input().split()))\nx.append(X)\nx.sort()\na = []\n\nfor i in range(N):\n a.append(abs(x[i] - x[i+1]))\n ans = gcd(ans, a[i])\n\n\nprint(ans)\n', 'a,b = map(int, in... | ['Runtime Error', 'Accepted'] | ['s452628948', 's632938002'] | [3064.0, 2940.0] | [17.0, 17.0] | [309, 97] |
p03260 | u118211443 | 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. | ['X=input().split()\nif (int(X[0])*10+int(X[1]))%2 == 0:\n print("Yes")\nelse:\n print("No")', 'X=input().split()\nif int(X[0])*int(X[1])%2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s659260949', 's652673356'] | [2940.0, 2940.0] | [18.0, 18.0] | [92, 87] |
p03260 | u122195031 | 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("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', 'Wrong Answer', 'Accepted'] | ['s380801619', 's846198061', 's536225660'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [86, 88, 88] |
p03260 | u123745130 | 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())\nans=false\nfor i in range(1,4):\n if a*b*c %2 ==1: \n ans=True\n break \nif ans;print("Yes")\nelse:print("No")', 'a,b=map(int,input().split())\nans=False\nfor i in range(1,4):\n if a*b*i %2 ==1: \n ans=True\n break \nif ans:print("Yes")\nelse:print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s020362997', 's011698583'] | [2940.0, 2940.0] | [18.0, 18.0] | [143, 144] |
p03260 | u124415435 | 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*c\nif d%2 == 0:\n print("No")\nelse:\n print("Yes")\n', 'a, b = map(int, input().split())\nd = a*b\nif d%2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s092474046', 's503841184'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 88] |
p03260 | u129978636 | 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\nW = []\n\nW.append(input())\n\nfor n in range(N):\n w = input()\n\n if( w[0] == W[n][-1] and w not in W):\n W.append(w)\n continue\n\n else:\n print('No')\n exit()\n\nprint('Yes')", "A, B = map( int, input()split())\n\nD = A * B\n\nif( D % 2 == 1):\n print('Ye... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s513532304', 's939225517', 's088044503'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [219, 99, 102] |
p03260 | u130645445 | 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==0:\n evena=1\n\nif b%2==0:\n evenb=1\n\nif evena != 1 and evenb != 1:\n print('Yes')\nelse:\n print('No')\n\n ", "a,b=map(int,input().split())\nevena,evenb = 0,0\n\nif a%2==0:\n evena=1\n\nif b%2==0:\n evenb=1\n\nif evena != 1 and evenb != 1:\n print('Ye... | ['Runtime Error', 'Accepted'] | ['s217096089', 's077310373'] | [2940.0, 2940.0] | [17.0, 17.0] | [152, 165] |
p03260 | u131405882 | 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 and B!=2:\n print('Yes')\nelse:\n print('No')", 'A,B = map(int, input().split())\nif A == 2 or B == 2:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s837913722', 's321437307'] | [2940.0, 2940.0] | [18.0, 17.0] | [84, 91] |
p03260 | u131406572 | 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)]\ns=0\nfor i in range(n-1):\n if a[i][-1]!=a[i+1][0]:\n s+=1\na.sort()\nfor i in range(n-1):\n if a[i]==a[i+1]:\n s+=1\nif s==0:\n print("Yes")\nelse:\n print("No")', 'a,b=map(int,input().split())\nif a*b%2==0:\n\tprint("No")\nelse:\n print("Ye... | ['Runtime Error', 'Accepted'] | ['s361753145', 's212152264'] | [3064.0, 2940.0] | [17.0, 17.0] | [222, 77] |
p03260 | u138486156 | 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())\na = list(map(int, input().split()))\nif n == 1:\n print(abs(x-a[0]))\n exit()\na.sort()\nelse:\n box = [a[i+1]-a[i] for i in range(n-1)]\n b = min(box)\n for i in range(1,b+1):\n for j in range(n-1):\n if box[j]%i:\n break\n ... | ['Runtime Error', 'Accepted'] | ['s335512477', 's505069864'] | [2940.0, 2940.0] | [17.0, 17.0] | [672, 82] |
p03260 | u148551245 | 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(9):\n if (a * b * c) % 2 == 1:\n pass\n else:\n print('No')\n break\n print('Yes')\n pass", "a, b = map(int, input().split( ))\nif (a * b) % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s463782753', 's040691108'] | [2940.0, 2940.0] | [17.0, 18.0] | [164, 94] |
p03260 | u154191677 | 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")', 'a,b = map(int, input().split())\nif (a * b) % 2 != 0:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s292529982', 's608570269', 's636658549'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [91, 91, 91] |
p03260 | u158620769 | 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().sprit())\n\nif (A * B) % 2 == 0 :\n print('no')\nelse :\n print('yes')\n", "A, B = map(int, input().split())\n\nif (A * B) % 2 == 0 :\n print('yes')\nelse :\n print('no')\n", "A, B = map(int(input())\n\nif (A * B) % 2 == 0 :\n print('no')\nelse :\n print('yes')\n", "A, B = map(int, input(... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s018643870', 's031478783', 's160574644', 's578723754', 's676135495', 's713556993', 's838926022', 's520136413'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [91, 92, 83, 91, 92, 92, 91, 92] |
p03260 | u163320134 | 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,c=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'] | ['s099920978', 's539281374'] | [2940.0, 2940.0] | [17.0, 18.0] | [86, 84] |
p03260 | u163449343 | 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. | ['/* converted by scratch2cpp (https://github.com/yos1up/scratch2cpp)\n This script is compatible with the following compilers:\n - GCC (unless every name of variables contains non-ascii characters)\n - Clang \n*/\n\n#include <stdlib.h>\n#include <string>\n\n#include <algorithm>\n#include <math.h>\n\nusing namesp... | ['Runtime Error', 'Accepted'] | ['s324682338', 's153735736'] | [2940.0, 3316.0] | [17.0, 19.0] | [5888, 137] |
p03260 | u163543660 | 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")\n exit()\nprint("No")', 'a, b = map(int, input().split())\nif a*b%2 == 0:\n print("Yes")\n exit()\nprint("No")', 'a, b = map(int, input().split())\nif a*b%2 == 0:\n print("Yes")\nelse:\n print("No")', 'a, b = map(int, input().split())\n... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s062952248', 's068724829', 's416223289', 's600549530'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [87, 87, 86, 87] |
p03260 | u167523937 | 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())\nans = False\nfor C in range(1,4):\n if A*B*C%2!=0:\n ans=True\n break\nprint(ans)', "A,B=(int(x) for x in input().split())\nans = 'No'\nfor C in range(1,4):\n if A*B*C%2!=0:\n ans='Yes'\n break\nprint(ans)"] | ['Wrong Answer', 'Accepted'] | ['s043594272', 's370716259'] | [2940.0, 2940.0] | [18.0, 18.0] | [131, 131] |
p03260 | u167681750 | 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 input() in "2" else "No")', 'print("No" if "2" in input() else "Yes")'] | ['Wrong Answer', 'Accepted'] | ['s555497439', 's827789681'] | [2940.0, 2940.0] | [17.0, 18.0] | [40, 40] |
p03260 | u169138653 | 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 and b%2:\n print('YES')\nelse:\n print('NO')", "a,b=map(int,input().split())\nif a%2 and b%2:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s168331681', 's799809221'] | [2940.0, 2940.0] | [18.0, 17.0] | [79, 80] |
p03260 | u170324846 | 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")', 'A, B = map(int, input().split())\nif (A * B) % 2 == 1:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s553336489', 's789018619'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 88] |
p03260 | u171364956 | 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 -*-\n\ns = input().split()\n\nif s[0] % 2 == 0 or s[1]%2 == 0:\n print("No")\n\nelse:\n print("Yes")', '# -*- coding:utf-8 -*-\n\ns = [int(i) for i in input().split()]\n\n\nif s[0]*s[1]%2 == 0:\n print("No")\n\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s025157684', 's802676640'] | [3188.0, 2940.0] | [17.0, 17.0] | [113, 124] |
p03260 | u173329233 | 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. | ['ab = input()\na,b = ab.split()\na = int(a)\nb = int(b)\n \nif a%2 == 1 and b%2 == 1:\n print(Yes)\nelse:\n print(No)', "ab = input()\na,b = ab.split()\na = int(a)\nb = int(b)\n \nif a%2 == 1 and b%2 == 1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s906791274', 's846971658'] | [2940.0, 2940.0] | [17.0, 17.0] | [110, 114] |
p03260 | u182047166 | 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 input():\n return sys.stdin.readline()[:-1]\n\n# N = int(input())\n# A = [int(x) for x in input().split()]\n# a, b, c = map(int, input().split())\n# name1 = str(input())\n# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}\n\n\na,b=map(int,input().split())\nif a*b%2==1:\n print("No")\nelse:\n ... | ['Wrong Answer', 'Accepted'] | ['s244556948', 's626991908'] | [2940.0, 2940.0] | [18.0, 17.0] | [316, 316] |
p03260 | u185037583 | 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'No' if a%2==0 or b%2==0 else 'Yes'", "a, b = map(int, input().split())\nprint(a%2==0 or b%2==0 ? 'No' : 'Yes')\n", "a, b = map(int, input().split())\nprint('No' if a%2==0 or b%2==0 else 'Yes')\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s632831589', 's907843627', 's880275891'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [73, 72, 76] |
p03260 | u185464141 | 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,c = map(int, input().split())\nif a % 2 == 1 && b % 2 == 1:\n\tprint("Yes")\nelse:\n\tprint("No")', 'a,b,c = map(int, input().split())\nd = "Yes" if (a % 2 == 1 and b % 2 == 1) else "No"\nprint(d)', 'a,b,c = map(int, input().split())\nif a % 2 == 1 and b % 2 == 1:\n\tprint("Yes")\nelse:\n\tprint("No")\n', "a,b = ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s421568412', 's645983614', 's655470602', 's091230637'] | [3060.0, 2940.0, 2940.0, 2940.0] | [19.0, 21.0, 18.0, 21.0] | [95, 93, 97, 94] |
p03260 | u191635495 | 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\nif (a*b)%2 == 0:\n print('No')\nelse:\n print('Yes')", "a = int(input())\nb = 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', 'Runtime Error', 'Accepted'] | ['s399648682', 's640114078', 's987638627'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [90, 89, 88] |
p03260 | u197968862 | 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 != 0:\n print('Yes')\nelse:\n print('No')", "a, b = map(int,input().split())\nif (a*b) % 2 != 0:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s028114584', 's572437021'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 89] |
p03260 | u202634017 | 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 == 1):print("Yed")\nelif (a*b*2 % 2 == 1):print("Yes")\nelif (a*b*3 % 2 == 1):print("Yes")\nelse:print("No")', 'a,b = map(int,input().split())\n\nif (a*b % 2 == 1):print("Yes")\nelif (a*b*2 % 2 == 1):print("Yes")\nelif (a*b*3 % 2 == 1):print("Yes")\nelse:print("No")'] | ['Wrong Answer', 'Accepted'] | ['s783171545', 's781013962'] | [2940.0, 2940.0] | [17.0, 17.0] | [149, 149] |
p03260 | u204260373 | 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")\n', '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")\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s179947975', 's573273614', 's951715714'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [79, 76, 79] |
p03260 | u207464563 | 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())\nC = [1,2,3]\n\nfor i in C:\n if A*B*C % 2 == 1:\n print("Yes")\n exit()\nprint("No")\n', 'A,B = map(int,input().split())\nC = [1,2,3]\n\nfor i in C:\n if (A*B*i) % 2 == 1:\n print("Yes")\n exit()\nprint("No")'] | ['Runtime Error', 'Accepted'] | ['s044723071', 's736806470'] | [2940.0, 2940.0] | [18.0, 17.0] | [117, 118] |
p03260 | u209620426 | 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,c=int(input());print(["No","Yes"][a*c%2])', 'print(["Yes","No"]["2"in input()])'] | ['Runtime Error', 'Accepted'] | ['s528798746', 's952214549'] | [2940.0, 2940.0] | [18.0, 17.0] | [45, 34] |
p03260 | u212952060 | 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())\nc = list(map(int, input().split()))\nc = set([abs(x-c[i]) for i in range(n)])\nl = min(c)\nf = set()\nfor i in range(1, l+1):\n if l % i == 0:\n f.add(i)\nfor i in range(len(f), 0, -1):\n d = True\n for item in c:\n if item % i != 0:\n d = False\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s104726427', 's521160047', 's642724352', 's866561731', 's728616199'] | [3064.0, 3064.0, 3060.0, 3064.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0] | [342, 267, 316, 382, 88] |
p03260 | u213854484 | 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")', 'A,B = map(int,input().split())\nif A*B%2 == 1:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s196137352', 's070770978'] | [2940.0, 2940.0] | [17.0, 18.0] | [84, 84] |
p03260 | u215115622 | 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().split()\na = [int(i) for i in a]\n\nif a*b % 2 == 0:\n\tprint ('No')\nelse:\n\tprint('Yes')", "a = input().split()\na = [int(i) for i in a]\n\nif a[0] * a[1] % 2 == 0:\n\tprint ('No')\nelse:\n\tprint('Yes')"] | ['Runtime Error', 'Accepted'] | ['s293377699', 's569029611'] | [2940.0, 2940.0] | [17.0, 18.0] | [95, 103] |
p03260 | u216631280 | 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. | ["li = list(map(int, input().split()))\nif 2 in li:\n\tprint('Yes')\nelse:\n\tprint('No')", "li = list(map(int, input().split()))\nif 2 in li:\n\tprint('No')\nelse:\n\tprint('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s022775656', 's167516685'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 81] |
p03260 | u217086212 | 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()))\nprint("{}".format("YES" if (a*b)%2 == 1 else "NO"))', 'a, b = list(map(int,input().split()))\nprint("{}".format("Yes" if (a*b)%2 == 1 else "No"))'] | ['Wrong Answer', 'Accepted'] | ['s077547229', 's843910000'] | [2940.0, 2940.0] | [17.0, 18.0] | [89, 89] |
p03260 | u217940964 | 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\nimport sys\n\nYES = "Yes" # type: str\nNO = "No" # type: str\n\ndef solve(A: int, B: int):\n if (A*B) % 2 == 0:\n print("Yes")\n else:\n print("No")\n return\n\n\n# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template n... | ['Wrong Answer', 'Accepted'] | ['s176892851', 's996487348'] | [2940.0, 2940.0] | [17.0, 17.0] | [661, 657] |
p03260 | u218843509 | 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 and c != 2:\n\tprint("Yes")\nelse:\n\tprint("No")', 'a, b = map(int, input().split())\nif a != 2 and b != 2:\n\tprint("Yes")\nelse:\n\tprint("No")\n'] | ['Runtime Error', 'Accepted'] | ['s940450543', 's137191624'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 88] |
p03260 | u220843654 | 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. | ["it = input().split()\ni1 = int(it[0])\ni2 = int(it[1])\nfor i in range(1, 4):\n print(i1, i2, i)\n print(i1 * i2 * i)\n if (i1 * i2 * i)%2 == 1:\n print('Yes')\n exit()\nprint('No')\n", "it = input().split()\ni1 = int(it[0])\ni2 = int(it[1])\nfor i in range(1, 4):\n if (i1 * i2 * i)%2 == 1:\... | ['Wrong Answer', 'Accepted'] | ['s207645390', 's467419887'] | [2940.0, 2940.0] | [17.0, 17.0] | [196, 151] |
p03260 | u220874655 | 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 print("YES")', 'a,b=map(int,input().split())\nif (a*b)%2==0:\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'] | ['s127977954', 's762122310', 's855968456'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [82, 82, 82] |
p03260 | u227082700 | 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 (int(input())+int(input()))%2==0 else"No")', "a,b=map(int,input().split())\nif (a*b)&1:print('Yes')\nelse:print('No')"] | ['Runtime Error', 'Accepted'] | ['s174230532', 's342910452'] | [2940.0, 2940.0] | [24.0, 17.0] | [56, 69] |
p03260 | u228636605 | 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("Yes")\nelse :\n print("No")\n', 'a , b = map(int , input().split())\nif a * b % 2 == 0 :\n print("No")\nelse :\n print("Yes")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s332545662', 's752145681', 's525085046'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [94, 95, 94] |
p03260 | u234631479 | 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 int(input())%2 == 1 and int(input())%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'] | ['s203333477', 's267251207'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 93] |
p03260 | u236127431 | 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==0:\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")'] | ['Runtime Error', 'Accepted'] | ['s046135218', 's160917709'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 78] |
p03260 | u247211039 | 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().input())\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')"] | ['Runtime Error', 'Accepted'] | ['s806457746', 's451553315'] | [9092.0, 8808.0] | [26.0, 27.0] | [78, 79] |
p03260 | u252828980 | 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")', 'a,b = map(int,input().split())\nif a*b%2 == 1:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s433807597', 's235605645'] | [2940.0, 2940.0] | [17.0, 18.0] | [82, 80] |
p03260 | u254871849 | 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# created: 2019-11-10 12:28:14(JST)\n### modules\n## from standard library\nimport sys\n# import collections\n# import math\n# import string\n\n# import re\n# import itertools\n# import statistics\n# import functools\n\n## from external libraries\n\n\n# import numpy as np \n\ndef main():\n ... | ['Runtime Error', 'Accepted'] | ['s592647230', 's804140852'] | [3064.0, 2940.0] | [17.0, 17.0] | [652, 164] |
p03260 | u256019645 | 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 result = True\n used = {str(input()): 0}\n for order in range(1,n):\n word = str(input())\n if word in used or list(used.keys())[order - 1][-1] != word[0]:\n result = False\n break\n else:\n used.setdefault(word,0)\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s277912326', 's763030012', 's605494750'] | [3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [387, 412, 133] |
p03260 | u256464928 | 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\nprint('No')\n ", 'print(\'No\' if "2" in input() else \'Yes\')'] | ['Wrong Answer', 'Accepted'] | ['s268608135', 's488144050'] | [2940.0, 2940.0] | [17.0, 18.0] | [112, 40] |
p03260 | u259861571 | 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. | ["# AtCoder\nA, B = map(int(input().split()))\nif A*B % 2 == 0:\n print('No')\nelse:\n print('Yes')\n", "# AtCoder\nA, B = map(int, input().split())\nif A*B % 2 == 0:\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Accepted'] | ['s217006624', 's049128014'] | [3060.0, 2940.0] | [19.0, 17.0] | [99, 99] |
p03260 | u261827653 | 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*b % 2 != 0 else "NO")', 'a,b = map(int,input().split())\nprint("Yes" if a*b % 2 != 0 else "No")'] | ['Wrong Answer', 'Accepted'] | ['s742279844', 's662457833'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 69] |
p03260 | u264265458 | 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*b%2==0 else "No")', 'a,b=map(int,input().split())\nprint("Yes" if a*b%2!=0 else "No")'] | ['Wrong Answer', 'Accepted'] | ['s555164558', 's846652841'] | [2940.0, 2940.0] | [18.0, 17.0] | [63, 63] |
p03260 | u266569040 | 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. | ['s = input().split()\ni = s.count("2")\nprint("NO") if i>0 else print("YES")', 's = input().split()\ni = s.count("2")\nprint("NO") if i>0 else print("YES")', 's = input().split()\ni = s.count("2")\nprint("No") if i>0 else print("Yes")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s033450976', 's497624072', 's426539361'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [73, 74, 73] |
p03260 | u266874640 | 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())\nif A * B % 2 == 0:\n print("No")\nelse:\n print("Yes")\n', 'import math\n\nN,X = map(int,input().split())\nx = list(map(int,input().split()))\ndistance = []\n\nfor i in x:\n distance.append(abs(i-X))\n\nwhile len(distance) > 1:\n cd = math.gcd(distance[0],distance[1])\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s207160988', 's307250453', 's975576810', 's800572900'] | [2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [85, 305, 137, 90] |
p03260 | u271044469 | 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 print('YES')\n", "a, b = map(int, input().split())\nif(a*b % 2 == 0):\n print('No')\nelse:\n print('Yes')\n"] | ['Wrong Answer', 'Accepted'] | ['s961857889', 's807510326'] | [2940.0, 2940.0] | [18.0, 17.0] | [90, 90] |
p03260 | u272557899 | 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 = map(int, input().split())\nif t[0]*t[1] % 2 == 0:\n print("No")\nelse:\n print("Yes")', 't = map(int, input().split())\nif t[0]*t[1] % 2 == 0:\n print("No")\nelse:\n print("Yes")', 't = input().split()\n if t[0]*t[1] % 2 == 0:\n print("No")\n else:\n print("Yes")', 't = map(int, input().split())\n if t... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s254224943', 's299560678', 's659097301', 's745373989', 's990201483'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0] | [89, 87, 87, 97, 86] |
p03260 | u275934251 | 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())\n \narr = [int(_) for _ in input().split(' ')]\narr.sort()\n \na = arr[-1]**5\n \n \nfor i in range(N-1):\n if abs(arr[i+1]-arr[i]) < a:\n a = abs(arr[i+1]-arr[i])\n \nfor j in range(N):\n if abs(arr[j] - X) < a:\n a = abs(arr[j] - X)\n \nprint(a)\n", 'a, b = map(i... | ['Runtime Error', 'Accepted'] | ['s027454187', 's281407521'] | [3064.0, 3316.0] | [17.0, 19.0] | [285, 102] |
p03260 | u277312083 | 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 & 1:\n print("Yes")\nelse:\n print("No")\n', 'a, b = map(int, input().split())\nif a & 1 and b & 1:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s526171034', 's877536354'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 92] |
p03260 | u277802731 | 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. | ["#109\na,b=map(int,input().split())\nif a*b%2==0:\n print('Yes')\nelse:\n print('No')", "#109\na,b=map(int,input().split())\nif a*b%2==0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s906399325', 's526952864'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 85] |
p03260 | u278379520 | 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!=0:\n print('Yes')\nelse:\n print('No')", "a,b=map(int,input().split())\nif a*b%2!=0:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s800295922', 's632010722'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 76] |
p03260 | u278446060 | 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(x, y):\n r = modlog(x, y)\n while r != 0:\n x = y\n y = r\n r = modlog(x, y)\n return y\n\ndef modlog(x, y):\n r = x % y\n return r\n\nif __name__ == '__main__' :\n N,X = map(int, input().split())\n x = list(map(int, input().split()))\n\n dist_list = [abs(d-X) for ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s421435338', 's428016990', 's544442668', 's877559246', 's976122630'] | [3064.0, 3060.0, 3060.0, 3064.0, 2940.0] | [20.0, 17.0, 17.0, 18.0, 18.0] | [514, 226, 283, 424, 150] |
p03260 | u278622837 | 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())\nl = [ abs(i - x) for i in list(map(int, input().split()))]\nl.sort(reverse=True)\nif len(l) == 1:ans = l[0]\nelse:\n while len(l) != 1:\n l = list(set(l))\n l = [ l[i] - l[i+1] for i in range(len(l) - 1)]\n ans = l[0]\nprint(ans)', 'a,b = map(int, input().split())\nif a * b % ... | ['Runtime Error', 'Accepted'] | ['s287903097', 's338482473'] | [3064.0, 2940.0] | [17.0, 17.0] | [261, 83] |
p03260 | u280016524 | 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. | ['listA=list(map(int,input().split()))\nA=listA[0]\nB=listA[1]\nif(A*B%2==0):\n print("no")\nelse:\n print("yes")', 'listA=list(map(int,input().split()))\nA=listA[0]\nB=listA[1]\nif(A*B%2==0):\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s625864450', 's504177757'] | [2940.0, 2940.0] | [17.0, 17.0] | [111, 111] |
p03260 | u282228874 | 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('Yes')\nelse:\n print('No')", "a,b = map(int,input().split())\nif a == 2 or b == 2:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s461498772', 's680455912'] | [2940.0, 2940.0] | [17.0, 24.0] | [90, 90] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.