1727: 首字母大写-C语言 摘要:```c #include #include #define max 100 int main() { char s1[max]; while (gets(s1)!=…… 题解列表 2021年12月31日 0 点赞 0 评论 656 浏览 评分:0.0
C++代码,自定义函数采用指针传入参数输入数组,数组整理for循环找出最大值最小值的索引,循环结束后进行交互即可 摘要:解题思路: * 如何在一个函数中返回数组呢?采用指针。 * https://www.dotcpp.com/wp/746.html * https://www.dotcpp.com/wp/755.htm…… 题解列表 2021年12月31日 0 点赞 0 评论 630 浏览 评分:0.0
1728: 字符串的查找删除-C语言(自己编译器上没错,样例出错求指点) 摘要:```c /*样例中前两行会出现和的额外输入,输出, 其他地方均没错,希望有遇到这个问题的指点一下,其他输出没啥问题 试了两种不同的编译器,均没出现问题,只在平台上出现问题*/ #includ…… 题解列表 2021年12月31日 0 点赞 0 评论 633 浏览 评分:0.0
1851: 求所给范围内水仙花数并排列 摘要:解题思路:注意事项:参考代码:while True: try: m,n = map(int,input().split()) s = 0 &nbs 题解列表 2021年12月31日 0 点赞 0 评论 376 浏览 评分:0.0
1853: 蓝桥杯基础练习-数列排序 摘要:解题思路:注意事项:参考代码:n = int(input()) m = list(map(int,input().split())) m.sort() for i in m: prin…… 题解列表 2021年12月31日 0 点赞 0 评论 456 浏览 评分:0.0
1855: 输出字符'A'个数 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): print('A',end='')…… 题解列表 2021年12月31日 0 点赞 0 评论 423 浏览 评分:0.0
1856: 最小三个数 摘要:解题思路:注意事项:参考代码:n = int(input()) m = list(map(int,input().split())) m.sort() for i in range(3): …… 题解列表 2021年12月31日 0 点赞 0 评论 496 浏览 评分:0.0
1869: 鸡兔同笼 摘要:解题思路:注意事项:参考代码:while True: try: num,leg=map(int,input().strip().split()) s = …… 题解列表 2021年12月31日 0 点赞 0 评论 492 浏览 评分:0.0
1870: 统计字符数 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): st = input() ji =set(st) dict_c =…… 题解列表 2021年12月31日 0 点赞 0 评论 513 浏览 评分:0.0
1915: 蓝桥杯算法提高VIP-三个整数的排序 摘要:解题思路:注意事项:参考代码:ls = list(map(int,input().split())) ls.sort(reverse=True) for i in ls: print(i…… 题解列表 2021年12月31日 0 点赞 0 评论 509 浏览 评分:0.0