第九周(python代码)【FI不会】 摘要:#A apple=list(map(int,input().split())) height=int(input())+30 count=0 for i in apple: if h…… 文章列表 2020年12月17日 0 点赞 1 评论 424 浏览 评分:9.9
第9周训练(python代码 F I不会) 摘要:#A apple=list(map(int,input().split())) height=int(input())+30 count=0 for i in apple: if h…… 文章列表 2020年12月17日 0 点赞 0 评论 583 浏览 评分:0.0
题目 1047: [编程入门]报数问题 摘要:解题思路:假设n个数字组成一个数组,从1开始标号,a[1]=1,...a[n]=n,首先通过for循环对数组进行赋值;然后对数到3的元素进行赋值0处理,赋值为0的元素表示已经退出圈了,因此必须在a[i…… 文章列表 2020年12月15日 0 点赞 0 评论 617 浏览 评分:4.0
在一行字符串中删去指定的字符 摘要:#include <stdio.h> void fun( char *s, char ch ) { char *t = s; //目标指针先指向原串开头 while( …… 文章列表 2020年12月09日 0 点赞 0 评论 523 浏览 评分:9.9
刷题第1周Java 摘要:Java小知识1. 对于给出一个数字求它是个几位数:(1)int num=****;String str=String.valueOf(num);System.out.println(str.leng…… 文章列表 2020年12月06日 0 点赞 0 评论 882 浏览 评分:0.0
精品文章 Java基础知识笔记(详细) 摘要:# 集成开发环境 IDEA是一个专门针对Java的集成开发工具(IDE),由Java语言编写。所以,需要有JRE运行环境并配置好环境变量。它可以极大地提升我们的开发效率。可以自动编译,检查错误。 …… 文章列表 2020年11月27日 0 点赞 0 评论 671 浏览 评分:9.9
利用指针实现一组整数的输入,统计偶数和奇数的个数 摘要:# include <stdio.h> int main() { int a[20], *p = a, i, num; int m = 0, n = 0; printf("请输…… 文章列表 2020年11月25日 0 点赞 0 评论 2272 浏览 评分:8.4
利用指针交换实现三个整数从小到大排序 摘要:# include <stdio.h> void swap(int *p, int *q) { int t; t = *p; *p = *q; *q = t; } void swap_…… 文章列表 2020年11月25日 0 点赞 0 评论 572 浏览 评分:0.0
fabs()函数的用法 摘要:fabs函数是一个求绝对值的函数,求出x的绝对值,和数学上的概念相同,函数原型是extern float fabs(float x),用法是#include <math.h>。…… 文章列表 2020年11月23日 0 点赞 1 评论 646 浏览 评分:8.0
精品文章 用C语言打造浪漫的烟花播放 摘要:# 开发工具 vs2019(vs系列都可以),easyx图形库(特别小),官网下载 ![在这里插入图片描述](https://img-blog.csdnimg.cn/202009071504277…… 文章列表 2020年11月22日 0 点赞 5 评论 798 浏览 评分:9.9