Problem Link — [E. Train and Statistics](http://codeforces.net/contest/675/problem/E) ↵
[Working on Ideone](http://ideone.com/ZX2BtC) whereas ↵
[RTE on codeforces](http://codeforces.net/contest/675/submission/17967810) ↵
Can some help me find out what's the problem here?
[Working on Ideone](http://ideone.com/ZX2BtC) whereas ↵
[RTE on codeforces](http://codeforces.net/contest/675/submission/17967810) ↵
Can some help me find out what's the problem here?