自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 资源 (1)
  • 问答 (2)
  • 收藏
  • 关注

原创 禁止运行脚本about_Execution_Policies【问题解决】

禁止运行脚本about_Execution_Policies【问题解决】

2022-10-04 21:26:00 529

转载 AndroidStudio报setGravity() shouldn‘t be called on text toasts, the values won‘t be used

AndroidStudio报setGravity() shouldn’t be called on text toasts, the values won’t be used描述:运行程序时报setGravity() shouldn’t be called on text toasts, the values won’t be used解决:targetSdkVersion 30及以上版本不适用,设置成更低版本就可以了...

2021-05-09 11:23:31 3898

原创 2019ACM-ICPC沈阳网络赛-K-Guanguan's Happy water

Guanguan's Happy water4000ms262144KRather than drinking happy water, Guanguan loves storing happy water. So he bought a refrigerator and storeda_iai​bottles of cola into it every day. When the...

2019-09-14 17:26:00 46

原创 2019ACM-ICPC沈阳网络赛-C-Dawn-K's water(完全背包模板题)

Dawn-K's water1000ms262144KDawn-K recently discovered a very magical phenomenon in the supermarket of Northeastern University: The large package is not necessarily more expensive than the small ...

2019-09-14 17:17:00 45

原创 2019ACM-ICPC徐州网络赛-K- Center(简单贪心+map)

K- Center2000ms 262144KYou are given a point set withnnpoints on the 2D-plane, your task is to find the smallest number of points you need to add to the point set, so that all the points in ...

2019-09-07 20:30:00 24

原创 2019ACM-ICPC徐州网络赛-E-XKC's basketball team(set+贪心)

E-XKC's basketball teamXKC , the captain of the basketball team , is directing a train ofnnteam members. He makes all members stand in a row , and numbers them1 \cdots n1⋯nfrom left to right....

2019-09-07 19:12:00 27

原创 Greater New York Region 2014-The Queen’s Super-circular Patio(计算几何)

The Queen’s Super-circular Patio时间限制:1 Sec内存限制:128 MB题目描述The queen wishes to build a patio paved with of a circular center stone surrounded by circular rings of circular stones. All the stone...

2019-09-06 16:40:00 41

原创 2019福建省赛—Complier(简单字符串处理)

Complier时间限制:1 Sec内存限制:128 MB题目描述HIT_TOM gets high score in the course《Compiling Principle》. So He wants to examine your knowledge of compilation principles.He will give you some code fragmen...

2019-09-06 14:49:00 25

原创 组合数

1 const ll mod=1e9+7; 2 ll qpow(ll a,ll b) 3 { 4 ll c=1; 5 while(b) 6 { 7 if(b&1)c=ll(c*a)%mod; 8 a=ll(a*a)%mod; 9 b>>=1;10 }11 retur...

2019-09-05 20:22:00 35

原创 NAIPC 2019-It’s a Mod, Mod, Mod, Mod World(类欧几里德模板)

It’s a Mod, Mod, Mod, Mod World时间限制:2 Sec内存限制:128 MB题目描述You are given multiple problems with three integers p, q, and n. Find. That is, the first n multiples of p, modulo q, summed. Note tha...

2019-09-05 19:16:00 27

原创 BAPC 2018 Preliminaries-Isomorphic Inversion(字符串哈希)

Isomorphic Inversion时间限制:1 Sec内存限制:128 MB题目描述Let s be a given string of up to 106digits. Find the maximal k for which it is possible to partition s into k consecutive contiguous substrings, ...

2019-09-03 11:00:00 43

原创 JAG Asia 2016-Similarity of Subtrees(BFS+哈希)

Similarity of Subtrees时间限制:1 Sec内存限制:128 MB题目描述Define the depth of a node in a rooted tree by applying the following rules recursively:·The depth of a root node is 0.·The depths of child node...

2019-09-02 21:07:00 57

原创 2019ACM-ICPC南京网络赛Holy Grail (SPFA / Floyd 模板题)

Holy Grail限制1000 ms256 MBAs the current heir of a wizarding family with a long history,unfortunately, you fifind yourselfforced to participate in the cruel Holy Grail War which has a reincarnati...

2019-09-01 19:58:00 19

原创 2019ACM-ICPC南京网络赛Greedy Sequence

Greedy Sequence限制5000 ms256 MBYou're given a permutation a of length n (1 ≤ n ≤ 105).For each i ∈ [1, n], construct a sequence si by the following rules:1. si[1] = i;2. The length of si is n, ...

2019-09-01 19:53:00 21

原创 快速输入输出

1 //输入 2 template<class T> 3 inline void read(T&x) 4 { 5 T ans=0,f=1; 6 char ch=getchar(); 7 while(ch>'9'||ch<'0') 8 { 9 if(ch=='-')10 f...

2019-08-26 09:55:00 26

原创 2019HDU多校训练第七场J-Just Repeat

J: Just Repeat时间限制:2 Sec内存限制:128 MB题目描述When Cuber QQ was chatting happily in a QQ group one day, he accidentally noticed that there was a counterfeit of him, who stole his avatar and mimicked...

2019-08-23 10:23:00 31

原创 JAG Asia 2017 C-----Prime-Factor Prime(素数区间筛)

C: Prime-Factor Prime时间限制:1 Sec内存限制:128 MB题目描述A positive integer is called a "prime-factor prime" when the number of its prime factors is prime. For example, 12 is a prime-factor prime becau...

2019-08-20 22:21:00 17

原创 2019HDU多校训练第五场1007-permutation 2

permutation 2Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Problem DescriptionYou are given three positive integersN,x,y.Please calculate how many permutati...

2019-08-05 20:05:00 22

原创 2019牛客暑期多校训练营(第六场)D-Move

[题目大意]n个物品及其体积,用k个相同的箱子装,求能装下这n个物品的箱子的最小容积。对于一个箱子,每次都先装能装下的最大的物品,不能满足则开始装下一个箱子。[思路]ans = max ( vol [i] , ceil(sum ( vol [i]] ) / k)) ,while(ans++)直到能装下所有物品。[代码] 1 #include<bits/stdc++.h&...

