Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 2 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 17 Sep 2017 My Price 6.00

time of the Ojass

Its the time of the Ojass’15 the technical fest of NIT Jamshedpur. Guys are busy decorating the arenas for various events. They need several colorful ribbons of different sizes for the decoration and for this they want to buy ribbons of a fixed size and then join them to form the ribbons of required sizes.
Given sizes of N required ribbons. Help them to buy the longest sized ribbon which they can use to form the required ribbons by joining the purchased ribbons.
Note: They can't cut the ribbons in any way.

 

Input

  • The first line of the input contains an integer T denoting the number of test cases. The description of T test cases follows.
  • The first line of each test case contains a single integer N denoting the number of required ribbons. The second line contains N space-separated integers A1, A2, ..., AN denoting the sizes of required ribbons.

 

Output

  • For each test case, output a single line denoting the size of the longest ribbon that should be bought.

 

Constraints

  • 1 = T = 100
  • 1 = N = 10^5
  • 1 = Ai = 10^18

 

Example

Answers

(5)
Status NEW Posted 17 Sep 2017 12:09 PM My Price 6.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)