题解 | #加法等式#
加法等式
https://www.nowcoder.com/practice/00c7e12281614c61bc815c00a31998b6
#include <iostream>
using namespace std;
int main() {
for (int a = 0; a <= 9; a++)
for (int b = 0; b <= 9; b++)
for (int c = 0; c <= 9; c++)
if (a * 100 + b * 110 + c * 12 == 532)
cout << a << " " << b << " " << c << endl;
}