2018年3月30日

TOJ4757: 12345(数学)

摘要: 传送门 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 描述 为了说明水题也不是那么好AC的,FD出了一个由数字1~5组成的题目,题意如下: 给定一个正整数n,求(1^n+2^n+3^n+4^n) mod 5的值。 其中: (1)x^n:表示x的n次方; (2 阅读全文

posted @ 2018-03-30 17:22 Esquecer 阅读(208) 评论(0) 推荐(0) 编辑

TOJ2811: Bessie's Weight Problem(完全背包)

摘要: 传送门(< 可以点的) 描述 Bessie, like so many of her sisters, has put on a few too many pounds enjoying the delectable grass from Farmer John's pastures. FJ has 阅读全文

posted @ 2018-03-30 17:18 Esquecer 阅读(352) 评论(0) 推荐(0) 编辑

导航