brianfry713 wrote:post your updated code
Code: Select all
Accepted :D
Moderator: Board moderators
brianfry713 wrote:post your updated code
Code: Select all
Accepted :D
Thanks a lot......now Acceptedbrianfry713 wrote:Instead of adding every tree to the vector check the map to see if that tree already exists.
Code: Select all
AC
Code: Select all
Removed after AC
I tried this problem today and got a submission error as well.aranjuda wrote:I am getting submission error too. Is this a problem with the judge or with my code?
And it shows up as being solved on UVA Online when I click on the statistics for this problem. I see my ranking, submission ID run time and other details. However, it doesn't show any of these on uHunt. So, I wonder if there's something else going on.Your submission with number XXXXXXXX for the problem 10226 - Hardwood Species has succeeded with verdict Accepted.
Code: Select all
3
Red Alder
Ash
Aspen
Basswood
Ash
Beech
Yellow Birch
Ash
Cherry
Cottonwood
Ash
Cypress
Red Elm
Gum
Hackberry
White Oak
Hickory
Pecan
Hard Maple
White Oak
Soft Maple
Red Oak
Red Oak
White Oak
Poplan
Sassafras
Sycamore
Black Walnut
Willow
Tree1
Tree2
Tree3
Tree1
Tree5
Tree6
Tree1
Tree2
Code: Select all
Ash 13.7931
Aspen 3.4483
Basswood 3.4483
Beech 3.4483
Black Walnut 3.4483
Cherry 3.4483
Cottonwood 3.4483
Cypress 3.4483
Gum 3.4483
Hackberry 3.4483
Hard Maple 3.4483
Hickory 3.4483
Pecan 3.4483
Poplan 3.4483
Red Alder 3.4483
Red Elm 3.4483
Red Oak 6.8966
Sassafras 3.4483
Soft Maple 3.4483
Sycamore 3.4483
White Oak 10.3448
Willow 3.4483
Yellow Birch 3.4483
Tree1 50.0000
Tree2 25.0000
Tree3 25.0000
Tree1 25.0000
Tree2 25.0000
Tree5 25.0000
Tree6 25.0000