ymkzpx

Success and failure are temporary.


  • Home

  • Archives

  • Tags

  • About

判断一个数是否为2的幂

Posted on 2018-07-29 | In ACM

结论:$n$ 是 $2$ 的幂的话 $n\&(n-1)=0$,反之不是。

Read more »

Codeforces Round 499 (Div. 2)

Posted on 2018-07-29 | In ACM , codeforces

充分认识到水平低下,学习习惯差的弱小

交互题不会、gcd不会

Read more »

Codeforces922E

Posted on 2018-07-29 | In ACM , codeforces

给一个序列 $a,q$ 次操作。每次操作单点修改。每次操作后,询问序列$a$中有没有一个位置满足$a[i]=bit[i-1],$ 如果有,随便输出一个位置,如果没有输出$-1$。其中 $bit$ 为前缀和数组

Read more »

Educational Codeforces Round 47 Div2

Posted on 2018-07-29 | In codeforces , ACM

打的好cha,最近疯狂吃shit

Read more »

Educational Codeforces Round 46 (Rated for Div. 2)

Posted on 2018-07-29 | In ACM , To be filled , codeforces

C一眼看过去不会啊,然后就跑路了,咕咕咕

突然发现教育场是ICPC赛制,如梦初醒啊

Read more »

Codeforces999 D. Equalize the Remainders

Posted on 2018-07-29 | In ACM , codeforces

给 $n$ 个数和一个 $k$,把$n$个数按 % $k$ 的余数,分成 $m$ 组 ( 即每组的余数为 $[0 , m-1]$ ) ,使得每组数的个数都相等。我们一次操作:可以任选某个数,把它的值 $+1$。 问操作的最小次数和操作后的序列。($n < 2·1e5,m<n$)

Read more »

Codeforces922 D.Nastya and a Game

Posted on 2018-07-29 | In ACM

给一个$n$ 个数的序列和一个定值 $k$ ,定义一个连续的子序列的乘积为 $ p $ ,和为 $s$ ,问满足$\frac{P}{S} = k $ 连续的子序列数量 $( 1 ≤ n ≤ 2·10^5, 1 ≤ k ≤ 10^5 ,a_i ≤ 10^8) $

Read more »

Codeforces491 Div2

Posted on 2018-07-29 | In ACM , codeforces

简单题专场

Read more »

Codeforces Round 496 Div3

Posted on 2018-07-29 | In codeforces , ACM

这场没打,补题记录

Read more »

Codeforces Round 493 (Div. 2)

Posted on 2018-07-29 | In ACM , codeforces

C题忘记 $max(0,answer)$ 被 $hack$

Read more »
1…171819…22
Kzpx

Kzpx

Hello the cruel world.

215 posts
133 categories
100 tags
GitHub
Links
  • CS-Notes
  • Ali-CsNotes
  • Deadline
  • luowentao
  • biubiubiu
  • Gstnt
  • ecnu
  • Lzy
  • Menci
  • kuangbin
  • meopass
  • tokitsukaze
  • cubercsl
  • Claris
  • hzwer
  • qscqesze
  • ICPCCamp
  • ZYF
  • xehoth
  • Ocean
  • MrBird_to_fly
  • starry_sky
  • Multi-school AC>=20
  • snowy_smile
  • fjzzq2002
© 2019 Kzpx
Powered by Hexo
|
Theme — NexT.Mist v5.1.4