我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

What day is it 日期的计算问题

Problem Description
Today is Saturday, 17th Nov,2007. Now, if i tell you a date, can you tell me what day it is ?

Input
There are multiply cases.
One line is one case.
There are three integers, year(0<year<10000), month(0<=month<13), day(0<=day<32).

Output
Output one line.
if the date is illegal, you should output "illegal". Or, you should output what day it is.

Sample Input
2007 11 17

Sample Output
Saturday

近期文章

  • circumgyrate the string 不知道如何实现好
  • Cuts the cake 如何来编写呢
  • The Stable Marriage Problem
  • C语言什么是segment错误,一般这种类型的错误如何在程序里避免呢?
  • 符号三角形 程序的实现
  • Java语言如何计算一个数的阶乘呢?
  • Java语言求一元二次方程的两个实根的程序的编写
  • 为什么在Heroku上收到此错误“ at =错误代码= H10 desc =“应用程序崩溃””?
  • 我如何获得不要求确认互动的vim?
  • 在函数中传递接口切片并将其解编组
  • 将selector.Find()的范围限制为所选元素
  • 使用Go客户端接收和发送Cookie?
  • 不能使用简单的“ dat”示例
  • mysql的gorm:找不到记录
  • 具有嵌入式结构的Gorp插入
  • 在Go中将SQL行映射到嵌套的结构/切片
  • 转发传入的HTTP请求正在排队
  • 在go中运行nodejs应用
  • 自上次修改以来如何获取文件的添加内容
  • 在Go中解组xml时省略空数组元素

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华