c431. Sort ! Sort ! Sort !
Tags :
Accepted rate: 1166人/ 1983人 ( 59%) [非即時]
評分方式:
Tolerant

最近更新 : 2018-02-26 00:12

Content

記憶體限制『 5MBytes 』

本題記憶體限制 5 MB
請勿使用   #include <iostream>
請使用 #include <stdio.h> 使用 scanf , printf 輸入輸出

Input

單筆輸入~~

一開始有個數字 n (1 <= n <= 1048576)

接下來一行a1 a2 a3 ...... an共 n 個數字

(1 <= a[i] <= 100)

Output

請從小到大輸出所有數字~~

Sample Input #1
5
2 3 4 1 5
Sample Output #1
1 2 3 4 5
測資資訊:
記憶體限制: 8 MB
公開 測資點#0 (20%): 1.0s , <1K
公開 測資點#1 (20%): 1.0s , <1M
公開 測資點#2 (20%): 1.0s , <1M
公開 測資點#3 (20%): 1.0s , <1M
公開 測資點#4 (10%): 1.0s , <10M
公開 測資點#5 (10%): 1.0s , <10M
Hint :

2018.02.25 記憶體限制改為 5 MB

Tags:
出處:
[管理者: andy89923 (CTFang) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
20935 fire5386 (becaidorz) c431
2919 2020-03-21 11:04
37352 liaoweichen1 ... (M_SQRT) c431
Java io優化
637 2023-09-03 10:29
45816 cracker04012 ... (lbc) c431
不正經的解法
325 2025-04-16 21:42
41146 xsw20080329@ ... (敢不敢讓我過) c431
___c
452 2024-07-08 10:27
22737 s033390431@g ... (Chus) c431
C++ / C解
3191 2020-09-29 18:54