上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: 题意: C. Beautiful Sets of Points time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Beauti 阅读全文
posted @ 2018-06-05 10:29 xianbeigg 阅读(128) 评论(0) 推荐(0) 编辑
摘要: C. Three displays time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Three displays time 阅读全文
posted @ 2018-06-05 10:07 xianbeigg 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 问题描述 Given a N × N matrix A, whose element in the i-th row and j-th column Aij is an number that equals i^2 + 100000 × i + j^2 - 100000 × j + i × j, y 阅读全文
posted @ 2018-05-21 09:27 xianbeigg 阅读(127) 评论(0) 推荐(0) 编辑
摘要: K Best Time Limit: 8000MS Memory Limit: 65536K Total Submissions: 7154 Accepted: 1875 Case Time Limit: 2000MS Special Judge Description Demy has n jew 阅读全文
posted @ 2018-05-10 10:47 xianbeigg 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Median Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9602 Accepted: 3350 Description Given N numbers, X1, X2, ... , XN, let us calculate 阅读全文
posted @ 2018-05-10 10:45 xianbeigg 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 题意: 给出 N (1 ~ 1000),K (0 ~ 1000000000)代表有 N 个科目的成绩,每个科目成绩都有 a,b 两种成绩,后给出 N 个 a 和 N 个 b 的成绩。现要使 y = 达到最大,当去除 K 个科目的成绩之后,y 最大能取到多大。 思路: 二分搜索。y = ,所以 100 阅读全文
posted @ 2018-05-10 10:16 xianbeigg 阅读(103) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #define INF 0x3f3f3f using namespace std; int n,k; int v[20010],w[20010]; double y[20010]; bool check(double x) { for(int i=0;i=0)return true;... 阅读全文
posted @ 2018-05-08 17:21 xianbeigg 阅读(517) 评论(0) 推荐(0) 编辑
摘要: Cow Acrobats Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6317 Accepted: 2368 Description Farmer John's N (1 <= N <= 50,000) cows (numbe 阅读全文
posted @ 2018-05-08 16:26 xianbeigg 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Drying Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 21032 Accepted: 5290 Description It is very hard to wash and especially to dry cloth 阅读全文
posted @ 2018-05-08 09:25 xianbeigg 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Monthly Expense Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 32527 Accepted: 12227 Description Farmer John is an astounding accounting w 阅读全文
posted @ 2018-05-07 17:04 xianbeigg 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页