Codeforces Round #629 (Div. 3)

A. Divisibility Problem 题意:给定a,b两个数,每次能够将a+1,最少须要几步可使a%b==0ios 分析:水题。。。web 代码以下:数组 #include <iostream> using namespace std; int main(void) { int t; cin >> t; while (t--) { int a, b; cin >> a >
相关文章
相关标签/搜索