Little Avu and Pattern

2.8

5 votes
Medium-Hard
Problem

Little Avu is fond of numbers. Being a toddler, she has recently learnt counting upto 25. She loves to form patterns. Accidently she discovered a pattern

001002003004005006007008009010011012013014015016017018019020021022023024025

Help her to rewrite this pattern.

Scoring-->

Number of characters < 30 --> 100 - (0.2*x)

Number of characters < 35 --> 100 - x

Number of characters >= 35 --> max( 10, 100 - (1.5*x))

x=Number of characters

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?