結果

問題 No.2525 Great Move
ユーザー IDA-KeitoIDA-Keito
提出日時 2023-11-20 21:47:50
言語 Swift
(5.10.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 5,290 ms
コンパイル使用メモリ 138,888 KB
実行使用メモリ 9,160 KB
最終ジャッジ日時 2023-11-20 21:47:57
合計ジャッジ時間 3,791 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
9,160 KB
testcase_01 AC 30 ms
9,160 KB
testcase_02 WA -
testcase_03 AC 30 ms
9,160 KB
testcase_04 WA -
testcase_05 AC 8 ms
8,576 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 9 ms
8,576 KB
testcase_09 WA -
testcase_10 AC 21 ms
9,012 KB
testcase_11 AC 15 ms
8,832 KB
testcase_12 WA -
testcase_13 AC 22 ms
9,024 KB
testcase_14 WA -
testcase_15 AC 24 ms
9,052 KB
testcase_16 AC 21 ms
8,996 KB
testcase_17 AC 11 ms
8,704 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 8 ms
8,448 KB
testcase_21 AC 8 ms
8,448 KB
testcase_22 AC 8 ms
8,576 KB
testcase_23 AC 8 ms
8,448 KB
testcase_24 AC 8 ms
8,448 KB
testcase_25 AC 8 ms
8,448 KB
testcase_26 AC 8 ms
8,448 KB
testcase_27 AC 8 ms
8,448 KB
testcase_28 AC 7 ms
8,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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")
}
0