前端作业之完成学校官方网页的制作

news2024/10/6 4:08:27

 (未使用框架,纯html和css制作)

注:由本人技术限制,代码复用性极差

代码

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>xxx大学</title>
    <style>
       
        .head_one{
            border-radius: 20px;

        }
        span{
            vertical-align: middle;
        }
        .top1{
            width: 100%;
            height: 25.67px;
            background-color: #c32929;
        }
        /* 回到首页 */
        a{
            text-decoration: none;
        }
        .a{
            vertical-align: text-bottom;
            font-size: smaller;
            color: aliceblue;

        }
        .b{
            display:inline-block;
            float: right;
            font-size: smaller;
            vertical-align: text-bottom;
            color: aliceblue;
        }
        .top2{
            height: 160px;
            width: 100%;
            background-color: #c32929;
            vertical-align: middle;
        }
        .c{
            width: 322px;
            height: 90px;
            margin-left: 22px;
            margin-top: 32px;
        }
        .d{
            width: 240px;
            height: 34px;
            /* margin-left: 820px; */
            border: 0;
            padding-left: 10px;
            outline: none;
            line-height: 28px;
            font-size: 12px;
            position: absolute;
            left: 1220px;
            top: 100px;
            display: block;
        }
        .e{
            width: 42px;
            height: 34px;
            position: absolute;
            left: 250px;
            top: 0px;
            background-image: url(./学校门互网站素材/搜索图标.png);
            border: 0px;
            background-color: transparent;
            outline: none;
            position: absolute;
            left: 1460px;
            top: 100px;
            display: block;
        }
        .f{
            display: flex;
            width: 100%;
            height: 45px;
            justify-content: center;
            position: relative;
            top: 0;
            left: 0;
        }
        .f>ul{
            position: absolute;
            top:auto;
        }
        .f1{
            width: 109px;
            height: 45px;
            position: relative;
            top: 0;
            left: 0;
        }

        .f1>a{
            color: #990100;
            position: absolute;
            top: 12px;
            left: 22px;
        }
        .f2{
            display: none; 
        }
        /* ul{
            display: none;
        } */
        .f1:hover{
            background-color: #ff7f00;
            
        }
        .f1:hover.f2{
            display: inline-block;
            background-color: #990100;
        }
        .g1{
            width: 100%;
            height: 280px;
        }
        .main{
            position: relative;
            width: 100%;
            height: 450px;
            overflow: hidden;
            border-radius: 5px;
        }
        .item{
            position: absolute;
            top: 0;
            width: 100%;
            height: 100%;
            transition: all 0.5s;
            background-size: cover;
        }
        .item1{
           background-image: url(./img/1.jpg);
        }
        .item2{
            background-image: url(./img/4.jpg);
            left: 100%;
        }
        .item3{
            background-image: url(./img/11.jpg);
            left: 200%;
        }
        input{
            position: relative;
            z-index: 100;
            display: none;
        }
        .select{
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 10px;
            z-index: 1;
            display: flex;
            justify-content: space-between;
            align-items: center;         
        }
        .select>label{
            width: 10px;
            height: 10px;
            background-color: rgb(255, 255, 255);
            border-radius: 50%;
            cursor: pointer;
            border: 1.5px solid white;
        }
        .main input:nth-of-type(1):checked ~ .select label:nth-of-type(1){
            background-color: rgb(26, 26, 26);
        }
        .main input:nth-of-type(2):checked ~ .select label:nth-of-type(2){
            background-color: rgb(26, 26, 26);
        }
        .main input:nth-of-type(3):checked ~ .select label:nth-of-type(3){
            background-color: rgb(26, 26, 26);
        }
        .main input:nth-of-type(1):checked ~ .item{
            transform: translateX(0);
        }
        .main input:nth-of-type(2):checked ~ .item{
            transform: translateX(-100%);
        }
        .main input:nth-of-type(3):checked ~ .item{
            transform: translateX(-200%);
        }
        .h{
            
            background-color: #dddddd;
            width: 100%;
            height: 294px;
            position: relative;
            top: 0;
            left: 0;
        }
        .h0{
            display: flex;
            width: 80%;
            height: 290px;
            position: absolute;
            left: 20%;
        }
        /* .h1{
            background-color: #990100;
        } */
        .h2_1{
            width: 398px;
            height: 40px;
            font-size: 20px;
            color: #990100;
            /* background-color: gold; */
        }
        .h1_1{
            /* background-color: aquamarine; */
            width: 660px;
            height: 40px;
            font-size: 20px;
            color: #990100;
            /* display: table-cell;
            text-align: center; */
            /* border-bottom: 1px #990100 solid; */
            /* text-align: center; */
        }
        .h1-1-1{
            margin: 0;
            float: left;
            display: block;
            list-style-type: none;
            /* flex-direction: column; */
            
        }
        .h1-1-1 li{
            padding-top: 10px;
        }
        .h1_1_1{
            margin: 0;
            float: right;
            display: block;
            list-style-type: none;
            /* flex-direction: column; */
        }
        .h1_1_1 li{
            padding-top: 10px;
        }

        li{
            list-style-type: none;
        }
        .h2-2-2{
            float: left;
        }
        .h2_2_1 li{
            padding-bottom:15px;
            padding-top: 2px;
        }
        .h2_2_2>a{
            color: black;
        }
        .x {
        width: 48px;
        text-align: center;
        color: #fff;
        background: #990100;
        line-height: 16px;
        font-size: 12px;
        display: block;
         }
        .s {
        width: 48px;
        text-align: center;
        color: #4E4E4E;
        line-height: 26px;
        font-size: 18px;
        display: block;
        background: #F5F5F6;
         }
         .h2-2-2-2{
            float: right;
         }
         .h2-2-2-1{
            float: left;
         }
         .h2-2-1-1{
            width: 398px;
            margin-top: 0px;
            float: left;
         }
         .i{
            width: 1004px;
            /* height: auto; */
            margin: 0 auto;
         }
         .i1{
            width: 1004px;
            height: 40px;
            line-height: 10px;
            font-size: 20px;
            color: #990100;
            border-bottom: 1px #990100 solid;
         }
         .i1-1{
            float: left;
         }
         .i1-2{
            float: right;
         }
         .j{
            width: 1004px;
            height: 300px;
            display :grid;
            grid-template-columns:repeat(3,1fr) ;
            grid-template-rows: repeat(2,1fr);
            
         }
         .j1{
            width: 320px;
            height: 136px;
            background-color: #990100;
            margin: 0;
            display: flex;
         }
         /* .j1-1{
            width: 316px;
            height: 135px;
            margin-right: 28px;
            margin-bottom: 20px;
            background: #dddddd;
            float: left;
         } */
         .k{
            width: 1130px;
            height: 210px;
            margin: 0 auto 30px;
            display: grid;
            grid-template-columns:repeat(8,1fr) ;
            /*  设置当前网格有多少行 */
            grid-template-rows: repeat(2,1fr);

         }
         .k1{
            height: 100px;
            width: 135px;
            /* background-color: #990100; */
         }
        .l{
            width: 100%;
            height: 255px;
            background: #990100;
        }
        .l1{
            width: 1004px;
            height: 255px;
            margin: 0 auto;
            background: #ff7f00;
            text-align: center;
            line-height: 120px;

        }
        
    </style>
