- 博客(10)
- 资源 (1)
- 收藏
- 关注
翻译 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
2019-11-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人