結果
| 問題 | No.2525 Great Move |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-20 21:56:00 |
| 言語 | Swift (6.3.3) |
| 結果 |
AC
不安定
|
| 実行時間 | 15 ms / 2,000 ms |
| + 272µs | |
| コード長 | 258 bytes |
| 記録 | |
| コンパイル時間 | 575 ms |
| コンパイル使用メモリ | 141,036 KB |
| 実行使用メモリ | 10,336 KB |
| 最終ジャッジ日時 | 2026-09-04 16:15:27 |
| 合計ジャッジ時間 | 2,490 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")
}