题解列表

筛选

数日子 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n=2018,s=19;……

与2无关的数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n; int a,b,c……

台球碰撞 (C++代码)

摘要:#include <stdio.h>#include<iostream>#include<math.h>#include<iomanip>using namespace std;double xs(i……

C语言程序设计教程(第三版)课后习题6.4 (C++代码)

摘要:解题思路:题意很简单,是一个阶乘累加的算法设计。如果要实现这个算法,就要做到两个工作,先分别阶乘,再累加。我设计了一个子程序用于阶乘。注意事项:阶乘是一个让数值大小级数级倍增的算法,普通的int求和时……

汽水瓶 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<iostream>int fin(int k){ int y; y = k / 2; ……