2022年5月10日

01背包空间优化

摘要: #pragma GCC optimize(2) #pragma GCC optimize(1) #include<bits/stdc++.h> typedef long long ll; typedef unsigned long long ull; const ull base=131; #def 阅读全文

posted @ 2022-05-10 15:11 zesure 阅读(48) 评论(0) 推荐(0)

2022年5月9日

codeforce 789 div2 b2

摘要: #pragma GCC optimize(2) #pragma GCC optimize(1) #include<bits/stdc++.h> typedef long long ll; typedef unsigned long long ull; const ull base=131; #def 阅读全文

posted @ 2022-05-09 11:14 zesure 阅读(39) 评论(0) 推荐(0)

2022年5月5日

欧拉筛板子

摘要: #pragma GCC optimize(2) #pragma GCC optimize(1) #include<bits/stdc++.h> typedef long long ll; typedef unsigned long long ull; const ull base=131; #def 阅读全文

posted @ 2022-05-05 15:27 zesure 阅读(35) 评论(0) 推荐(0)

2022年4月29日

Terse princess (贪心)

摘要: 原题链接:https://vjudge.csgrandeur.cn/problem/CodeForces-148C/origin #include<stdio.h> #include<math.h> #include<string.h> #include<ctype.h> #include<iost 阅读全文

posted @ 2022-04-29 10:39 zesure 阅读(51) 评论(0) 推荐(0)

2022年4月28日

A-candle(思维,枚举)

摘要: #include<stdio.h> #include<math.h> #include<string.h> #include<ctype.h> #include<iostream> #include<algorithm> #include<queue> #include<bitset> #inclu 阅读全文

posted @ 2022-04-28 15:28 zesure 阅读(33) 评论(0) 推荐(0)

2022年4月26日

B - Non-square Equation

摘要: #include<stdio.h> #include<math.h> #include<string.h> #include<ctype.h> #include<iostream> #include<algorithm> #include<queue> #include<bitset> #inclu 阅读全文

posted @ 2022-04-26 14:48 zesure 阅读(29) 评论(0) 推荐(0)

2022年4月24日

代码源div1 每日一题 二分答案

摘要: #include<stdio.h> #include<math.h> #include<string.h> #include<ctype.h> #include<iostream> #include<algorithm> #include<queue> #include<bitset> typede 阅读全文

posted @ 2022-04-24 18:27 zesure 阅读(43) 评论(0) 推荐(0)

codeforce C. Boboniu and Bit Operations

摘要: #include<stdio.h> #include<math.h> #include<string.h> #include<ctype.h> #include<iostream> #include<algorithm> #include<queue> #include<bitset> typede 阅读全文

posted @ 2022-04-24 13:54 zesure 阅读(33) 评论(0) 推荐(0)

2022年4月23日

Educational Codeforces Round 127 C - Dolce Vita

摘要: #include<stdio.h> #include<math.h> #include<string.h> #include<ctype.h> #include<iostream> #include<algorithm> #include<queue> #include<bitset> typede 阅读全文

posted @ 2022-04-23 13:35 zesure 阅读(51) 评论(0) 推荐(0)

2022年4月22日

欧拉练习-2022/4/16

摘要: 一开始是想二分做的,但实际上打一下表会发现欧拉函数不是单增性质 同时我们也可以发现当一个数是素数时,后面的非素数欧拉函数都不超过这个素数的欧拉函数,所以只需要线性塞找一下素数就好 #include<iostream> #include<cstdio> #include<cstring> #inclu 阅读全文

posted @ 2022-04-22 18:34 zesure 阅读(52) 评论(0) 推荐(0)

导航