|
|
back to boardWhat's the magic in #18 Posted by Ade 5 Apr 2013 23:35 Always WA at #18 I gave it everything I have. Resolve the formula group. Iterate to 1e-15. Still WA. Any hints? Thanks Edited by author 05.04.2013 23:37 Re: What's the magic in #18 Iterative schemes are unstable (small deviations from equilibrium in neighbor nodes lead to large error in final solution), so stupid iteration is hard to get AC here. Better reduce the problem to linear system and solve it honestly, or reduce it to matrix multiplications (even in this case you need some streetmagic to beat accuracy!) Re: What's the magic in #18 Posted by Ade 9 Apr 2013 14:18 Thanks, Vedernikoff I resolved the linear formulations, but WA#18. Then I add some iterations afterward to 1e-14. Still failing. I'm now planning to pure iterations. The initial state doesn't matter, I think. So I'm gonna start from 1/64 in every cell. |
|
|