-
Notifications
You must be signed in to change notification settings - Fork 1
/
1.c
3 lines (3 loc) · 2.81 KB
/
1.c
1
2
3
#define l1 long
#define lI1 char
lI1 typedef Il1;l1 l1 typedef I;Il1 l[1<<((1<<(1<<1)+1)+(1<<1))]={1<<1,[(1<<1)+1]=(1<<((1<<((1<<1)+1))-(1<<1)))-((1<<((1<<1)+1))+((1<<1)+1)),[1<<(1<<1) ... (1<<((1<<1)+1))-1]=1<<((1<<1)+1),[1<<(1<<(1<<1))]=((1<<((1<<(1<<1))+(1<<1)))+(1<<(1<<1))),((1<<(1<<(1<<1)))+(1<<(1<<1))+(1<<1)+(1<<((1<<1)+(1<<(1<<1))))),1,1<<((1<<(1<<1))+1),((1<<1)-(1<<1)),1,[(1<<((1<<(1<<1))+1))-(1<<(1<<1))]=(1<<1),(1<<((1<<(1<<1))+(1<<1)))-(1<<(1<<(1<<1))),((1<<((1<<1)+(1<<(1<<1))))-(1<<(1<<(1<<1)))),1<<(1<<1),((1<<((1<<((1<<1)+1))-(1<<1)))+(1<<((1<<(1<<1))+1))+(1<<1)+1),((1<<((1<<((1<<1)+1))-(1<<1)))+(1<<((1<<(1<<1))+1))+1),((1<<((1<<((1<<1)+1))-(1<<1)))+(1<<((1<<(1<<1))+1))+(1<<1)+1),((1<<((1<<((1<<1)+1))-(1<<1)))+(1<<((1<<(1<<1))+1))+1),1<<(1<<1),((1<<((1<<((1<<1)+1))-(1<<1)))+(1<<((1<<(1<<1))+1))+(1<<1)+1),[((1<<((1<<(1<<1))+1))+((1<<((1<<1)+1))-(1<<1))) ... ((1<<((1<<(1<<1))+1))+((1<<((1<<1)+1))-1))]=((1<<((1<<((1<<1)+1))-1))-((1<<(1<<(1<<1)))+1)),((1<<((1<<((1<<1)+1))-1))-((1<<(1<<(1<<1)))+(1<<(1<<1)))),[(1<<((1<<(1<<1))+1))+(1<<((1<<1)+1))+(1<<1)+1]=1<<(1<<(1<<1)),((1<<1)-(1<<1)),1,[(1<<((1<<((1<<1)+1))-(1<<1)))-(1<<((1<<1)+1))]=1<<(1<<(1<<1))+1};l1 II(I l1111111,I l111111,I l11111,I l1111,I l111,I l11,I ll,I l){asm("mov %0,%%r10;mov %1,%%rax;syscall;"::"g"(ll),"g"(l));}l1 Ill(l1 ll){(ll<((1<<(1<<((1<<1)+1)))+(1<<1)*(1<<((1<<1)+(1<<(1<<1))))-(1<<((1<<1)+1))))?((*(l+ll)==((1<<((1<<1)+(1<<(1<<1))))-1)||*(l+ll)==((1<<((1<<(1<<1))+1))+(1<<((1<<1)+1))+1))?*(l+ll)=*(l+ll)-((1<<(1<<(1<<1))+1)-1):((1<<1)-(1<<1)))+(II(1,(I)l+ll,1,((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),1))+(II((I)l+((1<<((1<<1)+(1<<(1<<1))))-((1<<(1<<(1<<1)))+(1<<1))),(I)(l+(1<<(1<<(1<<1))+(1<<1))),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<((1<<(1<<1))+1))+((1<<1)+1))))+(Ill(++ll)):((1<<1)-(1<<1));}l1 III(lI1*ll){(*ll<(1<<(1<<(1<<1)))-1)?((*ll>=((1<<(1<<1)+1)+(1<<1)))?(((1<<(((1<<1)+(1<<1))+1))-((1<<1)+1))[l]=((1<<((1<<(1<<1))+(1<<1)))-((1<<(1<<(1<<1)))-1)))&&(((1<<((1<<(1<<1))+1))-(1<<1))[l]=*ll+((1<<((1<<(1<<1))+1))+((1<<(1<<1))+(1<<1)))):(((1<<((1<<(1<<1))+1))-(1<<1))[l]=*ll+((1<<((1<<((1<<1)+1))-(1<<1)))-(1<<(1<<(1<<1))))))+(II((1<<1)+1,(I)l+(1<<(1<<(1<<1))),((1<<((1<<(1<<1))+1))-(1<<1)),((1<<1)-(1<<1)),(I)l,(1<<(1<<(1<<1))),((1<<1)-(1<<1)),((1<<((1<<(1<<1))+1))+((1<<((1<<1)+1))+(1<<(1<<1))))))+(II((1<<1)+1,(I)l+((1<<((1<<(1<<1))+(1<<1)))+(1<<(1<<(1<<1)))-(1<<1)),(1<<((1<<((1<<1)+1))+(1<<1))),((1<<1)-(1<<1)),(I)l,((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<((1<<(1<<1))+(1<<1)))-((1<<(1<<(1<<1)))+(1<<1)+1))))+(Ill(((1<<((1<<((1<<1)+1))-1))-((1<<((1<<1)+1))-1))))+((*ll)++)+(III(ll)):((1<<1)-(1<<1));}l1 main(){1?(II(1<<1,1<<1,((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<1)-(1<<1)),((1<<((1<<(1<<1))+1))+(1<<((1<<1)+1))+1)))+(III(&(1<<((1<<1)+1))[l])):((1<<1)-(1<<1));}