深度优先
深度优先遍历相关算法
DeepGoAI
欢迎学习交流!
展开
-
Co-prime HDU - 4135
Co-prime HDU - 4135 Given a number N, you are asked to count the number of integers between A and B inclusive which are relatively prime to N. Two integers are said to be co-prime or relativel...转载 2019-07-01 14:47:09 · 176 阅读 · 0 评论 -
Red and Black POJ - 1979
Red and Black POJ - 1979 There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of ...原创 2019-01-10 10:36:08 · 239 阅读 · 0 评论 -
Paintball
E - Paintball HDU - 3767 题目大意: 给定: 设定 一个1000 *1000 大小的区域范围 对应的坐标左下角(0,0) 右上角(1000,1000) 并给定一个数 N ,给出 N 组数据,每组数据 分别为 x坐标 y坐标 和对应的攻击范围 R 这里描述的是一个圆的坐标和对应的范围区域大小 要求: 要求你从区域的最左边 通往区域的最右边 并且不...翻译 2019-02-26 08:16:27 · 454 阅读 · 0 评论 -
K - Xor-tree CodeForces - 429A
K - Xor-tree CodeForces - 429A Iahub is very proud of his recent discovery, propagating trees. Right now, he invented a new tree, called xor-tree. After this new revolutionary discovery, he invent...原创 2019-03-18 21:26:48 · 383 阅读 · 0 评论