摘要: 1584 - 摆放餐桌 时间限制:1秒 内存限制:128兆 609 次提交 114 次通过 时间限制:1秒 内存限制:128兆 609 次提交 114 次通过 解:因为sin(圆心角/2)=r/(R-r); 所以圆心角=2*asin(r/(R-r)); 所以内切圆的个数=2*pi/(2*sin(r/ 阅读全文
posted @ 2017-02-11 21:29 Angel_Kitty 阅读(339) 评论(0) 推荐(0)
摘要: 1585 - 排队 时间限制:1秒 内存限制:128兆 351 次提交 179 次通过 时间限制:1秒 内存限制:128兆 351 次提交 179 次通过 阅读全文
posted @ 2017-02-11 15:21 Angel_Kitty 阅读(268) 评论(0) 推荐(0)
摘要: 1583 - 长度单位 时间限制:1秒 内存限制:128兆 536 次提交 103 次通过 时间限制:1秒 内存限制:128兆 536 次提交 103 次通过 阅读全文
posted @ 2017-02-11 15:14 Angel_Kitty 阅读(288) 评论(0) 推荐(0)
摘要: Color the ball Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18404 Accepted Submission(s): 9166 阅读全文
posted @ 2017-02-10 11:18 Angel_Kitty 阅读(303) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/149692#overview 这周一VJ比赛,题解&源码已完成! A........................................................................................ 阅读全文
posted @ 2017-02-09 15:17 Angel_Kitty 阅读(312) 评论(0) 推荐(0)
摘要: 树状数组(Binary Indexed Tree(BIT), Fenwick Tree)是一个查询和修改复杂度都为log(n)的数据结构。主要用于查询任意两位之间的所有元素之和,但是每次只能修改一个元素的值;经过简单修改可以在log(n)的复杂度下进行范围修改,但是这时只能查询其中一个元素的值(如果 阅读全文
posted @ 2017-02-08 22:55 Angel_Kitty 阅读(3798) 评论(0) 推荐(4)
摘要: C. Memory and De-Evolution time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output Memory is now 阅读全文
posted @ 2017-02-08 17:03 Angel_Kitty 阅读(337) 评论(0) 推荐(0)
摘要: B. Memory and Trident time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output Memory is performi 阅读全文
posted @ 2017-02-07 18:41 Angel_Kitty 阅读(424) 评论(0) 推荐(0)
摘要: A. Letters Cyclic Shift time limit per test:1 second memory limit per test:256 megabytes input:standard input output:standard output You are given a n 阅读全文
posted @ 2017-02-07 17:10 Angel_Kitty 阅读(376) 评论(0) 推荐(0)
摘要: A. Memory and Crow time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output There are n integers 阅读全文
posted @ 2017-02-07 17:00 Angel_Kitty 阅读(266) 评论(0) 推荐(0)