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 1415. Mobile Life

AndreyPikas [Yaroslavl SU] TO ADMINS. Weak tests. [7] // Problem 1415. Mobile Life 5 Nov 2014 01:15
Some of my AC solutions don't pass this test:
3
9999 10000 1 A
-9990 9999 999 B
-10000 9999 1000 C
1
9999 10000 -10000 9998

Right answer:
Power on. CELL_ID:A, SIGNAL_LEVEL:VIOLET
Signal changed. SIGNAL_LEVEL:INDIGO
Signal changed. SIGNAL_LEVEL:BLUE
Signal changed. SIGNAL_LEVEL:GREEN
Signal changed. SIGNAL_LEVEL:YELLOW
Signal changed. SIGNAL_LEVEL:ORANGE
Signal changed. SIGNAL_LEVEL:RED
Cell changed. CELL_ID:C, SIGNAL_LEVEL:ORANGE
Signal changed. SIGNAL_LEVEL:YELLOW
Signal changed. SIGNAL_LEVEL:GREEN
Signal changed. SIGNAL_LEVEL:BLUE
Signal changed. SIGNAL_LEVEL:INDIGO
Signal changed. SIGNAL_LEVEL:VIOLET

Edited by author 05.11.2014 21:55

Edited by author 05.11.2014 21:56
AndreyPikas [Yaroslavl SU] TO ADMINS. Weak tests. [6] // Problem 1415. Mobile Life 8 Nov 2014 01:26
Add this test too. AC code don't pass it.
3
-10000 9999 1000 A
9999 9999 1000 B
-9999 9999 1000 C
1
-10000 9998 9999 10000

Right answer:
Power on. CELL_ID:A, SIGNAL_LEVEL:VIOLET
Signal changed. SIGNAL_LEVEL:INDIGO
Signal changed. SIGNAL_LEVEL:BLUE
Signal changed. SIGNAL_LEVEL:GREEN
Signal changed. SIGNAL_LEVEL:YELLOW
Signal changed. SIGNAL_LEVEL:ORANGE
Signal changed. SIGNAL_LEVEL:RED
Cell changed. CELL_ID:C, SIGNAL_LEVEL:ORANGE
Signal changed. SIGNAL_LEVEL:RED
Cell changed. CELL_ID:B, SIGNAL_LEVEL:ORANGE
Signal changed. SIGNAL_LEVEL:YELLOW
Signal changed. SIGNAL_LEVEL:GREEN
Signal changed. SIGNAL_LEVEL:BLUE
Signal changed. SIGNAL_LEVEL:INDIGO
Signal changed. SIGNAL_LEVEL:VIOLET
AndreyPikas [Yaroslavl SU] Re: TO ADMINS. Weak tests. [5] // Problem 1415. Mobile Life 10 Dec 2014 00:37
up
AndreyPikas [Yaroslavl SU] Re: TO ADMINS. Weak tests. [4] // Problem 1415. Mobile Life 13 Dec 2014 01:02
up
AndreyPikas [Yaroslavl SU] Re: TO ADMINS. Weak tests. [3] // Problem 1415. Mobile Life 18 Dec 2014 23:09
up
AndreyPikas [Yaroslavl SU] Re: TO ADMINS. Weak tests. [2] // Problem 1415. Mobile Life 22 Dec 2014 00:21
up
AndreyPikas [Yaroslavl SU] Re: TO ADMINS. Weak tests. [1] // Problem 1415. Mobile Life 25 Dec 2014 22:33
up
AndreyPikas [Yaroslavl SU] TO ADMINS. Weak tests. // Problem 1415. Mobile Life 30 Dec 2014 00:58
up