Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有来自数据文件的条形图、线图、饼图和直方图的作业 ASCII 抽屉。我找不到算法(在某处存在这些算法吗?
最简单的方法是在某个绘图库中生成黑白图片,然后在嵌套循环中遍历它并打印出“”代表白点,“*”代表黑色点。