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 1127. Colored Bricks

Fyodor Menshikov Add tests please [1] // Problem 1127. Colored Bricks 22 Jan 2009 01:04
I know AC solutions that for two or more of the following tests answer 1 (but different solutions answer 1 for different tests).

In all following tests there are two bricks differing in only one side. Answer for all tests is 2. It is very important that all 6 tests should be included in the test set because different wrong solutions may make different mistakes. Wrong solutions answer 1 instead of 2 for several of these tests.

2
ABCGRS
ABCGRV

2
ABCGRS
ABCGVS

2
ABCGRS
ABCVRS

2
ABCGRS
ABVGRS

2
ABCGRS
AVCGRS

2
ABCGRS
VBCGRS