随便写写,看看就行 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void shuchu(char *p){ for(;*p!='\0';p++) printf("%c ",*p);}…… 题解列表 2021年12月27日 0 点赞 0 评论 490 浏览 评分:0.0
C++代码 for循环 求余 整除 数组保存每位数值 逆序输出 摘要:解题思路:for循环 求余 整除 数组保存每位数值 逆序输出注意事项:暂时不明参考代码:#include<iostream>using namespace std;int main(){ int…… 题解列表 2021年12月28日 0 点赞 0 评论 1189 浏览 评分:0.0
[编程入门]自定义函数之数字分离-题解(Python代码) 解题思路:注意事项:参考代码:sentence=input()print(sentence.replace("","").strip()) 题解列表 2022年01月07日 0 点赞 0 评论 515 浏览 评分:0.0
自定义函数之数字分离 摘要:注意:scanf_s("%c", &a[i],1)表示最多读取1-1个字符; 同理scanf_s("%c", &a[i],4)表示最多读取4-1个字符。 ```c #include …… 题解列表 2022年01月16日 0 点赞 0 评论 565 浏览 评分:0.0
[编程入门]自定义函数之数字分离 摘要:解题思路:循环输入的字符串,如果不是最后一个字符,就输出字符+空格,最后一个字符,只输出它本身注意事项:无参考代码:#include<stdio.h>#include<string.h>int i,x…… 题解列表 2022年01月18日 0 点赞 0 评论 517 浏览 评分:0.0
【露离】一行代码 摘要:解题思路:注意事项:参考代码:def main(): print(' '.join(list(input())))main()…… 题解列表 2022年02月05日 0 点赞 0 评论 508 浏览 评分:0.0
1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:def fun(a): b = "" for i in a: b += i b += ' ' print(b…… 题解列表 2022年02月21日 0 点赞 0 评论 512 浏览 评分:0.0
编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;void out(string a){ for(int i=0;i<4;i++){ …… 题解列表 2022年03月01日 0 点赞 0 评论 457 浏览 评分:0.0
自定义函数之数字分离-题解 摘要:解题思路:注意事项:注意:replace (""," ")如果写在end=" 之前会提示格式错误参考代码:def fenli(inp): #定义字符分离函数 …… 题解列表 2022年03月02日 0 点赞 0 评论 475 浏览 评分:0.0
编写题解 1034: [编程入门]自定义函数之数字分离--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; gets(a); for(int i=0;i<4;i++){ printf("%c…… 题解列表 2022年03月08日 0 点赞 0 评论 470 浏览 评分:0.0