[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{ int year; int month; int day;};int main(){ int i,sum=0;…… 题解列表 2020年11月23日 0 点赞 0 评论 776 浏览 评分:6.0
求中间数-题解(C++代码)(最短) 摘要:解题思路:利用max,min注意事项:高手,新手均可用。参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b…… 题解列表 2020年11月23日 0 点赞 2 评论 1513 浏览 评分:9.9
蓝桥杯算法提高VIP-我们的征途是星辰大海-题解(C++代码) 摘要:```cpp #include using namespace std; char g[55][55]; int dx[4]={0,0,-1,1},dy[4]={-1,1,0,0}; int…… 题解列表 2020年11月23日 0 点赞 0 评论 1271 浏览 评分:0.0
蓝桥杯算法提高VIP-我们的征途是星辰大海-题解(C++代码) 摘要:```cpp #include using namespace std; char g[55][55]; int dx[4]={0,0,-1,1},dy[4]={-1,1,0,0}; int…… 题解列表 2020年11月23日 0 点赞 0 评论 722 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:思绪有点乱,大概就这样了注意事项:参考代码:#includeint main(){ int year,month,day; scanf("%d %d %d",&year,&mon…… 题解列表 2020年11月23日 0 点赞 0 评论 596 浏览 评分:6.0
二级C语言-寻找矩阵最值-题解(C++代码)(while函数) 摘要:解题思路: 先定义n,最大值max,及循环中的行数(p)列数(q),行下标(i)列下标(j)输入n值后再进行数组x[n][n](本题n=2则定义的x[n][n]自动转化为x[2][2])的…… 题解列表 2020年11月22日 0 点赞 2 评论 717 浏览 评分:6.0
去掉空格-题解(C语言代码) 摘要:解题思路: 判断输入不是EOF时,对输入字符逐个读取,判断读取的字符不是空格时,输出该字符。注意事项:参考代码:#include<stdio.h>int main(){ in…… 题解列表 2020年11月22日 0 点赞 0 评论 726 浏览 评分:0.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int len,i; char str[100]; gets(str); l…… 题解列表 2020年11月22日 0 点赞 0 评论 645 浏览 评分:0.0
字符串内排序-题解(C语言代码) 摘要:依旧是c++中的stl解决问题,由于是多组数据,所以采用while循环的方式来获取输出数据, 而后对于每一个字符串,就相当于对数组做排序。 最后别忘记换行。否则会错50%。 ```cpp …… 题解列表 2020年11月22日 0 点赞 0 评论 694 浏览 评分:0.0
字符串的反码-题解(C语言代码) 摘要:这题的主要解法是根据输入的字符串的情况,进行相应的输出即可,依旧是用的c++的stl进行处理。最后不要忘记换行 ```cpp #include #include #include u…… 题解列表 2020年11月22日 0 点赞 0 评论 738 浏览 评分:0.0