結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー ゆうPゆうP
提出日時 2024-04-07 18:34:13
言語 Go
(1.22.1)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 242 bytes
コンパイル時間 12,843 ms
コンパイル使用メモリ 211,776 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2024-04-07 18:34:28
合計ジャッジ時間 13,021 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
6,548 KB
testcase_01 AC 58 ms
6,548 KB
testcase_02 AC 56 ms
6,548 KB
testcase_03 AC 56 ms
6,548 KB
testcase_04 AC 56 ms
6,548 KB
testcase_05 AC 56 ms
6,548 KB
testcase_06 AC 55 ms
6,548 KB
testcase_07 AC 55 ms
6,548 KB
testcase_08 AC 55 ms
6,548 KB
testcase_09 AC 56 ms
6,548 KB
testcase_10 AC 56 ms
6,548 KB
testcase_11 AC 56 ms
6,548 KB
testcase_12 AC 56 ms
6,548 KB
testcase_13 AC 54 ms
6,548 KB
testcase_14 AC 55 ms
6,548 KB
testcase_15 AC 56 ms
6,548 KB
testcase_16 AC 55 ms
6,548 KB
testcase_17 AC 55 ms
6,548 KB
testcase_18 AC 57 ms
6,548 KB
testcase_19 AC 56 ms
6,548 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

// No.795 Restrictions!!!!!!!!!!!!!!
package main

import "fmt"

func main() {
	var n, m int
	fmt.Scan(&n, &m)
	if n%2 == 0 && m%2 == 0 {
		fmt.Println("Yes")
	} else if (n * 10) == m {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}
0