結果
問題 | No.2525 Great Move |
ユーザー | Mottchan |
提出日時 | 2023-11-03 21:23:03 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 540 bytes |
コンパイル時間 | 333 ms |
コンパイル使用メモリ | 81,880 KB |
実行使用メモリ | 67,224 KB |
最終ジャッジ日時 | 2023-11-03 21:23:08 |
合計ジャッジ時間 | 2,485 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | AC | 38 ms
55,788 KB |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
testcase_13 | RE | - |
testcase_14 | RE | - |
testcase_15 | RE | - |
testcase_16 | RE | - |
testcase_17 | RE | - |
testcase_18 | RE | - |
testcase_19 | RE | - |
testcase_20 | AC | 36 ms
55,788 KB |
testcase_21 | AC | 36 ms
55,788 KB |
testcase_22 | AC | 35 ms
55,788 KB |
testcase_23 | AC | 36 ms
55,788 KB |
testcase_24 | AC | 37 ms
55,788 KB |
testcase_25 | AC | 38 ms
55,788 KB |
testcase_26 | AC | 37 ms
55,788 KB |
testcase_27 | AC | 36 ms
55,788 KB |
testcase_28 | AC | 37 ms
55,788 KB |
ソースコード
h,s = map(int,input().split()) 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 if h%2 == s%2: print('Possible') else: print('Impossible')