User profile: afatperson

User info
User name:afatperson
History
Joined:
Number of posts:35
Latest posts:

How can I make my solution more efficient?
@niccolo I start my array at 1 in this problem because the prefix sum at position zero is zero, so I...

How can I make my solution more efficient?
@jonnin that code does not give the right values for any inputs. I've written my code to eliminate a...

How can I make my solution more efficient?
Thanks for all the input! I've changed everything per your advice, but I think the loop at the end t...

How can I make my solution more efficient?
I'm having trouble with a competitive programming problem, here it is. Farmer John's N cows (1 <= N ...

Built In lower_bound function
Thanks for the reply! Why does subtracting the pointer address turn the pointer into an integer?

This user does not accept Private Messages

User: afatperson

  • Public profile