304085: CF784F. Crunching Numbers Just for You

Memory Limit:64 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Crunching Numbers Just for You

题意翻译

你正在为销售机票的网站开发一项新功能:按能够对价格进行票分类照片你已经提取了票价,所以只有最后一步要做... 给你一个整数数组。按非降序排序。 输入输出格式 输入格式: 输入由一行空格分隔的整数组成。 第一个数字是N(1<=N<=10) ,数组的大小。下列 N个数字的数组a的所有元素(1<=ai<=100)。 输出格式: 输出排序数组的空格分隔元素。 记住,这是一个非常重要的功能,你必须确保顾客欣赏它! Translated by @zhrzhrzhr

题目描述

You are developing a new feature for the website which sells airline tickets: being able to sort tickets by price! You have already extracted the tickets' prices, so there's just the last step to be done... You are given an array of integers. Sort it in non-descending order.

输入输出格式

输入格式


The input consists of a single line of space-separated integers. The first number is $ n $ ( $ 1<=n<=10 $ ) — the size of the array. The following $ n $ numbers are the elements of the array ( $ 1<=a_{i}<=100 $ ).

输出格式


Output space-separated elements of the sorted array.

输入输出样例

输入样例 #1

3 3 1 2

输出样例 #1

1 2 3 

说明

Remember, this is a very important feature, and you have to make sure the customers appreciate it!

Input

题意翻译

你正在为销售机票的网站开发一项新功能:按能够对价格进行票分类照片你已经提取了票价,所以只有最后一步要做... 给你一个整数数组。按非降序排序。 输入输出格式 输入格式: 输入由一行空格分隔的整数组成。 第一个数字是N(1<=N<=10) ,数组的大小。下列 N个数字的数组a的所有元素(1<=ai<=100)。 输出格式: 输出排序数组的空格分隔元素。 记住,这是一个非常重要的功能,你必须确保顾客欣赏它! Translated by @zhrzhrzhr

加入题单

上一题 下一题 算法标签: