#796. 地砖(课程6)
地砖(课程6)
说明
有个房间,a 公分长,b 公分宽,现在地砖是边长 c 公分的正方形,问能不能在不切割地砖的情况下,正好铺满这个房间。能打印”yes”,否则打印”no”。注:不考虑地砖的缝隙问题。输入格式
一行 3 个正整数:a、b 和 c,范围在[1,1000000]。输出格式
yes 或 no。320 1024 8yes
320 1024 8yes
By signing up a 大沥中心 universal account, you can submit code and join discussions in all online judging services provided by us.