- 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;
}
cykablyad 02.09.2017 07:46 # +1
bormand 02.09.2017 08:24 # 0
inkanus-gray 02.09.2017 10:58 # +2
d_fomenok 02.09.2017 12:12 # +5
# ideone.com/x0EHUj
# HUj
doctor_stertor 02.09.2017 23:52 # −1
Stallman 03.09.2017 04:22 # −1
MasterGovnokodinga 03.09.2017 21:43 # 0
Psionic 11.09.2017 18:02 # 0
d_fomenok 01.11.2017 14:14 # 0
cykablyad 01.11.2017 14:20 # +3
d_fomenok 01.11.2017 15:05 # 0
cykablyad 01.11.2017 15:14 # +2