题解列表
编写题解 1055: 二级C语言-进制转换
摘要:```cpp
#include
#include
using namespace std;
int main()
{
stacks;
int a;
cin >> a;
……
寻找矩阵最值(C++)简单思路
摘要:解题思路:用二维数组,具体看代码注释注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,i,j,t,a[10][1……
编写题解 1131: C语言训练-斐波纳契数列---使用STL的方法
摘要:```cpp
#include
#include
using namespace std;
int Fabona(int a)
{
if (a == 0 || a == 1)
……
阶乘公式求职(c++)(怀氏)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;double fact(double n) {……
题目 1025: [编程入门]数组插入处理—常规求解方法
摘要:解题思路:for循环注意事项:考虑到等于的情况,等于情况下欲插入的数j放在后面参考代码:#include<stdio.h>
int main(void)
{
int arr[10], i,……
成绩等级字母输出c语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x; scanf("%d",&x); switch(x/10) { case 10: case 9……
编写题解 2929: 网线主管
摘要:解题思路:定义一个函数用来计算绳子数量,只需要假设最后的输出结果是x,然后采用二分法计算出x的最大值注意事项:此函数的使用条件是在整数的时候,也就是把小数化成了整数,然后采用二分法,这里如何+-1是比……
题解 1126: C语言训练-字符串正反连接 按题要求建新串
摘要:解题思路: 用两个数组存放字符串,再用新数组连接起来
注意事项:
参考代码:
#include
#include
int main()
{
……