結果

問題 No.2525 Great Move
ユーザー coindarwcoindarw
提出日時 2023-11-03 23:58:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 492 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 11,716 KB
実行使用メモリ 10,664 KB
最終ジャッジ日時 2023-11-03 23:58:35
合計ジャッジ時間 6,334 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 492 ms
10,664 KB
testcase_01 AC 464 ms
10,664 KB
testcase_02 AC 464 ms
10,664 KB
testcase_03 AC 486 ms
10,664 KB
testcase_04 AC 461 ms
10,664 KB
testcase_05 AC 30 ms
10,024 KB
testcase_06 AC 30 ms
10,024 KB
testcase_07 AC 30 ms
10,028 KB
testcase_08 AC 30 ms
10,036 KB
testcase_09 AC 30 ms
10,004 KB
testcase_10 AC 228 ms
10,372 KB
testcase_11 AC 66 ms
10,108 KB
testcase_12 AC 92 ms
10,152 KB
testcase_13 AC 225 ms
10,392 KB
testcase_14 AC 279 ms
10,456 KB
testcase_15 AC 271 ms
10,304 KB
testcase_16 AC 235 ms
10,340 KB
testcase_17 AC 39 ms
10,092 KB
testcase_18 AC 71 ms
10,128 KB
testcase_19 AC 68 ms
10,124 KB
testcase_20 AC 29 ms
10,000 KB
testcase_21 AC 38 ms
10,000 KB
testcase_22 AC 33 ms
10,000 KB
testcase_23 AC 29 ms
10,000 KB
testcase_24 AC 29 ms
10,000 KB
testcase_25 AC 28 ms
10,000 KB
testcase_26 AC 29 ms
10,000 KB
testcase_27 AC 36 ms
10,000 KB
testcase_28 AC 29 ms
10,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.set_int_max_str_digits(10**6)
rl = sys.stdin.readline
h, s = map(int, rl().split())
if abs(h - s) % 2 == 0:
    print("Possible")
else:
    print("Impossible")
0