結果
| 問題 | No.2525 Great Move |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-20 21:47:50 |
| 言語 | Swift (6.2.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 180 bytes |
| 記録 | |
| コンパイル時間 | 6,968 ms |
| コンパイル使用メモリ | 138,720 KB |
| 実行使用メモリ | 10,112 KB |
| 最終ジャッジ日時 | 2026-04-13 09:59:34 |
| 合計ジャッジ時間 | 4,112 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 WA * 9 |
ソースコード
let splitInput = readLine()!.split(separator: " ")
let h = Int(splitInput[0])!
let s = Int(splitInput[1])!
if (h - s) % 2 == 0 {
print("Possible")
} else {
print("Impossible")
}