自定义函数之数字后移 摘要:解题思路:将后面n个值先拿一个数组存放,然后从第n-m-1个数开始以自减的方式向后移m个,最后将存放的值赋给前m个。注意事项:参考代码:#include "stdio.h"void yiwei(int…… 题解列表 2022年01月17日 0 点赞 0 评论 281 浏览 评分:0.0
[编程入门]成绩评定python 摘要:解题思路:注意事项:参考代码:n = int(input())m = ''if n < 60: m = 'E'elif n < 70: m = 'D…… 题解列表 2022年01月17日 0 点赞 0 评论 501 浏览 评分:6.0
[编程入门]分段函数求值python 摘要:解题思路:注意事项:参考代码:x = int(input())if x < 1: y = xelif 1 <= x < 10: y = 2*x - 1elif x >= 10: y …… 题解列表 2022年01月17日 0 点赞 0 评论 597 浏览 评分:6.0
[编程入门]三个数找最大值python 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())print(max(a,b,c))…… 题解列表 2022年01月17日 0 点赞 0 评论 812 浏览 评分:8.0
[编程入门]温度转换 摘要:解题思路:注意事项:参考代码:f = float(input())c = 5*(f-32)/9print('c=%.2f'%c)…… 题解列表 2022年01月17日 0 点赞 0 评论 572 浏览 评分: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 评论 461 浏览 评分: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 评论 276 浏览 评分:0.0
电报加密C语言 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char str[100]; gets(str); …… 题解列表 2022年01月17日 0 点赞 0 评论 633 浏览 评分: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 评论 303 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:1.依次获取字符串的值,并将非空格的字符用数组接收;2.将数组接收到的字符倒序输出;注意事项:定义数组的类型;循环结构,及退出条件写正确;参考代码:#include<stdio.h>char…… 题解列表 2022年01月17日 0 点赞 0 评论 335 浏览 评分:0.0