結果
| 問題 | No.2525 Great Move |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2023-11-03 21:50:45 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 70 ms / 2,000 ms |
| + 917µs | |
| コード長 | 234 bytes |
| 記録 | |
| コンパイル時間 | 271 ms |
| コンパイル使用メモリ | 95,688 KB |
| 実行使用メモリ | 80,128 KB |
| 最終ジャッジ日時 | 2026-09-04 08:05:26 |
| 合計ジャッジ時間 | 4,883 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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