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