worldcupfebcookoff

http://www.codechef.com/viewsolution/6286562
getting runtime SIGFPE

SIGFPE is normally caused when you try to divide by zero, that’s what @admin :diamonds::diamonds: says in this FAQ. You should read the FAQ ( We cannot view your solution, it’s resticted ).

http://discuss.codechef.com/questions/7638/why-do-i-get-a-sigfpe?page=1#7639

check error in this