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 1006. Square Frames

A little prog that may help you during a debug
Posted by tiancaihb 17 Sep 2009 16:17
After ACed this terrible problem, I made a small prog that may help you guys debug.
It can create random test data and auto check whether your prog gives right answer.

http://www.rayfile.com/en/files/6d44e53d-a425-11de-9ad8-0014221b798a/
http://www.rayfile.com/files/6d44e53d-a425-11de-9ad8-0014221b798a/

Just give it a try. If it doesn't work... Or any comments, write here, I'll check this thread up sometimes.
BTW, forgive my poor English.

Edited by author 21.09.2009 20:00

Edited by author 21.09.2009 20:01
Re: A little prog that may help you during a debug
Posted by tyomitch 25 Feb 2013 20:31
For all the copypaste aficionados: the sample given is

..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
...........┌─────┐................................
...........│.....│................................
....┌──────│.....│..........┌─┐...................
....│......│.....│..........│.│...................
....│......│.....│..........└─┘...................
....│......│....┌│────┐.............┌─┐...........
....│......└─────┘....│.............│.│...........
....│......│....│.....│.............└─┘...........
....│......│....│.....│.........┌──┐..............
....└──────┘....│.....│.........│..│..............
................│.....│.........│..│..............
................└─────┘.........└──┘..............
..................................................
..................................................