</head>
<body>
    <div class="head_one">
        <div class="top1">
            &nbsp&nbsp&nbsp&nbsp
            <a class="a" href="">回到首页</a>
            <span>|</span>
            <a class="a" href="">English</a>
            <div class="b"> 
            <span >本站支持IPv6</span>&nbsp&nbsp&nbsp&nbsp&nbsp
            </div>
        </div>
        <div class="top2">
            <img class="c" src="./学校门互网站素材/学校名称.png" alt="">
            <input class="d" type="search">
            <input class="e" type="submit" value="  ">
        </div>
        <div class="f">
            <div class="f1"><a href="">首页</a></div>
            <div class="f1"><a href="">学校概况</a></div>
            <div class="f1"><a href="">院部设置</a></div>
            <div class="f1"><a href="">组织机构</a></div>
            <div class="f1"><a href="">人才培养</a></div>
            <div class="f1"><a href="">科学研究</a></div>
            <div class="f1"><a href="">学科建设</a></div>
            <div class="f1"><a href="">师资力量</a></div>
            <div class="f1"><a href="">招生就业</a></div>
            <div class="f1"><a href="">校园生活</a></div>
        </div>
        <ul class="f2">
            <li><a href="">学校简介</a></li>
            <li><a href="">学校章程</a></li>
            <li><a href="">历史沿革</a></li>
            <li><a href="">学校领导</a></li>
            <li><a href="">组织机构</a></li>
            <li><a href="">学校地图</a></li>
        </ul>
        
         <div class="main">
            <!-- 三个单选按钮,先默认选择第一个 -->
            <input type="radio" name="choose" id="choose1" checked>
            <input type="radio" name="choose" id="choose2">
            <input type="radio" name="choose" id="choose3">      
            <!-- 放三张图片,用背景图片表示 -->
            <div class="item item1"><a href=""><img width="100%" height="450px" src="./学校门互网站素材/永远跟党走.jpg" alt=""></a></div>
            <div class="item item2"><a href=""><img width="100%" height="450px" src="./学校门互网站素材/永远跟党走.jpg" alt=""></a></div>
            <div class="item item3"><a href=""><img width="100%" height="450px" src="./学校门互网站素材/永远跟党走.jpg" alt=""></a></div>
            <!-- 三个label标签 -->
             <span class="select">
                 <label for="choose1"></label>
                 <label for="choose2"></label>
                 <label for="choose3"></label>
             </span>
        </div>
        
        <div width="100%" height="150px">&nbsp;<br>&nbsp;</div>
        <div class="h">
            <div class="h0">
            <div class="h1">
                <div class="h1_1">
                    <ul class="h1-1-1"><li>奋斗新征程  建工新时代</li></ul>
                    <ul class="h1_1_1"><li><a href="">+Mare</a></li></ul></div>
                    <hr>
                    <ul class="h2-2-2"><li><a href=""><img src="./学校门互网站素材/不忘新征程.png" width="269px" height="200px" alt=""></a></li></ul>
                    <ul class="h2_2_1">
                        <li class="h2_2_2"><a href="">>榜样力量之六十一:让科研更&ZeroWidthSpace;有温度...</a>&nbsp;&nbsp;<span style="font-size:12px;">2024-03-07</span></li>
                        <li class="h2_2_2"><a href="">>榜样力量之六十一:让科研更&ZeroWidthSpace;有温度...</a>&nbsp;&nbsp;<span style="font-size:12px;">2024-03-07</span></li>
                        <li class="h2_2_2"><a href="">>榜样力量之六十一:让科研更&ZeroWidthSpace;有温度...</a>&nbsp;&nbsp;<span style="font-size:12px;">2024-03-07</span></li>
                        <li class="h2_2_2"><a href="">>榜样力量之六十一:让科研更&ZeroWidthSpace;有温度...</a>&nbsp;&nbsp;<span style="font-size:12px;">2024-03-07</span></li>
                        <li class="h2_2_2"><a href="">>榜样力量之六十一:让科研更&ZeroWidthSpace;有温度...</a>&nbsp;&nbsp;<span style="font-size:12px;">2024-03-07</span></li>
                        <li class="h2_2_2"><a href="">>榜样力量之六十一:让科研更&ZeroWidthSpace;有温度...</a>&nbsp;&nbsp;<span style="font-size:12px;">2024-03-07</span></li>
                    </ul>
            </div>
            <div class="h2">
                <div class="h2_1">
                <ul class="h1-1-1"><li>通知公告</li></ul>
                <ul class="h1_1_1"><li><a href="">+Mare</a></li></ul></div>
                
                <hr>
            <div class="h2-2-1-1">
                <ul class="h2-2-2-1">
                    <li>
                        <span class="s">06</span>
                        <span class="x">2024.03</span>
                    </li>
                </ul>
                <ul class="h2-2-2-2">
                    <li>
                        <a href="">关于学生体质健康测试免测申请通知</a>
                    </li>
                </ul>
            </div>
            
            <div class="h2-2-1-1">
                 <ul class="h2-2-2-1">
                    <li>
                        <span class="s">17</span>
                        <span class="x">2023.03</span>
                    </li>
                </ul> 
                 <ul class="h2-2-2-2">
                    <li>
                        <a href="">关于学生体质健康测试免测申请通知</a>
                    </li>
                </ul>
            </div>

            <div class="h2-2-1-1">
                <ul class="h2-2-2-1">
                   <li>
                       <span class="s">19</span>
                       <span class="x">2022.03</span>
                   </li>
               </ul> 
                <ul class="h2-2-2-2">
                   <li>
                       <a href="">关于学生体质健康测试免测申请通知</a>
                   </li>
               </ul>
           </div>
            </div>
            </div>
        </div>
            
        <div width="100%" height="100px">&nbsp;<br>&nbsp;</div>
        <div class="i">
            <div class="i1">
                <ul class="i1-1"><li>讲座报告</li></ul>
                <ul class="i1-2"><li><a href="">+Mare&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></li></ul>
            </div>
            <!-- <hr> -->
        <div class="j">
            <div class="j1">
                <div class="j1-1">
                    <img src="./学校门互网站素材/人物.png" alt="" width="99px" height="136px">
                </div>
                <div class="j1-1">
                    <ul>
                        <li>科技大讲堂</li>
                        <li>报告人:张三</li>
                        <li>时间:3月15日(周五)16:00</li>
                        <li>地点:图书馆</li>
                    </ul>
                </div>
            </div>
            <div class="j1">
                <div class="j1-1">
                    <img src="./学校门互网站素材/人物.png" alt="" width="99px" height="136px">
                </div>
                <div class="j1-1">
                    <ul>
                        <li>科技大讲堂</li>
                        <li>报告人:张三</li>
                        <li>时间:3月15日(周五)16:00</li>
                        <li>地点:图书馆</li>
                    </ul>
                </div>
            </div>
            <div class="j1">
                <div class="j1-1">
                    <img src="./学校门互网站素材/人物.png" alt="" width="99px" height="136px">
                </div>
                <div class="j1-1">
                    <ul>
                        <li>科技大讲堂</li>
                        <li>报告人:张三</li>
                        <li>时间:3月15日(周五)16:00</li>
                        <li>地点:图书馆</li>
                    </ul>
                </div>
            </div>
            <div class="j1">
                <div class="j1-1">
                    <img src="./学校门互网站素材/人物.png" alt="" width="99px" height="136px">
                </div>
                <div class="j1-1">
                    <ul>
                        <li>科技大讲堂</li>
                        <li>报告人:张三</li>
                        <li>时间:3月15日(周五)16:00</li>
                        <li>地点:图书馆</li>
                    </ul>
                </div>
            </div>
            <div class="j1">
                <div class="j1-1">
                    <img src="./学校门互网站素材/人物.png" alt="" width="99px" height="136px">
                </div>
                <div class="j1-1">
                    <ul>
                        <li>科技大讲堂</li>
                        <li>报告人:张三</li>
                        <li>时间:3月15日(周五)16:00</li>
                        <li>地点:图书馆</li>
                    </ul>
                </div>
            </div>
            <div class="j1">
                <div class="j1-1">
                    <img src="./学校门互网站素材/人物.png" alt="" width="99px" height="136px">
                </div>
                <div class="j1-1">
                    <ul>
                        <li>科技大讲堂</li>
                        <li>报告人:张三</li>
                        <li>时间:3月15日(周五)16:00</li>
                        <li>地点:图书馆</li>
                    </ul>
                </div>
            </div>
        </div>
        </div>

        <div class="k">
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>教务在线</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>研究生教育</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>图书资源</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>财务平台</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>信息公开</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>校园邮箱</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>校园一卡通</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>教务在线</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>研究生教育</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>图书资源</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>财务平台</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>信息公开</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>校园邮箱</a></div>
            <div class="k1"><a href=""><div><img  src="./学校门互网站素材/邮箱图片.png" alt="" width="88px" height="60px"></div>校园一卡通</a></div>
        </div>
    <div class="l">
        <div class="l1"> 
                <ul>
                <li>地址:中国</li>
                <li>联系我们:xxx@.com</li>
                </ul>
        </div>
    </div>
    </div>
    
