蓝桥杯2013年第四届真题-打印十字图(C语言版)简单找规律 摘要:# 解题思路: 根据图片找规律  #具体代码: ```c #include void…… 题解列表 2022年02月07日 0 点赞 0 评论 356 浏览 评分:9.9
明明白白的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int n; while (scanf("%d", &n) != EOF) { long int s…… 题解列表 2022年02月07日 0 点赞 0 评论 222 浏览 评分:0.0
[编程入门]结构体之时间设计(C语言入门级,易懂代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct fun{ int year; int month; int day;} sum;in…… 题解列表 2022年02月07日 0 点赞 0 评论 306 浏览 评分:9.9
Hifipsysta-1207-字符排列问题(C++代码)看到大家方法这么复杂,我写了个非常简单的STL实现 摘要:##### 基本思路: ① 将字符串读入数组存储 ② 采用sort函数以字典序排序 ③ 采用next_permutation输出全排列,每迭代依次采用cnt记数 ##### 注意事项: …… 题解列表 2022年02月07日 0 点赞 0 评论 249 浏览 评分: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 评论 257 浏览 评分: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 评论 288 浏览 评分:0.0
Hifipsysta-1165-明明的随机数(C++代码)基于STL的实现,我敢说这是本题最简单的代码 摘要: ```cpp #include #include using namespace std; int main(){ int n,tmp; scanf("%d", &…… 题解列表 2022年02月07日 0 点赞 0 评论 258 浏览 评分:0.0
C语言考试练习题_排列-题解(易懂)(C语言代码) 摘要:解题思路:如下代码注意事项:排序需要按照题目要求,这点是需要注意的参考代码:#include<stdio.h> int main(void) { int i, x, y, z; int…… 题解列表 2022年02月07日 0 点赞 0 评论 257 浏览 评分:0.0
1232: 查找最大元素 摘要:解题思路:注意事项:参考代码:while True: try: a=input() s=max(a) str='' for i in a: if i!=s: …… 题解列表 2022年02月07日 0 点赞 0 评论 257 浏览 评分:0.0
整数奇偶排序 (Java代码) 摘要:import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public clas…… 题解列表 2022年02月07日 0 点赞 0 评论 242 浏览 评分:0.0