#1047873

Solution for 0506: String by giguru

Source Code Status Test Cases
    Policy: public     Reviewed: 68    
00.08 sec    6184 KB    6 lines     82 bytes    2014-08-17 13:48
while(n=gets.to_i)>0
gets
n.times{$_.gsub!(/(\d)\1*/){$&.size.to_s+$1}}
puts$_
end

Compile Error Logs:
You are not authorized to see the message.

Status
Judge: 1/1 Ruby CPU: 00.08 sec Memory: 6184 KB Length: 82 B 2014-08-17 13:48 2014-08-17 13:48
Results for testcases
Case # Verdict CPU Time Memory In Out Case Name
Case #1: : Accepted 00.08 sec 6184 KB
< prev | / | next >  
 
Judge Input #  ( | ) Judge Output #  ( | )


Comments
 
 Under Construction.
 
Categories
 
 
Free Tags