Commit bb83dae
committed
n=int(input())
ls=list(map(int,input().split()))
sq=[]
for i in ls:
sq.append(i*i)
sr=sorted(sq)
print(*sr)1 parent ccc3365 commit bb83dae
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments