結果
| 問題 |
No.2525 Great Move
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2023-11-03 21:50:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 234 bytes |
| コンパイル時間 | 328 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 54,912 KB |
| 最終ジャッジ日時 | 2024-09-25 20:00:09 |
| 合計ジャッジ時間 | 2,513 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
H, S = input().split()
def f(s):
sgn = 1
if s[0] == '-':
sgn = -1
s = s[1:]
t = s[-10:]
return int(t) * sgn
d = abs(f(H) - f(S))
if d % 2 == 0:
print('Possible')
else:
print('Impossible')
norioc