摘要: Opposite to Grisha's nice behavior, Oleg, though he has an entire year at his disposal, didn't manage to learn how to solve number theory problems in 阅读全文
posted @ 2018-12-15 23:54 NKDEWSM 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 题意翻译 Description 有一个长为nnn ,宽为mmm 的鱼缸,还有一个边长为rrr 的正方形渔网。你可以往鱼缸里放kkk 条鱼,问用渔网随机在浴缸里捞鱼的最大期望是多少。不懂什么是期望的自己去百度 Input 一行4个正整数代表n,m,r,kn, m, r, kn,m,r,k Outpu 阅读全文
posted @ 2018-12-15 15:32 NKDEWSM 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Since Grisha behaved well last year, at New Year's Eve he was visited by Ded Moroz who brought an enormous bag of gifts with him! The bag contains n s 阅读全文
posted @ 2018-12-15 15:28 NKDEWSM 阅读(254) 评论(0) 推荐(0) 编辑
摘要: A. Tricky Alchemy time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output During the winter holid 阅读全文
posted @ 2018-12-15 15:27 NKDEWSM 阅读(245) 评论(0) 推荐(0) 编辑