摘要: ![image](https://img2024.cnblogs.com/blog/3247348/202402/3247348-20240218222102868-1519340760.png) 阅读全文
posted @ 2024-02-18 22:21 E/Y/E 阅读(274) 评论(2) 推荐(0)
摘要: 点击查看代码 #include<iostream> #include <cstring> using namespace std; const int N=200003,null=0x3f3f3f3f; int h[N]; int find(int x){ int k=(x%N+N)%N;//索引 阅读全文
posted @ 2023-12-07 15:18 E/Y/E 阅读(5) 评论(0) 推荐(0)
摘要: 1 2 点击查看sql代码 create database kob; use kob; create table user(id int,username varchar(100),password varchar(100)); mysql> show tables; + + | Tables_in 阅读全文
posted @ 2023-12-04 20:45 E/Y/E 阅读(31) 评论(0) 推荐(0)
摘要: private static void sort(int[] w,int l,int r){//冒泡排序要比较n二层循环*(n-1)次,第一层循环 for(int i=r;i>l;i--){ for(int j=l;j<i;j++){ if(w[j]>w[j+1]) { int t=w[j]; w[ 阅读全文
posted @ 2023-11-28 16:22 E/Y/E 阅读(12) 评论(0) 推荐(0)
摘要: 1进入同一个格子就会平局 下面就要防止 g[this.rows-1-r][this.cols-1-c] shake.js如果不合法蛇就应该死亡,死亡就换上白色 阅读全文
posted @ 2023-11-28 11:20 E/Y/E 阅读(6) 评论(0) 推荐(0)
摘要: 1创建一个类实现调用就会动画60帧给他 2requestAnimationFrame(step) 3js里面in调用下标,of值 3什么时候import要加{},只有vue里面defult,每一个文件只有一个defult,就像java每一个文件只有一个public 4import {ref} fro 阅读全文
posted @ 2023-11-27 12:31 E/Y/E 阅读(7) 评论(0) 推荐(0)
摘要: 点击查看代码 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt( 阅读全文
posted @ 2023-11-26 21:54 E/Y/E 阅读(17) 评论(0) 推荐(0)
摘要: 点击导航栏就跳转到我们的网址,网址用路由跳转到我们的每一个页面组件 注意 1一般vue命名两个字母大写 2style加scope可以不会影响我们组件以外的部分 js 3index.js加入我们写的路劲 4router代表传到这个路劲path我调用哪个页面name,组件是哪个component 5注意 阅读全文
posted @ 2023-11-25 21:30 E/Y/E 阅读(13) 评论(0) 推荐(0)
摘要: 1vue换壁纸 <style> body{ background-image: url("@/assets/background.jpg"); } </style> 2看看我router的index.js 点击查看代码 > import { createRouter, createWebHistor 阅读全文
posted @ 2023-11-25 17:31 E/Y/E 阅读(14) 评论(0) 推荐(0)
摘要: ` #include using namespace std; const int N=100010; //head头结点下标 //e[i]值 //ne[i]下一个位置的地址 //idx当前已经用到了哪个点 int head, e[N],ne[N],idx; void init(){ head=-1 阅读全文
posted @ 2023-11-05 17:06 E/Y/E 阅读(11) 评论(0) 推荐(0)