码迷,mamicode.com
首页 >  
搜索关键字:queen    ( 142个结果
2018焦作网络赛-E- Jiu Yuan Wants to Eat
题目描述 You ye Jiu yuan is the daughter of the Great GOD Emancipator. And when she becomes an adult, she will be queen of Tusikur, so she wanted to trave ...
分类:其他好文   时间:2019-08-03 10:27:13    阅读次数:89
The Queen's Super-circular Patio 求栏杆(计算几何)
Input The first line of input contains a single integer P, (1 ≤ P ≤ 1000), which is the number of data sets that follow. Each data set should be proce ...
分类:其他好文   时间:2019-07-10 16:34:44    阅读次数:81
hihocoder-1497-Queen Attack
hihocoder-1497-Queen Attack #1497 : Queen Attack #1497 : Queen Attack 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 There are N queens in an infinite chessbo ...
分类:其他好文   时间:2019-06-14 14:20:42    阅读次数:91
长春理工大学第十四届程序设计竞赛(重现赛)M.Orx Zone
链接:https://ac.nowcoder.com/acm/contest/912/M 题意: Daenerys Stormborn, 风暴中出生的丹尼莉丝,the Unburnt, 烧不死的,Queen of Meereen, 弥林女王,Queen of the Andals and the R ...
分类:其他好文   时间:2019-06-09 00:46:05    阅读次数:101
hihoCoder 第255周 hiho一下 Queen Attack
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 There are N queens in an infinite chessboard. We say two queens may attack ...
分类:其他好文   时间:2019-05-19 10:25:29    阅读次数:131
NQueens
/* A utility function to check if a queen can be placed on board[row][col]. Note that this function is called when "col" queens are already placeed in ...
分类:其他好文   时间:2019-05-18 14:12:57    阅读次数:144
CodeForces 587 E.Duff as a Queen 线段树动态维护区间线性基
https://codeforces.com/contest/587/problem/E 一个序列, 1区间异或操作 2查询区间子集异或种类数 题解 解题思路大同小异,都是利用异或的性质进行转化,std和很多网友用的都是差分的思想,用两棵线段树 第一棵维护差分序列上的线性基,第二棵维护原序列的异或区 ...
分类:其他好文   时间:2019-04-20 09:16:54    阅读次数:134
C. Queen Codeforces Round #549 (Div. 2) (搜索)
恢复内容开始 You are given a rooted tree with vertices numerated from 11 to nn . A tree is a connected graph without cycles. A rooted tree has a special ver ...
分类:其他好文   时间:2019-04-11 01:21:21    阅读次数:130
Codeforces Round #549 (Div. 2)
A.The Doors 记录最后一个0和1的位置。 B.Nirvana 对于每一位,答案有三种情况: 1,取这位原本数字; 2,取x 1,同时让后一位取9; 3,让前面全取9; C.Queen 一个点如果会被删,那么其他的点被删不会影响它最后被删的结果,判断一下那些点会被删, 然后排序。 D.The ...
分类:其他好文   时间:2019-04-07 09:20:31    阅读次数:172
142条   上一页 1 2 3 4 ... 15 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!