</body>
</html>

结果


不嫌弃的点点关注,点点赞 ଘ(੭ˊᵕˋ)੭* ੈ✩‧

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1566629.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

java框架学习——注解/元注解概述及使用案例

前言&#xff1a; 整理下学习笔记&#xff0c;打好基础&#xff0c;daydayup!!! 注解 注解&#xff08;Annotation&#xff09;是java代码里的特殊标记。作用为&#xff1a;让其他程序根据注解信息来决定怎么执行该程序&#xff0c;如&#xff1a;Override,Test等。同时可以根…

换到idf 5.0版本后报错 jsmn could not be found

原因&#xff1a; idf5.0去掉了部分组件&#xff0c;包括jsmn&#xff0c;工程中adf又用到了这个组件&#xff0c;所以会报错。 解决办法&#xff1a; 升级adf到新版本即可。

从C到C++过渡知识 中(为什么C++支持函数重载,而C不支持函数重载)

感谢大家的阅读&#xff0c;这篇文章我们接着了解C对于C的一些优化。 函数重载 了解C这个特殊用法之前&#xff0c;我们先考虑一个问题&#xff0c;如何交换两个整数。相信大家一定信手捏来&#xff0c;实参传地址而非变量&#xff0c;于是可以写出如下函数。 void Swap(int*…

