11708 - DS_2017fall_HW5   

Description

Given some non-negative integers,

you are asked to implement the function:

string MaxArrange(vector<int> arr): return the biggest number (string) after arrangement of the integers in arr.

 

Input

A list of non-negative numbers.

No duplicate integer  will be in the list.

e.g.

1

23

 

Output

The largetst number (string) after arrangement.

 

e.g.

231

 

Sample Input  Download

Sample Output  Download

Partial Judge Code

11708.cpp

Partial Judge Header

11708.h

Tags




Discuss