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

5-testga xato qilganlar uchun 2 ta example
Posted by Adhambek 19 Jun 2013 20:28
only Uzbek from ADHAM!!!
input:

4
TUT\TUT\TUT\TUT\TUT\TUT\TUT
TUT\TUT\BUT\BUT\BUT
BUT\TUT\TUT\TUT\TUT
YUT\YUT\BUT\TUT\YUT

output:

BUT
 TUT
  TUT
   TUT
    TUT
TUT
 TUT
  BUT
   BUT
    BUT
  TUT
   TUT
    TUT
     TUT
      TUT
YUT
 YUT
  BUT
   TUT
    YUT

input:
4
A\A\A\A\A\A\A
A\A\A\A\B\B\B\B
A\A\A\A\C\C\C\CB\B\B\V
A\A\A\A\B\C\C\C\C\C\C

output:

A
 A
  A
   A
    A
     A
      A
    B
     B
      B
       B
     C
      C
       C
        C
         C
          C
    C
     C
      C
       CB
        B
         B
          V

Edited by author 19.06.2013 20:29
LUAL.RU Бесплатное решение первых 100 задач
Posted by МОП 20 Jun 2013 12:53