Lost Tree
hard
https://codeforces.com/problemset/problem/1534/D
Constraints
Check the link
Format
Input
Check the link
Output
Check the link
Example
Sample Input
1
Sample Output
1
{"id":"bbb0b845-7b2e-491c-9076-744d5cd8a534","name":"Lost Tree","description":"https://codeforces.com/problemset/problem/1534/D","inputFormat":"Check the link","outputFormat":"Check the link","constraints":"Check the link","sampleCode":{"cpp":{"code":""},"java":{"code":"\r\nimport java.util.*;\r\nimport java.lang.*;\r\nimport java.io.*;\r\n\r\nclass Main {\r\n\r\n public static void main(String[] args) throws Exception {\r\n\r\n }\r\n}\r\n"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"hard","sampleInput":"1","sampleOutput":"1","questionVideo":"","hints":[],"associated":[],"solutionSeen":false,"tags":[],"meta":{"path":[{"id":0,"name":"home"},{"id":"0c54b191-7b99-4f2c-acb3-e7f2ec748b2a","name":"Data Structures and Algorithms","slug":"data-structures-and-algorithms","type":0},{"id":"13407d1b-a1ba-4b3f-aea1-547250154b34","name":"Interactive problems For Experts","slug":"interactive-problems-for-experts-978","type":0},{"id":"fc416526-995e-4213-b9ff-1b2c07c38d6a","name":"Lost Tree","slug":"lost-tree","type":1}],"next":{"id":"4bb8d476-de87-470f-88cb-043f90232972","name":"Manhattan Rectangle","type":1,"slug":"manhattan-rectangle"},"prev":null}}
https://codeforces.com/problemset/problem/1534/D
{"id":"bbb0b845-7b2e-491c-9076-744d5cd8a534","name":"Lost Tree","description":"https://codeforces.com/problemset/problem/1534/D","inputFormat":"Check the link","outputFormat":"Check the link","constraints":"Check the link","sampleCode":{"cpp":{"code":""},"java":{"code":"\r\nimport java.util.*;\r\nimport java.lang.*;\r\nimport java.io.*;\r\n\r\nclass Main {\r\n\r\n public static void main(String[] args) throws Exception {\r\n\r\n }\r\n}\r\n"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"hard","sampleInput":"1","sampleOutput":"1","questionVideo":"","hints":[],"associated":[],"solutionSeen":false,"tags":[],"meta":{"path":[{"id":0,"name":"home"},{"id":"0c54b191-7b99-4f2c-acb3-e7f2ec748b2a","name":"Data Structures and Algorithms","slug":"data-structures-and-algorithms","type":0},{"id":"13407d1b-a1ba-4b3f-aea1-547250154b34","name":"Interactive problems For Experts","slug":"interactive-problems-for-experts-978","type":0},{"id":"fc416526-995e-4213-b9ff-1b2c07c38d6a","name":"Lost Tree","slug":"lost-tree","type":1}],"next":{"id":"4bb8d476-de87-470f-88cb-043f90232972","name":"Manhattan Rectangle","type":1,"slug":"manhattan-rectangle"},"prev":null}}
Editor
Discussions
Show Discussion
Related Resources