随笔分类 -  数论~组合数学

 
Codeforces Round #309 (Div. 1) A(组合数学)
摘要:题目:http://codeforces.com/contest/553/problem/A 题意:给你k个颜色的球,下面k行代表每个颜色的球有多少个,规定第i种颜色的球的最后一个在第i-1种颜色的球的最后一个的前面 思路:首先我们想如果是第i种颜色,我们首先必须把这个颜色留下一个,留下的这个球前面 阅读全文
posted @ 2019-04-10 14:34 Lis~ 阅读(198) 评论(0) 推荐(0)
POJ - 3252 A - Round Numbers
摘要:The cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, Paper, Scissors', 'Ro, Sham 阅读全文
posted @ 2018-09-18 21:21 Lis~ 阅读(180) 评论(0) 推荐(0)