結果

問題 No.2525 Great Move
ユーザー 転生チートなし転生チートなし
提出日時 2024-10-14 10:18:49
言語 Go
(1.22.1)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 12,139 ms
コンパイル使用メモリ 220,356 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-14 10:19:05
合計ジャッジ時間 15,175 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 196 ms
5,248 KB
testcase_01 AC 196 ms
5,248 KB
testcase_02 WA -
testcase_03 AC 197 ms
5,248 KB
testcase_04 WA -
testcase_05 AC 7 ms
5,248 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 10 ms
5,248 KB
testcase_09 WA -
testcase_10 AC 88 ms
5,248 KB
testcase_11 AC 77 ms
5,248 KB
testcase_12 WA -
testcase_13 AC 97 ms
5,248 KB
testcase_14 WA -
testcase_15 AC 105 ms
5,248 KB
testcase_16 AC 53 ms
5,248 KB
testcase_17 AC 16 ms
5,248 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 1 ms
5,248 KB
testcase_21 AC 1 ms
5,248 KB
testcase_22 AC 1 ms
5,248 KB
testcase_23 AC 2 ms
5,248 KB
testcase_24 AC 1 ms
5,248 KB
testcase_25 AC 2 ms
5,248 KB
testcase_26 AC 1 ms
5,248 KB
testcase_27 AC 2 ms
5,248 KB
testcase_28 AC 1 ms
5,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import . "fmt"

func main() {
	var h,s int
	Scan(&h,&s)
	d:=h-s
	if d<0 {
		d=-d
	}
	if d%2==1 {
		Println("Impossible")
	} else {
		Println("Possible")
	}
}
0