結果

問題 No.1113 二つの整数 / Two Integers
ユーザー mmmm
提出日時 2020-10-02 18:16:39
言語 Go
(1.22.1)
結果
TLE  
実行時間 -
コード長 235 bytes
コンパイル時間 10,626 ms
コンパイル使用メモリ 213,844 KB
実行使用メモリ 7,908 KB
最終ジャッジ日時 2023-09-22 23:41:10
合計ジャッジ時間 13,637 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
7,908 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 TLE -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import "fmt"

func main(){
	var A, B int
	fmt.Scan(&A, &B)
	ans := 0
	for i:=1; i <= A; i++ {
		if (A % i == 0) && (B % i == 0 ){
			ans ++
		}
	}
	if ans % 2 == 0 {
		fmt.Println("Even")
	}else{
		fmt.Println("Odd")
	}
}
0