随笔分类 -  组合数学-排列组合&Lucas定理

摘要:不用map用hash import java.io. ; import java.util. ; import java.util.Scanner; import java.math.BigInteger; import java.lang. ; public class Main{ static 阅读全文
posted @ 2018-05-05 00:17 Roni_i 阅读(142) 评论(0) 推荐(0) 编辑
摘要:【出处】: "CF 327 C" include include include include include include include include include using namespace std; define ll long long define mod 100000000 阅读全文
posted @ 2018-04-30 19:06 Roni_i 阅读(289) 评论(0) 推荐(0) 编辑
摘要:(a + b)2 = a2 + 2ab + b2 (a + b)3 = a3 + 3a2b + 3ab2 + b3 (a + b)4 = a4 + 4a3b + 6a2b2 + 6ab3 + b4 (a + b)5 = a5 + 5a4b + 10a3b2 + 10a2b3 + 5ab4 + b5 阅读全文
posted @ 2018-03-10 14:00 Roni_i 阅读(1227) 评论(0) 推荐(0) 编辑
摘要:A. Far Relative’s Birthday Cake time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Door's fa 阅读全文
posted @ 2017-12-10 16:20 Roni_i 阅读(227) 评论(0) 推荐(0) 编辑
摘要:A. Kyoya and Photobooks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kyoya Ootori is 阅读全文
posted @ 2017-12-08 15:58 Roni_i 阅读(212) 评论(0) 推荐(0) 编辑
摘要:B. Ralph And His Magic Field time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Ralph And 阅读全文
posted @ 2017-11-20 15:05 Roni_i 阅读(482) 评论(0) 推荐(0) 编辑
摘要:C. The Intriguing Obsession time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. The Intrig 阅读全文
posted @ 2017-10-07 18:50 Roni_i 阅读(344) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示