摘要:
The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote fr 阅读全文
posted @ 2019-06-08 17:34
wengsy150943
阅读(204)
评论(0)
推荐(0)
摘要:
为了训练小希的方向感,Gardon建立了一座大城堡,里面有N个房间(N<=10000)和M条通道(M<=100000),每个通道都是单向的,就是说若称某通道连通了A房间和B房间,只说明可以通过这个通道由A房间到达B房间,但并不说明通过它可以由B房间到达A房间。Gardon需要请你写个程序确认一下是否 阅读全文
posted @ 2019-06-08 17:31
wengsy150943
阅读(150)
评论(0)
推荐(0)
摘要:
https://hihocoder.com/problemset/problem/1175 主要是要明白拓扑排序的概念,就是找出满足用有向图表示的偏序关系的全序关系,知道这一点之后,直接模拟即可。不断寻找入度为0的点加进来,把相邻的点入度减一。重复到无法添加。 阅读全文
posted @ 2019-06-08 17:16
wengsy150943
阅读(138)
评论(0)
推荐(0)
摘要:
There are n houses in the village and some bidirectional roads connecting them. Every day peole always like to ask like this "How far is it if I want 阅读全文
posted @ 2019-06-08 16:55
wengsy150943
阅读(156)
评论(0)
推荐(0)
摘要:
相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实现。现在政府决定大力发展百岛湖,发展首先要解决的问题当然是交通问题,政府决定实现百岛湖的全畅通!经过考察小组RPRush对百岛湖的情况充分了解后,决定在符合条件的小岛间建上桥,所谓符合条件, 阅读全文
posted @ 2019-06-08 16:43
wengsy150943
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号