首字母大写-题解(C语言代码) 摘要:#include int main() { char a[100]; while(gets(a)!=NULL) { if(a[0]>='a'&&a[0]='a'&&a[i+1…… 题解列表 2019年07月03日 0 点赞 0 评论 921 浏览 评分:0.0
数据结构-折半插入排序-题解(C语言代码) 摘要:```c #include int main() { int i,n,j,high,low,m; scanf("%d",&n); int a[n+1]; for(i=1;i…… 题解列表 2019年07月03日 0 点赞 0 评论 1244 浏览 评分:0.0
蓝桥杯算法训练VIP-字符串编辑 (C++代码) 摘要: include include include using namespace std; int main() { int pos=0; string s1; getline…… 题解列表 2019年07月03日 0 点赞 0 评论 675 浏览 评分:0.0
求最大值-题解(C语言代码) 摘要:1、此题最大的障碍就是有多组测试数据,但这个多组是多少不确定。 2、所以只要掌握了截止测试的关键,此题就不攻自破了,我想的是在输入第一个数是判断一下是否结束,这时只要用“while(scanf("%…… 题解列表 2019年07月03日 0 点赞 0 评论 1118 浏览 评分:0.0
汽水瓶-题解(C语言代码) 摘要:```cpp #include using namespace std; int main() { int m,he; while(cin>>m) { he=0; …… 题解列表 2019年07月04日 0 点赞 0 评论 501 浏览 评分:0.0
字符串链接-题解(C语言代码) 摘要:此题有两个注意点,1:有多组测试数据,但不知有多少组,所以啥时候可以让判断机不输出超限就可以了。 2:字符串用函数链接以后怎么返回主函数时返回什么类型需要注意,代码如下: ```c #inc…… 题解列表 2019年07月04日 0 点赞 0 评论 558 浏览 评分:0.0
[编程入门]密码破译-题解(C语言代码) 摘要:```c #include int main(void) { char c1, c2, c3, c4, c5; scanf("%c%c%c%c%c", &c1, &c2, &c3…… 题解列表 2019年07月06日 0 点赞 0 评论 730 浏览 评分:0.0
蓝桥杯算法训练VIP-提货单-题解(C语言代码) 摘要:###思路 > ####使用%*来接收商品名,但是不存储,然后单价和数量相乘。 ```c #include int main(){ int n, SL; double DJ, sum =…… 题解列表 2019年07月07日 0 点赞 0 评论 789 浏览 评分:0.0
蓝桥杯算法训练VIP-集合运算-题解(C语言代码) 摘要:```c //交集:两个集合中相同的元素的集合 //并集:合并后的集合,相同的元素覆盖 //余集:B在A中的余集,就是将相同元素删除,A中没有被删除的元素的集合 #include #i…… 题解列表 2019年07月07日 0 点赞 0 评论 736 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝-题解(C语言代码) 摘要: # include int main() { void fun(char *p1,char *p2,int n,int m); int n,m; …… 题解列表 2019年07月07日 0 点赞 0 评论 529 浏览 评分:0.0