1477: 字符串输入输出函数 摘要:解题思路:看别人解题。屑题目,我总算理解为啥开发天天和产品撕逼了。注意事项:0、您瞧瞧下面代码,我吐了1、提示信息在输入后、输出结果前显示!!!2、从题目复制的提示信息,每个 间隔两空格,而答案只…… 题解列表 2021年03月02日 0 点赞 0 评论 279 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int num;// printf("输出N以内的素数:"); scanf("%d",&num); for(i…… 题解列表 2021年03月02日 0 点赞 0 评论 326 浏览 评分:0.0
1470: 蓝桥杯基础练习VIP-时间转换 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int t;//时间:秒 scanf("%d",&t); if(0<=t&&86399>=t) {// in…… 题解列表 2021年03月02日 0 点赞 0 评论 305 浏览 评分:0.0
1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int day; //经过天数 int total=1; //最后一天所…… 题解列表 2021年03月02日 0 点赞 0 评论 340 浏览 评分:0.0
1019: [编程入门]自由下落的距离计算 摘要:解题思路:一次落地+反弹=高度*1.5注意事项:for同时计算落地+反弹,因此需要额外减去多出的一次反弹参考代码:#include <stdio.h>// 一球从M米高度自由下落,每次落地后返回原高度…… 题解列表 2021年03月02日 0 点赞 0 评论 394 浏览 评分:0.0
1013: [编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include <stdio.h>//求Sn=a+aa+aaa+…+aa…aaa(有n个a)之值,其中a是一个数字,为2。 例如,n=5时=2+22+222+2222+…… 题解列表 2021年03月02日 0 点赞 0 评论 298 浏览 评分:0.0
1010: [编程入门]利润计算 摘要:解题思路:利用case进行累加注意事项:每次累加后,利润profit更新为被减数参考代码:#include <stdio.h>int main(){ int profit; //当月利润 int bo…… 题解列表 2021年03月02日 0 点赞 0 评论 377 浏览 评分:0.0
1008: [编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int score; scanf("%d",&score); if(score>=0&&score<=100)…… 题解列表 2021年03月02日 0 点赞 0 评论 872 浏览 评分:0.0
[编程入门]矩阵对角线求和-题解(C语言代码)(二维数组) 摘要:```c #include int main() { int a=0,b=0; int arr[3][3],row,col; for(row=0;row…… 题解列表 2021年03月02日 0 点赞 0 评论 461 浏览 评分:8.0
蓝桥杯算法提高-输出二进制表示 Python3 两行 摘要:解题思路:注意事项:参考代码:num = str(bin(int(input())))[2:] print(f"{(8 - len(num)) * '0'}{num}")…… 题解列表 2021年03月01日 0 点赞 0 评论 725 浏览 评分:9.9