第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

大神求教java

大神求教java

540Immortal 2018-05-21 15:58:45
7-1?字符串替換(10?分)將文本文件中指定的字符串替換成新字符串。 由于目前的OJ系統(tǒng)暫時不能支持用戶讀入文件,我們編寫程序從鍵盤輸入文件中的內(nèi)容,當輸入的一行為end時,表示結(jié)束。end后面有兩個字符串,要求用第二個字符串替換文本中所有的第一個字符串。輸入格式:Xi’an Institute of Posts and Telecommunications is co-designed and implemented by the People’s Government of Shaanxi Province and the Ministry of Industry and Information Technology. The Institute is located in Xi’an, a historic city in Northwest China, famous for its magnificent ancient culture.end (表示結(jié)束)Institute (第一個字符串,要求用第二個字符串替換)University (第二個字符串)輸出格式:Xi’an University of Posts and Telecommunications is co-designed and implemented by the People’s Government of Shaanxi Province and the Ministry of Industry and Information Technology.The University is located in Xi’an, a historic city in Northwest China, famous for its magnificent ancient culture.
查看完整描述

2 回答

?
酒木君

TA貢獻23條經(jīng)驗 獲得超7個贊

我是以空格進行字符串分隔的,這種方法可能不是很嚴謹,時間有限,你可以在我的基礎上再添加其他限制條件完善功能

查看完整回答
1 反對 回復 2018-05-22
  • 2 回答
  • 0 關注
  • 2169 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號