摘要: 1 <!-- 文档类型为html --> 2 <!DOCTYPE html> 3 <html lang="en"> 4 <head> 5 <meta charset="UTF-8"> 6 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 7 阅读全文
posted @ 2023-05-01 23:54 96痴呆敲码 阅读(7) 评论(0) 推荐(0)
摘要: 依赖安装步骤 pom.xml文件右击->maven->重新加载项目 启动项目文件代码(ReggieApplication) package com.fugui.reggir; import lombok.extern.slf4j.Slf4j; import org.springframework.b 阅读全文
posted @ 2023-04-24 15:37 96痴呆敲码 阅读(117) 评论(0) 推荐(0)
摘要: 笔记仅为个人总结模板和理解,最近才开始总结,逐渐完善中。。。 快速幂: while (n) //n为多少次方{ if (n & 1) k = k * x % mod; n >>= 1; x = x * x % mod; } return k ; } 差分: for(int i=1;i<=n;i++) 阅读全文
posted @ 2023-04-03 16:52 96痴呆敲码 阅读(35) 评论(0) 推荐(0)
摘要: 1107: ZN的随机数 #include<bits/stdc++.h> using namespace std; typedef long long ll; int ans; int main() { ll n,m; while(cin>>n)//在while中赋值 { ans=0; bool a 阅读全文
posted @ 2023-04-03 09:49 96痴呆敲码 阅读(17) 评论(0) 推荐(0)
摘要: 无 阅读全文
posted @ 2023-03-27 08:20 96痴呆敲码 阅读(21) 评论(0) 推荐(0)
摘要: 题目描述 对于长度为 5 位的一个 01 串,每一位都可能是 0 或 1,一共有 32 种可能。它们的前几个是: 00000 00001 00010 00011 00100 请按从小到大的顺序输出这 32 种 01 串。 输入格式 本试题没有输入。 输出格式 输出 32 行,按从小到大的顺序每行一个 阅读全文
posted @ 2023-03-21 18:41 96痴呆敲码 阅读(23) 评论(0) 推荐(0)
摘要: 统计一下每种数位的数量,存在数组里,然后再来找就可以了,萌新代码比较难看,欢迎支持提建议(csdn博客https://blog.csdn.net/weixin_75172140) #include <bits/stdc++.h> using namespace std; int main() { i 阅读全文
posted @ 2023-03-21 14:00 96痴呆敲码 阅读(42) 评论(0) 推荐(0)
摘要: 这方法不能叫dps吧,只能说是递归?偷懒懒得想名字了(csdn博客https://blog.csdn.net/weixin_75172140) #include <bits/stdc++.h> using namespace std; int ans = 0; //种类// void dps(int 阅读全文
posted @ 2023-03-21 13:54 96痴呆敲码 阅读(20) 评论(0) 推荐(0)
摘要: 2015年简单题多点,找回了一点自信,2017还18简直噩梦 #include <bits/stdc++.h> using namespace std; int main() { int y, m, d, n; cin >> y >> m >> d >> n;//初始年,月,日// while (n 阅读全文
posted @ 2023-03-21 13:52 96痴呆敲码 阅读(23) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; bool num[9] ; int ans = 0; vector<int>v; void cul(double a, double b, double c, double d, double e, doub 阅读全文
posted @ 2023-03-21 13:51 96痴呆敲码 阅读(21) 评论(0) 推荐(0)