#include <time.h>
#include <stdio.h>
void put_date( void )
{
time_t current;
struct tm * local;
char wday_name[ ] [ 3 ]
= { "日" , "月" , "火" , "水" , "木" , "金" , "土" } ;
local-> tm_year + 1900 ,
local-> tm_mon + 1 ,
local-> tm_mday,
wday_name[ local-> tm_wday] ) ;
int main( void )
{
put_date( ) ;
return ( 0 ) ;
}
I2luY2x1ZGUgPHRpbWUuaD4KI2luY2x1ZGUgPHN0ZGlvLmg+CgoKdm9pZCBwdXRfZGF0ZSh2b2lkKQp7CiAgdGltZV90ICAgY3VycmVudDsKICBzdHJ1Y3QgIHRtICpsb2NhbDsKICBjaGFyICB3ZGF5X25hbWVbXVszXSAKICAgID17IuaXpSIsICLmnIgiLCAi54GrIiwgIuawtCIsICLmnKgiLCAi6YeRIiwgIuWcnyJ9OwoKICB0aW1lKCZjdXJyZW50KTsKICBsb2NhbCA9IGxvY2FsdGltZSgmY3VycmVudCk7CiAgcHJpbnRmKCIlNGTlubQlMDJk5pyIJTAyZOaXpSglcykiLAoJIGxvY2FsLT50bV95ZWFyICsgMTkwMCwKCSBsb2NhbC0+dG1fbW9uICArIDEsCgkgbG9jYWwtPnRtX21kYXksCgkgd2RheV9uYW1lW2xvY2FsLT50bV93ZGF5XSApOwppbnQgbWFpbih2b2lkKQp7CiAgcHJpbnRmKCLku4rml6Xjga8iKTsKICAgIHB1dF9kYXRlKCk7IAogIHByaW50Zigi44Gn44GZ44CCXG4iKTsKCiAgcmV0dXJuICgwKTsKfQo=