★ wanayoo — archive 1999 https://github.com/javaarchive/Java/pull/3Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usacocode #3

Open
wants to merge 57 commits into
base: master
from
Open

Usacocode #3

wants to merge 57 commits into from

Conversation

@javaarchive
Copy link
Owner

@javaarchive javaarchive commented Jun 24, 2018

Lots of uploads

javaarchive added 30 commits Jun 15, 2018
Combination issue still
Lost cow and WIP silver cow homework added
I forgot what I added
javaarchive added 16 commits Jan 15, 2019
This code is only working for case 1
Finally a working VERSION
Added a new version made since yesterday
@javaarchive

This comment has been minimized.

Copy link
Owner Author

@javaarchive javaarchive commented on cowjump.java in da5933e Jun 28, 2019

Possibly the oppsite

javaarchive added 11 commits Jun 28, 2019
Gives 3 as answer
Still a bit off
Method did not work properly. Changed method to the one used in https://www.geeksforgeeks.org/check-if-two-given-line-segments-intersect/
Disabled the saved parameter set, tested on small case
Added more longs in intersection
U-S-A-C-O
Adding extra N^2 loop just in case for correctness
Highest Time: 1500 ms
Lowest Time: 150ms
Most memory: 63.2mb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.