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: 209, Accepted users: 208
Problem 10494 : No special judgement
Problem description
  已知枚举类型定义如下:

enum  color{red, yellow, blue, green, white, black};

从键盘输入一整数,显示与该整数对应的枚举常量的英文名称。



Input
  输入数据有若干行。每行一个整数。

Output
  对每行数据,输出与该整数对应的枚举常量的英文名称,换行。

Sample Input
0
1
Sample Output
red
yellow
Submit   Clarifications   Judge Status  Problems  Ranklist 

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