前言 当时和$GYZ$大佬一起做这个题,他表示这个题对他很不友好~~(手动滑稽)~~ 题目描述 众所周知,\(HXY\) 已经加入了 \(FFF\) 团。现在她要开始喜(sang)闻(xin)乐(bing)见(kuang)地烧情侣了。 这里有 \(n\) 座电影院,\(n\) 对情侣分别在每座电影院 ...
分类:
其他好文 时间:
2020-06-28 22:41:48
阅读次数:
55
P3368 【模板】树状数组 2 #include<bits/stdc++.h> using namespace std; const int N=5e5+10; int a[N]; int c[N<<2]; int n,m; int lowbit(int x){ return x&-x; } vo ...
分类:
编程语言 时间:
2020-06-28 20:38:15
阅读次数:
50
luoguP6620 [省选联考 2020 A 卷] 组合数问题(斯特林数) Luogu 题外话: LN切这题的人比切T1的多。 我都想到了组合意义乱搞也想到可能用斯特林数为啥还是没做出来。。。 我怕不是除了数据结构啥也不会。 我是傻逼。 题解时间 不弄纯柿子推导,来点阳间的组合意义证明。 首先毫无 ...
分类:
其他好文 时间:
2020-06-28 20:32:39
阅读次数:
42
P3372 【模板】线段树 1 #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=1e5+10; ll a[N]; struct Node{ ll it; ll l; ll r; ll data ...
分类:
其他好文 时间:
2020-06-28 20:19:34
阅读次数:
41
参考链接:https://www.cnblogs.com/kileyi/p/10163269.html 举例:Test_Bluetooth.exe -help Test_Bluetooth.cpp #include "pch.h" #include <iostream> using namespac ...
分类:
编程语言 时间:
2020-06-28 16:49:26
阅读次数:
98
题目链接 对于每一个 \(i\) 可以看作一个管道。赋予三个信息: \(\text{minIn}_i\) 表示至少要从上一家 \(i - 1\) 得到连接数,才能正常供给 \(i\) 城市 \(\text{minOut}_i\) 最坏情况下最少给下一家 \(i + 1\) 多少连接数 \(\text ...
分类:
Web程序 时间:
2020-06-28 00:30:11
阅读次数:
76
There is a game called "I Wanna Be the Guy", consisting of n levels. Little X and his friend Little Y are addicted to the game. Each of them wants to ...
分类:
其他好文 时间:
2020-06-27 21:41:11
阅读次数:
90
题目传送门 #Code #include<iostream> #include<cstdio> #include<string> #include<vector> #include<algorithm> #include<cstdlib> #include<cmath> #include<stack ...
分类:
其他好文 时间:
2020-06-27 20:05:01
阅读次数:
54
文件说明: 文件 说明 helloworld.pro 项目文件,包含项目相关信息 helloworld.pro.user 与用户有关的项目信息 hellodialog.h 新建类的头文件 hellodialog.cpp 新建类的源文件 main.cpp 该文件包含main()主函数 hellodia ...
分类:
其他好文 时间:
2020-06-27 16:02:40
阅读次数:
84
经济金融的应用层______是什么呢___数量计算是底层吗?_____计算机的应用层___软件应用_____二进制运算是最底层__c/cpp都没有到计算了 ...
分类:
其他好文 时间:
2020-06-27 10:10:25
阅读次数:
57