Yu: 1120水仙花数 摘要: **解题思路:** 使用while循环对每一位数拆解 **参考答案** ```c++ #include using namespace std; int main(){ …… 题解列表 2023年12月01日 0 点赞 0 评论 122 浏览 评分:0.0
[递归]阶乘求和 摘要:解题思路:递归注意事项:参考代码:def fact(n): if n == 0 or n == 1: return 1 else:   题解列表 2023年12月01日 0 点赞 0 评论 203 浏览 评分:0.0
[字符串复制]Sn的公式求和 摘要:解题思路:注意事项:参考代码:n = int(input()) Sum = 0 for i in range(1, n + 1): Sum += int('2' * i)…… 题解列表 2023年12月01日 0 点赞 0 评论 749 浏览 评分:0.0
c语言链表的排序 摘要:```c #include #include typedef struct _student { int num; int score; }student; typedef stru…… 题解列表 2023年12月02日 0 点赞 0 评论 732 浏览 评分:0.0
简单易懂的解题思路 摘要:解题思路:利用while循环和for循环的小白解题思路。注意事项:参考代码:#include<stdio.h>int main(){ int n, i; scanf("%d", &n);int a[n…… 题解列表 2023年12月02日 0 点赞 0 评论 216 浏览 评分:0.0
最简答案 一个一维数组就搞定 摘要:解题思路:x/n+1 可以算出在哪一行x%n+1可以算出在哪一列注意事项:简单无脑,把最后输的行列搞明白就行参考代码:#include<stdio.h>int main(){ int arr[200]…… 题解列表 2023年12月02日 0 点赞 0 评论 108 浏览 评分:0.0
编写题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct Student{ int a,b; struct Student*n…… 题解列表 2023年12月02日 0 点赞 0 评论 220 浏览 评分:0.0
求圆的面积+公式 摘要:解题思路:圆面积=π*r*r注意事项:r=圆的半径参考代码:#include<iostream>using namespace std;#include <iomanip>int main(){ …… 题解列表 2023年12月02日 0 点赞 0 评论 438 浏览 评分:0.0
java字符串p型编码 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static String pEncoding(String…… 题解列表 2023年12月02日 0 点赞 0 评论 197 浏览 评分:0.0
快速排序(c++代码) 摘要:解题思路:注意事项:参考代码:const int MAX = 10;int arr[MAX];void qsort(int l, int r) { if (l > r)return; int i = …… 题解列表 2023年12月02日 0 点赞 0 评论 128 浏览 评分:0.0