/images/avatar.png

^_^

三维空间的刚体运动

内积与外积 内积 外积 定义 ^ 符号 欧氏变换 euclidean transform 单次欧氏变换 同一个向量在两个坐标系中的表示,坐标系的变换包括一次旋转和一次平移 旋转 R为旋转矩阵(ro

今天你也要来点cmake吗

前言 很早就想写cmake,但是一直懒得写 今天也随便写点cmake 官方对cmake的解释 CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform

FFT & NTT

前言 一篇没什么用的文章,记录一下FFT和NTT的板子 fft和ntt的原理参考FFT & NTT 概述 fft和ntt差不多,基础用法就是加速多项式乘法,

无聊的做题记录

数学公式 题目 题解 错排公式 Dn = floor(n!/e + 0.5) = (n - 1) * (Dn-1 + Dn-2) D1 = 0 , D2 = 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 //457ms/1000ms 488k/32768k #include "bits/stdc++.h" using namespace std; using ll = long long; const ll mod = 998244353; int main()

hhu_spider

hhu健康打卡脚本(返校版) 环境 必装环境 python, requests 推荐环境 anaconda, pycharm 功能说明 定时打卡、同时多人打卡、发邮件反馈打卡信息、失败重新打卡 (为什么

Python爬虫

urllib模块 不使用 requests模块 获得网页源码 1 2 3 4 import requests url = 'https://dyhgo.fun' response = requests.get(url) print(response.text) 带参数的url和UA伪装 1 2 3 4 5 6 7 8 9 10 11 12 #测试一下带

abc173

A - Payment 题解 1 2 3 4 5 6 7 8 9 10 11 12 #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int i=1000; while(i<n){ i+=1000; } cout<<i-n; return 0; } B - Judge Status Summary 题解 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

某不科学的暑假做题记录

简单思维 题目 题解 直接法,注意数组大小爆long long 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include<bits/stdc++.h> using ll = long long; const ll mod = 1e6+3; ll fac[mod+2]; int main(){ fac[0] = 1LL; fac[1] = 1LL; for(ll i=2;i<mod+2;i++){ fac[i] = i*fac[i-1]; fac[i] %=

abc172

A - Calc 题意 看题目 题解 1 2 3 4 5 6 7 8 9 #include<bits/stdc++.h> using namespace std; using ll = long long; int main(){ int a; cin>>a; cout<<a+a*a+a*a*a<<endl; return 0; } B - Minor Change 题意 看题目 题解 1 2 3 4 5 6 7 8 9 10 11 12 13 #include<bits/stdc++.h> using namespace std; using ll = long long;

树莓派入门

树莓派官网 树莓派4b图解 烧录系统 格式化SD卡 用格式化工具SDFormatter V4.0 烧录镜像 从官网下载最新的镜像 打开Win32DiskImage