Ya Parker... Thanks a lot... I just got AC in both of them... But trying to improve performance... I ll try without FastIO... Spent two days writing and debugging the FastIO class... :(
On Sun, Dec 23, 2012 at 11:36 AM, ZHANG Xiongqi, Parker < [email protected]> wrote: > Hey, you forgot to clear Weight[i] for different test case before pushing > new edges for new cities ! ! > > :) > > and FastIO is not needed. > > Parker > > > On 2012/12/23 11:25, thefourtheye dIVi wrote: > >> Hi, >> >> I think this is one of the simple problems which would have got a lot >> TLEs. >> >> This is what I do, http://ideone.com/7XE0UU My actual starts at Line 228. >> >> It TLE's in >> https://www.spoj.com/problems/**SHPATH/<https://www.spoj.com/problems/SHPATH/>whereas >> it WA's in >> http://www.spoj.com/problems/**TSHPATH/<http://www.spoj.com/problems/TSHPATH/>(which >> is same as the SHPATH problem with 60 sec Time limit) >> >> Could anyone please help me with this? >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Code Jam" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to google-code+unsubscribe@** >> googlegroups.com <google-code%[email protected]>. >> For more options, visit >> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >> . >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to google-code+unsubscribe@** > googlegroups.com <google-code%[email protected]>. > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > > > -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
