
容斥原理
Joky_2002
有时候命运只是个爱开玩笑的小丑
展开
-
【bzoj1042】[HAOI2008]硬币购物
1042: [HAOI2008]硬币购物 Time Limit: 10 Sec Memory Limit: 162 MB Submit: 2709 Solved: 1654 [Submit][Status][Discuss] Description 硬币购物一共有4种硬币。面值分别为c1,c2,c3,c4。某人去商店买东西,去了tot次。每次带di枚ci硬币,买s i的价值原创 2017-08-23 10:40:48 · 272 阅读 · 0 评论 -
Codeforces Round #428 (Div. 2) D
D. Winter is here time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Winter is here at the North and the White原创 2017-10-28 17:00:09 · 299 阅读 · 0 评论