Anonymous user
Talk:Convex hull: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 67:
It should be
for (i = len - 1; i >= 0; i--) {
▲ int t = hLen + 1;
}
▲ hptr = hptr->next;
break;
▲ if (ccw(&hptr->next->data, &hptr->data, &p[i])) {
}
Line 85 ⟶ 84:
: P.S. please sign your comments on the talk pages, using <nowiki>--~~~~</nowiki>. This helps readers comprehend talk pages. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 21:07, 22 December 2020 (UTC)
:I'm sure of these errors because I tried this code for an exercice on Codingame (Encounter Surface) and I didn't get the good results.
:I compare with C++ and Java codes, found the mistakes, correct then as I explain and now it works !
:May be the code is correct for the data given but it's wrong !
[[User:Trap D|Trap D]] ([[User talk:Trap D|talk]])
|