2019-08-05 09:23:00 31

原创 扶桑号战列舰

扶桑号战列舰时间限制:1 Sec内存限制:128 MBSpecial Judge题目描述众所周知,一战过后,在世界列强建造超无畏级战列舰的竞争之中,旧日本海军根据“个舰优越主义”,建造了扶桑级战列舰,完工时为当时世界上武装最为强大的舰只。同时,扶桑号战列舰也是舰岛最为科幻的战列舰。当然,要建造这样的舰船,科技水平是必须的。同样众所周知的是,德意志科学技术天下第一,所以IJN...

2019-08-05 09:11:00 72

原创 2019牛客暑期多校训练营(第六场)B-Shorten IPv6 Address

[题目大意]给你n个128位二进制IP地址,输出压缩后的最短的IP地址,如果长度相同,输出字典序最小的那一个。压缩规则:每16位二进制数为一个域,例如0000000110001111为一个域(压缩后相邻两个域之间用 “:” 分隔开),然后将四位二进制数转换成一位16进制数,如0000000110001111变成01af,其中每个域前导的0要去掉,如果这个域值为0,则用零表示。然后连续两个...

2019-08-04 16:28:00 29

原创 2018焦作网络赛G-Give Candies

G: Give Candies时间限制:1 Sec内存限制:128 MB题目描述There are N children in kindergarten. Miss Li bought them N candies。To make the process more interesting, Miss Li comes up with the rule: All the chil...

2019-08-03 10:16:00 17

原创 2018焦作网络赛B-Mathematical Curse

B: Mathematical Curse时间限制:1 Sec内存限制:128 MB题目描述A prince of the Science Continent was imprisoned in a castle because of his contempt for mathematics when he was young, and was entangled in some...

2019-08-03 09:42:00 16

原创 十进制快速幂

十进制快速幂例:求a^b%mod,(a<=10,b<=1e100000,mod=1e9+7)说明这时候 long long是存不下b的,但是可以用字符数组存;举个简单例子,求 2^2345;可以依次求2^2 -> (2^2)^10=2^20 -> (2^20)^3=2^23 -> (2^23)^10=2^230 -> (2^230)^...

2019-08-02 19:05:00 17

原创 2019HDU多校训练第四场G-Just an Old Puzzle

Just an Old Puzzle时间限制:1 Sec内存限制:128 MB题目描述You are given a 4 × 4 grid, which consists of 15 number cells and an empty cell.All numbers are unique and ranged from 1 to 15.In this board, the ce...

2019-08-01 21:47:00 23

apaas前端demo

apaas前端demo

2023-05-18

apaas maven私服仓库

私服仓库

2022-10-11

JDK 11 API中文帮助文档

JDK 11 API中文帮助文档,免费下载

2022-07-04

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除