Shows custompair is not defined error


this is my code.
i used pair to define a custompair which shows no pair as such error

@tanjuljain19,
Use this instead #define custompair pair<ll,pair<ll,ll>>

https://ide.codingblocks.com/s/239279 shows whitespace error

@tanjuljain19,
This is not what I asked you to do, look carefully, or just copy paste from here.

https://ide.codingblocks.com/s/239290 shows segmentation fault

@tanjuljain19,
Thats not because of the syntax anymore, dry run on the sample test case to find where it leaks out of memory.