随便写写,看看就行 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void shuchu(char *p){ for(;*p!='\0';p++) printf("%c ",*p);}…… 题解列表 2021年12月27日 0 点赞 0 评论 538 浏览 评分:0.0
C++代码String库函数,for循环,索引 摘要:解题思路:for循环,索引注意事项:暂时不明参考代码:#include<iostream>#include<string>using namespace std;int main(){ stri…… 题解列表 2021年12月27日 0 点赞 0 评论 684 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int fun(char a[],char b[]){ int k=0; char …… 题解列表 2021年12月27日 0 点赞 0 评论 652 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int n, m, x, y, i, t; int N[1000]; scanf("…… 题解列表 2021年12月28日 0 点赞 0 评论 592 浏览 评分:0.0
C++string库,for循环,if判断元音,char数组 摘要:解题思路:string库,for循环,if判断元音,char数组注意事项:暂时不明参考代码:#include<iostream>#include<string>using namespace std;…… 题解列表 2021年12月28日 0 点赞 0 评论 1394 浏览 评分:0.0
C++代码 for循环 求余 整除 数组保存每位数值 逆序输出 摘要:解题思路:for循环 求余 整除 数组保存每位数值 逆序输出注意事项:暂时不明参考代码:#include<iostream>using namespace std;int main(){ int…… 题解列表 2021年12月28日 0 点赞 0 评论 1280 浏览 评分:0.0
C++代码string库函数,输入空格终止问题,采用getline 摘要:解题思路:https://www.cnblogs.com/Alan-kx/p/14320284.html读取空格终止导致for循环无法遍历全字符串问题注意事项:暂时不明参考代码:#include<io…… 题解列表 2021年12月28日 0 点赞 0 评论 852 浏览 评分:0.0
c语言巧妙解答(小白) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1001]; char b[1001]; gets(a); g…… 题解列表 2021年12月28日 1 点赞 0 评论 646 浏览 评分:0.0
c++处理,利用do-while循环解决 摘要:解题思路:(1)先想好怎么计算出位数?利用do-while循环指令,将输入的数分别除以十,得到余数和商,判断商是否为0;不是0则继续循环; do { b[i] = a % 10; a…… 题解列表 2021年12月28日 0 点赞 0 评论 998 浏览 评分:0.0
数对直接输出结果 摘要:解题思路:注意事项:参考代码:a=int(input())for i in range(1,a+1): if a%i==0: print(str(i)+" * "+str(int(…… 题解列表 2021年12月28日 0 点赞 0 评论 692 浏览 评分:0.0