| Title |
User |
Message |
Place |
Date Posted |
| Re: Why does it give me an error? |
magicalsoup |
You might want to look up what a "stack" is |
ccc15s1 |
Jan 26, 2019 - 4:30:22 am UTC |
| Re: Why does it give me an error? |
jargon |
Your code executes in O(k^2) time, which is too slow for k = 100 000. Try a different approach. |
ccc15s1 |
Jan 26, 2019 - 4:11:07 am UTC |
| Re: What's wrong? |
jargon |
Which of your own test cases have you tried? |
p171ex6a |
Jan 26, 2019 - 4:07:58 am UTC |
| Why does it give me an error? |
AayushKhazanchi |
Why is my solution taking too long? |
ccc15s1 |
Jan 25, 2019 - 9:59:33 pm UTC |
| What's wrong? |
TheBoss77 |
Does it have to do with the numbers being real numbers? |
p171ex6a |
Jan 25, 2019 - 9:13:26 pm UTC |
| Re: Input |
jargon |
This information exists in the problem statement. |
wc161j1 |
Jan 25, 2019 - 5:36:43 am UTC |
| Re: Random error? Help |
jargon |
Do not read input in this fashion. It is far too easy to make a mistake while performing manual string processing. Instead, use split(). |
ecooqual2018p1 |
Jan 25, 2019 - 5:15:40 am UTC |
| Input |
TheBoss77 |
Can the input be negative? |
wc161j1 |
Jan 24, 2019 - 11:57:37 pm UTC |
| What's wrong? |
TheBoss77 |
What's wrong? |
wc153j1 |
Jan 24, 2019 - 9:43:15 pm UTC |
| Re: Random error? Help |
magicalsoup |
no really sure whats going on here, but it may be either due to ```raw_input``` error or the type of python you are using, try using raw_input and maybe python 2 |
ecooqual2018p1 |
Jan 24, 2019 - 5:02:15 pm UTC |