Message PHP
[Homepage] [Script Top] [Administrator]

2018年のごあいさつ - 2018-01-01
                              namespace   y2018{
                              class P{    static
                              int year      = 2018
                              ; public      static
                              char cc(        int c,
                              int m=0)        {int a
                              =c+year*
                              m;return
    (char)a;} static void p(char c){System.Console.Write(c);
    }static void wtipt(){ System.Console.Read();}static void
    Main(string[]a){char[]w=new char[4];w[3]=cc(-5-(year>>6)
    ,12);w[2]=cc(w[3]-0xa6,1);w[1]=cc(w[2]+10000);w[0]=cc(w[
    1]-((3<<7)                +7));int
    []b;b=new                 int [5];
    b[0]=year                 *2+11;b[          2]=b[0]-
    128;b[4]=                 b[0];b[1          ]=(3<<8)
    +77;b[3]=                  0x600+b[         1]; char
    s=cc(45<<                  2,6);int         n=0;for(
    int f=0;f<2;f++){for(int     l=0;l<b.       Length*2
    ;l++){int y=l/2; for(int     i=14;i>=       0;i-=1){
    int z=i;z-=(f==0?i/4:0);      bool v=(  i%4!=3||
    f!=0)&&(b[y]&(1<<z))!=0;      for(long  d=0;d<2;
    d++){p(v                        ?w[n%4]:s);n
    +=v?1:0;                        }}p('\n');}b
    =new int                          [7];b[1]
    =2+(2<<4                          );b[2]=b
  [0]=year                        *8+b[1]+12;b
  [6]=year                        /2*9+6;b[5]=
  b[6]/2+b                     [1]*2-3; b[3]=b[1
  ]+b[5];b                     [4]=b[3] +b[1]-6;
  for(long                 lf=0;lf<2;     lf++){p(    '\n');
  }}string                 m=""+year;     int gi=(    1<<8)-
  (1<< 3);             gi+=year/2           ;char gc  =cc(gi
  ,13);w[0             ]=gc;w[2]=           s;for(int i=3;i>
0;i-=2){         int h=(i+1                 )%4;char pr=w[i]
;w[i]=w[         h];w[h]=pr                 ;}for(long i=0;w
.Length>     i;i++){m+=                       w[i];} System.
Console.     WriteLine(                       m);wtipt();}}}
あけましておめでとうございます。
2018年 元旦