B - Yet Another Crosses Problem D - Glider 1.题意 飞机在h米的高空水平飞行,飞行员可以在任意整数点跳伞,跳伞过程中,每秒飞行员都会向前移动一米,向下移动一米。有n个不相交的区间,飞行员在这些区间上空飞行时不会下降,给出每个区间的左右端点,求飞行员从跳伞到 ...
分类:
其他好文 时间:
2020-11-11 15:46:49
阅读次数:
4
CodeForces - 864A 题意:给偶数个卡片,给卡片编号,两个人每个人选一个号,这个人要拿走所有该号的卡片,如果所有的卡片都被拿走,并且两个人的卡片数量一样多,输出YES 和这两个序号 否则输出NO #include<algorithm> #include<iostream> #inclu ...
分类:
其他好文 时间:
2020-11-02 10:35:49
阅读次数:
20
E Nothing is eternal in the world, Kostya understood it on the 7-th of January when he saw partially dead four-color garland. Now he has a goal to rep ...
分类:
其他好文 时间:
2020-11-02 10:34:31
阅读次数:
23
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:
其他好文 时间:
2020-10-27 11:41:41
阅读次数:
23
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2020-10-27 10:55:44
阅读次数:
21
异常: 原因:了解的浅显的原因是,数据更新的一个时机导致的 解决方法: 使用异步更新数据: ...
分类:
其他好文 时间:
2020-10-24 10:04:11
阅读次数:
23
map方法 let objArr = [{name: 'xue',age: 24},{name: 'xue',age: 25},{name:'qing'}] const res = new Map(); objArr = objArr.filter((arr) => !res.has(arr.nam ...
分类:
编程语言 时间:
2020-10-24 09:59:43
阅读次数:
28
(Buying Guide)Nexiq USB Link 1 or 2? WiFi or Bluetooth? Nexiq 1 or Nexiq 2? Nexiq 1 is discontinued. no more updates but for most people it will still ...
分类:
其他好文 时间:
2020-10-22 22:45:27
阅读次数:
25
Codeforces 1430G Yet Another DAG Problem 题意 $n$个点$m$条边的有向无环图,每条边有边权$w_i$,现在让你给每个点一个点权$a_v$,对于第$i$条边$(x,y)$,写上一个数字$b_i=a_x-a_y$并且$a_x>a_y$,使得$\sum_^w_i ...
分类:
其他好文 时间:
2020-10-22 22:21:13
阅读次数:
29
Description Xiaoqiang wrote a decimal number \(X\), but some of the handwriting has been blurred (we replaced it with ?). Now given another decimal nu ...
分类:
其他好文 时间:
2020-10-18 10:17:30
阅读次数:
29