编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int letter=0,number=0,space=0,other=0;…… 题解列表 2022年10月28日 0 点赞 0 评论 246 浏览 评分:9.9
蓝桥杯2013年第四届真题-核桃的数量(简单算法java) 摘要:解题思路:题意为三个数求最小公倍数,选取三个数中最大的一个数,让最大的数不断乘(从1~n),判断最大的数乘完以后能不能够整除最初输入的三个数,如果可以就说明这个数是三个数的最小公倍数注意事项:先要找到…… 题解列表 2022年10月28日 0 点赞 0 评论 284 浏览 评分:9.9
自由落体问题(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() { int n…… 题解列表 2022年10月28日 0 点赞 0 评论 389 浏览 评分:9.9
自守数问题(C++) 摘要:解题思路:注意事项:int存不下,用long,题目要求两个空格隔开参考代码:using namespace std; #include<iostream> int main() { c…… 题解列表 2022年10月28日 1 点赞 0 评论 380 浏览 评分:9.9
C语言解决本题 摘要:解题思路:直接代入公式计算即可解决注意事项:输出要带两位小数点,所以需要%.2lf,这个地方是需要注意的地方参考代码:#include<stdio.h> int main() { int …… 题解列表 2022年10月28日 0 点赞 0 评论 210 浏览 评分:8.0
素数问题(简单C++) 摘要:解题思路:素数只能被自己整除注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,i,j; …… 题解列表 2022年10月28日 0 点赞 0 评论 314 浏览 评分:9.9
立方和不等式(简单C++) 摘要:解题思路:写一个立法和函数比较好看注意事项:参考代码:#include<iostream> using namespace std; int f(int n) { int s=0; …… 题解列表 2022年10月28日 0 点赞 0 评论 603 浏览 评分:9.9
2854——密码翻译 摘要:分别判断两种情况 做出对应修改参考代码:#include"stdio.h" #include"string.h" typedef char string[111]; string str; …… 题解列表 2022年10月28日 0 点赞 0 评论 498 浏览 评分:2.0
编写题解 1810: [编程基础]输入输出练习之精度控制3 摘要:解题思路:用format控制输出注意事项:map函数的用法参考代码:a,b,c,d = map(str,input().split())print("{} {:>4} {:.2f} {:.12f}".…… 题解列表 2022年10月28日 0 点赞 6 评论 519 浏览 评分:8.0
编写题解 2850: 输出亲朋字符串 摘要:解题思路:设计两个移动指针count1,count2注意事项:参考代码:str=input() ls=[] #初始化空列表 count1=0 #设计两个相邻指针并初始化 count2=1 wh…… 题解列表 2022年10月28日 0 点赞 1 评论 580 浏览 评分:9.9