Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
四位水仙花数
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 116, Accepted users: 101
Problem 11622 : No special judgement
Problem description
  四位水仙花数是指一个四位数,满足如下条件:假设该四位数形如abcd,则abcd=a^4+b^4+c^4+d^4。

Input
  输入有若干行,每行一个32位正整数。

Output
  对每个输入判断是否为四位水仙花数。是输出Y,否输出N。

Sample Input
1000
Sample Output
N
Problem Source
  HUNNU Contest 

Submit   Discuss   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:2300 today,16259027 total, since 2010-05-07