无极低码:免费版部署操作指南

无极低码 :https://wheart.cn 无极低码:免费试用版部署过程参照: 无极低码部署版操作指南 https://wheart.cn/so/home?m=index&id=ad614930-d936-11ee-8489-525400be6368 ” 。 下载完解压成后进行部署

Codeforces Round 837 (Div. 2) C. Hossam and Trainees

题目 #include <bits/stdc.h> using namespace std; #define int long long #define pb push_back #define fi first #define se second #define lson p << 1 #define rson p << 1 | 1 const int maxn 1e6 5, inf 1e9, maxm 4e4 5; const int N sqrt(1…

硬件RAID横评(上)

正文共&#xff1a;3857字 50图&#xff0c;预估阅读时间&#xff1a;12 分钟 之前误打误撞测试了软件RAID&#xff08;Windows下软RAID测试&#xff09;&#xff0c;发现性能基本上是线性的&#xff0c;而据说硬件RAID性能比这个高的很。那本文将就硬件RAID展开测试&#xff0…

【leetcode】 c++ 数字全排列, test ok

1. 问题 2. 思路 3. 代码实现 #if 0 class Solution { private:vector<int> path; // 满足条件的一个结果 vector<vector<int>> res; // 结果集 void backtracking(vector<int> nums, vector<bool> used){// 若path的个数和nums个数相等,说明…

