結果

問題 No.2525 Great Move
ユーザー MottchanMottchan
提出日時 2023-11-03 21:25:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 93 ms / 2,000 ms
コード長 561 bytes
コンパイル時間 487 ms
コンパイル使用メモリ 81,868 KB
実行使用メモリ 73,128 KB
最終ジャッジ日時 2023-11-03 21:25:52
合計ジャッジ時間 3,153 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
72,500 KB
testcase_01 AC 69 ms
72,500 KB
testcase_02 AC 89 ms
73,128 KB
testcase_03 AC 92 ms
73,056 KB
testcase_04 AC 93 ms
72,952 KB
testcase_05 AC 36 ms
55,776 KB
testcase_06 AC 37 ms
55,776 KB
testcase_07 AC 44 ms
55,776 KB
testcase_08 AC 44 ms
55,776 KB
testcase_09 AC 35 ms
55,776 KB
testcase_10 AC 64 ms
72,096 KB
testcase_11 AC 42 ms
68,064 KB
testcase_12 AC 62 ms
71,840 KB
testcase_13 AC 64 ms
72,036 KB
testcase_14 AC 70 ms
72,176 KB
testcase_15 AC 69 ms
72,072 KB
testcase_16 AC 63 ms
72,128 KB
testcase_17 AC 38 ms
59,872 KB
testcase_18 AC 43 ms
68,064 KB
testcase_19 AC 45 ms
68,960 KB
testcase_20 AC 35 ms
55,776 KB
testcase_21 AC 35 ms
55,776 KB
testcase_22 AC 44 ms
55,776 KB
testcase_23 AC 36 ms
55,776 KB
testcase_24 AC 34 ms
55,776 KB
testcase_25 AC 34 ms
55,776 KB
testcase_26 AC 44 ms
55,776 KB
testcase_27 AC 44 ms
55,776 KB
testcase_28 AC 36 ms
55,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.setrecursionlimit(5*10**5)
input = sys.stdin.readline
sys.set_int_max_str_digits(0)
from collections import defaultdict, deque, Counter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right
from math import gcd, lcm, factorial, perm, comb
from itertools import product, permutations
#重複あり:list(product(list('123'),repeat = 2)),重複なし:list(permutations(list('123')))
MOD = 998244353


h,s = map(str,input().split())
h=int(h)
s=int(s)

if h%2 == s%2:
    print('Possible')
else:
    print('Impossible')
0