Title |
User |
Message |
Date Posted |
Re: Hardcoding? |
jargon |
Yes. I've removed the offending submissions. |
Jan 26, 2017 - 3:46:47 am UTC |
Hardcoding? |
gpfault |
[user] is hardcoding for the test case, I was wondering if it is against the rules in any way? |
Jan 24, 2017 - 7:33:13 am UTC |
Re: Are you positive that it is doable with Python 3? |
SUPER_ET_DUPER |
I was only able to get the same as sigkill in Python 3.(first batch and first of second batch) The judge should have different time limits for different languages. |
Jan 05, 2015 - 2:45:29 am UTC |
Re: Are you positive that it is doable with Python 3? |
sigkill |
The best I managed to get was the entire first batch case, plus one sub-case of the second batch. On a 5 point, non-partial problem that's fairly easy in C, I'd say it was mostly a wasted effort :) |
Dec 21, 2014 - 4:36:55 am UTC |
Re: Are you positive that it is doable with Python 3? |
Ajna |
Just to be sure: did you succeed in doing it with P3 or it was a totally wasted effort (apart from practicing, of course) even on your side? |
Dec 21, 2014 - 1:14:28 am UTC |
Re: Are you positive that it is doable with Python 3? |
quantum |
I haven't managed to solve this in Python 2, even though I used basically all possible tricks. Despite getting the data to fit into memory for the second last case, it still times out. I say this is w... |
Dec 19, 2014 - 8:43:53 pm UTC |
Re: Are you positive that it is doable with Python 3? |
sigkill |
Data too large. |
Dec 19, 2014 - 6:54:10 am UTC |
Re: Are you positive that it is doable with Python 3? |
LOLWHATOMGBBQ |
Try import sys all_data = sys.stdin.read().split('\n') I'm not 100% sure this will pass though. EDIT: I think the judge will give you runtime error if you try that. |
Dec 19, 2014 - 1:45:09 am UTC |
Re: Are you positive that it is doable with Python 3? |
sigkill |
After having wasted an hour on it, I can confirm that doing this in Python is, at least, quite difficult. There aren't any special data structures you need. Just a list applied in a particular way. E... |
Dec 16, 2014 - 6:05:13 pm UTC |
Re: Are you positive that it is doable with Python 3? |
Ajna |
No idea how to implement that, though, as even trying with other data structures, as I stated, I seem to fail. If you have any tip, I'll be glad to follow it and try again a new solution. Meanwhile,... |
Nov 25, 2014 - 4:16:49 pm UTC |