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 1039. Anniversary Party

dezaixing Reason for WA#13 [9] // Problem 1039. Anniversary Party 30 May 2008 16:15
Just pay attention when Conviviality rating < 0.
chinaeli Re: Reason for WA#13 // Problem 1039. Anniversary Party 1 Aug 2008 14:34
thank you
Morbidel Re: Reason for WA#13 [6] // Problem 1039. Anniversary Party 3 Feb 2009 19:10
can you be more precise?
Thank you!
Linn Re: Reason for WA#13 [4] // Problem 1039. Anniversary Party 22 Mar 2009 09:51
11
5
4
3
2
7
1
1
1
1
1
1
6 4
7 4
8 4
9 5
10 5
11 5
4 3
5 3
3 2
2 1
0 0

Answer:15
hdya_backfire Re: Reason for WA#13 // Problem 1039. Anniversary Party 18 Oct 2012 11:40
Thx
Domacles Re: Reason for WA#13 // Problem 1039. Anniversary Party 2 Aug 2013 07:49
15

Edited by author 02.08.2013 07:51

Edited by author 02.08.2013 08:04

Edited by author 02.08.2013 08:04

Edited by author 02.08.2013 08:04
Mayank Bist Re: Reason for WA#13 // Problem 1039. Anniversary Party 3 Sep 2020 20:04
Thanks a lot
>>> Re: Reason for WA#13 // Problem 1039. Anniversary Party 26 Oct 2021 14:27
спасибо тебе, это реально помогло мне
Dhaval Rathod Re: Reason for WA#13 // Problem 1039. Anniversary Party 18 Jan 2022 19:53
I got WA#13 .But my dfs was a little wrong and I got ac after correcting it.
uestcmy Re: Reason for WA#13 // Problem 1039. Anniversary Party 24 Oct 2017 20:02
I think  all of subtrees of the current node should be calculated before the current node is calculated.

Edited by author 24.10.2017 20:03

Edited by author 24.10.2017 20:03