직무
당신의 임무는 텍스트를 중세 직교로 변환하는 것입니다.
세부
ji및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 마지막 테스트 케이스의 출력 해시이다 :
5641899e7d55e6d1fc6e9aa4804f2710e883146bac0e757308afc58521621644
기권
중세의 정설 법은 그런 내용이 아닙니다. 당신이 다른 직교를 가진 오래된 책을 가지고 있다면 기뻐하지 마십시오.
ſ1 바이트 로 계산할 수 있습니까 ?
Super-vise된다 Super-viſe?