C语言训练-自守数问题-题解(C语言代码)简洁代码! 摘要:解题思路:输出空两个空格注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ long long int i,y; for(i=0;…… 题解列表 2020年12月14日 0 点赞 2 评论 1005 浏览 评分:9.9
[编程入门]阶乘求和-题解(C语言代码) 摘要:解题思路:简单清晰的思路!!注意事项:参考代码:#include<stdio.h>int main(){ int n,i; long long a=1,Sn=0; scanf("%d",…… 题解列表 2020年12月14日 0 点赞 0 评论 477 浏览 评分:9.9
蓝桥杯算法训练-大小写转换-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include using namespace std; int main() { char a[21]; cin>>a; int …… 题解列表 2020年12月14日 0 点赞 0 评论 821 浏览 评分:9.9
[编程入门]正儿八经的C语言代码,简单易懂。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { char id[20]; char name[30]; int a[3];};int i, n;str…… 题解列表 2020年12月14日 0 点赞 3 评论 518 浏览 评分:9.9
蓝桥杯不大的数 -个人学习 摘要: ##### 思路: 错乱。。。无思路 ##### 收获: 本题题解[lily]大佬的题解让我收获良多。 `t必须设置成double,如果设置成long long,在/1000与/10的过…… 题解列表 2020年12月15日 0 点赞 0 评论 772 浏览 评分:9.9
[编程入门]自定义函数之字符提取-题解(C语言代码)(生成的另一个数组,并进行排序!!!) 摘要:解题思路:先对一个数组进行赋值,然后对其一个一个判断是否含有元音字母,如果有,则存入另外一个数组,从而对第二个数组赋值完毕之后再进行元音字母的排序,最后用for语句进行输出!本题解优点在于代码易理解,…… 题解列表 2020年12月15日 0 点赞 2 评论 1219 浏览 评分:9.9
字符逆序(存一个好用的方法以及一个常规的方法) 摘要:解题思路:注意事项:参考代码:1.常规的交换方法#include <stdio.h> #include <string.h> int main() { char str[100]; int …… 题解列表 2020年12月15日 0 点赞 0 评论 903 浏览 评分:9.9
蓝桥杯算法提高VIP-Pascal三角-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ int i,n; int a[1…… 题解列表 2020年12月15日 0 点赞 0 评论 774 浏览 评分:9.9
[编程入门]猴子吃桃的问题-题解(C语言代码) 摘要:解题思路:先输入吃完的天数,再由后面往前面来进行运算就可以得到第一天没吃之前的桃子总数注意事项:参考代码: #include int main() { int x,y,z; …… 题解列表 2020年12月16日 0 点赞 0 评论 730 浏览 评分:9.9
信息学奥赛一本通T1184-明明的随机数-题解(C++代码) 摘要:这道题很简单; 我们只需要用数组的方法就可以了; 排序方法都是可以的; 我用的是冒泡; ```cpp #include using namespace std; long lon…… 题解列表 2020年12月16日 0 点赞 0 评论 866 浏览 评分:9.9