题面: Tree Give a tree with n vertices,each edge has a length(positive integer less than 1001). Define dist(u,v)=The min distance between node u and v. ...
分类:
其他好文 时间:
2018-10-22 20:18:37
阅读次数:
175
具体定义:https://en.wikipedia.org/wiki/Positive-definite_matrix ...
分类:
其他好文 时间:
2018-10-20 22:44:58
阅读次数:
213
http://codeforces.com/contest/1029/problem/D You are given an array aa, consisting of nn positive integers. Let's call a concatenation of numbers xx a ...
分类:
其他好文 时间:
2018-10-20 21:03:51
阅读次数:
212
庆祝通过noip2018初赛,系列五题EP5. 题目描述: 题意翻译 题目背景 现在,如果你只是用手机的相机对着它们,智能手机应用可以即时翻译文本,甚至解决数学问题。您的工作是实现一个更简单的功能,回忆过去——添加两个作为ASCII艺术的整数。 题目描述 ASCII艺术是一个字符矩阵,正好是7行高, ...
分类:
其他好文 时间:
2018-10-20 19:50:14
阅读次数:
189
Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. Example: AC code: Runtime: 0 ms, faster than 1 ...
分类:
其他好文 时间:
2018-10-19 21:53:27
阅读次数:
104
Problem UVA1626-Brackets sequence Time Limit: 4500 mSec Problem Description Input The input begins with a single positive integer on a line by itself ...
分类:
其他好文 时间:
2018-10-19 02:25:06
阅读次数:
103
轉自 https://blog.csdn.net/sinat_28576553/article/details/80258619 四个基本概念TP、True Positive 真阳性:预测为正,实际也为正 FP、False Positive 假阳性:预测为正,实际为负 FN、False Negati ...
分类:
系统相关 时间:
2018-10-19 00:00:25
阅读次数:
930
题目传送门 Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 30475 Accepted: 10232 Description Give a tree with n vertices,each edge has a le ...
分类:
其他好文 时间:
2018-10-18 01:04:20
阅读次数:
170
find: 该正则表达式: initEcharts *:{1} *\{{1} 匹配: Summary of regular-expression constructsConstructMatches CharactersxThe character x\\The backslash characte ...
分类:
其他好文 时间:
2018-10-17 12:16:55
阅读次数:
923
Little Ruins is playing a number game, first he chooses two positive integers yy and KK and calculates f(y,K)f(y,K), here f(y,K)=∑z in every digits of ...
分类:
其他好文 时间:
2018-10-17 00:21:39
阅读次数:
237