编写题解 1022: [编程入门]筛选N以内的素数 摘要:```c #include int main() { int num,i,j,n; scanf("%d",&num); for(n=2;n…… 题解列表 2024年06月04日 0 点赞 0 评论 306 浏览 评分:9.9
编写题解 2059: [STL训练]sort练习 摘要:```c #include int main() { int num,n,i,j,temp,nums[10000000]; scanf("%d %d",&num,&n); fo…… 题解列表 2024年06月04日 0 点赞 0 评论 328 浏览 评分:9.9
【编程入门】数字逆序输出 摘要:参考代码:#include<stdio.h>int main(){ int a[10],i,j; for(i=0;i<10;i++) scanf("%d",&a[i…… 题解列表 2024年06月05日 1 点赞 0 评论 530 浏览 评分:9.9
【编程入门】数组插入处理 摘要:参考代码:#include<stdio.h>int main(){ int a[10],i,m,t; for(i=0;i<9;i++) { scanf("%d",&a[i]);…… 题解列表 2024年06月05日 0 点赞 0 评论 290 浏览 评分:9.9
1105数列(函数加while循环) 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;//鬼知道这道题是怎么想的,我用pow求k的次方,结果总有一个例题过不去,我真的服了int power(int k…… 题解列表 2024年06月05日 0 点赞 0 评论 407 浏览 评分:9.9
]自定义函数之字符串拷贝 摘要:解题思路:注意事项:参考代码:def kaobei(my_str,m,n): a = [] for i in range(m-1,n): print(my_str[i],en…… 题解列表 2024年06月05日 0 点赞 0 评论 267 浏览 评分:9.9
map存储,指针遍历,简洁优雅 摘要:解题思路:map存储字符,循环遍历注意事项: 记得getchar()清空缓冲区参考代码:#include <bits/stdc++.h> #define IOS ios::sync_with_std…… 题解列表 2024年06月07日 0 点赞 0 评论 817 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<bits/c++.h>using namespace std;int Reverse(char a[],char b[]){ int i=0,n;…… 题解列表 2024年06月08日 1 点赞 0 评论 596 浏览 评分:9.9
1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll man(ll a){ ll…… 题解列表 2024年06月08日 0 点赞 0 评论 285 浏览 评分:9.9
1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime(ll x){ f…… 题解列表 2024年06月08日 0 点赞 1 评论 278 浏览 评分:9.9