字符串问题-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[255], *p, *k, t; int i; gets(a); p = …… 题解列表 2020年12月11日 0 点赞 0 评论 277 浏览 评分:0.0
蓝桥杯算法提高VIP-素数求和-题解(C语言代码) 摘要:解题思路:注意事项:注意数据过大要用长整型long,%ld;参考代码: #include <stdio.h> #include <math.h> int isprime(int N) { …… 题解列表 2020年12月11日 0 点赞 0 评论 339 浏览 评分:0.0
送分题素数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int isprime(int N) { int i; if(N=…… 题解列表 2020年12月11日 0 点赞 0 评论 458 浏览 评分:9.9
[编程入门]报数问题-题解(C++代码)适用于所有出圈题即n个人报数,报m的淘汰 摘要:###### 解题思路: ###### 1. 建立一个具有头、尾指针的环形链表 ###### 2. 利用尾指针不断插入节点,建立有n个节点的链表 ###### 3. 报m的人出圈 ######…… 题解列表 2020年12月11日 0 点赞 0 评论 925 浏览 评分:2.0
C语言训练-"水仙花数"问题2-题解(C语言代码) 摘要:解题思路:首先水仙花是一个三位数即(100~999) 每一个数字都是它本身的三次方,可以用pow函数进行解答注意事项: 循环语句的范围参考代码:#include#incl…… 题解列表 2020年12月11日 0 点赞 2 评论 395 浏览 评分:7.5
信息学奥赛一本通TT1262-挖地雷-题解(C语言代码) 摘要:开始用DSF做,自己验证通过,系统提交超时。 改为用DP,因为是正序,路径是反着的,打印时写的麻烦了些。 ```c #include int main() { int n; scan…… 题解列表 2020年12月11日 0 点赞 0 评论 1360 浏览 评分:7.0
[编程入门]温度转换-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std ;int main(){ float f ; c…… 题解列表 2020年12月11日 0 点赞 0 评论 293 浏览 评分:2.0
蓝桥杯历届试题-国王的烦恼-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <iostream>#include <algorithm>using namespace std;int n,m; …… 题解列表 2020年12月11日 0 点赞 0 评论 1464 浏览 评分:8.2
蓝桥杯2019年第十届真题-外卖店优先级-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int Max = 10001…… 题解列表 2020年12月11日 0 点赞 0 评论 758 浏览 评分:2.0
蓝桥杯2015年第六届真题-生命之树-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;const int MaxN = 1e5;long long w[Max…… 题解列表 2020年12月11日 0 点赞 0 评论 681 浏览 评分:0.0