循环链表解法(c语言代码) 摘要:```c #include #include // 定义链表节点结构体 typedef struct node { int data; // 节点存…… 题解列表 2024年11月07日 1 点赞 0 评论 247 浏览 评分:0.0
小白,看看就行,不动脑袋 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>using namespace std;int main(){ int k, n; dou…… 题解列表 2024年11月07日 0 点赞 0 评论 145 浏览 评分:0.0
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int sum = 0, j, a, b, c, i; char d; scanf("%d…… 题解列表 2024年11月07日 0 点赞 0 评论 108 浏览 评分:0.0
T1267-01背包问题 摘要:解题思路:滚动数组—— 一维dp数组遍历:for( ) 物品 for( 逆序) 背包递推公式: dp[ j ] = max( dp[ j ] , dp[ j -w[ i ] ] + …… 题解列表 2024年11月07日 0 点赞 0 评论 145 浏览 评分:0.0
题解,标记 摘要:```c #include int main() { int n; scanf("%d", &n); int arr[n]; for (int i =…… 题解列表 2024年11月07日 0 点赞 0 评论 152 浏览 评分:0.0
2832: 第n小的质数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,j,i,k=0; scanf("%d",&n); …… 题解列表 2024年11月07日 0 点赞 0 评论 234 浏览 评分:0.0
2937: 短信计费 摘要:解题思路:注意事项:注意刚好能被70除的情况就行参考代码:#include <iostream>#include <cmath>using namespace std;int main(){ i…… 题解列表 2024年11月08日 0 点赞 0 评论 207 浏览 评分:0.0
没有太多解释的代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main ( ){ double h ,h1 ,h2 ,h3 ; doub…… 题解列表 2024年11月08日 0 点赞 0 评论 175 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().strip().split()) print(a+b+c)sum=0 num=input().split() for i…… 题解列表 2024年11月08日 0 点赞 0 评论 160 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().strip().split()) print("%.2f"%(n-(m*0.8)))…… 题解列表 2024年11月08日 0 点赞 0 评论 162 浏览 评分:0.0