• [C] Minary Fights with Time

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • Minary is busy now. As a result, she's fighting with time.
    To serialize every time point she marked, she decide to make every time point to an integer.

    You can imagine that 1970-01-01 00:00:00 GTM(Greenwich Mean Time) is the start. Give you an integer that indicates the total seconds from that time, you should output the time it stands for.

  • 输入
  • This problem contains several cases, input until EOF.
    Every case is an integer(-2^31 ~ 2^31-1) that indicates the total seconds from 1970-1-1 00:00:00 GTM.
  • 输出
  • For every case, you should output its time.
  • 样例输入
  • 0
    1111111111
    1363592469
    2147483647
    
  • 样例输出
  • 1970-01-01 00:00:00
    2005-03-18 01:58:31
    2013-03-18 07:41:09
    2038-01-19 03:14:07
    
  • 提示
  • 来源
  • Minary
  • 操作

显示春菜