编写题解 1054: 二级C语言-计算素数和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool isprime(int i) { if (i==1||i==0) return fa…… 题解列表 2023年01月15日 0 点赞 0 评论 287 浏览 评分:0.0
编写删除相同的单词函数+冒泡法排序函数 摘要:解题思路:先删除相同字母,再排序,最后进行输出注意事项:参考代码:#include<stdio.h>#include<string.h>//删除重复的单词int dele(char str[][55…… 题解列表 2023年01月16日 0 点赞 0 评论 399 浏览 评分:0.0
链表问题,可自己搭建链表也可直接用stl 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n;cin >> n; list<int>node;…… 题解列表 2023年01月16日 0 点赞 0 评论 282 浏览 评分:0.0
1159: 偶数求和(简洁版本) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n=0,m=0,i; while(scanf("%d%…… 题解列表 2023年01月16日 0 点赞 0 评论 246 浏览 评分:0.0
用一个选择语句即可 摘要:解题思路:注意事项:要考虑整个苹果没吃完的情况参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y; scanf("%d %d %d"…… 题解列表 2023年01月16日 0 点赞 0 评论 299 浏览 评分:0.0
1003: [编程入门]密码破译 摘要:解题思路:谢邀,这道入门难住我了注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ int i; c…… 题解列表 2023年01月16日 0 点赞 0 评论 325 浏览 评分: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 评论 553 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:不知道为什么答案错误67,有大佬能解答一下吗参考代码:n=int(input())l=[0 for _ in range(100)]tmp=1for i in range(1,10…… 题解列表 2023年01月16日 0 点赞 0 评论 315 浏览 评分: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 评论 206 浏览 评分:0.0
小白能看懂的 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int m =…… 题解列表 2023年01月17日 0 点赞 0 评论 235 浏览 评分:0.0