Codeforces 1183A Nearest Interesting Number

題目鏈接:http://codeforces.com/problemset/problem/1183/A 題意:求不小於 a 且每位數和能被 4 整除的 最小 n 思路:暴力模擬就好。 AC代碼: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int a; 6 cin >> a;
相關文章
相關標籤/搜索