brianfry713 wrote:Try changing line 76 to:
while(hull.size() >= 2 && !ccw(hull[hull.size()-2],hull.back(),*it))
Search found 19 matches
- Sun Oct 13, 2013 7:52 am
- Forum: Volume 106 (10600-10699)
- Topic: 10652 - Board Wrapping
- Replies: 12
- Views: 6503
Re: 10652 - Board Wrapping
Thanks, that was the reason I got RE. Now getting WA. (That reminds me of another problem I found before: WA->TL) I think I should be able to do it now.
- Tue Sep 24, 2013 7:55 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10652 - Board Wrapping
- Replies: 12
- Views: 6503
10652: RE??
I'm keeping getting run-time error for no reason I kept getting runtime error even after putting a try-catch block around the whole main function! Could anyone please point out what caused the error? deleted Note: those two comments in the code is the try-catch block I tried putting in, but still go...
- Thu Sep 05, 2013 9:52 am
- Forum: Volume 104 (10400-10499)
- Topic: 10459 - The Tree Root
- Replies: 30
- Views: 14841
Re: 10459 - The Tree Root
Thanks!
I never noticed that multiple datasets were possible.
However, I'm currently getting time limit. I think I can do the left myself.
I never noticed that multiple datasets were possible.
However, I'm currently getting time limit. I think I can do the left myself.
- Wed Sep 04, 2013 12:15 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10459 - The Tree Root
- Replies: 30
- Views: 14841
10459: WA... corner cases??
I wrote this code, tested it with the sample data and some corner cases, and got correct answers. But for some reason, I got WA after submitting. Can anyone provide me a test case that my code has a bug?
Code: Select all
currently got time limit (at least better than WA)
problem was multiple cases
- Fri Mar 01, 2013 5:19 pm
- Forum: Bugs and suggestions
- Topic: uhunt down
- Replies: 2
- Views: 4575
Re: uhunt down
It's back now.
But the chat still can't be used.
But the chat still can't be used.
- Fri Mar 01, 2013 4:36 pm
- Forum: Bugs and suggestions
- Topic: WA vs PE on newlines
- Replies: 2
- Views: 2657
Re: WA vs PE on newlines
HEY!!!!!!
WHY IS NOBODY EVEN REPLYING!!!!!!!!!!
AND WHY ARE THERE ONLY 95 VIEWS!!!!!!!!!!!!
WHY IS NOBODY EVEN REPLYING!!!!!!!!!!
AND WHY ARE THERE ONLY 95 VIEWS!!!!!!!!!!!!
- Fri Mar 01, 2013 4:31 pm
- Forum: Bugs and suggestions
- Topic: uhunt down
- Replies: 2
- Views: 4575
uhunt down
Currently the uhunt is down (at least for me) It says: An error occurred. Sorry, the page you are looking for is currently unavailable. Please try again later. If you are the system administrator of this resource then you should check the error log for details. Faithfully yours, nginx. Note: a few d...
- Thu Feb 07, 2013 3:44 am
- Forum: Bugs and suggestions
- Topic: bug in board logging in system
- Replies: 13
- Views: 5784
Re: bug in board logging in system
I think I found the reason for (part of) the bug now! (the part that automatic log in doesn't work) everything works fine as long as I enter the board from the "electronic board" link in the uva web. the bug happens when I click the discuss button from any problem (the button is in the uhu...
- Mon Jan 21, 2013 9:31 am
- Forum: Bugs and suggestions
- Topic: 10263 - Railway : incomplete problem description
- Replies: 0
- Views: 2822
10263 - Railway : incomplete problem description
The problem doesn't specify that the input coordinates will be integers or floating point numbers, so, after looking at the example, I assumed that they were integers. However, my code (which reads the input into an int and then casts it into a double) gets WA, and after modifying the code (so it re...
- Thu Jan 17, 2013 4:37 am
- Forum: General
- Topic: in queue... what queue?
- Replies: 2201
- Views: 372878
in queue... what queue?
the "in queue" verdict looks strange to me: it is definitely not a "queue" because it's clearly not FIFO it shouldn't be a "priority queue" because there aren't any reasonable priorities it isn't a "queue by received time" because sometimes two consecutive sub...
- Thu Jan 17, 2013 4:21 am
- Forum: Bugs and suggestions
- Topic: WA vs PE on newlines
- Replies: 2
- Views: 2657
WA vs PE on newlines
Some times I get WA (Wrong Answer) for printing an extra newline, and sometimes for NOT printing an extra newline. I think the verdict for such outputs should be PE (Presentation Error). Also note that on http://uva.onlinejudge.org/index.php?option=com_content&task=view&id=16&Itemid=31 h...
- Fri Jan 11, 2013 4:42 am
- Forum: Volume 106 (10600-10699)
- Topic: 10660 - Citizen attention offices
- Replies: 20
- Views: 10076
Re: 10660 - Citizen Attention Offices
I also have a problem with this one, but it's NOT OK on the example test cases. currently no idea on what is the problem anyone please point out the bug! deleted after AC (found bug at i/o) on the sample test cases my program outputs 0 1 2 3 12 0 1 4 20 24 0 6 12 18 24 1 7 14 16 22 instead of 0 1 2 ...
- Fri Jan 11, 2013 4:36 am
- Forum: Bugs and suggestions
- Topic: bug in board logging in system
- Replies: 13
- Views: 5784
Re: bug in board logging in system
I wish a moderator come and see here...
PS another problem found:
PS another problem found:
- sometimes 1 window is logged in but another isn't!
- Thu Jan 10, 2013 1:53 pm
- Forum: Bugs and suggestions
- Topic: bug in board logging in system
- Replies: 13
- Views: 5784
bug in board logging in system
- when I log in I always get the captcha even on the first log in!
- I never got logged in automatically no matter I click that automatic check box or not
- Thu Jan 10, 2013 9:58 am
- Forum: Volume 4 (400-499)
- Topic: 435 - Block Voting
- Replies: 11
- Views: 3249
Re: 435 - Block Voting
yet another WA after reverting to memset
Code: Select all
deleted after AC