PAT-A1031 Hello World for U 題目內容及題解

Given any string of N (≥5) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h    d e     l l      r lowo That is, the characters must be
相關文章
相關標籤/搜索