{"id":"641db761-7c37-47c0-aadf-83a6ee176ac3","name":"Weakness And Poorness","description":"<a href=\"https://codeforces.com/problemset/problem/578/C\" target=\"_blank\"><i class=\"fa fa-external-link\" aria-hidden=\"true\"> Link -> Weakness and Poorness</i></a>","inputFormat":"Check the Link","outputFormat":"Check the Link","constraints":"Check the Link","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.util.*;\r\n\r\npublic class Main {\r\n public static void main(String[] args) throws Exception{\r\n Scanner sc = new Scanner(System.in);\r\n\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"medium","sampleInput":"3\r\n1 2 3","sampleOutput":"1.000000","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":"ccdbbb91-d392-43f3-8065-0ecd4a077535","name":"Ternary Search For Experts","slug":"ternary-search-for-experts-998","type":0},{"id":"0c0673e3-1ff3-46ef-9ee5-9c9d0057071c","name":"Weakness And Poorness","slug":"weakness-and-poorness","type":1}],"next":{"id":"047baf95-7756-4124-a99f-5338166fdf81","name":"Closest Distance","type":1,"slug":"closest-distance"},"prev":{"id":"ef6708aa-62e8-4942-bb66-3e1cb2063eef","name":"Race Time!","type":1,"slug":"race-time"}}}

Weakness And Poorness

<a href="https://codeforces.com/problemset/problem/578/C" target="_blank"><i class="fa fa-external-link" aria-hidden="true"> Link -> Weakness and Poorness</i></a>

{"id":"641db761-7c37-47c0-aadf-83a6ee176ac3","name":"Weakness And Poorness","description":"<a href=\"https://codeforces.com/problemset/problem/578/C\" target=\"_blank\"><i class=\"fa fa-external-link\" aria-hidden=\"true\"> Link -> Weakness and Poorness</i></a>","inputFormat":"Check the Link","outputFormat":"Check the Link","constraints":"Check the Link","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.util.*;\r\n\r\npublic class Main {\r\n public static void main(String[] args) throws Exception{\r\n Scanner sc = new Scanner(System.in);\r\n\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"medium","sampleInput":"3\r\n1 2 3","sampleOutput":"1.000000","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":"ccdbbb91-d392-43f3-8065-0ecd4a077535","name":"Ternary Search For Experts","slug":"ternary-search-for-experts-998","type":0},{"id":"0c0673e3-1ff3-46ef-9ee5-9c9d0057071c","name":"Weakness And Poorness","slug":"weakness-and-poorness","type":1}],"next":{"id":"047baf95-7756-4124-a99f-5338166fdf81","name":"Closest Distance","type":1,"slug":"closest-distance"},"prev":{"id":"ef6708aa-62e8-4942-bb66-3e1cb2063eef","name":"Race Time!","type":1,"slug":"race-time"}}}
plane

Editor


Loading...

Weakness And Poorness

medium

Constraints

Check the Link

Format

Input

Check the Link

Output

Check the Link

Example

Sample Input

3 1 2 3

Sample Output

1.000000

Discussions

Show Discussion

Related Resources

related resources

Turning Off Zen Mode