結果

問題 No.2051 Divide
ユーザー 👑 tatt61880tatt61880
提出日時 2023-03-12 11:56:43
言語 Kuin
(KuinC++ v.2021.9.17)
結果
TLE  
実行時間 -
コード長 204 bytes
コンパイル時間 2,123 ms
コンパイル使用メモリ 145,852 KB
実行使用メモリ 8,696 KB
最終ジャッジ日時 2023-10-18 10:33:53
合計ジャッジ時間 11,466 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
8,236 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 80 ms
4,348 KB
testcase_03 AC 19 ms
4,348 KB
testcase_04 AC 8 ms
4,348 KB
testcase_05 AC 487 ms
4,348 KB
testcase_06 AC 1,517 ms
4,348 KB
testcase_07 AC 1,092 ms
4,348 KB
testcase_08 AC 650 ms
4,348 KB
testcase_09 AC 206 ms
4,348 KB
testcase_10 AC 37 ms
4,348 KB
testcase_11 AC 178 ms
4,348 KB
testcase_12 TLE -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

func main()
	var a: int :: cui@inputInt()
	var b: int :: cui@inputInt()
	
	var ans: int :: 0
	for i(1, a)
		if(a % i = 0 & i % b = 0)
			do ans :+ 1
		end if
	end for
	
	do cui@print("\{ans}\n")
end func
0