题解列表

筛选

C语言训练-亲密数(C++简短清晰)

摘要:写个求因数函数,在主函数里面调用会看的更清晰,不然主函数一堆for难看,仔细审题#include<iostream> using namespace std; int Sum(int n)    ……

字符逆序(怀氏C++)

摘要:#include<iostream> using namespace std; #include<algorithm> int main() {     string s;     get……