链表问题,可自己搭建链表也可直接用stl 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n;cin >> n; list<int>node;…… 题解列表 2023年01月16日 0 点赞 0 评论 338 浏览 评分:0.0
1159: 偶数求和(简洁版本) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n=0,m=0,i; while(scanf("%d%…… 题解列表 2023年01月16日 0 点赞 0 评论 281 浏览 评分:0.0
用一个选择语句即可 摘要:解题思路:注意事项:要考虑整个苹果没吃完的情况参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y; scanf("%d %d %d"…… 题解列表 2023年01月16日 0 点赞 0 评论 353 浏览 评分:0.0
1003: [编程入门]密码破译 摘要:解题思路:谢邀,这道入门难住我了注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ int i; c…… 题解列表 2023年01月16日 0 点赞 0 评论 373 浏览 评分:0.0
输出M到N的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,m,n; scanf("%d%d",&m,&n); if(m<n) …… 题解列表 2023年01月16日 0 点赞 0 评论 613 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:不知道为什么答案错误67,有大佬能解答一下吗参考代码:n=int(input())l=[0 for _ in range(100)]tmp=1for i in range(1,10…… 题解列表 2023年01月16日 0 点赞 0 评论 363 浏览 评分:0.0
汽水瓶(python代码) 摘要:def printf(x): total = 0 c = x//3 total = total+c d = x%3 x = d+c   题解列表 2023年01月16日 0 点赞 0 评论 277 浏览 评分:0.0
小白能看懂的 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int m =…… 题解列表 2023年01月17日 0 点赞 0 评论 325 浏览 评分:0.0
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 1001int main(){int a[N],max,p=0,n;a[0]=0;scanf("%d",&n);in…… 题解列表 2023年01月17日 0 点赞 0 评论 371 浏览 评分:0.0
1738: 排序(C语言) 摘要:解题思路:冒泡排序算法暴力解决。注意事项:注意空格和多组输入。参考代码:#include<stdio.h>#define N 101int main(){ int a[N],n,t=0; int j,…… 题解列表 2023年01月17日 0 点赞 0 评论 340 浏览 评分:0.0