判断一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>//判断一个数是否为质数int&…… 题解列表 2025年02月18日 0 点赞 0 评论 241 浏览 评分:0.0
筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>intzhishu(inti){&nbs…… 题解列表 2025年02月18日 0 点赞 0 评论 664 浏览 评分:0.0
易于理解-数1的个数-for、while结合 摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(){intn,a=0,i…… 题解列表 2025年02月18日 0 点赞 0 评论 266 浏览 评分:0.0
最容易想到的解法了 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include<stdio.h>using namespace std;i…… 题解列表 2025年02月18日 0 点赞 0 评论 131 浏览 评分:0.0
字符逆序-一个for搞定 摘要:解题思路:注意事项:#include<stdio.h>#include<string.h>intmain(){&…… 题解列表 2025年02月18日 0 点赞 0 评论 256 浏览 评分:0.0
我直接ifififif 摘要:```cpp#include #include using namespace std;int main(){ string s; int a[50]={0},…… 题解列表 2025年02月18日 0 点赞 0 评论 207 浏览 评分:0.0
[连接格点(grid)] - Kruskal 摘要:### 先跑横向再跑纵向```cpp#include #define int long long // 仅在需要大整数时使用,memset 数组为 0x3f 时去掉#define …… 题解列表 2025年02月19日 0 点赞 0 评论 214 浏览 评分:0.0