[字符串复制]Sn的公式求和 摘要:解题思路:注意事项:参考代码:n = int(input()) Sum = 0 for i in range(1, n + 1): Sum += int('2' * i)…… 题解列表 2023年12月01日 0 点赞 0 评论 1554 浏览 评分:0.0
c语言链表的排序 摘要:```c #include #include typedef struct _student { int num; int score; }student; typedef stru…… 题解列表 2023年12月02日 0 点赞 0 评论 1511 浏览 评分:0.0
简单易懂的解题思路 摘要:解题思路:利用while循环和for循环的小白解题思路。注意事项:参考代码:#include<stdio.h>int main(){ int n, i; scanf("%d", &n);int a[n…… 题解列表 2023年12月02日 0 点赞 0 评论 356 浏览 评分:0.0
最简答案 一个一维数组就搞定 摘要:解题思路:x/n+1 可以算出在哪一行x%n+1可以算出在哪一列注意事项:简单无脑,把最后输的行列搞明白就行参考代码:#include<stdio.h>int main(){ int arr[200]…… 题解列表 2023年12月02日 0 点赞 0 评论 249 浏览 评分:0.0
编写题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct Student{ int a,b; struct Student*n…… 题解列表 2023年12月02日 0 点赞 0 评论 376 浏览 评分:0.0
求圆的面积+公式 摘要:解题思路:圆面积=π*r*r注意事项:r=圆的半径参考代码:#include<iostream>using namespace std;#include <iomanip>int main(){ …… 题解列表 2023年12月02日 0 点赞 0 评论 713 浏览 评分:0.0
java字符串p型编码 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static String pEncoding(String…… 题解列表 2023年12月02日 0 点赞 0 评论 358 浏览 评分: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 评论 282 浏览 评分:0.0
十六进制转八进制 摘要:解题思路: 先从十六进制转十进制,要注意对于字母和数字的分别处理,再把十进制转为八进制 参考代码: ```c #include #include #include #define M…… 题解列表 2023年12月02日 0 点赞 0 评论 276 浏览 评分:0.0
按比例计算成绩 摘要:解题思路: 1.注意计算公式 2.考虑输出结果类型 提示中输出结果不含小数 也就是说 输出结果为整型(int) 3.考虑double型向int型的强制转换 需要用到 i…… 题解列表 2023年12月02日 0 点赞 0 评论 385 浏览 评分:0.0