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;
相关文章
相关标签/搜索