C++中的vector与C语言中的数组的区别

C中的vector和C语言中的数组在很多方面都有所不同&#xff0c;以下是它们之间的一些主要区别&#xff1a; 大小可变性&#xff1a; vector是C标准模板库&#xff08;STL&#xff09;提供的动态数组容器&#xff0c;它的大小可以动态增长或减少。这意味着你可以在运行时添加或删…

JavaScript高级 —— 学习(三)

目录 一、深入面向对象 &#xff08;一&#xff09;面向对象介绍 &#xff08;二&#xff09;面向对象编程 &#xff08;oop&#xff09; 1.面向对象编程介绍 2.面向对象编程优点 3.面向对象的特征 4.和面向过程编程对比 二、构造函数 &#xff08;一&#xff09;介绍…

STM32 移植 LVGL -- 教程图解

&#xff08; 编辑状态中&#xff0c;已完成80%&#xff0c;估计清明假期后完成更新 ) 移植效果&#xff0c;先睹为快&#xff1a; 目录 一、LVGL 简述 二、准备一个STM32的工程 三、LVGL 官方下载 四、裁剪 源文件 五、添加 源文件 六、注册 显示 七、注册 触摸输入 八…

014——超声波模块驱动开发Plus(基于I.MX6uLL、SR04和poll机制)

