PROBLEM LINK:Author: Arkapravo Ghosh DIFFICULTY:CAKEWALK PREREQUISITES:Array PROBLEM:You are given an element K. There are T test cases. For every test case, you are given N integers. You have to check if the sum of the N integers is greater than K or not. EXPLANATION:For every test case, you need to find the sum of the given N numbers. If the sum of the numbers is greater than K, then output FAILURE else output SUCCESS. AUTHOR'S AND EDITORIALIST'S SOLUTIONS:Author's and editorialist’s solution can be found here.
This question is marked "community wiki".
asked 25 Sep, 19:58
