判断闰年

Luogu
IDLGB2150
Time1000ms
Memory512MB
DifficultyP1
分支结构
判断某年是否是闰年。如果公元 $a$ 年是闰年输出 Y,否则输出 N。 ## Input 输入只有一行,包含一个整数 $a(0 < a < 3000)$。 ## Output 一行,如果公元 $a$ 年是闰年输出 Y,否则输出 N。 [samples]
Samples
Input #1
2006
Output #1
N
API Response (JSON)
{
  "problem": {
    "name": "判断闰年",
    "description": {
      "content": "判断某年是否是闰年。如果公元 $a$ 年是闰年输出 Y,否则输出 N。",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 524288
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2150"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "判断某年是否是闰年。如果公元 $a$ 年是闰年输出 Y,否则输出 N。\n\n## Input\n\n输入只有一行,包含一个整数 $a(0 < a < 3000)$。\n\n## Output\n\n一行,如果公元 $a$ 年是闰年输出 Y,否则输出 N。\n\n[samples]...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments