Perse-script
72D2300· international master7s256 MB⌨ stdin/stdout
Examples
Sample 1of 5
Input
"HelloWorld"
Output
"HelloWorld"
Sample 2of 5
Input
REVerse(substr("helloworld",1,5))
Output
"olleh"
Sample 3of 5
Input
conCAT(rEveRSE("olleh"),"world")
Output
"helloworld"
Sample 4of 5
Input
reversE(concAT(substr("hello",1,2),sUbstr("world",1,5,1)))
Output
"dlroweh"
Sample 5of 5
Input
suBstr("Noruz",1,4,2)
Output
"Nr"
58%
72D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)