#D. C++-判断-输入一个三位数(第一个数字为1 ~ 9,第二和第三个数字为0 ~ 9),判断是否为水仙花数

    Type: Default 1000ms 256MiB

C++-判断-输入一个三位数(第一个数字为1 ~ 9,第二和第三个数字为0 ~ 9),判断是否为水仙花数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

输入一个三个数字(第一个数字为1 ~ 9,第二和第三个数字为0 ~ 9),判断是否为水仙花数。 image

Format

Input

Output

Samples

1
5
3
153
Yes
5
0
0
500
No

Limitation

1s, 1024KiB for each test case.

判断

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
7
Start at
2024-4-21 0:00
End at
2024-5-3 12:00
Duration
300 hour(s)
Host
Partic.
17