![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小知识
ashrkq
这个作者很懒,什么都没留下…
展开
-
使用标准库的栈和队列时,先包含相关的头文件
使用标准库的栈和队列时,先包含相关的头文件 #include #include using namespace std; 定义栈如下: stack stk; 定义队列如下: queue q; 栈提供了如下的操作 [cpp] view plain copy s.empty()转载 2016-07-29 08:41:38 · 1648 阅读 · 0 评论 -
A -- Alarm
“玲珑杯”ACM 热身赛 # 0.5 Start Time:2016-08-05 19:00:00 End Time:2016-08-05 21:00:00 Refresh Time:2016-08-05 19:18:25 Public A -- Alarm Time Limit:1s Memory Limit:128MByte Submissions:19原创 2016-08-05 19:36:58 · 294 阅读 · 0 评论 -
Light—oj 1045 - Digits of Factorial
1045 - Digits of Factorial PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Factorial of an integer is defined by the following f原创 2016-08-23 21:15:29 · 218 阅读 · 0 评论 -
Light-oj 1282 - Leading and Trailing
1282 - Leading and Trailing PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are given two integers: n and k, your task is to原创 2016-08-23 21:27:06 · 213 阅读 · 0 评论 -
组合数学小知识
求,盒子都可以分成是否不能区分,和能区分,还能分成是否能有空箱子,所以一共是8种情况,我们现在来一一讨论。 转自逍遥丶綦 1.球同,盒不同,无空箱 C(n-1,m-1), n>=m 0, n 使用插板法:n个球中间有n-1个间隙,现在要分成m个盒子,而且不能有空箱子,所以只要在n-1个间隙选出m-1个间隙即可 2.球同,盒不同,允许空箱转载 2016-09-16 15:55:52 · 300 阅读 · 0 评论 -
1307 - Counting Triangles
1307 - Counting Triangles PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are given N sticks having distinct lengths原创 2016-08-27 01:40:18 · 463 阅读 · 0 评论