T392143 水仙花数

题目背景

水仙花数|[水仙花数2.0](https://www.luogu.com.cn/problem/T392144)|[水仙花数3.0](https://www.luogu.com.cn/problem/T392145) [水仙花数题单](https://www.luogu.com.cn/training/370192)

题目描述

在自然数中,如果一个三位数等于自身各位数字之立方和,则这个三位数就称为是水仙花数。如:153=1+125+27,所以153是一个水仙花数。求所有的水仙花数。

输入格式

无输入

输出格式

若干个空格间隔的由小到大表示的整数,每个表示一个水仙花数。

说明/提示

无 不会做请看这里:[题解](https://www.luogu.com.cn/paste/lwgr20ft)