首页 > 其他分享 >上周热点回顾(5.1-5.7)

上周热点回顾(5.1-5.7)

时间:2023-05-08 10:33:05浏览次数:45  

相关文章

  • 每日总结 5.7
    今日学习昨天的代码window.location.reload();重载页面的js<script>functionreplaceDoc(){window.location.replace("https://www.————————.com")}</script><metahttp-equiv="refresh"content="5">页面刷新和自动刷新。......
  • 5.7打卡
    一、问题描述:如果整数A的全部因子(包括1,不包括A本身)之和等于B;且整数B的全部因子(包括1,不包括B本身)之和等于A,则将整数A和B称为亲密数。求3000以内的全部亲密数。二、设计思路:根据问题描述,该问题可以转化为:给定整数A,判断A是否有亲密数。为解决该问题,首先定义变量a,并为其赋初值为......
  • 5.7
    今天学习了python另外在网站上对回文数的判断进行了练习,代码如下classSolution{  publicbooleanisPalindrome(intx){    if(x<0||(x%10==0&&x!=0))returnfalse;    intr=0;    while(x>r){      r=r*10+x%10;   ......
  • 5.7
    #include<iostream>usingnamespacestd;#include<cmath>#include"time_user.h"classpoint{private:   intx,y,z;public:   voidset()   {       cin>>x>>y>>z;   }   voidout()   {       cout......
  • 5.7
    #include<iostream>usingnamespacestd;enummyColor{BLACK,WHITE};classMammal{public:   //constructors   Mammal();   ~Mammal();   //accessors   intgetAge()const{       returnitsAge;   }   voidsetAge(int......
  • 2023.5.7 职工管理系统
    1//boss.h2#pragmaonce3#include<iostream>4usingnamespacestd;5#include"worker.h"6classBoss:publicWorker7{8public:9//构造函数10Boss(intid,stringname,intdId);11//显示个人信息12voidshowInfo();......
  • 2023.5.7编程一小时打卡
    一、问题描述:编写程序提示用户输入一个班级中的学生人数n,再依次提示用户输入n个人在课程A中的考试成绩,然后计算出平均成绩显示出来。二、解题思路:首先,定义一个vector类型的成员,通过用户输入的人数进行对vector的数据添加,最后进行加和求其平均值。 三、代码实现:1#include......
  • Window修改:MySQL端口 5.7 亲测
    1、版本MySQL:5.7.192、操作2.1、查看:原始端口【登录后】查看端口:showglobalvariableslike'port';2.2、修改.ini文件port:33082.3、重启服务2.4、查看:新端口1、CMD输入登录命令mysql-hlocalhost-P3308-uroot-p2、显示当前端口showglobal......
  • 2023.5.7——软件工程日报
    所花时间(包括上课):6h代码量(行):0行博客量(篇):1篇今天,上午学习,下午学习并开会。我了解到的知识点:1.了解了一些数据库的知识;2.了解了一些python的知识;3.了解了一些英语知识;5.了解了一些Javaweb的知识;4.了解了一些数学建模的知识;6.了解了一些计算机网络的知识;......
  • 2023.5.7
    1//11-62#include<iostream>3#include<fstream>4#include<string>5usingnamespacestd;6classDog7{8public:9Dog(){}10Dog(intage,intwei)11{12this->m_Age=age;13this->m_W......