徙倚遥思
码龄5年
关注
提问 私信
  • 博客:11,566
    动态:2
    11,568
    总访问量
  • 14
    原创
  • 499,210
    排名
  • 3
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:香港
  • 加入CSDN时间: 2019-12-16
博客简介:

weixin_46032370的博客

查看详细资料
个人成就
  • 获得14次点赞
  • 内容获得1次评论
  • 获得36次收藏
  • 代码片获得176次分享
创作历程
  • 1篇
    2023年
  • 7篇
    2022年
  • 3篇
    2021年
  • 3篇
    2020年
成就勋章
TA的专栏
  • 笔记
    9篇
创作活动更多

超级创作者激励计划

万元现金补贴,高额收益分成,专属VIP内容创作者流量扶持,等你加入!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

IDEA报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin....Fatal error compilng

首先在idea中的maven setting 看看maven的runner是不是你用的jdk版本,如果不是就换掉。其次 在file中打开project structure 在project里面看看你的这两个是不是正确的。我出现的问题是JDK使用的版本不匹配,所以在idea中更换了用的jdk版本。我按这两个步骤之后重新compile 发现问题已经解决了。
原创
发布博客 2023.04.15 ·
468 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

离散化---区间和问题 AcWing

区间和问题
原创
发布博客 2022.06.01 ·
159 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

前缀和和差分问题----个人笔记

一维前缀和求解前缀和问题不能把问题看成面积问题求解,要把问题看成一个数集问题,注意边界输出原序列中从第 l 个数到第 r 个数的和:#include<iostream>using namespace std;const int N=100010;int q[N],a[N];int n,m,l,r;int main(){ cin>>n>>m; for(int i=1;i<=n;i++) cin>>a[i];
原创
发布博客 2022.05.05 ·
147 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

数据结构代码实现笔记

线性表插入#include<iostream>#include<stdio.h>#include<stdlib.h>using namespace std;#define MAXSIZE 50//宏定义数据数组名字typedef int ElemType;//把int型给命名成ElemType 型typedef struct {//定义结构体 ElemType data[MAXSIZE];//结构体的数据数组 int length;//数据数组的长
原创
发布博客 2022.05.02 ·
139 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

快速排序模板

快速排序模板#include<iostream>using namespace std;const int N=10e6+10;int n;int q[N];void quick_sort(int q[],int l,int r){ if(l>=r) return ; int x=q[l+r>>1],i=l-1,j=r+1;//设置中间值,设置左右指针 while(i<j)//比较左右指针值的大小 {
原创
发布博客 2022.04.22 ·
75 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

归并排序模板

对数组排序#include<iostream>using namespace std;const int N = 100100;int a[N], tmp[N];int n;void merge_sort(int a[], int l, int r){ if (l >= r) return; int mid = r + l >> 1;//定义中间值 merge_sort(a, l, mid);//对数组的左边递归处理 merg
原创
发布博客 2022.04.22 ·
92 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

求完全数,优化问题

#include<iostream>#include<cstdio>#include<cmath>using namespace std;int main(){ int a,b; cin>>a; while(a--) { /* c++在一秒内最多处理2.5*10的7次方次数据,计算时间复杂度为10的10次方 超时,因此将程序优化。由于得到一个约数i后,同时得到另一个约数b/i,
原创
发布博客 2022.03.09 ·
163 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

简化版课程设计C++通讯录管理系统

发布资源 2022.02.26 ·
zip

安装Linux出现ERR: The virtual machine could not be started because a required feature is not installed.

ERR: The virtual machine could not be started because a required feature is not installed.解决方案:确保虚拟化启用在pwsh里把wsl的默认version设置为1wsl --set-default-version 1解决了
原创
发布博客 2022.01.17 ·
1906 阅读 ·
4 点赞 ·
0 评论 ·
2 收藏

C#学生信息管理系统.zip

发布资源 2022.01.06 ·
zip

Android studio:“The emulator process for AVD Pixel_2_API_30 has terminiated.“

Android studio:“The emulator process for AVD Pixel_2_API_30 has terminiated.”It would seem due to the fact you are using a beta version of android studio the message “The emulator process for AVD Pixel_2_API_30 was killed.” has been changed to “The emulat
原创
发布博客 2021.09.09 ·
2769 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

蚁群算法简单实例

制定一条最短的路径,要你旅行31个城市,每个城市只能经过一次并且最后要回到起点MATLAB代码ticclear all;close all;clc;C = [1304 2312; % 城市坐标 3639 1315; 4177 2244; 3712 1399; 3488 1535; 3326 1556; 3238 1229; 4196 1044; 4312 790; 4386 570; 3007 197
原创
发布博客 2021.01.30 ·
1361 阅读 ·
3 点赞 ·
0 评论 ·
11 收藏

模拟退火算法简单实例

制定一条最短的路径,要你旅行31个城市,每个城市只能经过一次并且最后要回到起点,MATLAB代码%%%%%%%%%%%%%%%%%%%%%%模拟退火算法解决TSP问题%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%初始化%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%ticclear all; %清除所有变量close all; %清图cl
原创
发布博客 2021.01.30 ·
1397 阅读 ·
2 点赞 ·
1 评论 ·
9 收藏

PAT习题5-2 使用函数求奇数和 (15分)

#include <stdio.h>#define MAXN 10int even( int n );int OddSum( int List[], int N );int main(){ int List[MAXN], N, i; scanf("%d", &N); printf("Sum of ( "); for ( i=0; i<N; i++ ) { scanf("%d", &List[i]);
原创
发布博客 2020.11.04 ·
438 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PTA数字金字塔

#include <stdio.h>void pyramid( int n );int main(){ int n; scanf("%d", &n); pyramid(n); return 0;}void pyramid(int n){ int i,j,k; for(i=1;i<=n;i++){ for(j=n-i;j>0;j--) printf(" ");
原创
发布博客 2020.10.31 ·
498 阅读 ·
1 点赞 ·
0 评论 ·
2 收藏

a,&a,*a的区别

理解数组数组的存储方式是顺序存储方式,是在内存中开辟一块连续的,大小相同的空间用来存储数据。所以内存地址是连续的。指针与数组的关系用指针表示数组:*(a+2)=a[2]用数组表示指针:a+2=&a[2]#include<studio.h>int main (void){int u[5]={100,200,300,400,500};int *p1,*p2,*p3;p1=u;//把一个地址赋值给指针p2=&u[2];printf(“p1=%d,*p1=%d,&
原创
发布博客 2020.10.30 ·
1943 阅读 ·
3 点赞 ·
0 评论 ·
13 收藏
加载更多