题解列表

筛选

1130: C语言训练-数字母

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() {     st……

数字逆序输出

摘要: #include using namespace std; int main() { int a[10], i, j; for……

2832: 第n小的质数

摘要:解题思路:利用f函数得到质数返回给i,并分别按从小到大放到数组中(规模10000)。数组【0】为第1小的质数,所以输出数组[n-1]即是第n小的质数。判断是不是质数函数,如果 为1或0,函数返回假,如……

数组插入处理

摘要: #include using namespace std; int main() { int a[10]; int……