Hello Programmers In this post, you will know how to solve the Maximum Submissions Codechef Solution. The Problem Code is MAXIMUMSUBS.Maximum Submissions Codechef SolutionsOne more thing to add, don’t directly look for the solutions, first try to solve the problems of Codechef by yourself. If you find any difficulty after trying several times, then you can look for solutions.ProblemA participant can make 11 submissions every 3030 seconds. If a contest lasts for XX minutes, what is the maximum number of submissions that the participant can make during it?It is also given that the participant cannot make any submission in the last 55 seconds of the contest.Input FormatThe first line of input will contain a single integer TT, denoting the number of test cases.Each test case consists of a single integer XX, denoting the number of minutes.Output FormatFor each test case, output the maximum number of submissions a participant can make in XX minutes.Constraints1 ≤ T ≤301 ≤ X ≤30Sample 1:Input4 1 2 3 4Output2 4 6 8Explanation:Test case 1: The contest lasts for 11 minute, which is 60 seconds. A participant can make 2 submissions during this time — for example, in the 5-th second and in the 48-th second. Making 3 or more submissions is impossible.Test case 2: The contest lasts for 2 minutes, which is 120seconds. A participant can make 4 submissions during this time.Maximum Submissions Codechef Solutions in JAVA/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Codechef { public static void main (String[] args) throws java.lang.Exception { Scanner sc=new Scanner(System.in); int t = sc.nextInt(); while(t-- >0){ int n = sc.nextInt(); int d=n*60; System.out.println(d/30); } } } Maximum Submissions Codechef Solutions in CPP#include <iostream> using namespace std; int main() { int n; cin>>n; while(n--) { int x; cin>>x; int y=x*60; cout<<y/30<<endl; } // your code goes here return 0; }Maximum Submissions Codechef Solutions in Pythontry: n=int(input()) for i in range(n): num=int(input()) print(num*2) except: passDisclaimer: The above Problem (Maximum Submissions) is generated by CodeChef but the solution is provided by BrokenProgrammers. This tutorial is only for Educational and Learning purpose.Note:- I compile all programs, if there is any case program is not working and showing an error please let me know in the comment section. If you are using adblocker, please disable adblocker because some functions of the site may not work correctly.Next: Final Population Codechef Solution Post navigationGreater Average Codechef Solution Final Population Codechef Solution