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 1022. Genealogical Tree

Compilation Error(Java)
Posted by Amaranth 15 Nov 2007 20:40
So I wrote a programm and in my sollution on Java I have used such method like:
ll.removeFirstOccurrence(Integer.valueOf(point));
Where ll is LinkedList
But I have got Compilation Error!
When I change this line to:
ll.remove(Integer.valueOf(point));
I got AC.
Can you explain me what is it.