题解列表
弱智版自定义函数之字符串反转
摘要:解题思路:第一种解法:先遍历得出字符数组中的字符个数,在用for循环将c[i]元素进行互换 ,比如c[3],c[0]与c[2]互换,c[1]位置不变 第二种解法:将字符串存入……
编写题解 1147: C语言训练-角谷猜想
摘要:```c
#include
int Guess(int a)
{
if (a == 1)
return 1;
else if (a % 2 == 0)
{
pri……
编写题解 1148: C语言训练-计算1977!
摘要:```c
#include
#define NUM 10000
#define N 100
int main()
{
int a[NUM];
int digit = 1;
f……
JAVA解三个数最大值
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……
编写题解 1055: 二级C语言-进制转换
摘要:```cpp
#include
#include
using namespace std;
int main()
{
stacks;
int a;
cin >> a;
……
编写题解 1131: C语言训练-斐波纳契数列---使用STL的方法
摘要:```cpp
#include
#include
using namespace std;
int Fabona(int a)
{
if (a == 0 || a == 1)
……
成绩等级字母输出c语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x; scanf("%d",&x); switch(x/10) { case 10: case 9……