substring
Submit solution
Points:
40 (partial)
Time limit:
1.0s
Memory limit:
256M
Authors:
Problem type
Allowed languages
Java 19, Java 8
題目說明
請輸入一字串,可包含空格,之後輸入一整數,輸出此整數前與後但是不包含整數位的分割字串
輸入限制 可包含空格的字串,正整數
輸入
字串,表示分割位置的正整數
輸出
分割位置前的字串 分割位置後的字串
測試資料0 輸入
hello world
6
測試資料0 輸出
hello orld
測試資料1 輸入
ddddd ddddd
1
測試資料1 輸出
d ddd ddddd
Comments
題解