# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
4682 | myungwoo | Ancient symbol (kriii1_A) | C++98 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
/* thisisCsource @V)W>a4SlGOk>Q57%<WT<nJ.HM1nqcaL^qj*8WH7%#H@t*/
/* !@*/float sr(float y){int i=0x5f3759df-((*(int*)&y)>>1);/*G*/
/* s[<e?5JsCn**xlI@T&lLu.MYuM&j*/float x2=y*0.5F; y=*(float*)&i;
/* Dg7yNk]ke*/y=y*(1.5F-(x2*y*y));return y*(1.5F-(x2*y*y));}/**/
/* lrNwrF9D9ZIZ+85*/char p[1<<16],*a=p;/*s{4cf<VGue5tY@]%NqInY*/
/* 014NxH3A<W[l&>v,8U1],>CTxWt>.]2uRs1=^rJfhwx@TkpV&LZ$DJWdDjM*/
/* 6jJD9Nl*/#define v(b) *a++=(b)/*C#(mhR0tYZH&g?LvS}cAhn%u,l#*/
/* <USCytz*/int tt=0,vv=2,ww=5;/*$WL{Y+jW59r%/Tv+}%WM{2CG4g(qFp*/
/* 6<*/int rd(){tt=(tt*2+tt*tt*7+vv*13+vv*vv*17+ww*5+ww*ww*6)%84;
/* */vv=(tt*3+tt*tt*4+vv*2+vv*vv*11+ww*2+ww*ww*10)%1241;/*!}]CA*/
/* )4S9Zc(H7bE*/ww=(tt*4+tt*tt*3+vv*7+vv*vv*13+ww+ww*ww*12)%5883;
/* qu}>A%ZsuCc)fI&9TY13rT<DN5T!Cu%<ofR*/return tt;}/*f=mE+3f74?*/
/* */char *func="2a#05H6bu07G21h42U26n3bU37>e9H41!eb}35i34p3a(3a"
"*" "e6K44ve5N56<ca%9e]c7Xa1hc4>64]c5wb6Mb3gbbkb9x67]04M39Gf7<44Wd"
"cx" "94mde^4ai26#4c!23H3f<edj39k32jf7i44rdc a1<8e&9c%";/*=Br$Vu$@{*/
/*% DpZ0)tge*/char *u="!@#$%^&*()1234567890QWERTYUIOPqwertyuiopASD"
"FG" "HJKLasdfghjklZXCVBNMzxcvbnm,./<>?{}[]+=";/*GEXtB)*jLZg[Mh,$ti*/
/*b2 ]QKpfydv[^$GEUefEdxEj3+%W*/char *def="2ai05i1eS46s1fy47#22v4c&1"
"9u" "07o5f^10u65Q09R5b%c5%a3!c2I6dzbdZ";/*T}!@7$OLlMEV9nHnXBYa$B=<*/
/*QTZ #<Y9dt.Fqufxl6*/pr(char *t,int *k){unsigned int w=0,c;/*w4+IbSy*/
/*f4g, OEJ1y*/while (*t){sscanf(t,"%x",&c);c=(c+w)%256;/*y4@VZ{]y{iVj<,*/
/*h.d@ 3xv5w=KYnJ4+Rh/s7n.}*/w=(c-w+256)%0x100;v(c);t+=3;(*k)++;}(*k)--;}
/*4)=() >l$3Tfq!J<M]w}Ih}NbM,&V.B9c[bE)<7aDw!dawDoIS]WFn@6fdF6fXNsV%r7/!B*/
/*91$tk I#TRBOceqx&iCer0Td%7346+YZKzDPtsl}$@@xW&b%kdaL4{d#&*uZ<)Jk{YWF8T}*/
/*/N?Q{Xo H^Dq6ElUblVRh*/char *pr1="2aK05I5eQ0aZ57o1bs05U25]4bI27Z48g1a)06j37i"
"e9w39Xfev" "32V37Hf9g39m07Z2f[08p40qf0v47*09W2dG37s1aI48hebX55ge2h83R9fx90&9ag";//
/*JrDxET7@Y HH6uidTT@%H{Y9AZC^HTEZ$jDI]yCPS@xFppf!i1AWx@&tCY221lFg({V<hZUv1}p^/68*/
/*WiaGH}!*((Ft #$R{0YvNiri.hw}$4nXqXGj2<ZE10zyb^SDMYNY<a7ur!jkp@&]<.7t,@6COBRh#h#=cF,!E*/
/*i]DL79obw.Uv%s bgpN.6VZjp30Nq${%HHL{L>9{bIw{%r&9w7v9RmB>W!}6J*9r3N4A*xDnC.&*<cVH0Ju]0/$O>*/
char *pr2="2au05!1dp35v2d>06P52He5k80xcfy97wca[8fna7g8dSc7}9cLc9(7esb7Uad{cct98X9cOd6*5fH05j6d}c4(9eOaek"
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