Faster. 17.748sec on OJ

Some faster ED calculater