Educational Codeforces Round 90 (Rated for Div. 2)(A, B, C, D, E)

Educational Codeforces Round 90 (Rated for Div. 2) Donut Shops 思路 分三種狀況:html a = = c / b a == c / b a==c/b這個時候兩個的單價是相同的,若是 b = = 1 b == 1 b==1,也就是 a = = c a == c a==c,不管買多少數量的東西,這兩個的價格都是同樣的,直接輸出"-1 -1
相關文章
相關標籤/搜索