|
|
вернуться в форумFor the input "tebidohtebidoh", is substring "t" to be a right output? substring "t" encounters in the input string twice, as many as "tebidoh" encounters. Re: For the input "tebidohtebidoh", is substring "t" to be a right output? Yes ! =) So you can calculate amount of every letter and then print answer o(string length) Edited by author 17.10.2009 19:30 |
|
|