题解列表

筛选

(C语言代码)

摘要:#include<stdio.h> #include"malloc.h" typedef struct node {     int num;     struct node *next;……

贷款计算 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int zonge, time, repay = 0; float r……

话费计算 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int time, rent = 5……

三位数分解 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x, gewei, shiwei, baiwei; cin >……

C语言训练-尼科彻斯定理 (C语言代码)简单,易懂

摘要:解题思路:我们可以设置一个while(1)循环来帮助我们从1开始寻找我们需要的连续奇数串的开头,在while(1)循环中我们可以利用一个for循环求相应开头的m个奇数组成的奇数串的和,记为sum。当我……