蓝桥杯算法提高VIP-剪刀石头布 c 摘要:解题思路:注意事项:参考代码:#include<stdio.h>enum play {a=-1,b,c};int main(){ enum play outcome; int p1,p2…… 题解列表 2022年12月11日 0 点赞 0 评论 359 浏览 评分:0.0
题解c语言代码 摘要:解题思路:用字符的特性来解题,每个字符+4即得到想要的字母。注意事项:这样的代码理解起来非常简单,而且可以加深gets()与puts()的记忆。PS:之前见过大佬这样写的,但是后来找不到了,如果重复纯…… 题解列表 2022年12月11日 0 点赞 0 评论 205 浏览 评分:0.0
循环嵌套实现DNA(C++) 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int N, a, b, n = 1; cin >> N;…… 题解列表 2022年12月11日 0 点赞 0 评论 338 浏览 评分:0.0
输出Tom数(C++) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const int station = 10;int main(){ …… 题解列表 2022年12月11日 0 点赞 0 评论 294 浏览 评分:0.0
c语言函数的链式调用-实例 摘要:解题思路:注意事项:参考代码:‘#include <stdio.h> #pragma warning(disable : 4996 int gcd(int x, int y) { if…… 题解列表 2022年12月12日 0 点赞 0 评论 262 浏览 评分:0.0
成绩排序c语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h> struct student{ char name[200]; int age; …… 题解列表 2022年12月12日 0 点赞 0 评论 240 浏览 评分:0.0
二级C语言-计算素数和 摘要:解题思路: 本题主要是解决自定义的函数问题。第一:输入范围m,nscanf("%d%d",&m,&n);第二:利用for循环,从m到n依次检查是否为素数;第三自定义一个函数(关键) if(x<=…… 题解列表 2022年12月12日 0 点赞 0 评论 258 浏览 评分:0.0
常规思路——一元二次方程求解——C语言 摘要:解题思路:知道数学解一元二次方程的公式即可;引用sqrt函数进行开方。注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ double…… 题解列表 2022年12月12日 0 点赞 0 评论 268 浏览 评分:0.0
链表合并(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>typedef struct Stu{ int id; int score; …… 题解列表 2022年12月13日 0 点赞 0 评论 306 浏览 评分:0.0
python, 很简单 摘要:解题思路:注意事项:参考代码:print('**************************')print('Hello World!')print('**…… 题解列表 2022年12月13日 0 点赞 0 评论 275 浏览 评分:0.0