PAT_A1031 | Hello World for U

1031 Hello World for U (20point(s)) 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  
相關文章
相關標籤/搜索