[编程入门]分段函数求值python 摘要:解题思路:注意事项:参考代码:x = int(input())if x < 1: y = xelif 1 <= x < 10: y = 2*x - 1elif x >= 10: y …… 题解列表 2022年01月17日 0 点赞 0 评论 809 浏览 评分:6.0
[编程入门]三个数找最大值python 解题思路:注意事项:参考代码:a,b,c=map(int,input().split())print(max(a,b,c)) 题解列表 2022年01月17日 0 点赞 0 评论 1071 浏览 评分:8.0
[编程入门]温度转换 摘要:解题思路:注意事项:参考代码:f = float(input())c = 5*(f-32)/9print('c=%.2f'%c)…… 题解列表 2022年01月17日 0 点赞 0 评论 792 浏览 评分:6.0
结构体之成绩记录 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>struct infor{char num[100];char name[100];int m…… 题解列表 2022年01月17日 0 点赞 0 评论 621 浏览 评分:0.0
结构体时间设计C语言 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>struct date{int y;int m;int d;};int isrun(int y…… 题解列表 2022年01月17日 0 点赞 0 评论 444 浏览 评分:0.0
电报加密C语言 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char str[100]; gets(str); …… 题解列表 2022年01月17日 0 点赞 0 评论 820 浏览 评分:0.0
校门外的树 c++ 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int L,M; cin>>L>>M; bool a[L+1]={f…… 题解列表 2022年01月17日 0 点赞 0 评论 474 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:1.依次获取字符串的值,并将非空格的字符用数组接收;2.将数组接收到的字符倒序输出;注意事项:定义数组的类型;循环结构,及退出条件写正确;参考代码:#include<stdio.h>char…… 题解列表 2022年01月17日 0 点赞 0 评论 504 浏览 评分:0.0
去掉空格C语言 摘要:#include<stdio.h>#include<string.h>int main(){ char str[100],str1[100];int i,k=0; while(gets(s…… 题解列表 2022年01月17日 0 点赞 0 评论 422 浏览 评分:0.0
优质题解 蓝桥杯基础练习VIP-芯片测试-题解(Python代码) ##1.解题思路1.好芯片`能正确给出被测试芯片是好还是坏`,所以好芯片的测试结果都是相同的2.已知`好芯片比坏芯片多`,所以可以测试结果相同的芯片中最多的一定是好芯片##2.代码解析1.根据解题思路,我们可以用一个列表`index`来表示相同测试结果的芯片序号2.用一个字典`data`, 题解列表 2022年01月17日 1 点赞 2 评论 947 浏览 评分:6.7