Title |
User |
Message |
Date Posted |

Re: Limits |
Kirito |
Read through the input file, should actually be 50. |
Mar 16, 2016 - 2:27:36 pm UTC |

Re: Limits |
spencereir |
Here's a way to do it without programming, for you math lovers out there. Observe that (1+1/n) =(n+1)/n Then write out the product as (2/1)(3/2)(4/3)...(40/39) Notice how the numerator of term i c... |
Mar 15, 2016 - 3:24:14 pm UTC |

Re: Limits |
Kirito |
40. Turing's good for a quick program. P.S. Reason being I was writing in C++, and I wanted to know if my array would go out of bounds; most people declare fixed size arrays because they are less lik... |
Mar 15, 2016 - 2:03:02 pm UTC |

Re: Limits |
spencereir |
I'll say as much that the proper algorithm should easily pass in time, and even a horrendously suboptimal one will as well. If you'd like a numeric value, heres a math problem to keep it interesting :... |
Mar 13, 2016 - 8:10:58 pm UTC |

Limits |
Kirito |
What are the bounds for the width and height? |
Mar 13, 2016 - 6:37:18 pm UTC |

Re: Sample data are invalid |
Alex |
Fixed (the official description was wrong) |
Jun 14, 2014 - 2:21:16 am UTC |

Sample data are invalid |
xiaowuc1 |
The first input case does not have 31 lines as claimed. |
Jun 14, 2014 - 12:37:49 am UTC |