自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 Spring核心概念

IoC/DI

2023-02-10 13:23:49 114 1

原创 Spring Framework系统架构

spring4.x系统架构

2023-02-10 12:32:26 106

翻译 Identification of Move Method Refactoring Opportunities 阅读笔记

JDeodorant背后的思想与算法

2023-02-07 15:01:34 152

翻译 JMove: A novel heuristic and tool to detect move method refactoring opportunities 阅读笔记

本文主要是对JMove: A novel heuristic and tool to detect move method refactoring opportunities一文中重要段落的翻译。供自己和有需要的网友进行参考。

2023-01-11 19:25:10 225

原创 洛谷P1076 寻宝

#include <stdio.h>int a[10001][101],b[10001][101],ans=0,lo; //a[i][j]的值表示第[i]层第[j]个房间是否有楼梯,b[i][j]存储该房间指示牌上的数字,lo表示人物当前位置int main(){ int n,m; scanf("%d %d",&n,&m); getchar(); for(int i=1;i<=n;i++){

2021-02-13 10:23:28 139

原创 洛谷P1020 导弹拦截 动态规划解法

#include <stdio.h>int miss[10000]; //用于存储导弹高度int main(){ int i=0; //导弹数量 char delimiter=' '; //输入导弹高度时,以空格作为间隔 while(delimiter!='\n'){ //输入回车时结束输入导弹高度

2021-02-06 21:56:02 260

原创 C语言 ‘.‘ 和 “->” 在访问结构体变量的成员时的区别

假设指针p指向结构变量person,person有一成员name,则:person.name == (*p).name == p->name第二种写法必须使用圆括号,因为‘.’的优先级高于‘*’。总结:“->”前应当是一个指向结构体变量的指针,‘.’前应当是结构体变量。...

2021-02-05 12:09:07 171

原创 洛谷P1017 十进制转20以内负进制

#include <stdio.h>/*int main(){ //P2084 正进制 int m,n,num=0; scanf("%d %d",&m,&n); int i=0; while(n!=0){ int temp=n%10; if(temp>=m){ break; } for(int j=0;j<

2021-01-31 22:32:11 107

原创 C语言 01背包问题

#include <stdio.h>int main(){ int bagsize,num; //背包容量、物品数量 scanf("%d %d",&bagsize,&num); getchar(); int value[num],weight[num]; //每个物品的价值、重量 for(int i=0;i<num;i++){ scanf("%d %d",&am

2021-01-22 16:12:32 265

原创 C语言 二叉树的创建与遍历

c语言 创建并用三种方法遍历二叉树#include <stdio.h>#include <stdlib.h>typedef struct bitree{ char data; bitree *lc,*rc;}bt;bt *ct(){ char d; printf("请输入结点数据,输入#则结束此结点的创建\n"); scanf("%c",&d); getchar(); if(d=='#'){

2020-11-18 20:28:05 750 1

简单的c语言走迷宫程序.cpp

自己编程的c语言走迷宫程序。迷宫为矩形,每一格上有数字1或2或3或4,踩到1则向上走一格,踩到2则向下走一格,踩到3则向左走一格,踩到4则向右走一格。用户在第一行输入迷宫的行数、列数、走迷宫者的初始位置,在第二行输入迷宫地图,所有输入均以逗号隔开。由程序输出走出迷宫所需步数,若不能走出,则输出进入循环前所走步数与循环长度。

2019-11-20

空空如也

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

TA关注的人

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