【C语言】简单的输出 摘要:解题思路: 直接按照题目需求输出就行了 不过有一个需要注意的地方:就是数字之前除了占位符的空隙外,还有一个空格参考代码: 简单的输出:#include<stdio.h…… 题解列表 2022年02月07日 0 点赞 0 评论 325 浏览 评分:0.0
Hifipsysta-1976-蓝桥杯算法提高VIP-删除重复元素(C++代码)频数统计法,扫描两遍就出来了 摘要:```cpp #include #include using namespace std; const int MAXN=128; int table[MAXN]; int mai…… 题解列表 2022年02月07日 0 点赞 0 评论 398 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图(C语言版)简单找规律 摘要:# 解题思路: 根据图片找规律  #具体代码: ```c #include void…… 题解列表 2022年02月07日 0 点赞 0 评论 469 浏览 评分:9.9
明明白白的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int n; while (scanf("%d", &n) != EOF) { long int s…… 题解列表 2022年02月07日 0 点赞 0 评论 345 浏览 评分:0.0
[编程入门]结构体之时间设计(C语言入门级,易懂代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct fun{ int year; int month; int day;} sum;in…… 题解列表 2022年02月07日 0 点赞 0 评论 417 浏览 评分:9.9
Hifipsysta-1207-字符排列问题(C++代码)看到大家方法这么复杂,我写了个非常简单的STL实现 摘要:##### 基本思路: ① 将字符串读入数组存储 ② 采用sort函数以字典序排序 ③ 采用next_permutation输出全排列,每迭代依次采用cnt记数 ##### 注意事项: …… 题解列表 2022年02月07日 0 点赞 0 评论 374 浏览 评分:0.0
1259: 送分题素数 摘要:解题思路:注意事项:参考代码:def get(n): s=0 for i in range(2,n//2+1): if n%i==0:   题解列表 2022年02月07日 0 点赞 0 评论 337 浏览 评分:0.0
1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:n=int(input()) s=0 for i in range(2,n//2+1): if n%i==0: print('N…… 题解列表 2022年02月07日 0 点赞 0 评论 407 浏览 评分:0.0
Hifipsysta-1165-明明的随机数(C++代码)基于STL的实现,我敢说这是本题最简单的代码 摘要: ```cpp #include #include using namespace std; int main(){ int n,tmp; scanf("%d", &…… 题解列表 2022年02月07日 0 点赞 0 评论 375 浏览 评分:0.0
C语言考试练习题_排列-题解(易懂)(C语言代码) 摘要:解题思路:如下代码注意事项:排序需要按照题目要求,这点是需要注意的参考代码:#include<stdio.h> int main(void) { int i, x, y, z; int…… 题解列表 2022年02月07日 0 点赞 0 评论 374 浏览 评分:0.0