Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- public class Program
- {
- public static void Main()
- {
- int[] numbers = Console.ReadLine().Split('#').Select(n => int.Parse(n)).Select(n => 10 * n).ToArray();
- Array.Sort(numbers);
- Console.WriteLine(string.Join("\n", numbers));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement