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 1088. Ilya Murometz

What's the usage of parameter "F"
Posted by AlainDelon 28 Jun 2008 12:47
Hi, for the "F" parameter, I can see that it is the hight of the binary tree. But in my AC program, I didn't even use it. below is my program, anything I've missed?

======================
code deleted
==============================

Edited by moderator 01.10.2022 12:26
Your program is wrong (+)
Posted by Sandro (USU) 28 Jun 2008 18:21
I added some new tests. Look, your code has got WA. :)

Edited by author 29.06.2008 12:03
Re: You program is wrong (+)
Posted by Zhang Xun 28 Jun 2008 18:47
orz!
Re: Your program is wrong (+)
Posted by AlainDelon 29 Jun 2008 19:14
Thank you.

Now, I feel more realistic, but have to start researching again:)
Re: Your program is wrong (+)
Posted by AlainDelon 29 Jun 2008 22:38
Oops, I modified my program, I missed some cases in the original one. But still got AC without using F...
Re: What's the usage of parameter "F"
Posted by ErOPb|4[USU] 18 Mar 2009 18:28
My AC program don't use F too.
to admins!!!
Posted by [BSU]_Zaberivatel#1 21 Aug 2009 04:31
In autor's solution uses F or not???