- 博客(10)
- 资源 (1)
- 收藏
- 关注
原创 Codeforces Round #448 (Div. 2)B. XK Segments (双指针 or 二分 )
题目: While Vasya finished eating his piece of pizza, the lesson has already started. For being late for the lesson, the teacher suggested Vasya to solve one interesting problem. Vasya has an arr
2017-11-28 21:44:37 275
原创 Codeforces Round #446 (Div. 2)C. Pride
C. Pride time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You have an array a with length n, you can perfo
2017-11-25 16:05:26 264
原创 Codeforces Round #446 (Div. 2)B. Wrath
B. Wrath time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Hands that shed innocent blood! There are n gui
2017-11-25 15:57:20 269
原创 Codeforces Round #446 (Div. 2) A. Greed
A. Greed time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Jafar has n cans of cola. Each can is described by
2017-11-25 15:42:45 308
原创 hdu 5699
货物运输 Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 598 Accepted Submission(s): 249 Problem Description 公元2222年,l国发生了一场战争。
2017-11-21 19:47:15 325
原创 codeforces-165C-Another Problem on Strings
C. Another Problem on Strings time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A string is binary, if it consists only of characte
2017-11-18 22:32:36 420
原创 codefiorces-165B-Burning Midnight Oil
B. Burning Midnight Oil time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One day a highly important task was commissio
2017-11-18 22:19:33 268
原创 ACdream-1066-Bet
中文题目就不解释什么乱七八糟的了 然后这道题如果你对数学很敏感可以用加权平均数算出来 这里提供一种二分的写法 这种写法需要注意精度问题 #include #include #include #include using namespace std; double eps = 1e-8; double rate[105], sum; int n ; bool judge(do
2017-11-18 22:02:48 281
原创 D. Multiplication Table 448D
D. Multiplication Table time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Bizon the Champion isn't just charmi
2017-11-16 11:38:21 357
原创 51Nod 1267 四个数字和为零
题目意思很清晰 问你这一组数字中有没有四个数字和为零 有 输出Yes 否则输出 No 刚开始想了一种二分的方式 是这样的 暴力枚举前三个数字然后去二分 查找第四个数字是否存在 如果存在表示这种方案是可行的 反之 但是这种方法的复杂度太高了 大概n^3*log(n) 先贴一个这种方法写的代码 如果运气好能过 但是大部分情况下不能过 #include #include #inc
2017-11-15 13:14:50 390
area_201901191623.sql
2020-01-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人