結果
| 問題 |
No.2525 Great Move
|
| コンテスト | |
| ユーザー |
Ayuna
|
| 提出日時 | 2023-11-03 21:25:21 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 45 ms / 2,000 ms |
| コード長 | 181 bytes |
| コンパイル時間 | 476 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 54,400 KB |
| 最終ジャッジ日時 | 2024-09-25 19:02:07 |
| 合計ジャッジ時間 | 2,542 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
h, s = input().split()
x = int(h[-1])
if h[0] == '-':
x *= -1
y = int(s[-1])
if s[0] == '-':
y *= -1
if (x + y) % 2 == 1:
print("Impossible")
else:
print("Possible")
Ayuna