题解 | abc
abc
https://www.nowcoder.com/practice/912b15e237ef44148e44018d7b8750b6
#include <stdio.h> 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*10+c)+(b*100+c*10+c))==532){ printf("%d %d %d",a,b,c); printf("\n"); } } } } return 0; }#shit#