- 博客(7)
- 收藏
- 关注
原创 Moving By Points (topcoder SRM 738 DIV 2)
Problem StatementYou are given N points. The points are numbered from 0 to N-1. Point i has coordinates (X[i], Y[i]). Note that the given points are not necessarily distinct.You have to move from po...
2018-10-06 18:49:04
203
原创 codeforces GYM 101431D(构造)
Problem D. Vera and Dogs构造 GYM题目链接题目大意有N个房子和N*X只狗。每个房子可以成为X只狗的第一选择和另外X只狗的第二选择。每只小狗都只有一个第一选择和一个第二选择。小狗优先选择第一选择的房子,如果房子满了,就选择第二选择。每个房子只能容纳X+1只小狗。每天晚上都会有一间房子不能使用。问,怎么分配小狗的第一选择和第二选择,使得无论哪间房子不能使用
2017-07-23 14:23:01
683
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人