{"id":307777,"date":"2020-07-31T09:00:11","date_gmt":"2020-07-31T09:00:11","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=307777"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=307777","title":{"rendered":"\u041a\u0430\u043a \u044f \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u043b \u0432 IOCCC-&#8217;19 (\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043b). \u0427\u0430\u0441\u0442\u044c 1: \u00ab\u041a\u0440\u0435\u0441\u0442\u0438\u043a\u0438-\u043d\u043e\u043b\u0438\u043a\u0438\u00bb"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/505044\/\">\u041d\u0430\u0441 \u0441 \u0434\u0435\u0442\u0441\u0442\u0432\u0430 \u0443\u0447\u0438\u043b\u0438, \u0447\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u0438\u0439, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0445\u043e\u0440\u043e\u0448\u043e \u0447\u0438\u0442\u0430\u0442\u044c\u0441\u044f, \u0431\u044b\u0442\u044c \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c. \u0412\u0441\u0435 \u0440\u0443\u0433\u0430\u044e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0438\u0448\u0443\u0442 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0443\u0441\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434. <br \/>  \u041d\u043e \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0441, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0439 \u00ab\u0445\u043e\u0440\u043e\u0448\u0435\u0441\u0442\u0438\u00bb \u043a\u043e\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0432\u0435\u0440\u043d\u0443\u0442? \u0427\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0441\u043e \u0437\u043d\u0430\u043a\u043e\u043c \u00ab\u043c\u0438\u043d\u0443\u0441\u00bb. \u0418\u043c\u0435\u043d\u043d\u043e \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u043c\u044b\u0441\u043b\u044f\u043c\u0438 Leonid A. Broukhis, Simon Cooper \u0438 Landon Curt Noll \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043e\u043d\u043a\u0443\u0440\u0441 IOCCC (International Obfuscated C Code Contest) \u0432 1984\u043c \u0433\u043e\u0434\u0443. \u0426\u0435\u043b\u044c \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430 \u2014 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0430\u043c\u044b\u0439 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u044b\u0439 \u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u043a\u043e\u0434, \u0443\u0434\u0438\u0432\u0438\u0442\u044c \u0441\u0443\u0434\u0435\u0439 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438 \u0441\u043a\u0440\u044b\u0442\u0438\u044f \u0438\u0441\u0442\u0438\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043c\u0435\u0448\u0430\u043d\u0438\u043d\u043e\u0439 \u0438\u0437 \u0437\u043d\u0430\u043a\u043e\u0432, \u0447\u0438\u0441\u0435\u043b \u0438 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ey\/ec\/cx\/eyeccx_fwsobmoids5cr2lnvjnm.png\"><\/p>\n<p>  \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043f\u0440\u043e \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0438, \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430: <a href=\"https:\/\/www.ioccc.org\/\" rel=\"nofollow\">www.ioccc.org<\/a><\/p>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043c\u0435\u043d\u044f \u043f\u0443\u0433\u0430\u043b\u0430 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0430 \u00ab\u0441\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f\u00bb \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c\u0438, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0433\u0443\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0442\u044b\u0440\u0435\u0445\u0441\u0442\u0443\u043f\u0435\u043d\u0447\u0430\u0442\u044b\u0435 \u043a\u0432\u0430\u0439\u043d\u044b, \u0432\u044b\u0432\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 <a href=\"https:\/\/www.ioccc.org\/2000\/dhyang.c\" rel=\"nofollow\">\u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d<\/a> \u0432 \u0432\u0438\u0434\u0435 \u043b\u0438\u0446\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0438 \u0438\u0435\u0440\u043e\u0433\u043b\u0438\u0444\u043e\u0432 \u0438\u043c\u0435\u043d\u0438 \u0438\u043b\u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 <a href=\"https:\/\/www.ioccc.org\/2019\/diels-grabsch2\/prog.c\" rel=\"nofollow\">\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439<\/a> sha-512 \u0445\u044d\u0448, \u044f \u0432\u0441\u0451 \u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 27\u043c \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0435 IOCCC.<\/p>\n<p>  \u0427\u0442\u043e \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0448\u043b\u043e, \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439. \u0422\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u0436\u0434\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 8.000000 \u0440\u0430\u0431\u043e\u0442 \u044f \u0440\u0435\u0448\u0438\u043b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u0432\u0443\u043c\u044f (\u0443\u043c\u0435\u0440\u0448\u0438\u0439 HDD \u0438\u0437-\u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0441\u0451 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043d\u0443\u043b\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u0441\u0442\u0432\u043e\u0432\u0430\u043b). \u0426\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 (\u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043a \u0441\u043b\u043e\u0436\u043d\u043e\u043c\u0443):<\/p>\n<ol>\n<li><a href=\"#\">\u041a\u0430\u043a \u044f \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u043b \u0432 IOCCC-&#8217;19 (\u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u043b). \u0427\u0430\u0441\u0442\u044c 1: \u00ab\u041a\u0440\u0435\u0441\u0442\u0438\u043a\u0438-\u043d\u043e\u043b\u0438\u043a\u0438\u00bb<\/a><\/li>\n<li>\u041a\u0430\u043a \u044f \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u043b \u0432 IOCCC-&#8217;19 (\u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u043b). \u0427\u0430\u0441\u0442\u044c 2: \u00ab\u0421\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440 NOR\u00bb<\/li>\n<\/ol>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<h3>\u041e\u0442 \u0430\u0432\u0442\u043e\u0440\u0430<\/h3>\n<p>  \u0415\u0441\u0442\u044c \u043b\u0438 \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044f, \u0447\u0442\u043e \u043f\u043e\u0431\u0435\u0434\u0430 \u0434\u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u043a\u043e\u043c\u0443-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443? \u0412 \u043e\u0431\u0449\u0435\u043c \u043d\u0435\u0442. \u042f \u043e\u0441\u043e\u0431\u043e \u043d\u0430\u0434\u0435\u044f\u043b\u0441\u044f \u043d\u0430 \u0441\u0432\u043e\u044e \u0432\u0442\u043e\u0440\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 (\u0438\u0437 \u0447\u0430\u0441\u0442\u0438 2) \u0438 \u043d\u0430 \u043d\u043e\u043c\u0438\u043d\u0430\u0446\u0438\u044e \u00ab\u0421\u0430\u043c\u0430\u044f \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043b\u044f X11\u00bb, \u043d\u043e \u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u044d\u0442\u043e\u0439 \u043d\u043e\u043c\u0438\u043d\u0430\u0446\u0438\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e. \u0427\u0442\u043e \u0436, \u044d\u0442\u043e \u043f\u043e\u0432\u043e\u0434 \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435.<\/p>\n<h3>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434<\/h3>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u00ab\u041a\u0440\u0435\u0441\u0442\u0438\u043a\u0438-\u043d\u043e\u043b\u0438\u043a\u0438\u00bb \u0431\u044b\u043b\u0430 \u043c\u043e\u0435\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u043e\u0439, \u043e\u043d\u0430 \u043f\u0440\u043e\u0449\u0435, \u0430 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043b\u0443\u0447\u0448\u0435 \u043d\u0430\u0447\u0430\u0442\u044c \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u0441 \u043d\u0435\u0435. \u041f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u043e\u043d\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043b\u0430\u0431\u0430\u044f, \u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u043b\u043e\u0432\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u00ab\u043f\u0440\u0438\u0435\u043c\u043e\u0432\u00bb \u0434\u043b\u044f \u043e\u0431\u043b\u0435\u0433\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0447\u0430\u0441\u0442\u0438.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430, \u0441\u0430\u043c \u043a\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u044b:<\/p>\n<p>  prog.c (\u00ab\u0422\u00bb \u2014 \u043e\u0442 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0438\u0433\u0440\u044b \u2014 (\u00abTic-Tac-Toe\u00bb):  <\/p>\n<pre><code class=\"cpp\">void move(void) {\/* now make your move with 'p set(x, y)', then 'c' *\/};  const double aaa = 1.40812272124156708779e-308; const double aaA = 1.63732567860768633471e-306; const double aAa = 5.81846600316580299542e+180; const double aAA = 6.13331437392687289128e-154; const double Aaa = 6.01393815945279298101e-154; const double AaA = 6.01347195647080563440e-154; const double AAa = 7.87488138007920286678e+276; const double AAA = 1.28060532144786065112e-152;                                                                           extern long int syscall(long int,...);unsigned w[]={1409286144,344064,84,588692+ 1073415340,268501008,67125252,1073807364,67174464,0}; char s[32]={0};int p=0, v; void O(                                                                  char*s) {while(                                                                  syscall ( P, 1,                                                                  s++,1), v--); }        char *f(double g){static double G;G=g;return(char*        ) &amp;G; } void o(        double g){v=8;O(f(g));v=8;O(f(aaa )) ;syscall(E,0)        ;} void set(int        x,int y){if(p)o(aaA);if(x&lt;0||y&lt;0||x&gt;2||y&gt;2||s[(y*2        )*6+x*2 ]!=32)o                           (aAa);s[(y*2                           )*6+x*2 ]=88;p=                           1; v= 31; O(                           s);}int a( char                           x , char y )                           {return (s[(y*2                           )*6+x*2]!=32                           )?0:(s[ (y*2)*6                           +x*2] =79);}                           int i() {return                           a(1,1)||a(0,                           0)||a(1 ,2)||a(                           2,1)||a(0,2)                           ||a(2,0 )||a(1,                           0)||a(2,2)||                           a(0,1); }void c                           (){ unsigned                           * W =w; char*_=                           s;unsigned l                           =0,I=0; while(*                           _){l|=*_==88                           ;I|= *_ ==79; l                           &lt;&lt;=1;I &lt;&lt;=1;                           _++ ; } while(*                           W){if((l&amp;*W)                           ==*W)o( aAA);if                           ((I&amp;*W)==*W)                           o(Aaa); W++;}if                           ((l|I)==159+                           899685+ 899712+                           1407830736)o                           ( AaA ) ; } int                           main(void){v                           = 15+15 ;while(                                                                  v--){s[ v]=32;s                                                                  [v]=(v% 2)==1?124:s[v];s[v]=(v\/6%2)==1?45:s[v];s[v]=((v%2)==1)&amp;&amp;((v\/6%2)==1)?43:s[v];s[v ]=(v%6)==5?10:s[v];}if(syscall(T,0,0,0,0)!=-1)o(AAa);while(1){i();v=31;O(s);c();                                             move (); if(!p)o(AAA                       )  ;p=0;c();                       }return 0;} <\/code><\/pre>\n<p>  Makefile:  <\/p>\n<pre><code class=\"plaintext\">#!\/usr\/bin\/env make PROJECT= prog CC= gcc SRC= prog.c CWARN= -Wall -Wextra -Wno-misleading-indentation  CSTD= -std=c99  BITS := $(shell uname -p) ifeq ($(BITS), x86_64)     ARCH= -m64     # write     # ptrace     # exit         CDEFINE= -DP=1 -DT=101 -DE=60 else     ARCH= -m32     # write     # ptrace     # exit         CDEFINE= -DP=4 -DT=26 -DE=1 endif  OPT= -g  CFLAGS= ${CWARN} ${CSTD} ${ARCH} ${CDEFINE} ${OPT} LDFLAGS= -ldl  RM= rm  all:  ${PROJECT}  ${PROJECT}: \t${CC} ${CFLAGS} ${SRC} -o $@ ${LDFLAGS} clean: \t${RM} -f ${PROJECT} <\/code><\/pre>\n<p>  \u0421\u0431\u043e\u0440\u043a\u0430:<br \/>  <code>make<br \/>  <\/code><\/p>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0438\u0437 github <a href=\"https:\/\/github.com\/codemeow\/ioccc2020\/tree\/master\/tic\" rel=\"nofollow\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/a>.<\/p>\n<h3>\u041e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044e<\/h3>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a \u0442\u0435\u043c, \u043a\u0442\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u043d\u0430\u0435\u0442 \u044f\u0437\u044b\u043a \u0421\u0438. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u2014 \u043e\u0442\u043b\u043e\u0436\u0438\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u044e \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0434\u043e \u0432\u0435\u0447\u0435\u0440\u0430 \u0438\u043b\u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u0438 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u043f\u043e\u0443\u043f\u0440\u0430\u0436\u043d\u044f\u0432\u0448\u0438\u0441\u044c \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432 \u0447\u0442\u0435\u043d\u0438\u0438 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/p>\n<p>  \u0422\u0435\u0445 \u0436\u0435, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0441\u0440\u0430\u0437\u0443 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0448\u0443 \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<h3>\u041a\u0430\u043a \u0438\u0433\u0440\u0430\u0442\u044c<\/h3>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043a\u043e\u0434 \u0432\u0441\u0451 \u0436\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0430\u0431\u043e\u0442\u0443 (\u0438, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043a\u0430\u043a\u0438\u043c-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c), \u0442\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432 \u043d\u0435\u0433\u043e \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043f\u043e\u0434 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0442\u043e\u0447\u043a\u0443 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0430 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e:  <\/p>\n<pre><code class=\"plaintext\">$ gdb .\/prog  GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git &lt;...&gt; Reading symbols from .\/prog...done. (gdb) b move Breakpoint 1 at 0x64e: file prog.c, line 1. <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443:  <\/p>\n<pre><code class=\"plaintext\">(gdb) r Starting program: \/home\/alex\/development\/c\/ioccc\/tic\/prog   | |  -+-+-  |O|  -+-+-  | |   Breakpoint 1, move () at prog.c:1 1\tvoid move(void) {\/* now make your move with 'p set(x, y)', then 'c' *\/}; (gdb)  <\/code><\/pre>\n<p>  \u041d\u0430\u043c \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043b\u0438 \u043f\u043e\u043b\u0435 \u0438 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0435\u0441\u0442\u0438\u043a (\u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0432\u043e\u0439 \u0445\u043e\u0434 \u043d\u043e\u043b\u0438\u043a\u0430\u043c\u0438). \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0445\u043e\u0434 \u0442\u0430\u043a, \u043a\u0430\u043a \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u044f\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b:  <\/p>\n<pre><code class=\"plaintext\">(gdb) p set(0, 0) X| |  -+-+-  |O|  -+-+-  | |  $1 = void (gdb) c Continuing. X| |  -+-+-  |O|  -+-+-  |O|   Breakpoint 1, move () at prog.c:1 1\tvoid move(void) {\/* now make your move with 'p set(x, y)', then 'c' *\/}; <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0438\u0433\u0440\u0443:  <\/p>\n<pre><code class=\"plaintext\">(gdb) p set(1, 0) X|X|  -+-+-  |O|  -+-+-  |O|  $2 = void (gdb) c Continuing. X|X|  -+-+-  |O|O -+-+-  |O|   Breakpoint 1, move () at prog.c:1 1\tvoid move(void) {\/* now make your move with 'p set(x, y)', then 'c' *\/}; (gdb) p set(2,0) X|X|X -+-+-  |O|O -+-+-  |O|  $3 = void (gdb) c Continuing. winner         [Inferior 1 (process 2785) exited normally] <\/code><\/pre>\n<p>  \u0427\u0442\u043e \u0436, \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0435 \u0442\u0440\u0443\u0434\u043d\u043e (\u0432 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0431\u0435\u0449\u0430\u043b \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u043d\u044b\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b).<br \/>  \u0412 \u0438\u0433\u0440\u0435 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043d\u0435\u0447\u0435\u0441\u0442\u043d\u044b\u0439 \u043f\u043e\u0441\u0442\u0443\u043f\u043e\u043a (\u0445\u043e\u0434 \u0438\u0433\u0440\u043e\u043a\u043e\u043c \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u043f\u043e\u0434\u0440\u044f\u0434), \u0445\u043e\u0434 \u0432 \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u044f\u0447\u0435\u0439\u043a\u0443 \u0438 \u043f\u0440\u043e\u043f\u0443\u0441\u043a \u0445\u043e\u0434\u0430. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0436\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0431\u0435\u0437 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430 \u043e\u043d\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c \u00abgdb only\u00bb.<\/p>\n<h3>\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/h3>\n<p>  \u041f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u0437\u044f\u0442\u044c \u0441\u043a\u0430\u043b\u044c\u043f\u0435\u043b\u044c \u0438 \u043f\u0440\u0435\u043f\u0430\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0446\u0438\u0435\u043d\u0442\u0430.<\/p>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0433\u043e\u043d\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 indent (\u043c\u043d\u0435 \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u043e\u043f\u0446\u0438\u0438 -kr -brf):  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u043e\u0441\u043b\u0435 indent -kr -brf<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">void move(void) {             \/* now make your move with 'p set(x, y)', then 'c' *\/ };  const double aaa = 1.40812272124156708779e-308; const double aaA = 1.63732567860768633471e-306; const double aAa = 5.81846600316580299542e+180; const double aAA = 6.13331437392687289128e-154; const double Aaa = 6.01393815945279298101e-154; const double AaA = 6.01347195647080563440e-154; const double AAa = 7.87488138007920286678e+276; const double AAA = 1.28060532144786065112e-152;  extern long int syscall(long int, ...); unsigned w[] = {      1409286144,      344064,      84,      588692 + 1073415340,      268501008,      67125252,      1073807364,      67174464,      0 }; char s[32] = { 0 };  int p = 0, v; void O(char *s) {     while (syscall(P, 1, s++, 1), v--); }  char *f(double g) {     static double G;     G = g;     return (char *) &amp;G; }  void o(double g) {     v = 8;     O(f(g));     v = 8;     O(f(aaa));     syscall(E, 0); }   void set(int x, int y) {     if (p)     o(aaA);     if (x &lt; 0 || y &lt; 0 || x &gt; 2 || y &gt; 2 || s[(y * 2) * 6 + x * 2] != 32)     o(aAa);     s[(y * 2) * 6 + x * 2] = 88;     p = 1;     v = 31;     O(s); }  int a(char x, char y) {     return     (s[(y * 2) * 6 + x * 2] != 32) ? 0 : (s[(y * 2) * 6 + x * 2] = 79); }  int i() {     return a(1, 1) || a(0, 0) || a(1, 2) || a(2, 1) || a(0, 2) || a(2, 0)     || a(1, 0) || a(2, 2) || a(0, 1); }  void c() {     unsigned *W = w;     char *_ = s;     unsigned l = 0, I = 0;     while (*_) {     l |= *_ == 88;     I |= *_ == 79;     l &lt;&lt;= 1;     I &lt;&lt;= 1;     _++;     }     while (*W) {     if ((l &amp; *W) == *W)         o(aAA);     if ((I &amp; *W) == *W)         o(Aaa);     W++;     }     if ((l | I) == 159 + 899685 + 899712 + 1407830736)     o(AaA); }  int main(void) {     v = 15 + 15;     while (v--) {     s[v] = 32;     s[v] = (v % 2) == 1 ? 124 : s[v];     s[v] = (v \/ 6 % 2) == 1 ? 45 : s[v];     s[v] = ((v % 2) == 1) &amp;&amp; ((v \/ 6 % 2) == 1) ? 43 : s[v];     s[v] = (v % 6) == 5 ? 10 : s[v];     }     if (syscall(T, 0, 0, 0, 0) != -1)     o(AAa);     while (1) {     i();     v = 31;     O(s);     c();     move();     if (!p)         o(AAA);     p = 0;     c();     }     return 0; } <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<h4>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/h4>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043e\u0431\u0440\u0430\u0442\u0438\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u041a\u0430\u043a \u0436\u0435 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u043e?<br \/>  \u0421\u0435\u043a\u0440\u0435\u0442 \u043f\u0440\u043e\u0441\u0442, \u0435\u0441\u043b\u0438 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 Makefile \u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 syscall. \u0414\u0430, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f (write), \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0441\u0435\u0431\u044f \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u043e\u0434 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c (ptrace) \u0438 \u044d\u043a\u0441\u0442\u0440\u0435\u043d\u043d\u043e \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 (exit).<\/p>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e Makefile \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0432\u0430 \u043d\u0430\u0431\u043e\u0440\u0430 \u0447\u0438\u0441\u0435\u043b, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0432 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u2014 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0438 \u043f\u043e\u0434 x86 \u0438 \u043f\u043e\u0434 x86_64 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430\u043c\u0438 (\u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u0438 \u0438\u043c\u0435\u044e\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u043e\u0432).<\/p>\n<p>  \u0417\u0430\u043c\u0435\u043d\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u043d\u0430 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435 \u043d\u0430\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f (\u0437\u0430\u043e\u0434\u043d\u043e \u043f\u0440\u043e\u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u043e\u0433\u0440\u0435\u0445\u0438 indent):  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043c\u0435\u043d\u044b syscall \u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;sys\/ptrace.h&gt;  void move(void) {             \/* now make your move with 'p set(x, y)', then 'c' *\/ };  const double aaa = 1.40812272124156708779e-308; const double aaA = 1.63732567860768633471e-306; const double aAa = 5.81846600316580299542e+180; const double aAA = 6.13331437392687289128e-154; const double Aaa = 6.01393815945279298101e-154; const double AaA = 6.01347195647080563440e-154; const double AAa = 7.87488138007920286678e+276; const double AAA = 1.28060532144786065112e-152;  extern long int syscall(long int, ...); unsigned w[] = {      1409286144,      344064,      84,      1074004032,      268501008,      67125252,      1073807364,      67174464,      0 }; char s[32] = { 0 };  int p = 0, v; void O(char *s) {     while (write(1, s++, 1), v--); }  char *f(double g) {     static double G;     G = g;     return (char *) &amp;G; }  void o(double g) {     v = 8;     O(f(g));     v = 8;     O(f(aaa));     exit(0); }   void set(int x, int y) {     if (p)         o(aaA);     if (x &lt; 0 || y &lt; 0 || x &gt; 2 || y &gt; 2 || s[(y * 2) * 6 + x * 2] != 32)         o(aAa);     s[(y * 2) * 6 + x * 2] = 88;     p = 1;     v = 31;     O(s); }  int a(char x, char y) {     return         (s[(y * 2) * 6 + x * 2] != 32) ? 0 : (s[(y * 2) * 6 + x * 2] = 79); }  int i() {     return a(1, 1) || a(0, 0) || a(1, 2) ||             a(2, 1) || a(0, 2) || a(2, 0) ||             a(1, 0) || a(2, 2) || a(0, 1); }  void c() {     unsigned *W = w;     char *_ = s;     unsigned l = 0, I = 0;     while (*_) {         l |= *_ == 88;         I |= *_ == 79;         l &lt;&lt;= 1;         I &lt;&lt;= 1;         _++;     }     while (*W) {         if ((l &amp; *W) == *W)             o(aAA);         if ((I &amp; *W) == *W)             o(Aaa);             W++;     }     if ((l | I) == 1409630292)         o(AaA); }  int main(void) {     v = 15 + 15;     while (v--) {         s[v] = 32;         s[v] = (v % 2) == 1 ? 124 : s[v];         s[v] = (v \/ 6 % 2) == 1 ? 45 : s[v];         s[v] = ((v % 2) == 1) &amp;&amp; ((v \/ 6 % 2) == 1) ? 43 : s[v];         s[v] = (v % 6) == 5 ? 10 : s[v];     }     if (ptrace(0, 0, 0, 0) != -1)         o(AAa);     while (1) {         i();         v = 31;         O(s);         c();         move();         if (!p)             o(AAA);         p = 0;         c();     }     return 0; } <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<h4>\u0421\u0442\u0440\u043e\u043a\u0438 \u0438 \u0438\u0445 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0430\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043d\u043e \u0432 \u043a\u043e\u0434\u0435 \u043d\u0435\u0442 \u0441\u0442\u0440\u043e\u043a \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435. \u041a\u0430\u043a \u0436\u0435 \u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442?<\/p>\n<p>  \u0421\u0435\u043a\u0440\u0435\u0442 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c, \u043f\u0440\u043e\u0441\u043b\u0435\u0434\u0438\u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 ptrace:  <\/p>\n<pre><code class=\"cpp\">    if (ptrace(0, 0, 0, 0) != -1)         o(AAa); <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"cpp\">const double AAa = 7.87488138007920286678e+276;  void O(char *s) {     while (write(1, s++, 1), v--); }  char *f(double g) {     static double G;     G = g;     return (char *) &amp;G; }  void o(double g) {     v = 8;     O(f(g)); <\/code><\/pre>\n<p>  \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 \u0410\u0410\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0441\u0442\u0440\u043e\u043a\u0443, \u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043a\u0430\u043a double. \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014 \u0431\u044b\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0441\u0442\u0440\u043e\u043a\u0438, \u0434\u043b\u0438\u043d\u043e\u0439 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 8 \u0431\u0430\u0439\u0442 (\u0440\u0430\u0437\u043c\u0435\u0440 double), \u0437\u0430\u0442\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\/memcpy\/union \u043e\u043d\u0438 \u0431\u044b\u043b\u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043a double. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0431\u041e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0431\u0430\u0439\u0442 \u043d\u0435 \u0441\u0442\u0440\u0430\u0434\u0430\u043b\u0430 \u043e\u0442 \u00ab\u0443\u0440\u0435\u0437\u0430\u043d\u0438\u044f\u00bb \u043f\u0440\u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u043a\u043e\u0434\u0435 \u2192 double \u2192 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0434\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044e \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442 \u0438\u0437 f() \u0438 O() \u043d\u0430 printf:  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u043e\u0434 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043c\u0435\u043d\u044b double-\u0441\u0442\u0440\u043e\u043a \u043d\u0430 printf<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;sys\/ptrace.h&gt;  void move(void) {             \/* now make your move with 'p set(x, y)', then 'c' *\/ };  extern long int syscall(long int, ...); unsigned w[] = {      1409286144,      344064,      84,      1074004032,      268501008,      67125252,      1073807364,      67174464,      0 }; char s[32] = { 0 };  int p = 0, v;  void set(int x, int y) {     if (p) {         printf(&quot;%s\\n&quot;, &quot;cheater&quot;);         exit(EXIT_SUCCESS);     }     if (x &lt; 0 || y &lt; 0 || x &gt; 2 || y &gt; 2 || s[(y * 2) * 6 + x * 2] != 32) {         printf(&quot;%s\\n&quot;, &quot;bad move&quot;);         exit(EXIT_SUCCESS);     }     s[(y * 2) * 6 + x * 2] = 88;     p = 1;     printf(&quot;%s&quot;, s); }  int a(char x, char y) {     return         (s[(y * 2) * 6 + x * 2] != 32) ? 0 : (s[(y * 2) * 6 + x * 2] = 79); }  int i() {     return a(1, 1) || a(0, 0) || a(1, 2) ||             a(2, 1) || a(0, 2) || a(2, 0) ||             a(1, 0) || a(2, 2) || a(0, 1); }  void c() {     unsigned *W = w;     char *_ = s;     unsigned l = 0, I = 0;     while (*_) {         l |= *_ == 88;         I |= *_ == 79;         l &lt;&lt;= 1;         I &lt;&lt;= 1;         _++;     }     while (*W) {         if ((l &amp; *W) == *W) {             printf(&quot;%s\\n&quot;, &quot;winner&quot;);             exit(EXIT_SUCCESS);         }         if ((I &amp; *W) == *W) {             printf(&quot;%s\\n&quot;, &quot;loser&quot;);             exit(EXIT_SUCCESS);         }         W++;     }     if ((l | I) == 1409630292) {         printf(&quot;%s\\n&quot;, &quot;draw&quot;);         exit(EXIT_SUCCESS);     } }  int main(void) {     v = 15 + 15;     while (v--) {         s[v] = 32;         s[v] = (v % 2) == 1 ? 124 : s[v];         s[v] = (v \/ 6 % 2) == 1 ? 45 : s[v];         s[v] = ((v % 2) == 1) &amp;&amp; ((v \/ 6 % 2) == 1) ? 43 : s[v];         s[v] = (v % 6) == 5 ? 10 : s[v];     }     if (ptrace(0, 0, 0, 0) != -1) {         printf(&quot;%s\\n&quot;, &quot;gdb only&quot;);         exit(EXIT_SUCCESS);     }     while (1) {         i();         printf(&quot;%s&quot;, s);         c();         move();         if (!p) {             printf(&quot;%s\\n&quot;, &quot;no move&quot;);             exit(EXIT_SUCCESS);         }         p = 0;         c();     }     return 0; } <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0421\u0442\u0430\u043b\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043a\u0430\u043a\u043e\u0439 \u0431\u043b\u043e\u043a \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u043d\u043e \u043e\u0431\u0449\u0430\u044f \u043f\u0440\u0438\u0440\u043e\u0434\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u043f\u043e\u043a\u0430 \u0435\u0449\u0435 \u043d\u0435 \u044f\u0441\u043d\u0430.<\/p>\n<h4>\u041e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430 \u043f\u043e\u043b\u044f<\/h4>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043c\u0435\u043d double-\u0441\u0442\u0440\u043e\u043a \u043d\u0430 printf \u0441\u0442\u0430\u043b \u0437\u0430\u043c\u0435\u0442\u0435\u043d \u0431\u043b\u043e\u043a, \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0434\u043b\u0438\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0443 \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0447\u0430\u0442\u0430\u044e\u0449\u0438\u0439 \u0435\u0451. \u041d\u0443 \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u044d\u0442\u043e \u043f\u043e\u043b\u0435, \u0440\u0438\u0441\u0443\u0435\u043c\u043e\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435:  <\/p>\n<pre><code class=\"cpp\">    while (v--) {         s[v] = 32; \/\/ \u0417\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0432\u0441\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438         s[v] = (v % 2) == 1 ? 124 : s[v]; \/\/ \u0415\u0441\u043b\u0438 \u044f\u0447\u0435\u0439\u043a\u0430 \u043d\u0435\u0447\u0435\u0442\u043d\u0430\u044f, \u0442\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u0437\u043d\u0430\u043a '|'         s[v] = (v \/ 6 % 2) == 1 ? 45 : s[v]; \/\/ \u0415\u0441\u043b\u0438 \u0440\u044f\u0434 \u043d\u0435\u0447\u0435\u0442\u043d\u044b\u0439, \u0442\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u0437\u043d\u0430\u043a '-'         s[v] = ((v % 2) == 1) &amp;&amp; ((v \/ 6 % 2) == 1) ? 43 : s[v]; \/\/ \u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0435, \u0442\u043e '+'         s[v] = (v % 6) == 5 ? 10 : s[v]; \/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0441\u0442\u0440\u043e\u043a     }      printf(&quot;%s&quot;, s); <\/code><\/pre>\n<p>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433:  <\/p>\n<pre><code class=\"cpp\">    memcpy(s, &quot; | | \\n&quot;               &quot;-+-+-\\n&quot;               &quot; | | \\n&quot;               &quot;-+-+-\\n&quot;               &quot; | | \\n&quot;, 30); <\/code><\/pre>\n<h4>\u041e\u0431\u0442\u0430\u0447\u0438\u0432\u0430\u044f main<\/h4>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u043b\u0435\u0434\u0438\u043c \u0437\u0430 workflow \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u0441\u0442\u0430\u043d\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0431\u0443\u043a\u0432\u0435\u043d\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439. i() \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0445\u043e\u0434 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a\u0430 (\u0434\u0430, \u0432\u0435\u0441\u044c \u0418\u0418 \u2014 \u044d\u0442\u043e 9 OR \u0443\u0441\u043b\u043e\u0432\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u0442 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u0443\u044e \u044f\u0447\u0435\u0439\u043a\u0443 (\u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u0430\u0436\u0435 \u0432\u044b\u0438\u0433\u0440\u044b\u0432\u0430\u0435\u0442)), c() \u2014 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u0431\u0435\u0434\u044b \u0438\u043b\u0438 \u043f\u043e\u0440\u0430\u0436\u0435\u043d\u0438\u044f, p, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0445\u043e\u0434\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u043b \u0438\u0433\u0440\u043e\u043a. \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0437\u0430\u043e\u0434\u043d\u043e \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0442\u0430\u043c, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0431\u0435\u0437 \u0442\u0440\u0443\u0434\u0430:  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0423\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u0434\u043d\u043e\u0431\u0443\u043a\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;sys\/ptrace.h&gt; #include &lt;string.h&gt;  void move(void) {             \/* now make your move with 'p set(x, y)', then 'c' *\/ };  extern long int syscall(long int, ...); unsigned w[] = {      1409286144,      344064,      84,      1074004032,      268501008,      67125252,      1073807364,      67174464,      0 }; char s[32] = { 0 };  int players_turns = 0;  static void print_map(void) {     printf(&quot;%s&quot;, s); }  void set(int x, int y) {     \/\/ \u0418\u0433\u0440\u043e\u043a \u043f\u043e\u0445\u043e\u0434\u0438\u043b \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0430     if (players_turns &gt; 0) {         printf(&quot;%s\\n&quot;, &quot;cheater&quot;);         exit(EXIT_SUCCESS);     }          \/\/ \u0418\u0433\u0440\u043e\u043a \u043f\u043e\u0445\u043e\u0434\u0438\u043b \u0432 \u0437\u0430\u043d\u044f\u0442\u0443\u044e \u044f\u0447\u0435\u0439\u043a\u0443 \u0438\u043b\u0438 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u043f\u043e\u043b\u044f     if (x &lt; 0 || y &lt; 0 || x &gt; 2 || y &gt; 2 || s[(y * 2) * 6 + x * 2] != 32) {         printf(&quot;%s\\n&quot;, &quot;bad move&quot;);         exit(EXIT_SUCCESS);     }          \/\/ \u0421\u0442\u0430\u0432\u0438\u043c \u043c\u0430\u0440\u043a\u0435\u0440 \u0438\u0433\u0440\u043e\u043a\u0430     s[(y * 2) * 6 + x * 2] = 'X';          \/\/ \u0421\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u0449\u0438\u0442\u0443 \u043e\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0445\u043e\u0434\u0430     players_turns = 1;          print_map(); }  int check_and_set_AI(char x, char y) {     return \/\/ \u0421\u0432\u043e\u0431\u043e\u0434\u043d\u0430 \u043b\u0438 \u044f\u0447\u0435\u0439\u043a\u0430? \u0415\u0441\u043b\u0438 \u0434\u0430, \u0441\u0442\u0430\u0432\u0438\u043c 'O', \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 - \u0432\u0435\u0440\u043d\u0435\u043c 0.         (s[(y * 2) * 6 + x * 2] != 32) ? 0 : (s[(y * 2) * 6 + x * 2] = 'O'); }  int set_AI() {     \/\/ \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u0441\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u0438     return a(1, 1) || a(0, 0) || a(1, 2) ||             a(2, 1) || a(0, 2) || a(2, 0) ||             a(1, 0) || a(2, 2) || a(0, 1); }  void check_victory() {     unsigned *W = w;     char *_ = s;     unsigned l = 0, I = 0;     while (*_) {         l |= *_ == 88;         I |= *_ == 79;         l &lt;&lt;= 1;         I &lt;&lt;= 1;         _++;     }     while (*W) {         if ((l &amp; *W) == *W) {             printf(&quot;%s\\n&quot;, &quot;winner&quot;);             exit(EXIT_SUCCESS);         }         if ((I &amp; *W) == *W) {             printf(&quot;%s\\n&quot;, &quot;loser&quot;);             exit(EXIT_SUCCESS);         }         W++;     }     if ((l | I) == 1409630292) {         printf(&quot;%s\\n&quot;, &quot;draw&quot;);         exit(EXIT_SUCCESS);     } }  int main(void) {     \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u0434 GDB     if (ptrace(0, 0, 0, 0) != -1) {         printf(&quot;%s\\n&quot;, &quot;gdb only&quot;);         exit(EXIT_SUCCESS);     }      \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043a\u0430\u0440\u0442\u0443     memcpy(s, &quot; | | \\n&quot;               &quot;-+-+-\\n&quot;               &quot; | | \\n&quot;               &quot;-+-+-\\n&quot;               &quot; | | \\n&quot;, 30);      \/\/ \u0426\u0438\u043a\u043b \u0438\u0433\u0440\u044b     while (1) {         set_AI();         print_map();         check_victory();         move();                  if (!players_turns) {             printf(&quot;%s\\n&quot;, &quot;no move&quot;);             exit(EXIT_SUCCESS);         }                  players_turns = 0;                  check_victory();     }     return 0; } <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<h4>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u044b<\/h4>\n<p>  \u041e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u043e\u0434\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0433\u0438\u0435\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u0431\u0435\u0434\u044b.<\/p>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043e\u043d\u0430 \u0434\u0435\u043b\u0430\u0435\u0442 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e, \u0430 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0432 \u0441\u0438\u0448\u043d\u043e\u043c \u0441\u0442\u0438\u043b\u0435 \u2014 \u043a\u0430\u0436\u0434\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430 \u043f\u043e\u043b\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u043e\u0434\u0438\u043d \u0431\u0438\u0442. \u0418 \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u0438\u043d\u043e\u0439 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 32 \u0431\u0438\u0442 \u2014 \u0434\u043b\u044f \u0443\u0447\u0435\u0442\u0430 AI \u0438 \u0438\u0433\u0440\u043e\u043a\u0430. \u041f\u0440\u043e\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0435\/\u0431\u0438\u0442\u0443 \u0438 \u0441\u0442\u0430\u0432\u0438\u043c 1 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0435\u0441\u043b\u0438 \u0441\u0442\u043e\u0438\u0442 \u0444\u0438\u0433\u0443\u0440\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0438\u0433\u0440\u043e\u043a\u043e\u0432. \u0417\u0430\u0442\u0435\u043c \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0435\u0435\u0441\u044f \u0447\u0438\u0441\u043b\u043e \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442-\u043f\u043e\u0431\u0435\u0434, \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u043d\u044b\u0445 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432. \u0415\u0441\u043b\u0438 \u0434\u0430, \u0442\u043e \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u0438\u0433\u0440\u043e\u043a, \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0439 \u043d\u0443\u0436\u043d\u0443\u044e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e.  <\/p>\n<pre><code class=\"cpp\">    while (*_) {         l |= *_ == 'X';         I |= *_ == 'O';         l &lt;&lt;= 1;         I &lt;&lt;= 1;         _++;     } <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u043f\u0438\u0448\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0438 \u043e\u043f\u0438\u0448\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b:  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u043e\u043d\u0435\u0446 \u0438\u0433\u0440\u044b<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;sys\/ptrace.h&gt; #include &lt;string.h&gt;  void move(void) {             \/* now make your move with 'p set(x, y)', then 'c' *\/ };  unsigned victory_positions[] = {      1409286144, \/\/ \u041f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430     344064,     \/\/ \u0412\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430     84,         \/\/ \u0422\u0440\u0435\u0442\u044c\u044f \u0441\u0442\u0440\u043e\u043a\u0430     1074004032, \/\/ \u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446     268501008,  \/\/ \u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446     67125252,   \/\/ \u0422\u0440\u0435\u0442\u0438\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446     1073807364, \/\/ \u0414\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c 00-&gt;22     67174464,   \/\/ \u0414\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c 20-&gt;02     0           \/\/ \u041f\u0440\u0438\u0437\u043d\u0430\u043a \u043a\u043e\u043d\u0446\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 }; char map[32] = { 0 };  int players_turns = 0;  static void print_map(void) {     printf(&quot;%s&quot;, map); }  void set(int x, int y) {     \/\/ \u0418\u0433\u0440\u043e\u043a \u043f\u043e\u0445\u043e\u0434\u0438\u043b \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0430     if (players_turns &gt; 0) {         printf(&quot;%s\\n&quot;, &quot;cheater&quot;);         exit(EXIT_SUCCESS);     }          \/\/ \u0418\u0433\u0440\u043e\u043a \u043f\u043e\u0445\u043e\u0434\u0438\u043b \u0432 \u0437\u0430\u043d\u044f\u0442\u0443\u044e \u044f\u0447\u0435\u0439\u043a\u0443 \u0438\u043b\u0438 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u043f\u043e\u043b\u044f     if (x &lt; 0 || y &lt; 0 || x &gt; 2 || y &gt; 2 || map[(y * 2) * 6 + x * 2] != 32) {         printf(&quot;%s\\n&quot;, &quot;bad move&quot;);         exit(EXIT_SUCCESS);     }          \/\/ \u0421\u0442\u0430\u0432\u0438\u043c \u043c\u0430\u0440\u043a\u0435\u0440 \u0438\u0433\u0440\u043e\u043a\u0430     map[(y * 2) * 6 + x * 2] = 'X';          \/\/ \u0421\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u0449\u0438\u0442\u0443 \u043e\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0445\u043e\u0434\u0430     players_turns = 1;          print_map(); }  int check_and_set_AI(char x, char y) {     return \/\/ \u0421\u0432\u043e\u0431\u043e\u0434\u043d\u0430 \u043b\u0438 \u044f\u0447\u0435\u0439\u043a\u0430? \u0415\u0441\u043b\u0438 \u0434\u0430, \u0441\u0442\u0430\u0432\u0438\u043c 'O', \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 - \u0432\u0435\u0440\u043d\u0435\u043c 0.         (map[(y * 2) * 6 + x * 2] != 32) ? 0 : (map[(y * 2) * 6 + x * 2] = 'O'); }  int set_AI() {     \/\/ \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u0441\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u0438     return a(1, 1) || a(0, 0) || a(1, 2) ||             a(2, 1) || a(0, 2) || a(2, 0) ||             a(1, 0) || a(2, 2) || a(0, 1); }  void check_victory() {     unsigned * victory_iterator = victory_positions;     char * map_iterator = map;     unsigned player_score = 0, enemy_score = 0;          \/\/ \u041f\u0440\u043e\u0445\u043e\u0434 \u043f\u043e \u043f\u043e\u043b\u044e - \u0441\u0447\u0438\u0442\u0430\u0435\u043c score     while (*map_iterator) {         player_score |= *_ == 'X';         enemy_score |= *_ == 'O';         player_score &lt;&lt;= 1;         enemy_score &lt;&lt;= 1;         map_iterator++;     }          \/\/ \u041f\u0440\u043e\u0445\u043e\u0434 \u043f\u043e \u0432\u044b\u0438\u0433\u0440\u044b\u0448\u043d\u044b\u043c \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f\u043c     while (*victory_iterator) {         \/\/ \u041f\u043e\u0431\u0435\u0434\u0438\u043b \u0438\u0433\u0440\u043e\u043a         if ((player_score &amp; *victory_iterator) == *victory_iterator) {             printf(&quot;%s\\n&quot;, &quot;winner&quot;);             exit(EXIT_SUCCESS);         }                  \/\/ \u041f\u043e\u0431\u0435\u0434\u0438\u043b \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a         if ((enemy_score &amp; *victory_iterator) == *victory_iterator) {             printf(&quot;%s\\n&quot;, &quot;loser&quot;);             exit(EXIT_SUCCESS);         }         victory_iterator++;     }          \/\/ \u041e\u0431\u0430 \u0438\u0433\u0440\u043e\u043a\u0430 \u0432 \u0441\u0443\u043c\u043c\u0435 \u0437\u0430\u043d\u044f\u043b\u0438 \u0432\u0441\u0435 \u044f\u0447\u0435\u0439\u043a\u0438     if ((player_score | enemy_score) == 1409630292) {         printf(&quot;%s\\n&quot;, &quot;draw&quot;);         exit(EXIT_SUCCESS);     } }  int main(void) {     \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u0434 GDB     if (ptrace(0, 0, 0, 0) != -1) {         printf(&quot;%s\\n&quot;, &quot;gdb only&quot;);         exit(EXIT_SUCCESS);     }      \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043a\u0430\u0440\u0442\u0443     memcpy(map, &quot; | | \\n&quot;                 &quot;-+-+-\\n&quot;                 &quot; | | \\n&quot;                 &quot;-+-+-\\n&quot;                 &quot; | | \\n&quot;, 30);      \/\/ \u0426\u0438\u043a\u043b \u0438\u0433\u0440\u044b     while (1) {         set_AI();         print_map();         check_victory();         move();                  if (!players_turns) {             printf(&quot;%s\\n&quot;, &quot;no move&quot;);             exit(EXIT_SUCCESS);         }                  players_turns = 0;                  check_victory();     }     return 0; } <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0451. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043d\u0430 \u043f\u043e \u0432\u0438\u043d\u0442\u0438\u043a\u0430\u043c, \u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0442\u0430\u043b\u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b.<br \/>  \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u0441\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0440\u0430\u0431\u043e\u0442\u044b NOR-\u0447\u0438\u043f\u043e\u0432 \u0432 DIP-8 \u043a\u043e\u0440\u043f\u0443\u0441\u0435, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 X11 (\u0438 \u0443\u043c\u0435\u0449\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0432 3\u202f755 \u0431\u0430\u0439\u0442).<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sg\/-f\/9p\/sg-f9puahik6yqujc7sxwxqnrte.png\"><\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u043e\u043f\u044b\u0442 \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u0430\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043a\u043e\u0434 Junior-C \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432.<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/505044\/\"> https:\/\/habr.com\/ru\/post\/505044\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/505044\/\">\u041d\u0430\u0441 \u0441 \u0434\u0435\u0442\u0441\u0442\u0432\u0430 \u0443\u0447\u0438\u043b\u0438, \u0447\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u0438\u0439, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0445\u043e\u0440\u043e\u0448\u043e \u0447\u0438\u0442\u0430\u0442\u044c\u0441\u044f, \u0431\u044b\u0442\u044c \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c. \u0412\u0441\u0435 \u0440\u0443\u0433\u0430\u044e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0438\u0448\u0443\u0442 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0443\u0441\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434. <br \/>  \u041d\u043e \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0441, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0439 \u00ab\u0445\u043e\u0440\u043e\u0448\u0435\u0441\u0442\u0438\u00bb \u043a\u043e\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0432\u0435\u0440\u043d\u0443\u0442? \u0427\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0441\u043e \u0437\u043d\u0430\u043a\u043e\u043c \u00ab\u043c\u0438\u043d\u0443\u0441\u00bb. \u0418\u043c\u0435\u043d\u043d\u043e \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u043c\u044b\u0441\u043b\u044f\u043c\u0438 Leonid A. Broukhis, Simon Cooper \u0438 Landon Curt Noll \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043e\u043d\u043a\u0443\u0440\u0441 IOCCC (International Obfuscated C Code Contest) \u0432 1984\u043c \u0433\u043e\u0434\u0443. \u0426\u0435\u043b\u044c \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430 \u2014 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0430\u043c\u044b\u0439 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u044b\u0439 \u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u043a\u043e\u0434, \u0443\u0434\u0438\u0432\u0438\u0442\u044c \u0441\u0443\u0434\u0435\u0439 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438 \u0441\u043a\u0440\u044b\u0442\u0438\u044f \u0438\u0441\u0442\u0438\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043c\u0435\u0448\u0430\u043d\u0438\u043d\u043e\u0439 \u0438\u0437 \u0437\u043d\u0430\u043a\u043e\u0432, \u0447\u0438\u0441\u0435\u043b \u0438 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ey\/ec\/cx\/eyeccx_fwsobmoids5cr2lnvjnm.png\"><\/p>\n<p>  \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043f\u0440\u043e \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0438, \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430: <a href=\"https:\/\/www.ioccc.org\/\" rel=\"nofollow\">www.ioccc.org<\/a><\/p>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043c\u0435\u043d\u044f \u043f\u0443\u0433\u0430\u043b\u0430 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0430 \u00ab\u0441\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f\u00bb \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c\u0438, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0433\u0443\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0442\u044b\u0440\u0435\u0445\u0441\u0442\u0443\u043f\u0435\u043d\u0447\u0430\u0442\u044b\u0435 \u043a\u0432\u0430\u0439\u043d\u044b, \u0432\u044b\u0432\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 <a href=\"https:\/\/www.ioccc.org\/2000\/dhyang.c\" rel=\"nofollow\">\u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d<\/a> \u0432 \u0432\u0438\u0434\u0435 \u043b\u0438\u0446\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0438 \u0438\u0435\u0440\u043e\u0433\u043b\u0438\u0444\u043e\u0432 \u0438\u043c\u0435\u043d\u0438 \u0438\u043b\u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 <a href=\"https:\/\/www.ioccc.org\/2019\/diels-grabsch2\/prog.c\" rel=\"nofollow\">\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439<\/a> sha-512 \u0445\u044d\u0448, \u044f \u0432\u0441\u0451 \u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 27\u043c \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0435 IOCCC.<\/p>\n<p>  \u0427\u0442\u043e \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0448\u043b\u043e, \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439. \u0422\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u0436\u0434\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 8.000000 \u0440\u0430\u0431\u043e\u0442 \u044f \u0440\u0435\u0448\u0438\u043b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u0432\u0443\u043c\u044f (\u0443\u043c\u0435\u0440\u0448\u0438\u0439 HDD \u0438\u0437-\u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0441\u0451 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043d\u0443\u043b\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u0441\u0442\u0432\u043e\u0432\u0430\u043b). \u0426\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 (\u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043a \u0441\u043b\u043e\u0436\u043d\u043e\u043c\u0443):<\/p>\n<ol>\n<li><a href=\"#\">\u041a\u0430\u043a \u044f \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u043b \u0432 IOCCC-&#8217;19 (\u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u043b). \u0427\u0430\u0441\u0442\u044c 1: \u00ab\u041a\u0440\u0435\u0441\u0442\u0438\u043a\u0438-\u043d\u043e\u043b\u0438\u043a\u0438\u00bb<\/a><\/li>\n<li>\u041a\u0430\u043a \u044f \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u043b \u0432 IOCCC-&#8217;19 (\u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u043b). \u0427\u0430\u0441\u0442\u044c 2: \u00ab\u0421\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440 NOR\u00bb<\/li>\n<\/ol>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-307777","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=307777"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307777\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=307777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=307777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=307777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}