
结论题
凌晨四点的洛杉矶fly
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
D - Alice&Brown(博弈,找规律)
Problem Statement Alice and Brown loves games. Today, they will play the following game. In this game, there are two piles initially consisting ofXXandYYstones, respectively. Alice and Bob alter...原创 2019-06-05 14:41:35 · 695 阅读 · 1 评论 -
牛客907(A)
链接:https://ac.nowcoder.com/acm/contest/907/A 来源:牛客网 小a的平面上有n个X型不明物体,但是他不确定他们的位置。现在请你来确定他们的位置,使得划分形成的平面尽量多 输入描述: 一个整数n,如题所示 输出描述: 一个整数,表示最多把平面分成多少份 示例1 输入 复制 2 输出 复制 11 说明 备注: ...原创 2019-05-31 22:51:59 · 137 阅读 · 0 评论 -
最长上升子序列(o(nlogn))
#include <iostream> using namespace std; int i,j,n,s,t,a[100001]; int main() { cin>>n; a[0]=-(1e9+1); for(i=0;i<n;i++) { cin>>t; if(t>a[s]) a[+...原创 2019-06-02 15:15:38 · 136 阅读 · 0 评论 -
牛客网911/F
链接:https://ac.nowcoder.com/acm/contest/911/F 来源:牛客网和51nod 1278原题。 题目描述 Y轴上有许多圆,所有圆的圆心位于Y轴,求有多少对圆是没有交集的(不包含、不相交、不相切)。 输入描述: 第1行:一个整数N,表示圆的数量(1 <= N <= 100000) 以下N行:每行2个浮点数P,R。P表示圆心的位置,R表示圆的半...原创 2019-06-02 15:55:18 · 174 阅读 · 0 评论