c++
#include <iostream>
using namespace std;
void check(int a, int b, int c)
{
if (a * 100 + b * 110 + c * 12 == 532) printf("%d %d %d\n", a, b, c);
}
int main()
{
for (int a = 0; a <= 9; a ++ )
for (int b = 0; b <= 9; b ++ )
for (int c = 0; c <= 9; c ++ )
check(a, b, c);
return 0;
}
登录后发布评论
暂无评论,来抢沙发