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 | u572193732 | 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'] | ['s026479775', 's629460621'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 89] |
p03260 | u580873239 | 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())\n\nif a//2==0 and b//2==0:\n print(“YES”)\n\nelse:\n (“NO”)', 'a,b = (int(x) for x in input().split())\n\nif a%2==1 and b%2==1 :\n print("Yes")\n\nelse :\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s266671400', 's112518738'] | [3064.0, 2940.0] | [19.0, 18.0] | [101, 104] |
p03260 | u583276018 | 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(i) for i in input().split()]\nif(a * b % 2 == 0):\n print("NO")\nelse:\n print("YES")', 'a, b = [int(i) for i in input().split()]\nif((a * b) % 2 == 1):\n print("YES")\nelse:\n print("NO")', 'a, b = [int(i) for i in input().split()]\nif(a % 2 == 1)and(b % 2 == 1):\n print("YES")\nelse:\n print("NO")', 'a, b = [int(i) for i in input().split()]\nif(a == 2 or b == 2):\n print("NO")\nelse:\n print("YES")', ' a, b = [int(i) for i in input().split()]\n if(a == 2 or b == 2):\n print("No")\n else:\n print("Yes")', 'a, b = [int(i) for i in input().split()]\nif((a * b) % 2 == 0):\n print("NO")\nelse:\n print("YES")', 'a, b = [int(i) for i in input().split()]\nif(a == 2) or( b == 2):\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s168152526', 's347764088', 's564093241', 's636135597', 's660559001', 's753644695', 's951863654'] | [2940.0, 2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 20.0, 17.0] | [95, 97, 106, 97, 117, 97, 99] |
p03260 | u585101972 | 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. | ['\nimport math\nN, X = map(int, input().split())\n\nx = list(map(int, input().split()))\n\n\nt = abs(x[0] - X)\nfor a in x:\n \n t = math.gcd(t, a - X)\nprint(t)\n', '\n\n#include <utility>\n#include <numeric>\n#include <functional>\n#include <stdio.h>\n#include <math.h>\n#include <string>\n#include <algorithm>\n#include <deque>\n\n#include <map>\n\n#define rep(i, m, n) for (int (i)(m); (i)<(n); ++(i))\n#define repr(i, m, n) for (int (i)(m - 1); (i)>=(n); --(i))\n#define repv(i, v) for (unsigned (i)(0); (i)<(v.size()); ++(i))\n#define all(v) (v).begin(), (v).end()\n#define sortv(v) sort(all(v))\n#define sortgi(v) sort(all(v), greater<int>())\n#define sortgd(v) sort(all(v), greater<double>())\n#define sortgll(v) sort(all(v), greater<ll>())\n\n\nusing namespace std;\nusing pii = pair<int, int>;\nusing pss = pair<string, string>;\nusing vi = vector<int>;\nusing vvi = vector<vi>;\nusing vvvi = vector<vvi>;\nusing vd = vector<double>;\nusing vvd = vector<vd>;\nusing vs = vector<string>;\nusing ll = long long;\nusing pllll = pair<ll, ll>;\nusing vll = vector<ll>;\nusing vvll = vector<vll>;\nusing vb = vector<bool>;\nusing vvb = vector<vb>;\nusing vvvb = vector<vvb>;\nusing vpii = vector<pii>;\nusing pqi = priority_queue<int>;\nusing pqd = priority_queue<double>;\nusing pqll = priority_queue<ll>;\nusing pqvi = priority_queue<vi>;\nusing pqvll = priority_queue<vll>;\n\nint main() {\n\tint a, b;\n\tcin >> a >> b;\n\tif (a % 2 == 0 || b % 2 == 0) {\n\t\tcout << "No" << endl;\n\t}\n\telse {\n\t\tcout << "Yes" << endl;\n\t}\n}\n', '\nimport math\nN, X = map(int, input().split())\n\nx = list(map(int, input().split()))\n\n\nt = x[0] - X\nfor a in x:\n \n t = math.gcd(t, a - X)\nprint(t)\n', '\nimport math\nN, X = map(int, input().split())\n\nx = list(map(int, input().split()))\n\n\nt = x[0] - X\nfor a in x:\n \n t = math.gcd(t, abs(a - X))\nprint(t)\n', 'A, B = map(int, input().split())\nif A % 2 is 0 or B % 2 is 0:\n print(\'No\')\nelse:\n print("Yes")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s332601030', 's447022459', 's466126467', 's725615644', 's980086563'] | [2940.0, 2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0] | [320, 1409, 315, 320, 100] |
p03260 | u597017430 | 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')\n exit()\nprint('Yes')", "A, B = map(int, input().split())\nif A * B % 2 == 0:\n print('No')\n exit()\nprint('Yes')"] | ['Runtime Error', 'Accepted'] | ['s494361659', 's797870147'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 87] |
p03260 | u597455618 | 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'] | ['s121678723', 's458194327'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 90] |
p03260 | u598229387 | 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'] | ['s100420618', 's074551742'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 101] |
p03260 | u598530761 | 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\nword = []\nfor i in range(N):\n word.append(input())\n\nfor i in range(N - 1):\n if word.count(word[i]) != 1:\n print('No')\n exit()\n\nfor i in range(1, N):\n if word[i][0] != word[i - 1][-1]:\n print('No')\n exit()\n\nprint('Yes')\n", "N = int(input())\n\nword = []\n\nfor i in range(N):\n word.append(input())\n\nfor i in range(N - 1):\n if word.count(word[i]) != 1:\n print('No')\n exit()\n\n\nfor i in range(1, N ):\n if word[i][0] != word[i - 1][-1]:\n print('No')\n exit()\n\nprint('Yes')\n", "\nA, B = map(int, input().split())\n\nAB = A * B\n\nfor C in range(1, 4):\n if (AB * C) % 2 == 1:\n print('Yes')\n exit()\n\nprint('No')\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s769339397', 's949426991', 's152235490'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [274, 277, 144] |
p03260 | u598720217 | 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\ndef input():\n return sys.stdin.readline()[:-1]\nA,B = map(int,input().split(' '))\nif (A*B)%2:\n print('No')\nelse:\n print('Yes')", "import sys\ndef input():\n return sys.stdin.readline()[:-1]\nA,B = map(int,input().split(' '))\nif (A*B)%2:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s973562677', 's115945941'] | [3316.0, 2940.0] | [21.0, 17.0] | [145, 145] |
p03260 | u606523772 | 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())\nflag = False\nfor C in range(1,4):\n if (A*B*C)%2 == 1:\n flag = True\n break\nprint("Yes") if flag else print("No")', 'A, B = map(int, input().split())\nflag = False\nfor C in range(1,4):\n if (A*B*C)%2 == 1:\n flag = True\n break\nprint("Yes") if flag else print("No")'] | ['Runtime Error', 'Accepted'] | ['s890238029', 's156383403'] | [2940.0, 2940.0] | [17.0, 17.0] | [138, 151] |
p03260 | u609814378 | 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 = int(input())\n\nA_B = A*B % 2\n\nif A_B == 0:\n print("No")\nelse:\n print("Yes")', 'A, B= map(int, input().split())\nC = int(input())\n\nA_B = (A*B) % 2\n\nif A_B == 0:\n print("No")\nelse:\n print("Yes")', 'A, B= map(int, input().split())\n\nA_B = (A*B) % 2\n\nif A_B == 0:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s810641667', 's881402490', 's425219522'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [116, 118, 101] |
p03260 | u610232844 | 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 and b % 2 == 0 else "YES")', 'a, b = map(int,input().split())\nprint("No" if a % 2 == 0 or b % 2 == 0 else "Yes")'] | ['Wrong Answer', 'Accepted'] | ['s963434225', 's833896684'] | [2940.0, 2940.0] | [17.0, 18.0] | [83, 82] |
p03260 | u614710626 | 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 n in range(1, 4):\n if a*b*c % 2 == 1:\n print('Yes')\n break\n else:\n if n == 3:\n print('No')", "N = int(input())\nlist = []\nflag = True\nfor n in range(0, N):\n input = input()\n if n == 0:\n list.append(input)\n else:\n if input in list:\n flag = False\n else:\n list.append(input)\nif flag == True:\n print('Yes')\n", "N = int(input())\nls = []\nflag = True\nfor n in range(0, N):\n char = raw_input()\n if n == 0:\n ls.append(char)\n else:\n if char in ls:\n flag = False\n else:\n ls.append(char)\nif flag == True:\n print('Yes')\nelse:\n print('No')", "N = int(input())\nls = []\nflag = True\nfor n in range(0, N):\n char = input()\n if n == 0:\n ls.append(char)\n else:\n if char in ls:\n flag = False\n else:\n ls.append(char)\nif flag == True:\n print('Yes')\n", "a, b = map(int, input().split())\nfor n in range(1, 4):\n if a*b*c % 2 == 1:\n return 'Yes'\nreturn 'No'", "N = int(input())\nlist = []\nflag = True\nfor n in range(0, N):\n char = input()\n if n == 0:\n list.append(char)\n else:\n if char in list:\n flag = False\n else:\n list.append(char)\nif flag == True:\n print('Yes')\n", "N = int(input())\nlist = []\nflag = true\nfor n in range(0, N):\n input = input()\n if n == 0:\n list.append(input)\n else:\n if input in list:\n flag = false\n else:\n list.append(input)\nif flag == true:\n print('Yes')\n", "a, b = map(int, input().split())\nfor c in range(1, 4):\n if a*b*c % 2 == 1:\n print('Yes')\n break\n else:\n if c == 3:\n print('No')\n"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s300627626', 's333201651', 's439736497', 's460462245', 's698854902', 's765089074', 's798813839', 's591653804'] | [2940.0, 3060.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [143, 231, 242, 219, 104, 227, 231, 144] |
p03260 | u617225232 | 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*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')\n"] | ['Runtime Error', 'Accepted'] | ['s384411806', 's804670979'] | [2940.0, 2940.0] | [17.0, 17.0] | [80, 79] |
p03260 | u617659131 | 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")'] | ['Wrong Answer', 'Accepted'] | ['s935234024', 's961138028'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 96] |
p03260 | u619379081 | 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('YES') if (a*b)%2==1 else print('NO')", "a, b = list(map(int, input().split())) \nprint('Yes') if (a*b)%2==1 else print('No')"] | ['Wrong Answer', 'Accepted'] | ['s876703887', 's515521577'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 83] |
p03260 | u619458041 | 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. | ["aimport sys\n\ndef main():\n input = sys.stdin.readline\n a, b = map(int, input().split())\n if (a % 2 == 1) and (b % 2 == 1):\n print('Yes')\n else:\n print('No')\n\n\nif __name__ == '__main__':\n main()", "import sys\n\ndef main():\n input = sys.stdin.readline\n a, b = map(int, input().split())\n if (a % 2 == 1) and (b % 2 == 1):\n print('Yes')\n else:\n print('No')\n\n\nif __name__ == '__main__':\n main()"] | ['Runtime Error', 'Accepted'] | ['s475241922', 's236539501'] | [2940.0, 2940.0] | [17.0, 17.0] | [203, 202] |
p03260 | u623065116 | 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\nans1 = a * B\nans2 = a* b * 2\nans3 = a * b* 3\n\nif ans1%2 == 1:\n print(\'Yes\')\nelif ans2%2 ==1:\n print(\'Yes\')\nelif ans2%2 ==1:\n print(\'Yes\')\nelse:\n print("No")', 'a , b = map(int, input().split())\n\nans1 = a * B\nans2 = a* b * 2\nans3 = a * b* 3\n\nif ans1%2 == 1:\n print(\'Yes\')\n exit\nelif ans2%2 ==1:\n print(\'Yes\')\n exit\nelif ans2%2 ==1:\n print(\'Yes\')\n exit\nelse:\n print("No")', 'a , b = map(int, input().split())\n\nans1 = a * b\nans2 = a* b * 2\nans3 = a * b* 3\n\nif ans1%2 == 1:\n print(\'Yes\')\n exit\nelif ans2%2 ==1:\n print(\'Yes\')\n exit\nelif ans2%2 ==1:\n print(\'Yes\')\n exit\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s034711981', 's740049997', 's438578535'] | [3060.0, 3060.0, 3060.0] | [18.0, 17.0, 19.0] | [203, 230, 230] |
p03260 | u623601489 | 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(t):\n if "2" in t:\n print("Yes")\n else:\n print("No")\n\nt = input()\nmain(t)', 'def main(t):\n if "2" in t:\n print("No")\n else:\n print("Yes")\n\nt = input()\nmain(t)\n'] | ['Wrong Answer', 'Accepted'] | ['s825319455', 's569041059'] | [2940.0, 2940.0] | [18.0, 18.0] | [101, 102] |
p03260 | u624475441 | 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'[1-'2'in input()::2])", "print('YNeos'[1-eval(input().replace(' ','*'))&1::2])"] | ['Runtime Error', 'Accepted'] | ['s979879166', 's408797062'] | [2940.0, 2940.0] | [17.0, 17.0] | [34, 53] |
p03260 | u625729943 | 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 i in range(4):\n if A * B * i %2 == 1:\n print('Yes')\nelse:\n print('No')", "A, B = map(int, input().split())\nfor i in range(1, 4):\n if A * B * i %2 == 1:\n print('Yes')\nelse:\n print('No')\n", "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', 'Accepted'] | ['s233379370', 's933401156', 's921103994'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [112, 116, 87] |
p03260 | u627325970 | 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. | ['\ndef gcd(a, b):\n if a < 0:\n a = -a\n if b < 0:\n b = -b\n if a < b:\n a, b = b, a\n if b == 0:\n return a\n c = a % b\n return gcd(b, c)\n \n\ndef reduce(function, iterable, initializer=None):\n it = iter(iterable)\n if initializer is None:\n value = next(it)\n else:\n value = initializer\n for element in it:\n value = function(value, element)\n return value\n\ndef gcd_list(ls):\n return reduce(gcd, ls)\n\nN, X = list(map(int, input().split()))\nxs = list(map(int, input().split()))\nys = [x - X for x in xs]\n\nprint(gcd_list(ys))', "A, B = list(map(int, input().split()))\nm = A * B\n\nif m % 2 == 1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s692881012', 's807493707'] | [3064.0, 2940.0] | [17.0, 17.0] | [592, 103] |
p03260 | u627417051 | 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 == 1 and B % 2 == 1:\n\tprint("yes")\nelse:\n\tprint("No")', 'A, B = list(map(int, input().split()))\nif A % 2 == 1 and B % 2 == 1:\n\tprint("Yes")\nelse:\n\tprint("No")'] | ['Wrong Answer', 'Accepted'] | ['s899301263', 's131133271'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 101] |
p03260 | u627691992 | 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 * B % 2 == 0) else "No")\n\n', 'A, B = map(int, input().split())\n\nprint("No" if (A * B % 2 == 0) else "Yes")\n\n'] | ['Wrong Answer', 'Accepted'] | ['s975098710', 's348883701'] | [9072.0, 9092.0] | [32.0, 28.0] | [78, 78] |
p03260 | u631914718 | 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\ndef LI(): return [int(x) for x in sys.stdin.readline().split()]\n\n\na, b = LI()\n\nif a % 2 == b % 2 == 1:\n print('yes')\nelse:\n print('no')\n", "import sys\ndef LI(): return [int(x) for x in sys.stdin.readline().split()]\n\n\na, b = LI()\n\nif a % 2 == b % 2 == 1:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s035741265', 's580524630'] | [2940.0, 2940.0] | [17.0, 17.0] | [153, 153] |
p03260 | u633355062 | 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 or b % 2 == 0:\n print('No')\nelse:\n print('Yes')\n"] | ['Wrong Answer', 'Accepted'] | ['s868351610', 's317625609'] | [2940.0, 2940.0] | [17.0, 19.0] | [97, 97] |
p03260 | u636311816 | 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())\nres='Yes'\nif a*b ==0: res='No'\nif a*b >3: res='No'\nprint(res)", "a,b=map(int,input().split());print('No'if a*b%2==0else'Yes')"] | ['Runtime Error', 'Accepted'] | ['s824627490', 's352356432'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 60] |
p03260 | u636775911 | 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;\nint main(void){\n int a,b;\n cin>>a>>b;\n if(a*b%2==0){\n cout<<"No"<<endl;\n }\n else{\n cout<<"Yes"<<endl;\n }\n return 0;\n}\n', '#coding:utf-8\nn=[int(i) for i in input().split()]\nif(n[0]*n[1]%2==0):\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s464238328', 's451239600'] | [2940.0, 2940.0] | [17.0, 17.0] | [171, 104] |
p03260 | u637593381 | 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')\n"] | ['Wrong Answer', 'Accepted'] | ['s424159060', 's007000636'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 87] |
p03260 | u638725699 | 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())\nflg = 0\nfor i in range(3):\n if (a*b*(i+1))%2 != 0:\n flg = 1\n print ((a*b*(i+1))%2)\nif flg == 1:\n print('Yes')\nelse:\n print('No')", "a,b=map(int,input().split())\nflg = 0\nfor i in range(3):\n if (a*b*(i+1))%2 != 0:\n flg = 1\nif flg == 1:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s284034539', 's357260124'] | [2940.0, 2940.0] | [18.0, 17.0] | [180, 150] |
p03260 | u641460756 | 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=list(input().split())\nb=int(a[0])\nc=int(a[1])\nd=int(b*c)\nif d%2==0:\n print("Yes")\nelse:\n print("No")', 'a=list(input().split())\nb=int([0])\nc=int([1])\nif (b*c)%2==0:\n print("Yes")\nelse:\n print("No")', 'a,b=list(map(int,input().split()))\nif (a*b)%2==1:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s221969242', 's566881084', 's491689372'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [104, 95, 84] |
p03260 | u643714578 | 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==0 and b%2==0 else "No")', 'a,b=map(int,input().split())\nprint("Yes" if a%2==1 and b%2==1 else "No")'] | ['Wrong Answer', 'Accepted'] | ['s038711767', 's126554407'] | [2940.0, 2940.0] | [18.0, 17.0] | [72, 72] |
p03260 | u644100188 | 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('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\n\nif a%2==0 | b%2==0:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\n\nd=a*b\n\nif d%2==0:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\n\nif a % 2 == 0 or b % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s064514831', 's587295046', 's821812051', 's937402450'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [93, 92, 90, 101] |
p03260 | u645119489 | 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('1以上3以下の整数でA,Bの値を入力してください。').split()))\n\n\n\n\nfor C in range(1,4):\n if A*B*C%2==1:\n print('Yes')\n break\n \n \nelse:\n print('No')", "A,B=map(int,(input('1以上3以下の整数でA,Bの値を入力してください。').split()))\nflg=True\n\n\nfor C in range(1,4):\n if A*B*C%2==1:\n flg=False\n\nif flg==False:\n print('Yes')\nelif flg==True:\n print('No')", "A,B=map(int,(input().split()))\ncount=0\n\nfor C in range(1,4):\n if A*B*C%2==1:\n count=count+1\n\nif count>=1:\n print('Yes')\n\nelif count==0:\n print('No')\n "] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s356654862', 's699803039', 's172540401'] | [8984.0, 9180.0, 9156.0] | [31.0, 29.0, 29.0] | [307, 322, 173] |
p03260 | u647656433 | 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(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==1 and b%2==1:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s049118249', 's855797002'] | [2940.0, 3316.0] | [17.0, 21.0] | [96, 96] |
p03260 | u648212584 | 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")'] | ['Runtime Error', 'Accepted'] | ['s243467396', 's160804569'] | [2940.0, 2940.0] | [19.0, 17.0] | [90, 90] |
p03260 | u653837719 | 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")\n'] | ['Runtime Error', 'Accepted'] | ['s308948322', 's786627773'] | [2940.0, 2940.0] | [17.0, 18.0] | [93, 94] |
p03260 | u654536970 | 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. | ['list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #A\nlist1_1 = list1[1] #B\n\nabc_0 = list1_0 * list1_1 * 1\nabc_1 = list1_0 * list1_1 * 2\nabc_2 = list1_0 * list1_1 * 3\n\nif abc_0 in [1, 2, 3, 5, 7, 9]:\n print("YES")\nelif abc_1 in [1, 2, 3, 5, 7, 9]:\n print("YES")\nelif abc_2 in [1, 2, 3, 5, 7, 9]:\n print("YES")\nelse:\n print("NO")', 'list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #A\nlist1_1 = list1[1] #B\n\nabc_0 = (list1_0 * list1_1 * 1) / 3\nabc_1 = (list1_0 * list1_1 * 2) / 3\nabc_2 = (list1_0 * list1_1 * 3) / 3\n\nif abc_0 in [1, 3, 5, 7, 9]:\n print("YES")\nelif abc_1 in [1, 3, 5, 7, 9]:\n print("YES")\nelif abc_2 in [1, 3, 5, 7, 9]:\n print("YES")\nelse:\n print("NO")', 'list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #A\nlist1_1 = list1[1] #B\n\nabc_0 = list1_0 * list1_1 * 1\nabc_1 = list1_0 * list1_1 * 2\nabc_2 = list1_0 * list1_1 * 3\n\nif abc_0 in [3, 9, 15, 21, 27]:\n print("YES")\nelif abc_1 in [3, 9, 15, 21, 27]:\n print("YES")\nelif abc_2 in [3, 9, 15, 21, 27]:\n print("YES")\nelse:\n print("NO")', 'list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #A\nlist1_1 = list1[1] #B\n\nabc_0 = list1_0 * list1_1 * 1\nabc_1 = list1_0 * list1_1 * 2\nabc_2 = list1_0 * list1_1 * 3\n\nif abc_0 in [1, 3, 5, 7, 9]:\n print("YES")\nelif abc_1 in [1, 3, 5, 7, 9]:\n print("YES")\nelif abc_2 in [1, 3, 5, 7, 9]:\n print("YES")\nelse:\n print("NO")', 'list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #A\nlist1_1 = list1[1] #B\n\nabc_0 = list1_0 * list1_1 * 1\nabc_1 = list1_0 * list1_1 * 2\nabc_2 = list1_0 * list1_1 * 3\n\nif abc_0 in [3, 9, 15, 21, 27]:\n print("Yes")\nelif abc_1 in [3, 9, 15, 21, 27]:\n print("Yes")\nelif abc_2 in [3, 9, 15, 21, 27]:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s022461631', 's058566945', 's815176987', 's962144195', 's706309870'] | [3064.0, 3064.0, 3064.0, 3064.0, 3188.0] | [18.0, 27.0, 17.0, 18.0, 19.0] | [350, 359, 350, 341, 350] |
p03260 | u662482238 | 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("Yes")\nelse:\n print("No")\n', 'a,b= map(int,input().split())\n\nif(a % 2 == 0 or b % 2 == 0):\n print("No")\nelse:\n print("Yes")\n'] | ['Wrong Answer', 'Accepted'] | ['s293378103', 's027873647'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 100] |
p03260 | u663871495 | 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. | ['ans = False\ninp = input()\ninp = inp.split()\ninp = [int(x) for x in inp]\nfor i in range(1, 4):\n a = inp[0] * inp[1] * i\n if a % 2 != 0:\n ans = True\n break\nprint(ans)', 'ans = "No"\ninp = input()\ninp = inp.split()\ninp = [int(x) for x in inp]\nfor i in range(1, 4):\n a = inp[0] * inp[1] * i\n if a % 2 != 0:\n ans = "Yes"\n break\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s822258601', 's059821092'] | [3060.0, 3060.0] | [17.0, 17.0] | [184, 184] |
p03260 | u666964944 | 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 '2' in input().split(): print('Yes')\nelse: print('No')", "if '2' in input().split(): print('No')\nelse: print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s718404382', 's026543480'] | [2940.0, 2940.0] | [17.0, 17.0] | [57, 57] |
p03260 | u668352391 | 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(lambda x: int(x), input().split())\n\nif a == 1 and (b == 1 or b ==3 ):\n print('Yes')\nelse:\n print('No')", "a, b = map(lambda x: int(x), input().split())\n\nif (a == 1 or a ==3) and (b == 1 or b ==3):\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s359433792', 's164896395'] | [2940.0, 2940.0] | [17.0, 18.0] | [115, 125] |
p03260 | u670206244 | 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\nflag = False\n\nwhile C >= 3 :\n\n if (A * B * C) % 2 == 1:\n flag = True\n break\n \n C += 1\n\nif flag == True:\n print("Yes")\n\nelse:\n print("No")', 'A, B = (int(i) for i in input().split())\nC = 1\nflag = False\n\nwhile (C <= 3):\n\n if ((A*B*C)%2 == 1):\n\n flag = True\n break\n \n C += 1\n\n\nif flag == True:\n\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s783604536', 's812198143'] | [2940.0, 3060.0] | [17.0, 17.0] | [205, 212] |
p03260 | u671211357 | 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 i in range(1,4):\n if (A*B*i)%2==1:\n print("Yes")\n else:\n print("No")\n ', 'A,B=map(int,input().split())\nfor i in range(1,4):\n if (A*B*i)%2==1:\n print("Yes")\n exit()\nelse:\n print("No")\n \n'] | ['Wrong Answer', 'Accepted'] | ['s539240122', 's933487060'] | [9100.0, 9100.0] | [27.0, 24.0] | [114, 122] |
p03260 | u672475305 | 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 i in range(1,4):\n if a*b*i%2!=0:\n print('YES')\n exit()\nprint('No')", "a,b = map(int,input().split())\nprint('No' if a==2 or b==2 else 'Yes')"] | ['Wrong Answer', 'Accepted'] | ['s685315481', 's301005498'] | [2940.0, 2940.0] | [17.0, 18.0] | [118, 69] |
p03260 | u673173160 | 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('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')", "a, b = map(int, input().split())\nif a*b % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s374427468', 's697941521', 's758919525', 's996297387', 's338283749'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [88, 88, 88, 88, 88] |
p03260 | u673338219 | 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'] | ['s518169196', 's731264850'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 90] |
p03260 | u677121387 | 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 else:\n return gcd(b,a%b)\n\nn,x = map(int,input().split())\nlstx = [int(i) for i in input().split()]\n\ng = abs(lstx[0]-x)\nfor i in range(1,n): g = gcd(g,abs(lstx[i]-x))\n\nprint(g)', 'a,b = map(int,input().split())\nif (a*b)%2 != 0:\n ans = "Yes"\nelse:\n ans = "No"\n\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s063989444', 's002445719'] | [2940.0, 2940.0] | [17.0, 17.0] | [231, 96] |
p03260 | u677312543 | 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, a%b\n return a\n\n\ndef main():\n N, X = map(int, input().split())\n x = [abs(int(i) - X) for i in input().split()] \n\n y = x[0]\n for i in range(N):\n if x[i]%y == 0:\n continue\n y = gcd(y, x[i])\n print(y)\n\n\nif __name__ == '__main__':\n main()", "A, B = map(int, input().split())\n\nif (A*B % 2) == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s300081067', 's614636363'] | [3060.0, 2940.0] | [17.0, 17.0] | [330, 91] |
p03260 | u686036872 | 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. | ['C = map(str, input().replace(" ", ""))\nif "2" in c:\n print("No")\nelse:\n print("Yes")', 'C = input().replace(" ", "")\nif "2" in c:\n print("No")\nelse:\n print("Yes")', 'C = map(str, input().split())\nif "2" in c:\n print("No")\nelse:\n print("Yes")', 'C = map(str, input().split())\nif "2" in c:\n print("No")\nelse:\n print("Yes")', 'if eval(input().replace(" ","*"))%2 != 0:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s241338493', 's458012381', 's837524822', 's920703865', 's246473175'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [90, 80, 81, 81, 80] |
p03260 | u690037900 | 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 or b ==2 else "No")', 'a,b = map(int,input().split())\nprint("No" if a == 2 or b ==2 else "Yes")'] | ['Wrong Answer', 'Accepted'] | ['s185752351', 's587722065'] | [2940.0, 2940.0] | [17.0, 17.0] | [72, 72] |
p03260 | u693953100 | 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:\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')"] | ['Wrong Answer', 'Accepted'] | ['s308313754', 's240912337'] | [2940.0, 2940.0] | [17.0, 18.0] | [80, 81] |
p03260 | u694919649 | 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 or B == 2:\n print('No')\nelse:\n print('Yes')", 'A = input().split()\nif A[0] == 2 or A[1] == 2:\n print(No)\nelse:\n print(Yes)', "A = input().split()\nA[0] = int(A[0])\nA[1] = int(A[1])\nif A[0] == 2 or A[1] == 2:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s751429904', 's931582423', 's084810114'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [86, 81, 119] |
p03260 | u698501671 | 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\n\nN,X = map(int,input().split())\nx = list(map(int,input().split()))\nif N == 1:\n print(abs(x[0] - X))\nelse:\n xlen = [abs(x[0]-X)]\n for i in range(N-1):\n xlen.append(x[i+1]- x[i])\n ans = xlen[0]\n for i in range(N-2):\n ans = math.gcd(ans,xlen[i+1])\n print(ans)', "A,B = map(int,input().split())\nif A != 2 and B != 2:\n print('Yes')\nelse:\n print('No')\n "] | ['Runtime Error', 'Accepted'] | ['s172672831', 's682626900'] | [3064.0, 2940.0] | [17.0, 17.0] | [300, 96] |
p03260 | u698868214 | 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())\ncheck = False\nfor C in range(1,4):\n if (A * B * C) % 2 == 1:\n check = True\n \nprint("Yes" if check else "No")', 'A,B = map(int,input().split())\ncheck = False\nfor C in range(1,4):\n if (A * B * C) % 2 == 1:\n check = True\n \nprint("Yes" if check else "No")'] | ['Runtime Error', 'Accepted'] | ['s913052906', 's515633302'] | [9164.0, 9160.0] | [30.0, 26.0] | [138, 146] |
p03260 | u702018889 | 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 i in range(1,4):\n if (a*b*i)%2!=0:\n print("Yes")\n\texit()\nprint("No")', 'a,b=map(int,input().split())\nfor i in range(1,4):\n if (a*b*i)%2!=0:\n print("Yes")\n exit()\nprint("No")'] | ['Runtime Error', 'Accepted'] | ['s770809837', 's527096673'] | [9012.0, 9160.0] | [22.0, 31.0] | [105, 108] |
p03260 | u702208001 | 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(a) for a in input().split()]\nprint('Yes' if a * b % 2 == 0 else 'No')\n", "a, b = [int(a) for a in input().split()]\nprint('Yes' if a * b % 2 == 1 else 'No')\n"] | ['Wrong Answer', 'Accepted'] | ['s068640909', 's517142801'] | [2940.0, 2940.0] | [18.0, 17.0] | [82, 82] |
p03260 | u702582248 | 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 list(filter(lambda x:x%2==0,map(int, input().split()))) "No")\n', "a,b=map(int, input().split())\nprint('Yes' if a * b % 2 == 1 else 'No')"] | ['Runtime Error', 'Accepted'] | ['s214996615', 's968751227'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 70] |
p03260 | u703890795 | 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'] | ['s007563682', 's917399051'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 84] |
p03260 | u705427370 | 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 print("Yes")\nelse:\n print("No")', 'a,b = map(int,input().split())\n\nif a == 2 or b == 2:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s589072158', 's888037439'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 91] |
p03260 | u706414019 | 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())*int(input()) in [4,6,9]:\n print('No')\nelse:\n print('Yes')\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '", "A,B=list(map(int,input().split()))\n\nif A*B in [4,6,9]:\n print('No')\nelse:\n print('Yes')\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '", "A,B=list(map(int,input().split()))\n\nif A*B in [2,4,6]:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s544200801', 's782710630', 's522639461'] | [8872.0, 9012.0, 9036.0] | [23.0, 19.0, 28.0] | [171, 185, 89] |
p03260 | u708255304 | 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')", "A, B = map(int, input().split())\nif A % 2 == 0 or B % 2 == 0:\n print('No')\nelse:\n print('Yes')\n"] | ['Wrong Answer', 'Accepted'] | ['s630217793', 's231713120'] | [2940.0, 2940.0] | [18.0, 17.0] | [96, 97] |
p03260 | u711295009 | 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. | ['list1 = list(map(int, input().split()))\nn = list1[0]\nx = list1[1]\nlist2 = list(map(int, input().split()))\nlist2.append(x)\nlist2.sort()\n\nlist3 = []\nlength = len(list2)\nindex =1\nwhile index < length:\n list3.append(list2[index]-list2[index-1])\n index+=1\n\nlist3.sort()\nmimN = list3[0]\nans =0\nindex2 =mimN\nif len(list3) ==1:\n print(mimN)\nelse:\n flag2 =0\n for number in list3:\n if number%mimN !=0:\n flag2 =1\n if flag2 ==0:\n print(mimN)\n else:\n while index2>=1:\n flag=1\n for number in list3:\n if number%index2 ==0:\n flag =1\n if flag ==1:\n ans = index2\n break\n index2-=1\n \n print(ans)', 'list = list(map(int, input().split()))\na = list[0]\nb = list[1]\n\nif a%2!=0 and b%2!=0:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s601752416', 's938447695'] | [3064.0, 2940.0] | [17.0, 17.0] | [753, 124] |
p03260 | u711539583 | 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:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\nif a * b % 2:\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Accepted'] | ['s344752961', 's162116645'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 82] |
p03260 | u712868001 | 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 or B==2:\n print('No')\nelse:\n print('Yes')", "A,B=map(int.input())\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', 'Runtime Error', 'Accepted'] | ['s353019922', 's466546591', 's235882941'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [73, 72, 81] |
p03260 | u712975113 | 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())\nx=list(map(int,input().split()))\nx=[abs(X-c) for c in x]\nimport math\nfrom functools import reduce\n\ndef gcd(*numbers):\n return reduce(math.gcd, numbers)\nD=gcd(*x)\nprint(D)', "A,B=map(int,input().split())\nif A%2==1 and B%2==1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s002036166', 's041973228'] | [2940.0, 2940.0] | [17.0, 18.0] | [202, 89] |
p03260 | u713830790 | 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())\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'] | ['s647029156', 's058654712'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 91] |
p03260 | u717626627 | 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'] | ['s695258510', 's441477538'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 85] |
p03260 | u718706790 | 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'] | ['s971812466', 's813746083'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 88] |
p03260 | u721316601 | 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 or b % 2 == 1:\n print('No')\nelse:\n print('Yes')", "a, b = list(map(int, input().split()))\n\nif a % 2 == 1 or b % 2 == 1:\n print('No')\nelse:\n print('Yes')", "a, b = list(map(int, input().split()))\n\nif a % 2 == 1 or b % 2 == 1:\n print('No')\n else:\n print('Yes')", "a, b = list(map(int, input().split()))\n\nif a % 2 == 1 and b % 2 == 1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s207852733', 's288657980', 's779502390', 's720123359'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [105, 103, 107, 104] |
p03260 | u721776301 | 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\njudge=0\nfor i in range(1,4):\n\tif (j+k+i)*2==1:\n judge=1\nif judge==1:\n print ("Yes")\nelse:\n print ("No")', 'judge=0\nfor i in range(1,4):\n\tif (A+B+i)*2==1:\n judge=1\nif judge==1:\n print ("Yes")\nelse:\n print ("No")', 'judge=0\nj,k=A,B\nfor i in range(1,4):\n\tif (j+k+i)*2==1:\n judge=1\nif judge==1:\n print ("Yes")\nelse:\n print ("No")', 'A, B = map(int, input().split())\n\njudge=0\nfor C in range(1,4):\n if (A*B*C)%2==1:\n judge=1\n\nif judge==1:\n print ("Yes")\nelse:\n print ("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s100532796', 's202602866', 's903895011', 's447997228'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [144, 110, 118, 144] |
p03260 | u723583932 | 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. | ['#abc109 a \na,b=map(int,input().split())\nflag=False\nfor c in range(1,4):\n x=a*b*c \n if x%2==1:\n flag=True\n break\nif flag:\n \tprint("Yes")\n else:\n \tprint("No")', '#abc109 a\na,b=map(int,input().split())\nflag=False\nfor c in range(1,4):\n x=a*b*c\n if x%2==1:\n flag=True\n break\nif flag:\n \tprint("Yes")\nelse:\n \tprint("No")'] | ['Runtime Error', 'Accepted'] | ['s715130727', 's811224789'] | [2940.0, 2940.0] | [17.0, 17.0] | [176, 173] |
p03260 | u727787724 | 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\nn,x=map(int,input().split())\na=list(map(int,input().split()))\nans=abs(x-a[0])\na.sort()\nif n==1:\n print(abs(x-a[0]))\nelse:\n cnt=abs(a[1]-a[0])\n for j in range(n-1):\n cnt=min(abs(a[j+1]-a[j]),cnt)\n for i in range(n):\n ans=min(abs(x-a[i]),ans)\n print(min(ans,cnt))\n ', "a,b=map(int,input().split())\nif a%2!=0 and b%2!=0:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s966576075', 's403086436'] | [5048.0, 2940.0] | [35.0, 17.0] | [312, 89] |
p03260 | u729133443 | 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('No'*'2'in input()or'Yes')", "print('YNeos'['2'in input()::2])"] | ['Runtime Error', 'Accepted'] | ['s890466894', 's689816862'] | [2940.0, 8992.0] | [18.0, 24.0] | [32, 32] |
p03260 | u729473347 | 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\n\nif __name__ == "__main__":\n a, b = list(map(int, intput().split()))\n for i in range(1, 3):\n if a * b * i % 2 == 1:\n print(\'True\')\n\n print(\'No\')\n', 'import sys\n\n\ndef main():\n a, b = list(map(int, input().split()))\n for i in range(1, 4):\n if a * b * i % 2 == 1:\n print(\'True\')\n return\n\n print(\'No\')\n\n\nif __name__ == "__main__":\n main()\n', 'import sys\nfrom functools import reduce\nfrom fractions import gcd\n\n\ndef main():\n n, x = list(map(int, input().split()))\n values = list(map(int, input().split()))\n values.append(x)\n values.sort()\n v = [values[i + 1] - values[i] for i in range(len(values) - 1)]\n res = v[0]\n print(reduce(gcd, v[1:], v[0]))\n\n\nif __name__ == "__main__":\n main()\n', 'import sys\n\n\ndef main():\n a, b = list(map(int, input().split()))\n for i in range(1, 3):\n if a * b * i % 2 == 1:\n print(\'True\')\n return\n\n print(\'No\')\n\n\nif __name__ == "__main__":\n main()\n', 'import sys\n\n\ndef main():\n a, b = list(map(int, input().split()))\n for i in range(1, 4):\n if a * b * i % 2 == 1:\n print(\'Yes\')\n return\n\n print(\'No\')\n\n\nif __name__ == "__main__":\n main()\n'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s024352815', 's102333002', 's507219839', 's673999001', 's884596607'] | [2940.0, 2940.0, 5128.0, 2940.0, 2940.0] | [17.0, 17.0, 36.0, 17.0, 17.0] | [185, 227, 366, 227, 226] |
p03260 | u729707098 | 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(i) for i in input().split())\nif (a*b)%2: print("No")\nelse: print("Yes")', 'a,b = (int(i) for i in input().split())\nif (a*b)%2: print("Yes")\nelse: print("No")'] | ['Wrong Answer', 'Accepted'] | ['s079402447', 's653462146'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 82] |
p03260 | u731702557 | 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\nab = a*b\n\nfor c in range(1,4):\n if 1 <= a <= 3 and 0 <= b <=3:\n if (ab*c) % 2 ==1:\n print('Good')\n exit()\n\nprint('No')", "a, b = map(int, input().split())\n\nab = a*b\n\nfor c in range(1,4):\n if 1 <= a <= 3 and 0 <= b <=3:\n if (ab*c) % 2 ==1:\n print('Good')\n exit()\n\nprint('no')", "a, b = map(int, input().split())\n\nab = a*b\n\nfor c in range(1,4):\n if (ab*c) % 2 ==1:\n print('Good')\n exit()\n\nprint('no')", "a, b = map(int, input().split())\n\nab = a*b\n\nfor c in range(1,4):\n if 1 <= a <= 3 and 0 <= b <=3:\n if (ab*c) % 2 ==1:\n print('Yes')\n exit()\n\nprint('No')"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s659524615', 's754996290', 's802318263', 's368469279'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [182, 182, 146, 181] |
p03260 | u732870425 | 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 = list(map(int,input().split()))\n\nif ab in 2:\n print("No")\nelse:\n print("Yes")', 'ab = list(map(int,input().split()))\n \nif 2 in ab:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s112063823', 's786551429'] | [2940.0, 2940.0] | [18.0, 17.0] | [83, 84] |
p03260 | u732996882 | 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(i) for i in input().split()]\nif a*b % 2 is 1:\n print("True")\nelse:\n print("False")', 'a, b = [int(i) for i in input().split()]\nif a*b % 2 is 1:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s055450669', 's413184471'] | [2940.0, 2940.0] | [18.0, 17.0] | [100, 96] |
p03260 | u735008991 | 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")\n', 'print("Yes" if (int(input())*int(input())) % 2 != 0 else "No")\n', 'print("Yes" if (int(input)*int(input)) % 2 != 0 else "No")\n', 'a, b = map(int, input().split())\nprint("Yes" if a*b % 2 != 0 else "No")\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s481725449', 's589258480', 's945588471', 's172682714'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [57, 63, 59, 72] |
p03260 | u735752582 | 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 fractions\n \nN,X = map(int, input().split())\nx = list(map(int,input().split()))\nx.append(X)\nx.sort()\ny=[]\n \ni=0\nwhile i < n:\n y.append(x[i+1]-x[i])\n i +=1\ny.sort()\n \ny=list(set(y))\nm=len(y)\nz=y[0]\ni=0\nwhile i < m:\n z=fractions.gcd(z,y[i])\n i+=1\n \nprint(z)', "# -*- coding: utf-8 -*-\n \ntmp = input()\na=[int(x) for x in tmp.split()]\n\nif a[0]*a[1] % 2 == 1:\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Accepted'] | ['s619756114', 's083553491'] | [5044.0, 3064.0] | [36.0, 17.0] | [297, 135] |
p03260 | u738835924 | 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")'] | ['Runtime Error', 'Accepted'] | ['s382138988', 's451847112'] | [2940.0, 2940.0] | [17.0, 19.0] | [85, 86] |
p03260 | u740047492 | 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());print("Yes" if (a*b*1)%2==0 or (a*b*3)%2==0 else "No")', 'a,b=map(int,input().split());print("No" if (a*b*1)%2==0 or (a*b*3)%2==0 else "Yes")'] | ['Wrong Answer', 'Accepted'] | ['s476268811', 's250996409'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 83] |
p03260 | u740284863 | 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")\n'] | ['Runtime Error', 'Accepted'] | ['s146835764', 's455321428'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 95] |
p03260 | u745561510 | 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. | ['l = list(map(int, input().split())) \na = l[0]\nb = l[1]\n\nprint(1 % 2)\n\nif ((a % 2 == 1) and (b % 2 == 1)):\n\tprint("Yes")\nelse:\n\tprint("No")\n\n', 'l = list(map(int, input().split())) \na = l[0]\nb = l[1]\n\nif ((a % 2 == 1) and (b % 2 == 1)):\n\tprint("Yes")\nelse:\n\tprint("No")\n\n'] | ['Wrong Answer', 'Accepted'] | ['s300984150', 's916289889'] | [3060.0, 2940.0] | [19.0, 17.0] | [158, 144] |
p03260 | u746428948 | 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: print('No')\nelse: print('No')", "n = int(input())\nw = []\nfor i in range(n):\n w.append(input())\nok = True\nfor i in range(n-1):\n sz = len(w[i])\n if w[i][sz-1] != w[i+1][0]: ok = False\nfor i in range(n):\n for j in range(n):\n if i != j and w[i] == w[j]:\n ok = False\nif ok: print('Yes')\nelse: print('No')\n", "a,b = map(int,input().split())\nif a % 2 == 0 or b % 2 == 0: print('No')\nelse: print('Yes')"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s592897031', 's701191984', 's574894451'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 18.0] | [89, 297, 90] |
p03260 | u746849814 | 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 == 1:\n print('Yes')\n\tbreak\nelse:\n print('No')", "a, b = map(int, input().split())\nfor c in range(1, 4):\n if a*b*c%2 == 1:\n print('Yes')\n break\nelse:\n print('No')\n\n"] | ['Runtime Error', 'Accepted'] | ['s635535267', 's790591958'] | [3188.0, 2940.0] | [19.0, 19.0] | [117, 134] |
p03260 | u748311048 | 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('No' if A*B%2==0 else 'Yes')"] | ['Wrong Answer', 'Accepted'] | ['s136115692', 's270707969'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 64] |
p03260 | u752522099 | 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())\n\nif k % 2 == 0:\n num = k * k /4\nelse:\n base = (k-1) / 2\n num = base * (base + 1)\n\nprint(int(num))', "a,b = map(int,input().split())\n\nif a % 2 == 0 or b % 2 == 0:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Accepted'] | ['s786098702', 's580171364'] | [2940.0, 2940.0] | [17.0, 17.0] | [123, 99] |
p03260 | u762540523 | 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==0)::2])', 'print("YNeos"[eval(input().replace(" ","*"))%2==0::2])'] | ['Runtime Error', 'Accepted'] | ['s435672875', 's641824828'] | [2940.0, 2940.0] | [18.0, 17.0] | [54, 54] |
p03260 | u765590009 | 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\na, b = map(int, input().split())\n\nprint(list(range(1,4)))\n\nfor c in range(1,4) :\n if (a*b*c)%2 == 1 :\n print("Yes")\n sys.exit(0)\n\nprint("No")', 'a, b = map(int, input().split())\n\nif (a%2 == 1 ) and (b%2 == 1 ) :\n print("Yes")\nelse :\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s549114667', 's240080801'] | [2940.0, 2940.0] | [18.0, 17.0] | [169, 106] |
p03260 | u767995501 | 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())\ns = [input()for _ in[0]*n]\nf = 0\nfor i in range(1,n):\n f += s[i-1][-1] != s[i][0]\nprint("No"if f or len(set(s))<n else"Yes")\n', "A, B = map(int, input().split())\nif A * B % 2 == 0:\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Accepted'] | ['s843011497', 's649331993'] | [2940.0, 2940.0] | [17.0, 17.0] | [145, 87] |
p03260 | u768256617 | 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())\nflag=0\n\nfor i in range(1,4):\n if (a*b*i)%2!=0:\n flag=1\n exit()\n \n else:\n continue\n \nif flag==1:\n print('Yes')\n \nelse:\n print('No')\n ", "a,b=map(int,input().split())\nflag=0\n \nfor i in range(1,4):\n \n if (a*b*i)%2!=0:\n flag=1\n break\n \n else:\n continue\n \n\nif flag==1:\n print('Yes')\n \nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s541071776', 's879205592'] | [9052.0, 9004.0] | [23.0, 28.0] | [184, 183] |
p03260 | u770009793 | 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")', 'a,b = map(int, input().split())\nif a*b%2 == 1:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s976072897', 's908792089'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 81] |
p03260 | u777394984 | 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=m(int,input().split())\nif a%2==0or 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', 'a,b=map(int,input().split())\nif a%2==0or b%2==0:\n print("NO")\nelse:\n print("YES")', 'a,b=map(int,input().split())\nprint("NO"if a*b%2==0 else "YES")', 'a, b = map(int, input().split())\nprint("Yes" if a*b%2==1 else "No")'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s283634470', 's424901444', 's488598895', 's629625839', 's517282592'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [81, 85, 83, 62, 67] |
p03260 | u787383401 | 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\tprint(‘Yes’)\nelse:\n\tprint(‘No’)\n', 'A, B=map(int, input(). split())\nif A%2==1 and B%2==1:\n\tprint(“Yes”)\nelse:\n\tprint(“No”)', 'A, B=map(int, input(). split())\nif (A*B)%2==1:\n\tprint(“Yes”)\nelse:\n\tprint(“No”)\n', 'A, B=map(int, input(). split())\nif (A*B)%2==1:\n\tprint(‘Yes’)\nelse:\n\tprint(‘No’)\n', 'A, B=map(int, input(). split())\nif(A*B%==1):\n\tprint(‘Yes’)\nelse:\n\tprint(‘No’)\n', 'A, B=map(int, input(). split())\nif A%2==1 and B%2==1:\n\tprint("Yes")\nelse:\n\tprint("No")\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s316501602', 's461177436', 's485480368', 's631151378', 's893068763', 's519452873'] | [2940.0, 3188.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [95, 94, 88, 88, 86, 87] |
p03260 | u788137651 | 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\n\n\n\n\n\n\n\n\n#\nimport sys\nsys.setrecursionlimit(10**6)\ninput=sys.stdin.readline\nfrom math import floor,ceil,sqrt,factorial,hypot,log \nfrom heapq import heappop, heappush, heappushpop\nfrom collections import Counter,defaultdict,deque\nfrom itertools import accumulate,permutations,combinations,product,combinations_with_replacement\nfrom bisect import bisect_left,bisect_right\nfrom copy import deepcopy\ninf=float('inf')\nmod = 10**9+7\ndef pprint(*A): \n for a in A: print(*a,sep='\\n')\ndef INT_(n): return int(n)-1\ndef MI(): return map(int,input().split())\ndef MF(): return map(float, input().split())\ndef MI_(): return map(INT_,input().split())\ndef LI(): return list(MI())\ndef LI_(): return [int(x) - 1 for x in input().split()]\ndef LF(): return list(MF())\ndef LIN(n:int): return [I() for _ in range(n)]\ndef LLIN(n: int): return [LI() for _ in range(n)]\ndef LLIN_(n: int): return [LI_() for _ in range(n)]\ndef LLI(): return [list(map(int, l.split() )) for l in input()]\ndef I(): return int(input())\ndef F(): return float(input())\ndef ST(): return input().replace('\\n', '')\ndef main():\n H,W=MI()\n A=LLIN(H)\n odds=[]\n ans=[]\n for i in range(H):\n if i&1:\n for j in range(W)[::-1]:\n if A[i][j]&1:\n if j==0:\n dy=1\n dx=0\n else:\n dy=0\n dx=-1\n if i+dy!=H:\n \n ans.append((i+1,j+1,i+dy+1,j+dx+1))\n A[i+dy][j+dx]+=1\n else:\n for j in range(W)[::-1]:\n if A[i][j]&1:\n if j==W-1:\n dy=1\n dx=0\n else:\n dy=0\n dx=1\n if i+dy!=H:\n \n ans.append((i+1,j+1,i+dy+1,j+dx+1))\n A[i+dy][j+dx]+=1\n\n print(len(ans))\n for a in ans:\n print(*a)\n \n\n\nif __name__ == '__main__':\n\u3000\u3000main", "#\n\n\n\n\n\n\n\n\n\n#\nimport sys\nsys.setrecursionlimit(10**6)\ninput=sys.stdin.readline\nfrom math import floor,ceil,sqrt,factorial,hypot,log \nfrom heapq import heappop, heappush, heappushpop\nfrom collections import Counter,defaultdict,deque\nfrom itertools import accumulate,permutations,combinations,product,combinations_with_replacement\nfrom bisect import bisect_left,bisect_right\nfrom copy import deepcopy\ninf=float('inf')\nmod = 10**9+7\ndef pprint(*A): \n for a in A: print(*a,sep='\\n')\ndef INT_(n): return int(n)-1\ndef MI(): return map(int,input().split())\ndef MF(): return map(float, input().split())\ndef MI_(): return map(INT_,input().split())\ndef LI(): return list(MI())\ndef LI_(): return [int(x) - 1 for x in input().split()]\ndef LF(): return list(MF())\ndef LIN(n:int): return [I() for _ in range(n)]\ndef LLIN(n: int): return [LI() for _ in range(n)]\ndef LLIN_(n: int): return [LI_() for _ in range(n)]\ndef LLI(): return [list(map(int, l.split() )) for l in input()]\ndef I(): return int(input())\ndef F(): return float(input())\ndef ST(): return input().replace('\\n', '')\ndef main():\n H,W=MI()\n A=LLIN(H)\n odds=[]\n ans=[]\n for i in range(H):\n if i&1:\n for j in range(W)[::-1]:\n if A[i][j]&1:\n if j==0:\n dy=1\n dx=0\n else:\n dy=0\n dx=-1\n if i+dy!=H:\n \n ans.append((i+1,j+1,i+dy+1,j+dx+1))\n A[i+dy][j+dx]+=1\n else:\n for j in range(W)[::-1]:\n if A[i][j]&1:\n if j==W-1:\n dy=1\n dx=0\n else:\n dy=0\n dx=1\n if i+dy!=H:\n \n ans.append((i+1,j+1,i+dy+1,j+dx+1))\n A[i+dy][j+dx]+=1\n\n print(len(ans))\n for a in ans:\n print(*a)\n \n\n\nif __name__ == '__main__':\n main()", 'A, B = map(int, input().split())\nif 2 not in [A, B]:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s827624444', 's862054580', 's582803590'] | [3188.0, 3572.0, 2940.0] | [17.0, 24.0, 18.0] | [2297, 2295, 92] |
p03260 | u792333798 | 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. | ['number = input().rstrip().split(" ")\nA = number[0]\nB = number[1]\nseki = int(A) * int(B)\nif seki % 2 == 0:\n print("no")\nelse:\n print("yes")', 'number = input().rstrip().split(" ")\nA = number[0]\nB = number[1]\nseki = int(A) * int(B)\nif seki % 2 == 0:\n print("no")\nelse:\n print("yes")', 'number = input().rstrip().split(" ")\nA = number[0]\nB = number[1]\nseki = int(A) * int(B)\nif seki % 2 == 0:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s739747115', 's888893997', 's616031534'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [140, 140, 140] |
p03260 | u793982420 | 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 -*-\nfrom fractions import gcd\n\n\nN, X = map(int, input().split())\npos = [int(x.strip()) for x in input().split()]\n\n\ntikai = [i - X for i in pos]\nkyori = list(map(abs,tikai))\n\na = kyori[0]\nfor xi in kyori[1:]:\n a = gcd(a, xi)\nprint(a)', '# -*- coding: utf-8 -*-\n\na, b = map(int, input().split())\n\nif ((a * b) % 2) == 1:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s639375570', 's791011373'] | [5432.0, 2940.0] | [46.0, 17.0] | [325, 162] |
p03260 | u797016134 | 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 % :\n print("Yes")\nelse:\n print("No")', 'a,b = map(int, input().split())\nif a*b % 2:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s991075365', 's290466266'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 82] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.