cyaron icon indicating copy to clipboard operation
cyaron copied to clipboard

CYaRon: Yet Another Random Olympic-iNformatics test data generator

Results 64 cyaron issues
Sort by recently updated
recently updated
newest added

如题,这两个模块使用的还是 python2,且几乎不会有用户使用,是否考虑停止支持?

示例: ```python import random random.seed(4) from cyaron import generate_maze for row in generate_maze(21, 21): print(*row, sep='') ``` 输出: ``` ##################### #.#.#.........#.....# #.#.###.###.#####.### #...#.....#...#.#...# #.#####.###.###.#.### #.#.#.....#...#.....# #.#.###.###.###.###.# #...#.....#.......#.# ###.###.###.#.#.###.# #.#.#..S..#.#.#.#...# #.#.###.#########.#.#...

增加输出高维列表: ```python from cyaron import IO table = [['#', 'S', '.', '.', '#'], ['#', '#', '#', '.', '#'], ['#', '.', '#', '.', '#'], ['#', 'T', '#', '.', '#'], ['#', '.',...

可以使用 `len(list(self.iterate_edges()))` 代替。