摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5249KPIDescription你工作以后, KPI 就是你的全部了. 我开发了一个服务,取得了很大的知名度。数十亿的请求被推到一个大管道后同时服务从管头拉取请求。让我们来定义每个请求都有一个重要值。我的... 阅读全文
posted @ 2015-05-31 19:19 GadyPu 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1047Integer InquiryDescriptionOne of the first users of BIT's new supercomputer was Chip Diller. He exte... 阅读全文
posted @ 2015-05-31 15:18 GadyPu 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1042N!DescriptionGiven an integer N(0 ≤ N ≤ 10000), your task is to calculate N!InputOne N in one line, ... 阅读全文
posted @ 2015-05-31 15:07 GadyPu 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1002A + B Problem IIDescriptionI have a very simple problem for you. Given two integers A and B, your jo... 阅读全文
posted @ 2015-05-31 14:37 GadyPu 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 自己写的大数模板,参考了小白书上的写法,只是实现了加减乘法,不支持负数,浮点数。。除法还没写o(╯□╰)o以后再慢慢更吧。。其实除法我用(xie)的(bu)少(lai),乘法写过fft,这模板还是很鸡肋的。。 1 #include 2 #include 3 #include 4 #inclu... 阅读全文
posted @ 2015-05-31 14:30 GadyPu 阅读(195) 评论(0) 推荐(0) 编辑