Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Comments

I debugged, and it seems like tree *t vs tree *t = NULL

was giving me a problem. Was ok on my own computer, but not on the submission checker.

Yep, now for time limit. thanks a bunch Sa1387

Auto comment: topic has been updated by Singledigit (previous revision, new revision, compare).