luogu-dev / cyaron

CYaRon: Yet Another Random Olympic-iNformatics test data generator
GNU Lesser General Public License v3.0
1.31k stars 164 forks source link

求增加无权图 #79

Closed easonlee66 closed 4 years ago

easonlee66 commented 4 years ago

如已增加回复如何使用

kkksc03 commented 4 years ago

You can hide the point weights while outputting.

io.input_writeln(graph.to_str(output=Edge.unweighted_edge)) # 输出无权图,以每条边u v一行的格式

ref: https://github.com/luogu-dev/cyaron/wiki/%E5%9B%BE-Graph

easonlee66 commented 4 years ago

thanks