Time limit
5000 ms
Code length Limit
50000 B
OS
Linux
Language limit
C, CPP14, JAVA, PYTH, PYTH 3.6, PYPY, CS2, PAS fpc, PAS gpc, RUBY, PHP, GO, NODEJS, HASK, SCALA, D, PERL, FORT, WSPC, ADA, CAML, ICK, BF, ASM, CLPS, PRLG, ICON, SCM qobi, PIKE, ST, NICE, LUA, BASH, NEM, LISP sbcl, LISP clisp, SCM guile, JS, ERL, TCL, PERL6, TEXT, SCM chicken, PYP3, CLOJ, FS
Author
gomelfk
Tester
xcwgf666
Tags
binary-search, centroid-decomp, dec15, gomelfk, hard, hashing
Editorial
http://discuss.codechef.com/problems/WAYPA
Descriptions:

Trip and Palindromes

CodeChef - WAYPA