結果
| 問題 | No.2525 Great Move |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-20 21:56:00 |
| 言語 | Swift (6.2.4) |
| 結果 |
AC
|
| 実行時間 | 16 ms / 2,000 ms |
| コード長 | 258 bytes |
| 記録 | |
| コンパイル時間 | 5,547 ms |
| コンパイル使用メモリ | 140,176 KB |
| 実行使用メモリ | 10,408 KB |
| 最終ジャッジ日時 | 2026-04-13 09:59:49 |
| 合計ジャッジ時間 | 1,971 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
let splitInput = readLine()!.split(separator: " ")
// leastSignificantDigit
let lsdForH = Int(String(splitInput[0].last!))!
let lsdForS = Int(String(splitInput[1].last!))!
if (lsdForH - lsdForS) % 2 == 0 {
print("Possible")
} else {
print("Impossible")
}