目录 一、基础知识 二、分析为什么打印会影响中断 三、驱动程序 四、应用程序 五、验证及其它 一、基础知识 013——超声波模块驱动开发&#xff08;基于I.MX6uLL与SR04&#xff09;-CSDN博客 二、分析为什么打印会影响中断 asmlinkage __visible int printk(const ch…

如何在本地搭建集成大语言模型Llama 2的聊天机器人并实现无公网IP远程访问

文章目录 1. 拉取相关的Docker镜像2. 运行Ollama 镜像3. 运行Chatbot Ollama镜像4. 本地访问5. 群晖安装Cpolar6. 配置公网地址7. 公网访问8. 固定公网地址 随着ChatGPT 和open Sora 的热度剧增,大语言模型时代,开启了AI新篇章,大语言模型的应用非常广泛&#xff0c;包括聊天机…

Python字典操作

假设我们有一个学生信息数据库&#xff0c;其中存储了每个学生的姓名、年龄、性别和成绩。我们可以使用字典来表示每个学生的信息&#xff0c;并将所有学生存储在一个字典列表中。 设计者&#xff1a;ISDF 版本&#xff1a;v1.0 日期&#xff1a;03/29/2024# 定义学生信息字典列…

Ruby 之交租阶段信息生成

题目 我看了一下&#xff0c;这个题目应该不是什么机密&#xff0c;所以先放上来了。大概意思是根据合同信息生成交租阶段信息。 解答 要求是要使用 Ruby 生成交租阶段信息&#xff0c;由于时间比较仓促&#xff0c;变量名那些就用得随意了些。要点主要有下面这些&#xff1a…

高级IO/多路转接-select/poll(1)

概念背景 IO的本质就是输入输出 刚开始学网络的时候&#xff0c;我们简单的写过一些网络服务&#xff0c;其中用到了read&#xff0c;write这样的接口&#xff0c;当时我们用的就是基础IO&#xff0c;高级IO主要就是效率问题。 我们在应用层调用read&&write的时候&…

八、从0开始卷出一个新项目之瑞萨RZN2L 3.1.7 debug调试和下载

目录 3.1.7 debug调试和下载 3.1.7.1 官方介绍 3.1.7.2 e2studio debug变量实时监控 3.1.7.3 Iar debug变量实时监控 3.1.7.4 debug经验总结 八、从0开始卷出一个新项目之瑞萨RZN2L 3.1.7 debug调试和下载 3.1.7 debug调试和下载 3.1.7.1 官方介绍 官网&#xff1a; d…

day02-java类型转换和运算符

1.温故而知新 整形 byte 1字节 8位 short 2字节 16位 int 4字节 32位 long 8字节 64位 内存存储时 X符号位 byte X0000000 short X0000000 00000000 int X0000000 00000000 00000000 long X0000000 00000000 00000000 00000000 long longNum 10000L;//l或者L 查看源码最大值…

数据库之迁移常规操作(Mysql篇)

借鉴的文章 》》https://blog.csdn.net/weixin_65685029/article/details/132413482?ops_request_misc&request_id&biz_id102&utm_termmysql备份与还原&utm_mediumdistribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-1-132413482.nonecase…

C语言 | Leetcode C语言题解之第6题Z字形变换

题目&#xff1a; 题解&#xff1a; char * convert(char * s, int numRows){int n strlen(s), r numRows;if (r 1 || r > n) {return s;}int t r * 2 - 2;char * ans (char *)malloc(sizeof(char) * (n 1));int pos 0;for (int i 0; i < r; i) { // 枚举矩阵的…

语言模型进化史(下)

由于篇幅原因&#xff0c;本文分为上下两篇&#xff0c;上篇主要讲解语言模型从朴素语言模型到基于神经网络的语言模型&#xff0c;下篇主要讲解现代大语言模型以及基于指令微调的LLM。文章来源是&#xff1a;https://www.numind.ai/blog/what-are-large-language-models 四、现…