list解决报数问题 摘要:解题思路: 通过list链表,动态删除报到3的元素注意事项: 记得说明如果指针指向end,就换到begin位参考代码:#include<iostream>#include<list>using nam…… 题解列表 2023年03月21日 0 点赞 0 评论 447 浏览 评分:0.0
FJ的字符串python 摘要:解题思路:找规律注意事项:参考代码:n = int(input())c = 'A'for i in range(1,n): b = ord('A')+i c…… 题解列表 2023年03月21日 0 点赞 0 评论 422 浏览 评分:0.0
蓝桥杯2017年第八届真题-包子凑数 线性dp 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 包子凑数 { static int dp[]=new int[100000]; p…… 题解列表 2023年03月21日 0 点赞 0 评论 462 浏览 评分:0.0
编写题解 2902: 输出最高分数的学生姓名 摘要:解题思路:注意事项:参考代码:#include <stdio.h> typedef struct stu{ char name[20]; int sroue; }temp; in…… 题解列表 2023年03月21日 0 点赞 0 评论 399 浏览 评分:0.0
错误探测——C语言 摘要://一直在打代码就没写注释,后续有空再补充#include<stdio.h> #define N 100 int num[N][N]; int main(void) { int n; s…… 题解列表 2023年03月21日 0 点赞 0 评论 346 浏览 评分:0.0
简易版C语言代码 摘要:解题思路:注意事项:参考代码:int main() { int a = 0; for (a = 100; a < 1000; a++) { int b = a % 10; int …… 题解列表 2023年03月21日 0 点赞 0 评论 332 浏览 评分:0.0
二级C语言-计算素数和:注意 i<2 的情况 摘要: #include #include using namespace std; bool isprime(int x) { int co…… 题解列表 2023年03月21日 0 点赞 0 评论 393 浏览 评分:0.0
谁考了第K名(C语言)——输入时按分数排序再插入数组 摘要://使用C++文件,提交要用C++ #include#include#define N 500 struct S { char sid[N]; double score; }; int…… 题解列表 2023年03月22日 0 点赞 0 评论 609 浏览 评分:0.0
奇数单增序列——C和C++的STL相结合 摘要://提交代码时提交成C++语言即可 #include<stdio.h> #include<algorithm> using namespace std; #define N 500 int …… 题解列表 2023年03月22日 0 点赞 0 评论 522 浏览 评分:0.0
成绩排序——C语言 摘要://C语言融合部分c++头文件,提交格式为c++ #include<stdio.h> #include<string.h> #include<stdlib.h> struct S { ch…… 题解列表 2023年03月22日 0 点赞 0 评论 505 浏览 评分:0.0