![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM
XliMing
这个作者很懒,什么都没留下…
展开
-
2018天梯赛 L1-1 古风排版
题目中国的古人写文字,是从右向左竖向排版的。本题就请你编写程序,把一段文字按古风排版。输入格式:输入在第一行给出一个正整数N(<100),是每一列的字符数。第二行给出一个长度不超过1000的非空字符串,以回车结束。输出格式:按古风格式排版给定的字符串,每列N个字符(除了最后一列可能不足N个)。输入样例:4This is a test case输出样...原创 2019-03-20 18:49:47 · 178 阅读 · 0 评论 -
1372 Knight Moves (DFS做法)
A friend of you is doing research on theTraveling Knight Problem (TKP)where you are to find the shortest closed tour of knight moves that visits each square of a given set ofnsquares on a chessboa...原创 2019-05-08 21:24:21 · 251 阅读 · 0 评论