• 2024-06-165.18博客
    上午数据库下午计网要是工程数学老师有数据库老师的松弛感就好了学习内容:安卓<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"  android:layout_width="match_parent"  android:layout_height="50dp"  android:background="#aaa
  • 2024-06-065.18
    图书评论爬取importrefromcollectionsimportCounterimportrequestsfromlxmlimportetreeimportpandasaspdimportjiebaimportmatplotlib.pyplotaspltfromwordcloudimportWordCloudheaders={"User-Agent":"Mozilla/
  • 2024-05-185.18
    学习记录app即将完结 今天增加了教师的功能和自动登录的功能```java//查询所有班级根据班级的学生的分类信息每个学生的学习记录次数@OverridepublicMap<String,Object>listClass(){Map<String,Object>map=newHashMap<>();List<String>classList=u
  • 2024-03-24centos7 activemq启动失败的解决过程
    时隔很久重新启动虚拟机中的centos7,准备启用activemq。运行命令如下:   $./activemqstartINFO:Loading'/home/****/apache-activemq-5.18.1//bin/env'INFO:Usingjava'/usr/bin/java'INFO:Starting-inspectlogfilesspecifiedinlogging.propertiesandlog4j.pro
  • 2023-10-18ActiveMQ升级版本操作
    ActiveMQ升级版本操作ActiveMQ依赖JDK版本MQ版本号Build-Jdkapache-activemq-5.10.01.7apache-activemq-5.11.01.7apache-activemq-5.12.01.7apache-activemq-5.13.01.7apache-activemq-5.14.01.7apache-activemq-5.15.01.8apache-activemq-
  • 2023-10-18Apache ActiveMQ 各个版本所依赖的JDK版本
    ApacheActiveMQ各个版本所依赖的JDK版本ActiveMQ下载地址ActiveMQ版本下载ActiveMQ依赖JDK版本MQ版本号Build-Jdkapache-activemq-5.10.01.7apache-activemq-5.11.01.7apache-activemq-5.12.01.7apache-activemq-5.13.01.7apache-activemq-5.14.0
  • 2023-06-115.18
    %定义目标函数f=@(x)100*(x(1)^2-x(2))^2+(x(1)-1)^2;%定义目标函数的梯度grad_f=@(x)[400*x(1)*(x(1)^2-x(2))+2*(x(1)-1);-200*(x(1)^2-x(2))];%定义终止准则epsilon=1e-5;%定义最大迭代次数max_iterations=1000;%初始点列表initial_points=
  • 2023-05-185.18
    1#include<iostream>2#include<fstream>3#include<string>45intmain(){6std::ifstreaminputFile("D://article.txt");78if(!inputFile){9std::cout<<"无法打开输入文件!"<<
  • 2023-05-185.18
    #include<iostream>usingnamespacestd;intmain(){      doublea;      double*p=&a;      cout<<"指针占了"<<sizeof(double)<<"字节"<<endl;      cout<<"指针所指向的变量占了"<<sizeof(p)&
  • 2023-05-185.18打卡
    一、实验内容定义一个Dog类,包括体重和年龄两个数据成员及其成员函数,声明一个实例dog1,体重5,年龄10,使用I/O流把dog1的状态写入磁盘文件。再声明一个实例dog2,通过读取文件dog1的状态赋给dog2。分别用文本方式和二进制方式操作文件。二、实验代码#include<bits/stdc++.h>usingna
  • 2023-05-185.18每日总结
    今日进行了python的学习。对于昨天的测试代码进行了分析学习。R7-1字典合并d1=eval(input())d2=eval(input())forkeyind2.keys():d1[key]=d1.get(key,0)+d2[key]t=list(d1.items())t.sort(key=lambdax:ord(x[0])iftype(x[0])==strelsex[0])
  • 2023-05-185.18
    #include<iostream>usingnamespacestd;#include<string>classstudent{public:   voidshangke();protected:   stringname;   intbj;   intid;};classteacher{public:   voidjiaoke();protected:   intID;   intgz;};c
  • 2023-05-185.18总结
    packagecom.mf.jdbc.exmaple;importcom.alibaba.druid.pool.DruidDataSourceFactory;importcom.mf.jdbc.Brand;importorg.junit.Test;importjavax.sql.DataSource;importjava.io.FileInputStream;importjava.sql.Connection;importjava.sql.PreparedStatement;
  • 2023-05-185.18CSDN贪吃蛇
    贪吃蛇 速度不要调很慢会影响判断#include<iostream>#include<windows.h>#include<conio.h>#include<deque>#include<ctime>#include<stdexcept>usingnamespacestd;structSnake{//蛇类结构体charimage;shortx,y;//坐标};classsnakeGame
  • 2023-05-185.18打卡
    一、问题描述:骰子是一个有六个面的正方体,每个面分别印有1~6之间的小圆点代表点数。假设这个游戏的规则是:两个人轮流掷骰子6次,并将每次投掷的点数累加起来。点数多者获胜;点数相同则为平局。要求编写程序模拟这个游戏的过程,并求出玩100盘之后谁是最终的获胜者。二、设计思路:由于每
  • 2023-05-185.18
    #include<stdio.h>main(){inti,x,y,last=1;printf("Inputxandy:\n");scanf("%d%d",&x,&y);for(i=1;i<=y;i++)last=last*x%1000;printf("Thelastthreedigitsis:%d\n",last);}
  • 2023-05-185.18打卡
    #include<bits/stdc++.h>usingnamespacestd;doublef(intn,intx){if(n==0)return1;elseif(n==1)returnx;elsereturn((2*n-1)*x*f(n-1,x)-(n-1)*f(n-2,x))*1.0/n;}intmain(){intn,x;cin>>n>>x;