Skip to content

Agis daniels#1

Merged
projectPythonator merged 2 commits into
masterfrom
AgisDaniels
Jul 30, 2020
Merged

Agis daniels#1
projectPythonator merged 2 commits into
masterfrom
AgisDaniels

Conversation

@projectPythonator

Copy link
Copy Markdown
Owner

merging in some consistency changes and area function got implemented

projectPythonator added 2 commits July 30, 2020 06:53
Agis Daniels
for consistency reasons i removed sub and re added vec 
ccw already used it in a difference file so i just used it from the points line .py as well < had a more elegant version from that file too so i used it here too
retested and still holds ac on kattis
Agis Daniels
nice one liner for area 
i called cross product function to avoid the need to retype the code again 
should help avoid typos when implementing it from paper 
the less than for point seems to work nicely with floats :)
also added a oneliner version of the perimeter function above the code as well
@projectPythonator projectPythonator merged commit 8aab900 into master Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant