कार्य
आपका काम एक पाठ को मध्ययुगीन ऑर्थोग्राफी में बदलना है।
विवरण
jमें बदल जाती हैiऔरJकरने के लिएI।uऔरUशब्द की शुरुआत में करने के लिए बदल रहे हैंvऔरVक्रमशः।vऔरVशब्द की शुरुआत छोड़कर कहीं पर में बदल रही हैंuऔरUक्रमशः।sſ(U + 017F) में परिवर्तित किया जाता है, जब तक कि शब्द के अंत में या दूसरे से पहले न होs।
चश्मा
- एक शब्द को अक्षरों के अनुक्रम के रूप में परिभाषित किया गया है
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ। - सभी शब्दों में कम से कम दो अक्षर होंगे।
- इनपुट में केवल मुद्रण योग्य ASCII वर्ण (U + 0020 - U + 007E) शामिल होंगे।
- लगातार दो से अधिक की कोई घटना नहीं होगी
s। यही है,sssइनपुट का एक विकल्प नहीं होगा।
परीक्षण के मामलों
व्यक्तिगत शब्द:
Input Output
------------------------
Joy Ioy
joy ioy
Universe Vniuerſe
universe vniuerſe
Success Succeſs
successfull ſucceſsfull
Supervise Superuiſe
supervise ſuperuiſe
Super-vise Super-viſe
I've I've
majors maiors
UNIVERSE VNIUERSE
0universe 0vniuerſe
0verify 0verify
I0ve I0ve
_UU_ _VU_
_VV_ _VU_
ss_ ſs_
पूरा पैराग्राफ:
Input: Christian Reader, I have for thy use collected this small Concordance, with no small labour. For being to comprise much in little roome, I was to make choyse of the most principall and usefull places, and to rank them under such words as I thought most essentiall and materiall in the sentence, because the scant roome allotted unto me, would not permit that I should expresse them under every word in the verse, as it is the manner in large Concordances.
Output: Chriſtian Reader, I haue for thy vſe collected this ſmall Concordance, with no ſmall labour. For being to compriſe much in little roome, I was to make choyſe of the moſt principall and vſefull places, and to rank them vnder ſuch words as I thought moſt eſsentiall and materiall in the ſentence, becauſe the ſcant roome allotted vnto me, would not permit that I ſhould expreſse them vnder euery word in the verſe, as it is the manner in large Concordances.
SHA-256 पिछले testcase के उत्पादन के हैश है:
5641899e7d55e6d1fc6e9aa4804f2710e883146bac0e757308afc58521621644
अस्वीकरण
मेडिएवैल ऑर्थोग्राफ़ी वह कॉन्टेंट नहीं है। यदि आप एक पुराने ऑर्थोग्राफ़ी के साथ बुक करते हैं तो प्लेयेन शिकायत नहीं करते हैं।
ſ1 बाइट के रूप में गिन सकते हैं ?
Super-viseबनना चाहिए Super-viſe?