yawentan
yawentan
全部文章
分类
acm数论基础(8)
dp入门(2)
java(1)
力扣周赛记录(1)
数学期望(6)
神经网络(2)
归档
标签
去牛客网
登录
/
注册
yawentan的博客
今天不学习,明天变垃圾
全部文章
(共20篇)
E - Leading and Trailing Light oj 1282
讲道理应该算一道水题; 但是因为有个东西不知道,导致做不出; 求n的k次方前面3位数和后面三位数; 后面三位数用快速幂求; 前面三位数可以用 n^k=x*10^y; k*log10(n)=log10(x)+y; 又因为y=n^k的位数; 所以 log10(x)=k*log10(n)...
2021-08-12
0
395
H - Pairs Forming LCM Light1236
算数基本定理是个很基本的东西,他可以推导出很多东西; http://acm.hust.edu.cn/vjudge/contest/79396#problem/H 把n分解成pi^ei然后算个数; 注意n比最大筛选的素数还要大点,所以要特判一次; 还有要判重复数的个数; 我好菜呀,我好菜呀...
2021-08-12
0
236
X - The equation SGU oj106
Description There is an equation ax + by + c = 0. Given a,b,c,x1,x2,y1,y2 you must determine, how many integer roots of this equ...
2021-08-12
0
266
Y - Farey Sequence
虽然菜,但不甘于菜; Description The Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b with 0 &...
2021-08-12
0
335
hdu4465
Candy Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2705 Accepted Submission(s): 1199 S...
2021-08-12
0
292
B - Discovering Gold Light oj 1030
B - Discovering Gold Crawling in process... Crawling failed Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Sub...
2021-08-12
0
210
E - Birthday Paradox Light 1104
E - Birthday Paradox Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Description Sometime...
2021-08-12
0
291
文章标题
Description You are in a reality show, and the show is way too real that they threw into an island. Only two kinds of animals are in the island, the ...
2021-08-12
0
274
数学期望,I - Beating the Dataset,Light OJ 1274
Description You are in a contest, and unfortunately you don't have much time. You have one problem in hand; you just glanced at the sample outpu...
2021-08-12
0
367
文章标题
第五场多校的第一题,一个求期望的题目,我a啦2333 (●’◡’●) 这应该是我第一次独自a掉多校的题,虽然借助了标称帮我debug; 虽然用了2天多。。。 这是个悲伤的故事。。。 好啦这题主要是明白梯推式子; 首先要明白,最坏的方法就是不断取1块钱,然后考一次提醒总之可以取完所有的钱,...
2021-08-12
0
250
首页
上一页
1
2
下一页
末页