ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1067. Disk Tree

I have WA8. Please check my tests and add your tests
Posted by <-UnderFelixAbove-> 1 Oct 2007 23:32
input#1:

3
a\b\c
a\b\c
b

output#1:

a
_b
__c
b

input#2:
9
a
a\b
a\b\c
a\b\c
a\b\c\d
b\f
b\f\e
b\f\d
b\e

output#2:

a
_b
__c
___d
b
_e
_f
__d
__e

input#3:
3
a
a\b\c\d\e\f
a\b\r\t\p

output#3:
a
_b
__c
___d
____e
_____f
__r
___t
____p

input#4:
4
a\b
b\a
a\c\d
a\c\e

output#4:
a
_b
_c
__d
__e
b
_a


input#5:
4
a
a\b\c\d\e
b\f\e\t
a\b\p

output#5:
a
_b
__c
___d
____e
__p
b
_f
__e
___t

Edited by author 01.10.2007 23:38

Edited by author 01.10.2007 23:42

Edited by author 01.10.2007 23:46
Re: I have WA8. Please check my tests and add your tests
Posted by Jabarov_Roman 2 Oct 2007 02:17
Yeah, your tests are absolutelly correct... caz my AC solution has the same outputs....
try this test
1
ab\c\d\e

my be it'll help...
Re: I have WA8. Please check my tests and add your tests
Posted by AiD 11 Feb 2008 23:05
4
a\baba
a\bab
a\babab
a\bab\ba


a
 bab
  ba
 baba
 babab
Re: I have WA8. Please check my tests and add your tests
Posted by Soporboy ! 4 Oct 2010 11:06
MR.qo`y yaxshiroq test yoz
Re: I have WA8. Please check my tests and add your tests
Posted by Wlad 1 Jan 2018 14:48
thank you very much for the tests