![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
Saber_Altria
这个作者很懒,什么都没留下…
展开
-
高精度整型模板
高精度整型模板 一直想写一个这样的模板,但奈何本人比较 懒 菜。。。 说明都在注释里。 行数有点多,说明主要集中在开头了。 和传统的高精有点区别,这个大概可以当做10000进制的计数运算。 每个node变量记录 -9999~9999,的4位 所以保存和运算的范围是 -1*10^40000 ~ 1*10^40000 ,4万位的整数运算 其中node在保存与运算时也是带符号的。所以sign*node就是绝对值。 #ifndef myInt_Decl #define myInt_Decl /***********原创 2021-06-09 15:19:08 · 82 阅读 · 0 评论 -
[CodeForces-985C]
You have m = n·k wooden staves. The i-th stave has length ai. You have to assemble n barrels consisting of k staves each, you can use any k staves to construct a barrel. Each stave must belong to exac...原创 2019-01-19 23:14:31 · 189 阅读 · 0 评论