1812: [编程基础]输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:x = str(input()) print(f' {x}') print(f' {x*3} ') print(x*5)…… 题解列表 2021年12月31日 0 点赞 0 评论 1819 浏览 评分:9.9
1810: [编程基础]输入输出练习之精度控制3 摘要:解题思路:注意事项:参考代码:a,b,c,d = map(str,input().split()) print(a,end=' ') print('%4d'%int…… 题解列表 2021年12月31日 0 点赞 0 评论 687 浏览 评分:8.0
1728: 字符串的查找删除-C语言(自己编译器上没错,样例出错求指点) 摘要:```c /*样例中前两行会出现和的额外输入,输出, 其他地方均没错,希望有遇到这个问题的指点一下,其他输出没啥问题 试了两种不同的编译器,均没出现问题,只在平台上出现问题*/ #includ…… 题解列表 2021年12月31日 0 点赞 0 评论 511 浏览 评分:0.0
老仁的c语言 摘要:解题思路:使用if语句注意事项:注意变量的设定参考代码:#include <stdio.h>#include <stdlib.h>#define m(x,max) max=x/*分别用函数和带参的宏,…… 题解列表 2021年12月31日 0 点赞 1 评论 276 浏览 评分:9.9
C++代码,自定义函数采用指针传入参数输入数组,数组整理for循环找出最大值最小值的索引,循环结束后进行交互即可 摘要:解题思路: * 如何在一个函数中返回数组呢?采用指针。 * https://www.dotcpp.com/wp/746.html * https://www.dotcpp.com/wp/755.htm…… 题解列表 2021年12月31日 0 点赞 0 评论 519 浏览 评分:0.0
1727: 首字母大写-C语言 摘要:```c #include #include #define max 100 int main() { char s1[max]; while (gets(s1)!=…… 题解列表 2021年12月31日 0 点赞 0 评论 523 浏览 评分:0.0
c语言 编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:想简单点注意事项:参考代码:#include<stdio.h>int main(){ int m,n,p,i,j; scanf("%d %d",&n,&m); …… 题解列表 2021年12月31日 0 点赞 0 评论 318 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:太简单了,凑点字数吧注意事项:参考代码:a,b,c = map(int,input().split())print(b)…… 题解列表 2021年12月31日 0 点赞 0 评论 914 浏览 评分:9.3
1678: 数据结构-双向循环链表-C语言 摘要:```c //双向循环链表 #include #include typedef struct node { int data; struct node *prior;…… 题解列表 2021年12月31日 0 点赞 0 评论 441 浏览 评分:0.0
1805: 蓝桥杯算法提高- c++_ch02_03 摘要:解题思路:注意事项:参考代码:a,b = map(int,input().split()) if a == b: print(0) else: if a == 0: …… 题解列表 2021年12月31日 0 点赞 0 评论 269 浏览 评分:0.0