自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 selenium爬取领英网,将数据存放到excel表格中

1.1一维数组

2021-07-29 21:45:41 818

原创 printf的返回值

描述KiKi写了一个输出“Hello world!”的程序,BoBo老师告诉他printf函数有返回值,你能帮他写个程序输出printf(“Hello world!”)的返回值吗?输入描述:无输出描述:包括两行:第一行为“Hello world!”第二行为printf(“Hello world!”)调用后的返回值。#我们首先要知道,返回值是字符串长度。print("Hello world!")print(len("Hello world!"))...

2021-07-22 09:38:51 257

原创 三个整数和、积与平均值

Description给出三个整数,请你设计一个程序,求出这三个数的和、乘积和平均数。Input输入只有三个正整数a、b、c。Output输出一行,包括三个的和、乘积、平均数。 数据之间用一个空格隔开,其中平均数保留小数后面两位。SampleInput2 3 3Output8 18 2.67代码...

2021-06-01 20:57:08 935

原创 JAVA:字符的输入输出

Description用getchar()从键盘上输入一个字符,用putchar()打印出来!Input从键盘上输入一个字符!Output把刚刚输入的字符打印出来!SampleInputAOutputA

2021-05-31 11:28:53 1279

原创 A+B for Input-Output Practice (VI)

DescriptionYour task is to calculate the sum of some integers.InputInput contains multiple test cases, and one case one line. Each case starts with an integer N, and then N integers follow in the same line.OutputFor each test case you should outp

2021-05-27 21:38:09 275

原创 A+B for Input-Output Practice (V)

DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M integers follow in the same line.OutputFor each group of inpu

2021-05-27 21:30:41 154

原创 A+B for Input-Output Practice (III)

DescriptionYour task is to Calculate a + b.InputInput contains multiple test cases. Each test case contains a pair of integers a and b, one pair of integers per line. A test case containing 0 0 terminates the input and this test case is not to be pro

2021-05-27 21:21:13 121

原创 A+B for Input-Output Practice (II)

DescriptionYour task is to Calculate a + b.InputYour task is to Calculate a + b.OutputFor each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.SampleInput.

2021-05-27 21:08:19 129

原创 A+B for Input-Output Practice (I)

DescriptionYour task is to Calculate a + b.Too easy?! Of course! I specially designed the problem for acm beginners.You must have found that some problems have the same titles with this one, yes, all these problems were designed for the same aimInput

2021-05-27 20:59:40 94

原创 A+B Problem

DescriptionCalculate a + b.InputTwo integer a, b (0 <= a, b <= 10).OutputOutput a + b.SampleInput1 2Output3

2021-05-27 20:51:15 102

原创 A+B for Input-Output Practice (IV)

DescriptionYour task is to Calculate the sum of some integers.InputInput contains multiple test cases. Each test case contains a integer N, and then N integers follow in the same line. A test case starting with 0 terminates the input and this test ca

2021-05-27 20:44:33 204

原创 JAVA:位运算符的简单介绍

位运算符的种类有7中,分别是:“按位与”运算符(&)、“按位或”运算符(|)、“按位异或”运算符(^)、“按位取反”运算符(~)、“右移位”运算符(>>)、“左移位”运算符(<<)、“无符号右移位”运算符(>>>)。接下来我们详细介绍一下他们各自的作用。1.“按位与”运算符(&):“按位与”运算符“&”为双目运算符,其运算法则是:先将参与运算的数据转化为二进制数,然后低位对齐,高位不足补0,如果对应的二进制位都是1,则结果为1,否则结果为

2021-05-15 16:03:52 103

原创 JAVA的标识符和关键字

标识符标识符(Identifier):可以简单地理解为一个名字,是用来标识类名、变量名、方法名、数组名、文件名的有效字符序列。这里我们需要注意,JAVA语言规定标识符由任意顺序的字母、下划线(_)、美元符号($)和数字组成,并且第一个字符不能是数字。合法的标识符:birthday User_name _system_varl $max非法的标识符:...

2021-05-14 15:10:32 820 1

原创 JAVA错误示例:Exception in thread “main“ java.lang.Error: Unresolved compilation problem:

JAVA错误示例当我们初次接触Eclipse时会犯很多错误,就比如Exception in thread "main" java.lang.Error: Unresolved compilation problem:出现这种情况的原因是package的值与src子目录的值是不同的,Eclipse才会提示为解决编译问题,Eclipse是不需要去手动编...

2021-05-09 22:17:25 22871 1

原创 JAVA语言的发展历史

JAVA语言的历史要追溯到1991年,美国Sun公司的Patrick Naughton及其伙伴James Gosling 带领的小组(Green项目组)准备研发一种应用于智能家电的小型语言。但面临了诸多的困难,比如:家电的处理能力和内存空间有限,所以要求这门语言要足够的简练且短小,紧凑。而且,由于不同的家电生产商会选择不同的CPU,因此,这种语言还不能和特定的体系结构捆绑在一起,也就是说这种语言必须具有跨平台的能力。 项目开始时,项目组使用的时C/C++语言编译器着手,但在改写的...

2021-05-09 15:27:30 813 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除