
多校训练
负七分之四十九
这个作者很懒,什么都没留下…
展开
-
Swaps and Inversions
Long long ago, there was an integer sequence a. Tonyfang think this sequence is messy, so he will count the number of inversions in this sequence. Because he is angry, you will have to pay x yuan for...原创 2018-07-28 09:16:25 · 443 阅读 · 1 评论 -
2019 Multi-University Training Contest 3 1006 Fansblog
FansblogProblem DescriptionFarmer John keeps a website called ‘FansBlog’ .Everyday , there are many people visited this blog.One day, he ...原创 2019-07-29 19:31:50 · 258 阅读 · 1 评论 -
HDU 6693 Valentine's Day
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=6693对于0.5以下的概率x的贡献值最多只有到1/x个。在有效的贡献范围内只要他的个数还没到就一直是有用的,直接计算就好了。#include<bits/stdc++.h>using namespace std;double num[100000+10];d...原创 2019-08-21 19:44:33 · 358 阅读 · 0 评论