不同单词个数统-小白题解-C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> char strArr[101]; char temp[101][101]; i…… 题解列表 2021年12月07日 0 点赞 0 评论 522 浏览 评分:0.0
数学思路来解这一道题的 摘要:解题思路:注意事项:参考代码:import mathwhile True: w, h = map(int, input().split()) if w==0 or h==0: …… 题解列表 2021年12月07日 0 点赞 0 评论 432 浏览 评分:0.0
输出中间的数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d\n",b); …… 题解列表 2021年12月07日 0 点赞 0 评论 411 浏览 评分:0.0
多输入输出练习2 摘要:解题思路:先用宏定义定义一个p,然后定义变量n,计数器k,将k放到while()循环中判断读入半径的个数。注意事项:不要用float 去定义s,a,不然容易出现精度问题,最好用double定义变量。参…… 题解列表 2021年12月07日 0 点赞 0 评论 361 浏览 评分:0.0
1000内完数判断 摘要:解题思路:我又来毁灭世界了,答案错误注意事项:这个不是正确答案,仅供参考参考代码:int main(){ static int a[10]; int n,i,sum,t,j,k,b; scanf("%…… 题解列表 2021年12月07日 0 点赞 0 评论 440 浏览 评分:0.0
最简单的思路, 摘要:解题思路:挨个计算,拆分注意事项:参考代码:#include <stdio.h>int main() { int i,j,k,n; for( n=100;n<1000;n++)//所有数字因为水仙花是…… 题解列表 2021年12月07日 0 点赞 0 评论 287 浏览 评分:0.0
调用函数,自定义函数之数字分离。 摘要:解题思路:先定义一维数组,gets()为输入,puts()为输出。在用strlen计算字符串的长度好进行for循环(进行多少从循环)。在用if语句进行添加空格。注意事项:类型为char,strlen为…… 题解列表 2021年12月07日 0 点赞 0 评论 389 浏览 评分:0.0
简单,初学者 摘要:解题思路:写一个与输入的数组a相反的数组b;连接a数组与b数组。注意事项:此题默认没有空格。如果想输入带空格的数组,把scanf("%s",a);改为gets(a);并用c++ 或者 用for…… 题解列表 2021年12月07日 0 点赞 0 评论 338 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串跳步 ( C++ ) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; string s1; int main(…… 题解列表 2021年12月07日 0 点赞 0 评论 275 浏览 评分:0.0
真的很小白 摘要:解题思路:数组的定义注意事项:输出时要按照a【3】是从0开始参考代码:#include<stdio.h>int main(){ int a[3][3]; int i,j; for(i=0;i<3;i+…… 题解列表 2021年12月07日 0 点赞 0 评论 275 浏览 评分:0.0