{"id":"fdf27d68-a7fc-4503-9241-649431e8e3b6","name":"Manhattan Rectangle","description":"https://www.codechef.com/FEB19B/problems/MANRECT","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":"4bb8d476-de87-470f-88cb-043f90232972","name":"Manhattan Rectangle","slug":"manhattan-rectangle","type":1}],"next":{"id":"7def4a96-9e23-4a14-a755-0c3acb6c3a20","name":"Bear And Prime 100","type":1,"slug":"bear-and-prime-100"},"prev":{"id":"fc416526-995e-4213-b9ff-1b2c07c38d6a","name":"Lost Tree","type":1,"slug":"lost-tree"}}}

Manhattan Rectangle

https://www.codechef.com/FEB19B/problems/MANRECT

{"id":"fdf27d68-a7fc-4503-9241-649431e8e3b6","name":"Manhattan Rectangle","description":"https://www.codechef.com/FEB19B/problems/MANRECT","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":"4bb8d476-de87-470f-88cb-043f90232972","name":"Manhattan Rectangle","slug":"manhattan-rectangle","type":1}],"next":{"id":"7def4a96-9e23-4a14-a755-0c3acb6c3a20","name":"Bear And Prime 100","type":1,"slug":"bear-and-prime-100"},"prev":{"id":"fc416526-995e-4213-b9ff-1b2c07c38d6a","name":"Lost Tree","type":1,"slug":"lost-tree"}}}
plane

Editor


Loading...

Manhattan Rectangle

hard

https://www.codechef.com/FEB19B/problems/MANRECT

Constraints

check the link

Format

Input

check the link

Output

check the link

Example

Sample Input

1

Sample Output

1

Discussions

Show Discussion

Related Resources

related resources

Turning Off Zen Mode