ENG
RUS
Timus 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
Discussion of Problem
1809
. Chapaev and Potatoes
Show all threads
Hide all threads
Show all messages
Hide all messages
TEST
Murodjon (TUIT Urgench)
1809
. Chapaev and Potatoes
10 Nov 2016 10:52
1
TEST
Murodjon (TUIT Urgench)
10 Nov 2016 10:52
Try this
1 1
2 2
3 3
4 4
2 change
hint
ASK
1809
. Chapaev and Potatoes
6 Oct 2015 04:14
2
hint
ASK
28 Mar 2014 20:30
There are too many different cases to consider, use a brute-force approach to get AC on the first attempt with one page of code:
1) write a function that checks that the situation is good;
2) for every coordinate make a list of four interesting values (all values taken by existing potatoes and some others if this is not enough);
3) try all possible ways to move none, one, or two potatoes, so that the coordinates of the new position are from the interesting values.
Re: hint
Vert
6 Oct 2015 04:14
Disagree.
There're only 7 cases to consider.
Wrong answer on test 2 !!!!
Narek X
1809
. Chapaev and Potatoes
25 Sep 2013 18:26
1
Wrong answer on test 2 !!!!
Narek X
25 Sep 2013 18:26
Thenks, I have AC
Edited by author 27.09.2013 15:34
Tests
wRabbits_AlMag(VNTU)
1809
. Chapaev and Potatoes
1 Aug 2011 18:40
1
Tests
wRabbits_AlMag(VNTU)
1 Aug 2011 18:40
Some test that helped me to go through WA 17, 27, 28, 57
10 1
10 2
10 3
10 4
Changes: 2
1 1
2 1
3 1
2 2
Changes: 1
1 1
1 2
1 3
2 4
Changes: 1
1 1
1 5
10 1
20 1
Changes: 1
Test 72
Галимзянов Дмитрий
1809
. Chapaev and Potatoes
6 Nov 2010 21:31
1
Test 72
Галимзянов Дмитрий
6 Nov 2010 21:31
I have WA at test #72. Could I get content of this test? Pls :)
Edited by author 07.11.2010 22:46
Test
Proba
1809
. Chapaev and Potatoes
3 Nov 2010 18:04
1
Test
Proba
3 Nov 2010 18:04
test#1
1 1
1 2
5 5
5 6
ans#1
1 1
1 2
5 5
5 6
0 change
test#2
1 1
1 2
1 3
1 4
ans#2
2 1
2 2
1 3
1 4
2 change
test#3
1 1
1 2
1 3
2 2
ans#3
1 1
2 4
1 3
2 2
1 change
Edited by author 03.11.2010 18:06
WA53
r1d1
1809
. Chapaev and Potatoes
30 Oct 2010 17:18
1
WA53
r1d1
30 Oct 2010 17:18
WA53.. Hardly...
New topic
Style:
flat
|
tree
|
nested
Thread Order:
bubble
|
fixed
© 2000–2024
Timus Online Judge Team
. All rights reserved.