A tournament is a directed graph without self-loops in which every pair of vertexes is connected by exactly one directed edge. That is, for any two ve ...
分类:
其他好文 时间:
2019-09-30 14:35:47
阅读次数:
113
乍一看,嗯,图论题,不错; 结果,这尼玛是模拟???? 传送链接:https://codeforces.com/contest/1228/problem/D 看了大佬的代码瞬间就明白了许多!!! ...
分类:
其他好文 时间:
2019-09-30 14:30:19
阅读次数:
84
Kruskal Prim DJ: Spfa Trie: LCA( bz ) Treearray: Treearraycf: RMQ: Invfm: Invexgcd: Invdt: Tyfc: bdfc: CRT: jzqsm: ...
分类:
其他好文 时间:
2019-09-29 23:44:34
阅读次数:
92
bzoj1875 [SDOI2009]HH去散步。
矩阵快速幂 ...
分类:
其他好文 时间:
2019-09-28 21:57:15
阅读次数:
122
ITI 1120 - Assignment 1Submit a zip file with a1q1.py, a1q2.py, a1q3.py, a1q4.py.1. (2 points) Two numbers a and b are called pythagorean pair if both ...
分类:
其他好文 时间:
2019-09-28 20:15:31
阅读次数:
95
1、html快速生成 !+ Tab 2、ctr+shift+x 打开插件商城 常用插件: Auto Close Tag Auto Rename Tag Beautify Bootstrap 4 & Font awesome snippets Bracket Pair Colorizer Class ...
分类:
其他好文 时间:
2019-09-28 10:34:14
阅读次数:
241
今天我再写了一次大根堆,一些问题我就记在heap4了,heap2是自己写的并且能ac的。 记得明天再写一遍,确实还有不少问题。 1,关于大根堆的问题。 一,algorithm头文件用在哪里 二,define RI LE DAD 这几个东西的深入理解。 、 三,struct 中 modify 和rep ...
分类:
其他好文 时间:
2019-09-28 01:06:07
阅读次数:
111
半边数据结构: 网格的顶点,边,面的数据储存在半边数据结构中,半边数据结构写成类似于C语言如下: 半边: struct HE_edge { HE_vert* vert; // vertex at the end of the half-edge HE_edge* pair; // oppositel ...
分类:
其他好文 时间:
2019-09-27 21:20:17
阅读次数:
112
Marcin is a coach in his university. There are nn students who want to attend a training camp. Marcin is a smart coach, so he wants to send only the s ...
分类:
其他好文 时间:
2019-09-27 21:03:26
阅读次数:
73
Question You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists of one elemen ...
分类:
其他好文 时间:
2019-09-25 00:57:21
阅读次数:
105