{"id":23654,"date":"2012-11-29T15:56:33","date_gmt":"2012-11-29T12:56:33","guid":{"rendered":"http:\/\/studentpmr.ru\/?p=23654"},"modified":"2012-11-29T15:56:33","modified_gmt":"2012-11-29T12:56:33","slug":"%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b0-%d1%81%d0%b8-%d0%bc%d0%be%d0%b6%d0%bd%d0%be-%d0%bb%d0%b8-%d0%b8%d0%b7-%d0%b1%d1%83%d0%ba%d0%b2-%d0%b2%d1%85%d0%be%d0%b4%d1%8f%d1%89%d0%b8","status":"publish","type":"post","link":"https:\/\/studentpmr.ru\/?p=23654","title":{"rendered":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0421\u0438 ++. \u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0437 \u0431\u0443\u043a\u0432, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u0410, \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0412?"},"content":{"rendered":"<p>\/\/\u0414\u0430\u043d\u044b \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0410 \u0438 B. \u0421\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443,<br \/>\n\/\/\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0443\u044e, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0437 \u0431\u0443\u043a\u0432, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u0410, \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0412<br \/>\n\/\/(\u0431\u0443\u043a\u0432\u044b \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c).<br \/>\n\/\/\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0410: \u0418\u041d\u0422\u0415\u0413\u0420\u0410\u041b; \u0412: \u0410\u0413\u0415\u041d\u0422 &#8212; \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e; \u0412: \u0413\u0420\u0410\u0424 -\u043d\u0435\u043b\u044c\u0437\u044f.<br \/>\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<string.h><br \/>\n#include<stdlib.h><br \/>\n<!--more--><br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\nint i=0,p=0,n=0,dlina=0,dlina1=0;<br \/>\nchar str[100], str1[100];<br \/>\nfor(i=0;i<100;i++) \/\/\u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 \n{str[i]=NULL;str1[i]=NULL;}\nprintf(\"\u0412\u0432\u0435\u0434\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 A: \");\nscanf(\"%s\",&#038;str);\nprintf(\"\u0412\u0432\u0435\u0434\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 B: \");\nscanf(\"%s\",&#038;str1);\ndlina1=strlen(str1);\ndlina=strlen(str);\nfor(i=0;str1[i]!=NULL;i++)\/\/\u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u043a\u0443 \n\tfor(p=0;str[p]!=NULL;p++)\/\/\u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u0432\u0442\u043e\u0440\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \n\t\t{\n\t\t\tif(str1[i]==str[p])\/\/\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0431\u0443\u043a\u0432\u0443 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u0431\u0443\u043a\u0432\u043e\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438  \n\t\t\t\t{n++; str[p]='*'; p=dlina-1;}\/\/\u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0431\u0443\u043a\u0432\u0443, \u043a\u0442\u043e\u0440\u0430\u044f \u0443\u0436\u0435 \u0431\u044b\u043b\u0430 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u0434\u0435\u0439\u0432\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\t\t\t\n\t\t}\nif(dlina1==n)\/\/\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0431\u0443\u043a\u0432\u044b \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0435\u0441\u0442\u044c \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 (\u0437\u0430 \u0447\u0442\u043e \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0438), \u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \n\tprintf(\"Yes\\n\");\n else\n\tprintf(\"No\\n\");\ngetch();\n}\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/\/\u0414\u0430\u043d\u044b \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0410 \u0438 B. \u0421\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0443\u044e, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0437 \u0431\u0443\u043a\u0432, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u0410, \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0412 \/\/(\u0431\u0443\u043a\u0432\u044b \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c). \/\/\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0410: \u0418\u041d\u0422\u0415\u0413\u0420\u0410\u041b; \u0412: \u0410\u0413\u0415\u041d\u0422 &#8212; \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e; \u0412: \u0413\u0420\u0410\u0424 -\u043d\u0435\u043b\u044c\u0437\u044f. #include #include #include #include<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"_links":{"self":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23654"}],"collection":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23654"}],"version-history":[{"count":1,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23654\/revisions"}],"predecessor-version":[{"id":23655,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23654\/revisions\/23655"}],"wp:attachment":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}