自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 解决ERROR: Command errored out with exit status 128: git clone -q https://github.com/Z-Zheng/SimpleCV.

将 https://github.com/Z-Zheng/SimpleCV.git改为http://github.com/Z-Zheng/SimpleCV.git。即将https改为http。

2023-07-28 09:59:43 2326 4

原创 java中的哈希码值是怎么计算的?

在Java中,哈希码代表了对象的一种特征,例如我们判断某两个字符串是否==,如果其哈希码相等,则这两个字符串是相等的。其次,哈希码是一种数据结构的算法。常见的哈希码的算法有:1:Object类的hashCode.返回对象的内存地址经过处理后的结构,由于每个对象的内存地址都不一样,所以哈希码也不一样。2:String类的hashCode.根据String类包含的字符串的内容,根据一种特殊算法返回...

2019-12-02 20:08:07 1889

原创 HTML+CSS实例:居中五环

要求:写一个五环,并且使它在浏览器垂直居中效果如图所示:代码如下:<!DOCTYPE html><html> <head> <meta charset="UTF-8"/> <title>居中五环</title> <style type="text/css"> * { ...

2019-11-10 16:08:35 275

原创 zzulioj 1053: 正弦函数(java实现)

题目描述输入x,计算上面公式的前10项和。import java.text.DecimalFormat;import java.util.Scanner;public class java_test { public static void main(String[] args) { Scanner Sc = new Scanner(System.in); Decim...

2019-11-09 17:09:56 914

原创 后插法创建单链表(C语言实现)

#include<stdio.h>#include<stdlib.h>struct node{ int data;//结点数据域 struct node *next;//结点指针域};int main(){ struct node *head,*p,*r; head = (struct node *)malloc(sizeof(st...

2018-11-03 17:36:57 3797

原创 前插法创建单链表(C语言实现)

#include<stdio.h>#include<stdlib.h>struct node{ int data;//结点的数据域 struct node *next;//结点的指针域};int main(){ struct node *head,*p; int i,n; head = (struct node *)mall...

2018-11-03 17:13:44 5120

原创 数据结构—线性表的基本操作

#include&lt;stdio.h&gt;typedef struct{    int data[100];    int length;}Seqlist;//创建线性表creatSeqlist(Seqlist *L){    int i,len,elem;    L-&gt;length = 0;    printf("请输入表长:");    scanf("%d",&...

2018-10-26 23:04:10 527

原创 java实现字符串中的单词个数统计

/* * 思路:要统计单词数,只需要统计字符串中非英文字母的个数(注意判断最后一个字符是否是英文字母) */public class WordDemo { public static void main(String[] args) {  String s = "I am a boy,I am come from Henan!";//定义一个字符串并赋值  int sum = word...

2018-10-26 11:49:12 9521

原创 java判断年份是否为闰年

import java.util.Scanner;//导包public class ShuiXianHua{ public static void LeapYear(String[] args) {  Scanner Sc = new Scanner(System.in);//创建键盘输入对象  int year = Sc.nextInt();//键盘输入年份  int flag = j...

2018-10-01 15:17:40 1727

空空如也

空空如也

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

TA关注的人

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