- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
#include <stdio.h>
#define A(t,o,w,v) t=(t&~(((1<<w)-1)<<o))|(((t&(((1<<w)-1)<<o))>>o)+(v)<<o)
int main()
{
unsigned long long c = 1451412270569574000, r = 0;
for (int i = 0; i < 32; i++) {
int o = (c >>(62-i*2))&3,b=o&1?o&2?putchar('a'+(r&63)),r|=64:(r=((r&63)<<7)|((r &63)<<13)):o&2?r&0x7e000?A(r,13,6,-1),i-=((c>>(60-i*2))&3)+2:(r+=(r&0x1f80)>>7,i++):(A(r,0,6,((c>>(60-i*2))&3)+1-!!(r&64)*(r&63)),r&=~64,i++);
}
return 0;
}
# ideone.com/x0EHUj
# HUj