题解 | #abc#
abc
https://www.nowcoder.com/practice/912b15e237ef44148e44018d7b8750b6
#include <iostream>
using namespace std;
int main() {
int a,b,c;
for(a=0;a<=9;a++){
for(b=0;b<=9;b++){
for(c=0;c<=9;c++){
int num1=a*100+b*10+c;
int num2=b*100+c*10+c;
int sum=num1+num2;
if(sum==532) cout<<a<<" "<<b<<" "<<c<<endl;
}
}
}
}
// 64 位输出请用 printf("%lld")

