結果
問題 |
No.2525 Great Move
|
ユーザー |
|
提出日時 | 2023-11-20 21:56:00 |
言語 | Swift (6.0.3) |
結果 |
AC
|
実行時間 | 34 ms / 2,000 ms |
コード長 | 258 bytes |
コンパイル時間 | 1,482 ms |
コンパイル使用メモリ | 125,204 KB |
実行使用メモリ | 9,712 KB |
最終ジャッジ日時 | 2024-09-26 06:44:08 |
合計ジャッジ時間 | 2,356 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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") }