1019: [编程入门]自由下落的距离计算 摘要:解题思路:等比数列是个数学题注意事项:参考代码:#include<stdio.h> int main() { int n;float h,s,m; scanf("%f %d",&h,&n); …… 题解列表 2022年06月07日 0 点赞 0 评论 245 浏览 评分:0.0
大力解题,每天一练 摘要:解题思路: 理清输入输出算法判断的流程。注意事项: 不要过于追求技巧,简单直接最好。参考代码:…… 题解列表 2022年06月07日 0 点赞 0 评论 444 浏览 评分:0.0
新手学习,C++解决 摘要:解题思路:pow求立方注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int n; i…… 题解列表 2022年06月07日 0 点赞 0 评论 596 浏览 评分:9.9
二级C语言-分段函数,C++解决 摘要:解题思路:setprecision函数控制cout的输出小数位数注意事项:参考代码:#include<iostream>#include<iomanip>//控制小数位的头文件using namesp…… 题解列表 2022年06月07日 0 点赞 0 评论 575 浏览 评分:9.9
大力解题,每天一练 摘要:解题思路:1、题意不是很明确,整数(unsigned int) n的长度是未知的,在这种情况下还需要输入n长度的数。2、n取值范围位 1-最大unsigned int(65535) ,这里仁者见仁智者…… 题解列表 2022年06月07日 0 点赞 0 评论 1115 浏览 评分:0.0
A+B for Input-Output Practice (II) ,C++解题 摘要:解题思路:用while注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int k; i…… 题解列表 2022年06月07日 0 点赞 0 评论 450 浏览 评分:0.0
python——直观遍历 摘要:解题思路:n为奇数时:两个对角分别用m和n-m两个方砖填充,对于剩下的两个一样的矩形区域填充,对m从(n+1)/2到n-1遍历n为偶数时:用四个n/2的方砖即可注意事项:注意矩形区域的填充参考代码:#…… 题解列表 2022年06月07日 0 点赞 0 评论 419 浏览 评分:0.0