{"id":23668,"date":"2012-11-30T11:27:24","date_gmt":"2012-11-30T08:27:24","guid":{"rendered":"http:\/\/studentpmr.ru\/?p=23668"},"modified":"2012-11-30T11:27:24","modified_gmt":"2012-11-30T08:27:24","slug":"%d0%bf%d0%b8%d1%80%d0%bc%d0%b5%d1%80%d1%8b-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc-%d0%bd%d0%b0-%d1%81%d0%b8","status":"publish","type":"post","link":"https:\/\/studentpmr.ru\/?p=23668","title":{"rendered":"\u041f\u0438\u0440\u043c\u0435\u0440\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0430 \u0421\u0438++"},"content":{"rendered":"<p>10-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h>   \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <conio.h><br \/>\n#define size 10      \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0440\u043e\u0438\u043c\u0435\u043d\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();           \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n int a[size];        \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435<br \/>\n int i,k=0;          \/\/\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<br \/>\n printf(&#171;\\t\\t* * * \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 * * *\\n\\n&#187;);<br \/>\n printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\\n\\n&#187;);<br \/>\n for(i=0;i<size;i++) \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n\t{\n\t printf(\" a[%d]: \",i+1);\n\t scanf(\"%d\",&#038;a[i]);  \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0441\u0441\u0438\u0432\n\t if(a[i]>0)<br \/>\n\t\tk++;     \/\/\u043d\u0430\u0440\u0430\u0449\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043b-\u0432\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432<br \/>\n\t}<br \/>\n printf(&#171;\\n   \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435 %d \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b&#187;,k);\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430<br \/>\n getch();<br \/>\n}<br \/>\n<!--more--><\/p>\n<p>1-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h><br \/>\n#include <conio.h><br \/>\n#include <math.h><br \/>\nvoid main()<br \/>\n{<br \/>\n   clrscr();<br \/>\n   float x,y,s;<br \/>\n   printf(&#171;\\t\\t* * * \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f * * *\\n\\n &#171;);<br \/>\n   printf(&#187; \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 x \u0438 y:\\n&#187;);<br \/>\n   scanf(&#171;%f%f&#187;,&#038;x,&#038;y);<br \/>\n   if(x==0)<br \/>\n\tprintf(&#171;\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u0432\u043e\u0434\\n&#187;);<br \/>\n   else<br \/>\n\t{<br \/>\n\ts=pow((1+1\/(x*x)),x)-12*x*x*y;<br \/>\n\tprintf(&#171;\\n \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0440\u0430\u0432\u043d\u043e: %.3f&#187;,s);<br \/>\n\t}<br \/>\n   getch();<br \/>\n}<\/p>\n<p>11-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h>       \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <conio.h><br \/>\n#include <stdlib.h><br \/>\n#define size 10          \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0440\u043e\u0438\u043c\u0435\u043d\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();               \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n int a[size];            \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435<br \/>\n int p=1,f=0,m,i;        \/\/\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<br \/>\n printf(&#171;\\t\\t* * * \u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 * * *&#187;);<br \/>\nm:printf(&#171;\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043b\u044e\u0431\u043e\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e:\\n\\n\\t&#187;);<br \/>\n scanf(&#171;%d&#187;,&#038;m);         \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0447\u0438\u0441\u043b\u043e<br \/>\n p=1;<br \/>\n f=0;<br \/>\n printf(&#171;\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0438\u0432:\\n\\n&#187;);<br \/>\n for(i=0;i<size;i++)     \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n\t{\n\t printf(\"\\ta[%d]: \",i+1);\n\t scanf(\"%d\",&#038;a[i]);\/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0441\u0441\u0438\u0432\n\t if(a[i]>m)        \/\/\u0435\u0441\u043b\u0438 \u044d\u043b-\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430,<br \/>\n\t     {<br \/>\n\t\tp*=a[i];     \/\/\u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435<br \/>\n\t\tf++;<br \/>\n           }<br \/>\n      }<br \/>\n if(f>0)                 \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u044d\u043b-\u0442\u043e\u0432, \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430<br \/>\n\t{<br \/>\n\tprintf(&#171;\\n   \u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 %d \u0440\u0430\u0432\u043d\u043e: %d&#187;,m,p);<br \/>\n\t\t\t\t \/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430<br \/>\n\tprintf(&#171;\\n\\n   \u0414\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043d\u0430\u0436\u043c\u0438\u0442\u0435 Enter, \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f &#8212; \u043f\u0440\u043e\u0431\u0435\u043b&#187;);<br \/>\n\tif(getche()==&#8217; &#8216;)  \/\/getche() &#8212; \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b 1 \u0441\u0438\u043c\u0432\u043e\u043b\u0430<br \/>\n\t     goto m;<br \/>\n\telse<br \/>\n\t    exit(0);       \/\/exit(0) &#8212; \u0432\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<br \/>\n\t}<br \/>\n else<br \/>\n\t{<br \/>\n\tprintf(&#171;\\n   \u041d\u0435\u0442 \u0447\u0438\u0441\u0435\u043b \u0431\u043e\u043b\u044c\u0448\u0438\u0445 %d&#187;,m);<br \/>\n\tgoto m;            \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u043c\u0435\u0442\u043a\u0443<br \/>\n\t}<br \/>\ngetch();<br \/>\n}<\/p>\n<p>12-1..txt<br \/>\n************************************************************************<br \/>\n#include <conio.h>       \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <stdio.h><br \/>\n#define size 5           \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0440\u043e\u0438\u043c\u0435\u043d\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();               \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n int a[size][size],i,j,b[size][size]; \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<br \/>\n printf(&#171;\\t\\t* * * \u0422\u0440\u0430\u043d\u0441\u043f\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 * * *\\n\\n&#187;);<br \/>\n printf(&#171;\\t\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u043c\u0430\u0442\u0440\u0438\u0446\u0443:\\n\\n&#187;);<br \/>\n for(i=0;i<size;i++)     \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n\tfor(j=0;j<size;j++)\/\/\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 j\n\t     scanf(\"%d\",&#038;a[i][j]);\/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443\n for(i=0;i<size;i++)\n\tfor(j=0;j<size;j++)\n\t     b[i][j]=a[j][i];\/\/\u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438\n printf(\"\\n\\n\\t\u0422\u0440\u0430\u043d\u0441\u043f\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430:\\n\\n\");\n for(i=0;i<size;i++)\n\t{\n\tfor(j=0;j<size;j++)\n\t     printf(\"%2d\",b[i][j]);\/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\n\tprintf(\"\\n\");\n\t}\n getch();\n}\n\n\n\n13-1..txt\n************************************************************************\n#include <conio.h><br \/>\n#include <stdio.h><br \/>\n\/\/#include<math.h><br \/>\n#define n 5<br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();<br \/>\n int a[n][n],i,j,max,max_i,max_j,temp,k;<br \/>\n printf(&#171;\\n\\t\\t* * * \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u044b * * *\\n\\n&#187;);<br \/>\n printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u043c\u0430\u0442\u0440\u0438\u0446\u0443:\\n\\n&#187;);<br \/>\n for(i=0;i<n;i++)\n\tfor(j=0;j<n;j++)\n\t     scanf(\"%d\",&#038;a[i][j]);  \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443\nm:printf(\"\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 (k): \");\n fflush(stdin);                   \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0431\u0443\u0444\u0435\u0440\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\n scanf(\"%d\",&#038;k);\n if((k-1)>=n)<br \/>\n     {<br \/>\n     printf(&#171;\\n\\t\u0412\u0432\u0435\u0434\u0435\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u0432\u0432\u043e\u0434\\n\\n&#187;);<br \/>\n     goto m;                      \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u043c\u0435\u0442\u043a\u0443<br \/>\n     }<br \/>\n max=a[0][0];<br \/>\n for(i=0;i<n;i++)\n\tfor(j=0;j<n;j++)\n\t     {\n\t     if(max<a[i][j])   \/\/\u0438\u0449\u0435\u043c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u0430\u0442\u0440\u0438\u0446\u044b\n\t\t  {\n\t\t   max=a[i][j];\n\t\t   max_i=i;           \/\/\u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c\n\t\t   max_j=j;           \/\/\u0435\u0433\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u044b\n\t\t  }\n\t     }\n printf(\"\\n\\n   \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0440\u0430\u0432\u0435\u043d: %d\\n\\n\",max);\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\n if((k==max_i)&#038;&#038;(k==max_j))\n\tprintf(\"\\n\u041f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430\\n\\n\");\n else\n\t {\n\t temp=a[max_i][max_j];          \/\/\u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\n\t a[max_i][max_j]=a[k-1][k-1];   \/\/\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u043c\u0430\u0442\u0440\u0438\u0446\u044b\n\t a[k-1][k-1]=temp;              \/\/\u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u043d\u0430 k-\u0442\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438\n\t }\n printf(\"\\n\\n   \u0413\u043e\u0442\u043e\u0432\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430:\\n\\n\",max);\n for(i=0;i<n;i++)\n\t{\n\tfor(j=0;j<n;j++)\n\t     printf(\"%2d\",a[i][j]);     \/\/\u0432\u044b\u0432\u043e\u0434 \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\n\t     printf(\"\\n\");\n\t}\n getch();\n}\n\n\n\n14-1..txt\n************************************************************************\n#include <conio.h><br \/>\n#include <stdio.h><br \/>\n#define n 4             \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435<br \/>\n#define m 5             \/\/\u043c\u0430\u043a\u0440\u043e\u0438\u043c\u0435\u043d\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();              \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n int a[n][m],i,j,N[n];<br \/>\n printf(&#171;\\n\\t\\t* * * \u041f\u0440\u043e\u0441\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 * * *\\n\\n&#187;);<br \/>\n printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u043c\u0430\u0442\u0440\u0438\u0446\u0443:\\n\\n&#187;);<br \/>\n for(i=0;i<n;i++)       \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n\tfor(j=0;j<m;j++)  \/\/\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 j\n\t     scanf(\"%d\",&#038;a[i][j]); \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443\n printf(\"\\n\\n   \u041f\u0440\u043e\u0441\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430:\\n\\n\");\n for(i=0;i<n;i++)\n\t{\n\t N[i]=0;          \/\/\u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\n\t for(j=0;j<m;j++)\n\t     N[i]+=a[i][j]; \/\/\u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\n\t printf(\"%3d\",N[i]);\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\n\t}\n getch();\n}\n\n\n\n15-1..txt\n************************************************************************\n#include <stdio.h><br \/>\n#include<conio.h><br \/>\nunsigned long sfact(unsigned long);   \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\n    unsigned long f=1;<br \/>\n    printf(&#171;\\n   * * * \u0412\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0441\u0443\u043c\u043c\u044b \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b\u043e\u0432 \u0432\u0441\u0435\u0445 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043e\u0442 1 \u0434\u043e 9. * * *\\n\\n&#187;);<br \/>\n    f=sfact(f);                       \/\/\u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\n    printf(&#171;\\n\u0421\u0443\u043c\u043c\u0430 \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b\u043e\u0432 \u0432\u0441\u0435\u0445 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043e\u0442 1 \u0434\u043e 9 \u0440\u0430\u0432\u043d\u0430: %lu\\n&#187;, f);<br \/>\ngetch();<br \/>\n}<br \/>\nunsigned long sfact(unsigned long f)  \/\/\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\n{<br \/>\n unsigned long i=3,s=1;               \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\n while(i<10)                          \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i \u043f\u043e\u043a\u0430 i<10\n    {\n    f=f*(i-1)*i;                      \/\/\u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b \u0447\u0438\u0441\u043b\u0430\n    i+=2;                             \/\/\u043d\u0430\u0440\u0430\u0449\u0438\u0432\u0430\u0435\u043c \u0441\u0447\u0435\u0442\u0447\u0438\u043a\n    s+=f;                             \/\/\u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b\u044b\n    }\n return s;                            \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e\n}\n\n\n\n16-1..txt\n************************************************************************\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<math.h><br \/>\n#define n 10<br \/>\nint max(int,int);    \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c\u0430<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\n    int A[n],B[n-5],i,j;<br \/>\n    printf(&#171;\\t\\t\\t* * * \u041c\u0430\u0441\u0441\u0438\u0432 B \u0438\u0437 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 A * * *\\n\\n&#187;);<br \/>\n    printf(&#171;\\t\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u0437 10-\u0442\u0438 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:\\n\\n&#187;);<br \/>\n    for(i=0;i<n;i++)\n\t scanf(\"%d\",&#038;A[i]);   \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0441\u0441\u0438\u0432 \u0410\n    for(j=0,i=0;j<(n-5);j++,i+=2)  \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c i \u0438 j\n\t B[j]=max(A[i],A[i+1]);      \/\/\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\n    printf(\"\\n\\t\u041c\u0430\u0441\u0441\u0438\u0432 \u0412:\\n\\n\");\n    for(j=0;j<(n-5);j++)           \/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\n\t printf(\"%3d\",B[j]);\ngetch();\n}\nint max(int x,int  y)              \/\/\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\n   \t {\n\t if(x>y)<br \/>\n\t\t return x;<br \/>\n\t else<br \/>\n\t\t return y;<br \/>\n\t }<\/p>\n<p>17-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h><br \/>\n#include<conio.h><br \/>\nint func(long int);    \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\n\tlong int x;<br \/>\n\tint k;<br \/>\n\tprintf(&#171;\\n\\t\\t* * * \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0446\u0438\u0444\u0440 \u0432 \u0447\u0438\u0441\u043b\u0435 * * *\\n\\n&#187;);<br \/>\n\tprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043b\u043e: &#171;);<br \/>\n\tscanf(&#171;%li&#187;,&#038;x); \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0447\u0438\u0441\u043b\u043e<br \/>\n\tk=func(x);       \/\/\u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\n\tprintf(&#171;\\n\\n   \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0446\u0438\u0444\u0440 \u0432 \u0447\u0438\u0441\u043b\u0435 %li \u0440\u0430\u0432\u043d\u043e: %d&#187;, x, k);<br \/>\ngetch();<br \/>\n}<br \/>\nint func(long int a)   \/\/\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\n    {<br \/>\n\tint i=0;<br \/>\n\tif(a<10)\n\t   return ++i;   \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\n\telse\n\t   {\n\t   i=1+func(a\/10); \/\/\u0440\u0435\u043a\u0443\u0440\u0441\u0438\u044f\n\t   return i;\n\t   }\n    }\n\n\n\n18-1..txt\n************************************************************************\n#include <stdio.h><br \/>\n#include<conio.h><br \/>\nint func(long int);    \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\n\tlong int x;<br \/>\n\tint s;<br \/>\n\tprintf(&#171;\\n\\t\\t* * * \u0421\u0443\u043c\u043c\u0430 \u0446\u0438\u0444\u0440 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 * * *\\n\\n&#187;);<br \/>\n\tprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043b\u043e: &#171;);<br \/>\n\tscanf(&#171;%li&#187;,&#038;x); \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0447\u0438\u0441\u043b\u043e<br \/>\n\ts=func(x);       \/\/\u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\n\tprintf(&#171;\\n\\n   \u0421\u0443\u043c\u043c\u0430 \u0446\u0438\u0444\u0440 \u0447\u0438\u0441\u043b\u0430 %li \u0440\u0430\u0432\u043d\u0430: %d&#187;, x, s);<br \/>\ngetch();<br \/>\n}<br \/>\nint func(long int a)   \/\/\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\n    {<br \/>\n\tint h=0;<br \/>\n\tif(a<10)         \/\/\u0435\u0441\u043b\u0438 a-\u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e\n\t   {\n\t   h+=a;\n\t   return h;     \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\n\t   }\n\telse\n\t   {\n\t   h=a%10;\n\t   a\/=10;\n\t   h+=func(a);   \/\/\u0440\u0435\u043a\u0443\u0440\u0441\u0438\u044f\n\t   return h;\n\t   }\n    }\n\n\n\n19-1..txt\n************************************************************************\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<stdlib.h><br \/>\nvoid nul(int*,int,int);              \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\n    int i,j,*a,n,m;                  \/\/ *a &#8212; \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c<br \/>\n    printf(&#171;\\n\\t* * * \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u043e\u043a, \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 * * *\\n\\n&#187;);<br \/>\n    printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u043c\u0430\u0442\u0440\u0438\u0446\u044b (n*m):\\n\\n\\t&#187;);<br \/>\n    scanf(&#171;%d%d&#187;,&#038;n,&#038;m);<br \/>\n    a=new int[n*m];                  \/\/\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430<br \/>\n    printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c %d*%d:\\n\\n&#187;,n,m);<br \/>\n    for(i=0;i<n;i++)\n\tfor(j=0;j<m;j++)\n\t    scanf(\"%d\",&#038;(*(a+j+i*m))); \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443\n    nul(a,n,m);                      \/\/\u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\n    delete[]a;\ngetch();\n}\nvoid nul(int *a,int n1,int m1)       \/\/\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\n\t {\n\t int j,i,d=0,s=0;              \/\/d-\u0444\u043b\u0430\u0433, s-\u043a\u043e\u043b-\u0432\u043e \u0441\u0442\u0440\u043e\u043a, \u043d\u0435 \u0441\u043e\u0434. \u043d\u0443\u043b. \u044d\u043b-\u0442\u043e\u0432\n\t for(i=0;i<n1;i++)\n\t     {\n\t     for(j=0;j<m1;j++)\n\t\t   if(*(a+j+i*m1)==0)    \/\/\u0438\u0449\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443, \u043d\u0435 \u0441\u043e\u0434. \u043d\u0443\u043b. \u044d\u043b-\u0442\u043e\u0432\n\t\t\t d=1;\n\t     if(d==0)\n\t\t    s++;\n           d=0;\n\t     }\n\t printf(\"\\n   \u041a\u043e\u043b-\u0432\u043e \u0441\u0442\u0440\u043e\u043a, \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432: %d\\n\",s);\n\t }\n\n\n20-1..txt\n************************************************************************\n#include <stdio.h>   \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <conio.h><br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();<br \/>\n int *a,chislo,i,raz=0,n;<br \/>\n printf(&#171;\\t\\t* * *\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e? * * *\\n\\n&#187;);<br \/>\n printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430:\\n\\n\\t&#187;);<br \/>\n scanf(&#171;%d&#187;,&#038;n);<br \/>\n a=new int[n];<br \/>\n printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e:\\n\\n\\t\u0427\u0438\u0441\u043b\u043e: &#171;);<br \/>\n scanf(&#171;%d&#187;,&#038;chislo);           \/\/\u0432\u0432\u043e\u0434 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043d\u0430\u043c \u0447\u0438\u0441\u043b\u0430<br \/>\n printf(&#171;\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u0437 %d \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:\\n\\n&#187;,n);<br \/>\n for(i=0;i<n;i++)            \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n\t{\n\t printf(\"\\ta[%d]: \",i+1);\n\t scanf(\"%d\",(a+i));       \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043c\u0430\u0441\u0441\u0438\u0432\u0430\n\t if(*(a+i)==chislo)         \/\/\u043d\u0430\u0445\u043e\u0434\u0438\u043c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e\n\t raz++;                   \/\/\u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435\n\t}\n printf(\"\\n   \u0427\u0438\u0441\u043b\u043e %d \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 %d \u0440.\",chislo,raz);\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437-\u0442\u0430\n delete[]a;\n getch();\n}\n\n\n2-1..txt\n************************************************************************\n#include <stdio.h><br \/>\n#include <conio.h><br \/>\n#define PI 3.1415<br \/>\nvoid main()<br \/>\n{<br \/>\n   clrscr();<br \/>\n   float l,s;<br \/>\n   printf(&#171;\\t\\t* * * \u041f\u043b\u043e\u0449\u0430\u0434\u044c \u043a\u0440\u0443\u0433\u0430 * * *\\n\\n&#187;);<br \/>\n   printf(&#187; \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u043b\u0438\u043d\u0443 \u043e\u043a\u0440\u0443\u0436\u043d\u043e\u0441\u0442\u0438:\\n&#187;);<br \/>\n   scanf(&#171;%f&#187;,&#038;l);<br \/>\n   s=(l*l)\/(4*PI);<br \/>\n   printf(&#171;\\n \u041f\u043b\u043e\u0449\u0430\u0434\u044c \u043a\u0440\u0443\u0433\u0430 \u0440\u0430\u0432\u043d\u0430: %.3f&#187;,s);<br \/>\n   getch();<br \/>\n}<\/p>\n<p>21-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h><br \/>\n#include <conio.h><br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();<br \/>\n int p=1,f=0,m,i,n,*a;<br \/>\n printf(&#171;\\t\\t* * * \u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 * * *&#187;);<br \/>\n printf(&#171;\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430:\\n\\n\\t&#187;);<br \/>\n scanf(&#171;%d&#187;,&#038;n);<br \/>\n a=new int[n];             \/\/\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430<br \/>\nm:printf(&#171;\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043b\u044e\u0431\u043e\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e:\\n\\n\\t&#187;);<br \/>\n scanf(&#171;%d&#187;,&#038;m);           \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0447\u0438\u0441\u043b\u043e<br \/>\n printf(&#171;\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0438\u0432:\\n\\n&#187;);<br \/>\n for(i=0;i<n;i++)\n\t{\n\t printf(\"\\ta[%d]: \",i+1);\n\t scanf(\"%d\",(a+i));  \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0441\u0441\u0438\u0432\n\t if(*(a+i)>m)        \/\/\u0435\u0441\u043b\u0438 \u044d\u043b-\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430,<br \/>\n\t     {<br \/>\n\t\tp*=(*(a+i));   \/\/\u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435<br \/>\n\t\tf++;<br \/>\n           }<br \/>\n      }<br \/>\n if(f>0)                   \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u044d\u043b-\u0442\u043e\u0432, \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430<br \/>\n\tprintf(&#171;\\n   \u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 %d \u0440\u0430\u0432\u043d\u043e: %d&#187;,m,p);<br \/>\n else<br \/>\n\t{<br \/>\n\tprintf(&#171;\\n   \u041d\u0435\u0442 \u0447\u0438\u0441\u0435\u043b \u0431\u043e\u043b\u044c\u0448\u0438\u0445 %d&#187;,m);<br \/>\n\tgoto m;              \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u043c\u0435\u0442\u043a\u0443<br \/>\n\t}<br \/>\n delete []a;               \/\/\u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438<br \/>\ngetch();<br \/>\n}<\/p>\n<p>22-1..txt<br \/>\n************************************************************************<br \/>\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<stdlib.h><br \/>\nvoid sled(float*,int);             \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\n    int i,j,n;<br \/>\n    float *a;                      \/\/ *a &#8212; \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c<br \/>\n    printf(&#171;\\n\\t\\t\\t* * * \u0421\u043b\u0435\u0434 \u043c\u0430\u0442\u0440\u0438\u0446\u044b * * *\\n\\n&#187;);<br \/>\n    printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u043c\u0430\u0442\u0440\u0438\u0446\u044b (n*n):\\n\\n\\t&#187;);<br \/>\n    scanf(&#171;%d&#187;,&#038;n);<br \/>\n    a=new float[n*n];              \/\/\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430<br \/>\n    printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c %d*%d:\\n\\n&#187;,n,n);<br \/>\n    for(i=0;i<n;i++)\n\tfor(j=0;j<n;j++)\n\t    scanf(\"%f\",&#038;(*(a+j+i*n))); \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443\n    sled(a,n);                       \/\/\u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\n    delete[]a;\ngetch();\n}\nvoid sled(float *a,int n)            \/\/\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\n\t {\n\t int j,i;\n\t float s=0.0,*b;\n\t b=new float[n];\n\t for(i=0,j=0;i<n,j<n;i++,j++)\n\t     {\n\t     *(b+i)=*(a+j+i*n);          \/\/\u0438\u0449\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438\n\t     s+=*(b+i);                \/\/\u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0441\u043b\u0435\u0434 \u043c\u0430\u0442\u0440\u0438\u0446\u044b\n\t     }\n\t printf(\"\\n   \u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438 \u043c\u0430\u0442\u0440\u0438\u0446\u044b:\\n\\n\");\n\t for(i=0;i<n;i++)\n\t     printf(\"  %.f\",*(b+i));\n\t printf(\"\\n\\n   \u0421\u043b\u0435\u0434 \u043c\u0430\u0442\u0440\u0438\u0446\u044b: %.f\\n\\n   \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430:\\n\\n\",s);\n\t for(i=1;i<n;i+=2)\n\t     for(j=0;j<n;j++)\n\t\t   *(a+j+i*n)\/=s;        \/\/\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443\n\t for(i=0;i<n;i++)\n\t     {\n\t     for(j=0;j<n;j++)          \/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\n\t\t   printf(\"  %.1f\",*(a+j+i*n));\n\t     printf(\"\\n\");\n\t     }\n\t delete[]b;\n\t }\n\n\n23-1..txt\n************************************************************************\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<stdlib.h><br \/>\n#include<string.h><br \/>\nstruct aeroflot{                 \/\/\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<br \/>\n\t\t    char name[10];<br \/>\n\t\t    int nomer;<br \/>\n\t\t    char tip[20];<br \/>\n\t\t   };<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\nint n,i,k=0;<br \/>\nchar st[10];<br \/>\nprintf(&#171;\\n\\t\\t\\t\\t* * * \u0410\u044d\u0440\u043e\u0444\u043b\u043e\u0442 * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0430\u043c\u043e\u043b\u0435\u0442\u043e\u0432:\\n&#187;);<br \/>\nscanf(&#171;%d&#187;,&#038;n);<br \/>\naeroflot *ps=new aeroflot[n];    \/\/\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440<br \/>\nif(ps==0)                        \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438<br \/>\n     {<br \/>\n     puts(&#171;\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438&#187;);<br \/>\n     exit(1);<br \/>\n     }<br \/>\nfor(i=0;i<n;i++)                 \/\/\u0432\u0432\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445\n     {\n     fflush(stdin);\n     printf(\"\\n\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 %d-\u0433\u043e \u0441\u0430\u043c\u043e\u043b\u0435\u0442\u0430:\\n\\n\",i+1);\n     printf(\"   \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0443\u043d\u043a\u0442\u0430 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f: \");\n     gets((ps+i)->name);<br \/>\n     printf(&#187;   \u041d\u043e\u043c\u0435\u0440 \u0440\u0435\u0439\u0441\u0430: &#171;);<br \/>\n     scanf(&#171;%d&#187;,&#038;(ps+i)->nomer);<br \/>\n     printf(&#187;   \u0422\u0438\u043f \u0441\u0430\u043c\u043e\u043b\u0435\u0442\u0430: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     gets((ps+i)->tip);<br \/>\n     printf(&#171;\\n\\n&#187;);<br \/>\n     }<br \/>\n printf(&#171;\\n\\n\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0438\u043f \u0441\u0430\u043c\u043e\u043b\u0435\u0442\u0430, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e:\\n&#187;);<br \/>\n scanf(&#171;%s&#187;,&#038;st[0]);<br \/>\n for(i=0;i<n;i++)\n    {\n    if((strcmp((ps+i)->tip,st))==0) \/\/\u0438\u0449\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0439 \u0440\u0435\u0439\u0441<br \/>\n\t {<br \/>\n\t k=1;<br \/>\n\t printf(&#171;\\n\\n   \u041f\u0443\u043d\u043a\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f: %s\\n\\n&#187;,(ps+i)->name);<br \/>\n\t printf(&#187;   \u041d\u043e\u043c\u0435\u0440 \u0440\u0435\u0439\u0441\u0430: %d&#187;,(ps+i)->nomer);<br \/>\n\t break;                       \/\/\u0432\u044b\u0445\u043e\u0434 \u0438\u0437 \u0446\u0438\u043a\u043b\u0430<br \/>\n\t }<br \/>\n    }<br \/>\n if(k==0)<br \/>\n     printf(&#171;\\n\u0414\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0439\u0441 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442&#187;);<br \/>\ndelete[]ps;                         \/\/\u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438<br \/>\ngetch();<br \/>\n}<\/p>\n<p>24-1..txt<br \/>\n************************************************************************<br \/>\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<string.h><br \/>\n#include<stdlib.h><br \/>\nvoid main ()<br \/>\n{<br \/>\nclrscr();<br \/>\nFILE *in,*out;                   \/\/\u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u043d\u0430 \u0444\u0430\u0439\u043b\u044b<br \/>\nint s=0,n=0,k,sr;<br \/>\nif((in=fopen(&#171;\u043f\u0440\u043e.txt&#187;,&#187;rt&#187;))==NULL)   \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0444\u0430\u0439\u043b\u0430<br \/>\n    {<br \/>\n    printf(&#171;\\t\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432&#187;);<br \/>\n    exit(1);<br \/>\n    }<br \/>\nif((out=fopen(&#171;hggh.txt&#187;,&#187;w+t&#187;))==NULL)<br \/>\n    {<br \/>\n    printf(&#171;\\t\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432&#187;);<br \/>\n    exit(1);<br \/>\n    }<br \/>\nprintf(&#171;\\n\\t* * * \u0421\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0447\u0438\u0441\u0435\u043b \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \\&#187;\u043f\u0440\u043e.txt\\&#187;:\\n\\n\\t\\t&#187;);<br \/>\nwhile(!feof(in))                 \/\/\u043f\u043e\u043a\u0430 \u043d\u0435 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430<br \/>\n    {<br \/>\n    fscanf(in,&#187;%d&#187;,&#038;k);          \/\/\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u043f\u043e 1 \u0447\u0438\u0441\u043b\u0443 \u0438<br \/>\n    printf(&#171;%3d&#187;,k);             \/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e \u043d\u0430 \u044d\u043a\u0440\u0430\u043d<br \/>\n    s+=k;<br \/>\n    n++;<br \/>\n    }<br \/>\nsr=s\/n;                          \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435<br \/>\nfprintf(out,&#187;%d&#187;,sr);            \/\/\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0444\u0430\u0439\u043b<br \/>\nfscanf(out,&#187;%d&#187;,&#038;sr);<br \/>\nprintf(&#171;\\n\\n   \u0421\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b: %d&#187;,sr);<br \/>\nfclose(in);                      \/\/\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b<br \/>\nfclose(out);<br \/>\ngetch ();<br \/>\n}<\/p>\n<p>25-1..txt<br \/>\n************************************************************************<br \/>\n  #include <stdio.h><br \/>\n  #include <conio.h><br \/>\n  #include <string.h><br \/>\n  void main()<br \/>\n  {<br \/>\n  clrscr();<br \/>\n  char str[50],*ps;<br \/>\n  int i,a;<br \/>\n  printf(&#171;\\n\\t* * * \u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0445 \u0440\u0443\u0441\u0441\u043a\u0438\u0445 \u0431\u0443\u043a\u0432 \u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435 * * *\\n\\n&#187;);<br \/>\n  printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0443 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435:\\n\\n\\t&#187;);<br \/>\n  gets(str);                              \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443<br \/>\n  ps=&#038;str[0];                             \/\/\u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<br \/>\n  a=strlen(str);                          \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a-\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435<br \/>\n  for(i=0;i<a;i++)\n\t{\n\tif((*(ps+i)>=&#8217;\u0430&#8217;)&#038;&#038;(*(ps+i)<='\u043f'))\n\t\t*(ps+i)-=32;                  \/\/\u0443\u043c\u0435\u043d\u044c\u0448\u0430\u044f \u043a\u043e\u0434\u044b \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432,\n\tif((*(ps+i)>=&#8217;\u0440&#8217;)&#038;&#038;(*(ps+i)<='\u044f'))  \/\/\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u0440\u0443\u0441\u0441\u043a\u0438\u0435\n\t\t*(ps+i)-=80;;                 \/\/\u0431\u0443\u043a\u0432\u044b \u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435\n\t}\n  printf(\"\\n\\n   \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:\");\n  printf(\"\\n\\n\\t%s\",ps);                  \/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\n  getch();\n  }\n\n\n\n\n26-1..txt\n************************************************************************\n#include <stdio.h><br \/>\n#include <conio.h><br \/>\nvoid prost(int);<br \/>\nvoid main ()<br \/>\n{<br \/>\nclrscr();<br \/>\nint n,d,r;<br \/>\nprintf(&#171;\\n\\t\\t\\t* * * \u041f\u0440\u043e\u0441\u0442\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 * * *\\n\\n&#187;);<br \/>\nm:printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0447\u0438\u0441\u043b\u043e: &#171;);<br \/>\nscanf(&#171;%d&#187;,&#038;n);<br \/>\nd=2;                             \/\/\u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 2<br \/>\ndo {<br \/>\n    r=n%d;<br \/>\n    if(r!=0)<br \/>\n\t  d++;<br \/>\n   }<br \/>\nwhile(r!=0);                     \/\/\u043f\u043e\u043a\u0430 \u043d\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 d<br \/>\nif (d==n)                        \/\/\u0435\u0441\u043b\u0438 \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0431\u044f<br \/>\n    printf(&#171;\\n  %d &#8212; \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0447\u0438\u0441\u043b\u043e\\n\\n&#187;,n);<br \/>\nelse<br \/>\n    {<br \/>\n    printf(&#171;\\n  %d &#8212; \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0447\u0438\u0441\u043b\u043e\\n\\n&#187;,n);<br \/>\n    goto m;<br \/>\n    }<br \/>\nn++;<br \/>\nprost(n);<br \/>\ngetch();<br \/>\n}<\/p>\n<p>\/\/&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>void prost(int a)<br \/>\n{<br \/>\nint s,k;<br \/>\nk=2;                             \/\/\u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 2<br \/>\ndo {<br \/>\n    s=a%k;<br \/>\n    if(s!=0)<br \/>\n\t  k++;<br \/>\n   }<br \/>\nwhile(s!=0);<br \/>\nif (k==a)<br \/>\n    printf(&#187;   \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0437\u0430 \u043d\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0447\u0438\u0441\u043b\u043e: %d&#187;,a);<br \/>\nelse<br \/>\n    prost(a+1);                  \/\/\u0440\u0435\u043a\u0443\u0440\u0441\u0438\u044f<br \/>\n}<\/p>\n<p>27-1..txt<br \/>\n************************************************************************<br \/>\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<stdlib.h><br \/>\n#include<string.h><br \/>\nstruct music{<br \/>\n\t\t char nos[10];     \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<br \/>\n\t\t int nomer;<br \/>\n\t\t char name[20];<br \/>\n\t\t char isp[20];<br \/>\n\t\t int time;<br \/>\n\t\t int kol;<br \/>\n\t\t int cena;<br \/>\n\t\t};<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\nint n,i,j,k=0,a=0;<br \/>\nchar st[10];<br \/>\nmusic tmp;<br \/>\nprintf(&#171;\\n\\t\\t\\t* * * \u0425\u0438\u0442-\u043f\u0430\u0440\u0430\u0434 2008 * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432: &#171;);<br \/>\nscanf(&#171;%d&#187;,&#038;n);<br \/>\nmusic *ps=new music[n];        \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440<br \/>\nif(ps==0)<br \/>\n     {<br \/>\n     puts(&#187;   \u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438&#187;);<br \/>\n     exit(1);<br \/>\n     }<br \/>\nfor(i=0;i<n;i++)\n     {\n     fflush(stdin);\n     printf(\"\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 %d-\u0433\u043e \u0430\u043b\u044c\u0431\u043e\u043c\u0430:\\n\\n\",i+1);\n     printf(\"   \u041d\u043e\u0441\u0438\u0442\u0435\u043b\u044c: \");\n     gets((ps+i)->nos);<br \/>\n     printf(&#187;   \u041d\u043e\u043c\u0435\u0440 \u043f\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     scanf(&#171;%d&#187;,&#038;(ps+i)->nomer);<br \/>\n     printf(&#187;   \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     gets((ps+i)->name);<br \/>\n     printf(&#187;   \u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     gets((ps+i)->isp);<br \/>\n     printf(&#187;   \u0412\u0440\u0435\u043c\u044f \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u044f (\u043c\u0438\u043d): &#171;);<br \/>\n     fflush(stdin);<br \/>\n     scanf(&#171;%d&#187;,&#038;(ps+i)->time);<br \/>\n     printf(&#187;   \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0439: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     scanf(&#171;%d&#187;,&#038;(ps+i)->kol);<br \/>\n     printf(&#187;   \u0426\u0435\u043d\u0430 \u043f\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     scanf(&#171;%d&#187;,&#038;(ps+i)->cena);<br \/>\n     printf(&#171;\\n\\n&#187;);<br \/>\n     }<br \/>\n for(i=0;i<n+a;i++)                \/\/\u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043c\u0430\u0441\u0441\u0438\u0432\n     for(j=0;j<n-1;j++)\n\t if(strcmp((ps+j)->isp,(ps+j+1)->isp)>0)<br \/>\n\t     {<br \/>\n\t     tmp=*(ps+j);<br \/>\n\t     *(ps+j)=*(ps+j+1);<br \/>\n\t     *(ps+j+1)=tmp;<br \/>\n\t     }<br \/>\n printf(&#171;\\t\\t* * * \u0425 \u0418 \u0422 &#8212; \u041f \u0410 \u0420 \u0410 \u0414   2 0 0 8 * * *\\n&#187;); \/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443<br \/>\n printf(&#187;  ________________________________________________________________________\\n&#187;);<br \/>\n printf(&#187; |             |          |\u041d\u041e\u041c\u0415\u0420  |          | \u0412\u0420\u0415\u041c\u042f  |\u041a-\u0412\u041e   |    \u0426\u0415\u041d\u0410   |\\n&#187;);<br \/>\n printf(&#187; | \u0418\u0421\u041f\u041e\u041b\u041d\u0418\u0422\u0415\u041b\u042c | \u041d\u0410\u0417\u0412\u0410\u041d\u0418\u0415 |\u041f\u041e \u041a\u0410\u0422.| \u041d\u041e\u0421\u0418\u0422\u0415\u041b\u042c |\u0417\u0412\u0423\u0427\u0410\u041d\u0418\u042f|\u041f\u0420\u041e\u0418\u0417\u0412.|\u041f\u041e \u041a\u0410\u0422\u0410\u041b\u041e\u0413\u0423|\\n&#187;);<br \/>\n printf(&#187; |_____________|__________|_______|__________|________|_______|___________|\\n&#187;);<br \/>\nfor(i=0;i<n;i++)\n {\n printf(\" |             |          |       |          |        |       |           |\\n\");\n printf(\" |%s| %s  |  %d  \",(ps+i)->isp,(ps+i)->name,(ps+i)->nomer);<br \/>\n printf(&#187; |   %s   |   %d   |  %d   |    %d     |\\n&#187;,(ps+i)->nos,(ps+i)->time,(ps+i)->kol,(ps+i)->cena);<br \/>\n printf(&#187; |_____________|__________|_______|__________|________|_______|___________|\\n&#187;);<br \/>\n }<br \/>\n printf(&#171;\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0430\u043b\u044c\u0431\u043e\u043c\u0430, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e:\\n\\n &#171;);<br \/>\n scanf(&#171;%s&#187;,&#038;st[0]);<br \/>\n for(int q=0;q<n;q++)     \/\/\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0438\u0441\u043a \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044e \u0430\u043b\u044c\u0431\u043e\u043c\u0430\n    {\n    if((strcmp((ps+q)->name,st))==0)<br \/>\n\t{ k=1;<br \/>\n    printf(&#171;\\n  \u0410\u043b\u044c\u0431\u043e\u043c \\&#187;%s\\&#187;:\\n\\t\u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c: %s\\n&#187;,(ps+q)->name,(ps+q)->isp);<br \/>\n    printf(&#171;\\t\u041d\u043e\u043c\u0435\u0440 \u043f\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443: %d\\n\\t\u041d\u043e\u0441\u0438\u0442\u0435\u043b\u044c: %s\\n&#187;,(ps+q)->nomer,(ps+q)->nos);<br \/>\n    printf(&#171;\\t\u0412\u0440\u0435\u043c\u044f \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u044f: %d\\n\\t\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0439: %d\\n&#187;,(ps+q)->time,(ps+q)->kol);<br \/>\n    printf(&#171;\\t\u0426\u0435\u043d\u0430 \u043f\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443: %d&#187;,(ps+q)->cena);<br \/>\n    break;}<br \/>\n    }<br \/>\n if(k==0)<br \/>\n     printf(&#187;   \u0414\u0430\u043d\u043d\u044b\u0439 \u0430\u043b\u044c\u0431\u043e\u043c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445&#187;);<br \/>\n printf(&#171;\\n\\n  \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u043f\u0438\u0441\u043e\u043a: &#171;);<br \/>\n scanf(&#171;%d&#187;,&#038;a);<br \/>\n ps=(music*) realloc(ps,a);    \/\/\u0434\u043e\u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u044c<br \/>\n if(ps!=0)<br \/>\n    {<br \/>\n    for(q=i;q<n+a;q++)\n\t  {\n\t  fflush(stdin);\n\t  printf(\"\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 %d-\u0433\u043e \u0430\u043b\u044c\u0431\u043e\u043c\u0430:\\n\\n\",i+1);\n\t  printf(\"   \u041d\u043e\u0441\u0438\u0442\u0435\u043b\u044c: \");\n\t  gets((ps+q)->nos);<br \/>\n\t  printf(&#187;   \u041d\u043e\u043c\u0435\u0440 \u043f\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443: &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  scanf(&#171;%d&#187;,&#038;(ps+q)->nomer);<br \/>\n\t  printf(&#187;   \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435: &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  gets((ps+q)->name);<br \/>\n\t  printf(&#187;   \u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c: &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  gets((ps+q)->isp);<br \/>\n\t  printf(&#187;   \u0412\u0440\u0435\u043c\u044f \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u044f (\u043c\u0438\u043d): &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  scanf(&#171;%d&#187;,&#038;(ps+q)->time);<br \/>\n\t  printf(&#187;   \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0439: &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  scanf(&#171;%d&#187;,&#038;(ps+q)->kol);<br \/>\n\t  printf(&#187;   \u0426\u0435\u043d\u0430 \u043f\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443: &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  scanf(&#171;%d&#187;,&#038;(ps+q)->cena);<br \/>\n\t  printf(&#171;\\n\\n&#187;);<br \/>\n\t  }<br \/>\n    for(i=0;i<n+a;i++)\n     for(j=0;j<n-1+a;j++)\n\t if(strcmp((ps+j)->isp,(ps+j+1)->isp)>0)<br \/>\n\t     {<br \/>\n\t     tmp=*(ps+j);<br \/>\n\t     *(ps+j)=*(ps+j+1);<br \/>\n\t     *(ps+j+1)=tmp;<br \/>\n\t     }<br \/>\n    printf(&#171;\\t\\t* * * \u0425 \u0418 \u0422 &#8212; \u041f \u0410 \u0420 \u0410 \u0414   2 0 0 8 * * *\\n&#187;);<br \/>\n    printf(&#187;  ________________________________________________________________________\\n&#187;);<br \/>\n    printf(&#187; |             |          |\u041d\u041e\u041c\u0415\u0420  |          | \u0412\u0420\u0415\u041c\u042f  |\u041a-\u0412\u041e   |    \u0426\u0415\u041d\u0410   |\\n&#187;);<br \/>\n    printf(&#187; | \u0418\u0421\u041f\u041e\u041b\u041d\u0418\u0422\u0415\u041b\u042c | \u041d\u0410\u0417\u0412\u0410\u041d\u0418\u0415 |\u041f\u041e \u041a\u0410\u0422.| \u041d\u041e\u0421\u0418\u0422\u0415\u041b\u042c |\u0417\u0412\u0423\u0427\u0410\u041d\u0418\u042f|\u041f\u0420\u041e\u0418\u0417\u0412.|\u041f\u041e \u041a\u0410\u0422\u0410\u041b\u041e\u0413\u0423|\\n&#187;);<br \/>\n    printf(&#187; |_____________|__________|_______|__________|________|_______|___________|\\n&#187;);<br \/>\n    for(i=0;i<n+a;i++)\n\t{\n\tprintf(\" |%s| %s  |  %d  \",(ps+i)->isp,(ps+i)->name,(ps+i)->nomer);<br \/>\n\tprintf(&#187; |   %s   |   %d   |  %d   |    %d     |\\n&#187;,(ps+i)->nos,(ps+i)->time,(ps+i)->kol,(ps+i)->cena);<br \/>\n\tprintf(&#187; |_____________|__________|_______|__________|________|_______|___________|\\n&#187;);<br \/>\n\t}<br \/>\n    printf(&#171;\\n\\n   \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0430\u043b\u044c\u0431\u043e\u043c\u0430\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430.\\n\\n   \u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0430\u0448\u0438\u043c\u0438 \u0443\u0441\u043b\u0443\u0433\u0430\u043c\u0438.&#187;);<br \/>\n    free(ps);                      \/\/\u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u044c<br \/>\n    }<br \/>\ngetch();<br \/>\n}<\/p>\n<p>28-1..txt<br \/>\n************************************************************************<br \/>\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<stdlib.h><br \/>\n#include<string.h><br \/>\nstruct pers{<br \/>\n\t     char fio[20];     \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<br \/>\n\t     int vozr;<br \/>\n\t     char pol;<br \/>\n\t     char uvl[15];<br \/>\n\t     };<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\nint n,i,j,k=0,a=0;<br \/>\nchar st[20];<br \/>\npers tmp;<br \/>\nprintf(&#171;\\n\\t\\t\\t* * * \u041f\u0435\u0440\u0441\u043e\u043d\u0430 * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a: &#171;);<br \/>\nscanf(&#171;%d&#187;,&#038;n);<br \/>\npers *ps=new pers[n];       \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440<br \/>\nif(ps==0)<br \/>\n     {<br \/>\n     puts(&#187;   \u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438&#187;);<br \/>\n     exit(1);<br \/>\n     }<br \/>\nfor(i=0;i<n;i++)\n     {\n     fflush(stdin);\n     printf(\"\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 %d-\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430:\\n\\n\",i+1);\n     printf(\"   \u0424\u0430\u043c\u0438\u043b\u0438\u044f, \u0438\u043c\u044f, \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e: \");\n     gets((ps+i)->fio);<br \/>\n     printf(&#187;   \u0412\u043e\u0437\u0440\u0430\u0441\u0442: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     scanf(&#171;%d&#187;,&#038;(ps+i)->vozr);<br \/>\n     printf(&#187;   \u041f\u043e\u043b (\u043c,\u0436): &#171;);<br \/>\n     fflush(stdin);<br \/>\n     scanf(&#171;%c&#187;,&#038;(ps+i)->pol);<br \/>\n     printf(&#187;   \u0421\u043f\u0438\u0441\u043e\u043a \u0443\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0439: &#171;);<br \/>\n     fflush(stdin);<br \/>\n     gets((ps+i)->uvl);<br \/>\n     printf(&#171;\\n\\n&#187;);<br \/>\n     }<br \/>\n for(i=0;i<n+a;i++)                \/\/\u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043c\u0430\u0441\u0441\u0438\u0432\n     for(j=0;j<n-1;j++)\n\t if(strcmp((ps+j)->fio,(ps+j+1)->fio)>0)<br \/>\n\t     {<br \/>\n\t     tmp=*(ps+j);<br \/>\n\t     *(ps+j)=*(ps+j+1);<br \/>\n\t     *(ps+j+1)=tmp;<br \/>\n\t     }<br \/>\n printf(&#171;\\t\\t* * * \u041f \u0415 \u0420 \u0421 \u041e \u041d \u0410 * * *\\n&#187;); \/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443<br \/>\n printf(&#187;  _________________________________________\\n&#187;);<br \/>\n printf(&#187; |   |             |       |   |   \u0421\u041f\u0418\u0421\u041e\u041a  |\\n&#187;);<br \/>\n printf(&#187; | \u2116 |     \u0424\u0418\u041e     |\u0412\u041e\u0417\u0420\u0410\u0421\u0422|\u041f\u041e\u041b| \u0423\u0412\u041b\u0415\u0427\u0415\u041d\u0418\u0419 |\\n&#187;);<br \/>\n printf(&#187; |___|_____________|_______|___|___________|\\n&#187;);<br \/>\nfor(i=0;i<n;i++)\n {\n printf(\" |   |             |       |   |           |\\n\");\n printf(\" | %d | %s |  %d  \",i+1,(ps+i)->fio,(ps+i)->vozr);<br \/>\n printf(&#187; | %c | %s |\\n&#187;,(ps+i)->pol,(ps+i)->uvl);<br \/>\n printf(&#187; |___|_____________|_______|___|___________|\\n&#187;);<br \/>\n }<br \/>\n printf(&#171;\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0424\u0418\u041e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e:\\n\\n&#187;);<br \/>\n gets(st);<br \/>\n for(int q=0;q<n;q++)     \/\/\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0438\u0441\u043a \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u043e \u0424\u0418\u041e\n    {\n    if((strcmp((ps+q)->fio,st))==0)<br \/>\n\t{<br \/>\n\t k=1;<br \/>\n\t printf(&#171;\\n  %s:\\n\\t\u0412\u043e\u0437\u0440\u0430\u0441\u0442: %d\\n&#187;,(ps+q)->fio,(ps+q)->vozr);<br \/>\n\t printf(&#171;\\t\u041f\u043e\u043b: %c\\n\\t\u0421\u043f\u0438\u0441\u043e\u043a \u0443\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0439: %s\\n&#187;,(ps+q)->pol,(ps+q)->uvl);<br \/>\n\t break;<br \/>\n\t}<br \/>\n    }<br \/>\n if(k==0)<br \/>\n     printf(&#187;   \u0414\u0430\u043d\u043d\u044b\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445&#187;);<br \/>\n printf(&#171;\\n\\n  \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u043f\u0438\u0441\u043e\u043a: &#171;);<br \/>\n scanf(&#171;%d&#187;,&#038;a);<br \/>\n ps=(pers*) realloc(ps,a);    \/\/\u0434\u043e\u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u044c<br \/>\n if(ps!=0)<br \/>\n    {<br \/>\n    for(q=i;q<n+a;q++)\n\t  {\n\t  fflush(stdin);\n\t  printf(\"\\n\\n   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 %d-\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430:\\n\\n\",i+1);\n\t  printf(\"   \u0424\u0430\u043c\u0438\u043b\u0438\u044f, \u0438\u043c\u044f, \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e: \");\n\t  gets((ps+q)->fio);<br \/>\n\t  printf(&#187;   \u0412\u043e\u0437\u0440\u0430\u0441\u0442: &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  scanf(&#171;%d&#187;,&#038;(ps+q)->vozr);<br \/>\n\t  printf(&#187;   \u041f\u043e\u043b (\u043c,\u0436): &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  scanf(&#171;%c&#187;,&#038;(ps+q)->pol);<br \/>\n\t  printf(&#187;   \u0421\u043f\u0438\u0441\u043e\u043a \u0443\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0439: &#171;);<br \/>\n\t  fflush(stdin);<br \/>\n\t  gets((ps+q)->uvl);<br \/>\n\t  printf(&#171;\\n\\n&#187;);<br \/>\n\t  }<br \/>\n    for(i=0;i<n+a;i++)\n     for(j=0;j<n-1+a;j++)\n\t if(strcmp((ps+j)->fio,(ps+j+1)->fio)>0)<br \/>\n\t     {<br \/>\n\t     tmp=*(ps+j);<br \/>\n\t     *(ps+j)=*(ps+j+1);<br \/>\n\t     *(ps+j+1)=tmp;<br \/>\n\t     }<br \/>\n    printf(&#171;\\n\\n\\n\\t\\t\\t* * * \u041c \u041e \u0418  \u0414 \u0420 \u0423 \u0417 \u042c \u042f * * *\\n&#187;);<br \/>\n    printf(&#171;\\t\\t\\t  __________________________________________\\n&#187;);<br \/>\n    printf(&#171;\\t\\t\\t |   |             |       |   |   \u0421\u041f\u0418\u0421\u041e\u041a  |\\n&#187;);<br \/>\n    printf(&#171;\\t\\t\\t | \u2116 |     \u0424\u0418\u041e     |\u0412\u041e\u0417\u0420\u0410\u0421\u0422|\u041f\u041e\u041b| \u0423\u0412\u041b\u0415\u0427\u0415\u041d\u0418\u0419 |\\n&#187;);<br \/>\n    printf(&#171;\\t\\t\\t |___|_____________|_______|___|___________|\\n&#187;);<br \/>\n    for(i=0;i<n+a;i++)\n\t {\n\t printf(\"\\t\\t\\t |   |             |       |   |           |\\n\");\n\t printf(\"\\t\\t\\t | %d | %s |  %d  \",i+1,(ps+i)->fio,(ps+i)->vozr);<br \/>\n\t printf(&#171;\\t\\t\\t | %c | %s |\\n&#187;,(ps+i)->pol,(ps+i)->uvl);<br \/>\n\t printf(&#171;\\t\\t\\t |___|_____________|_______|___|___________|\\n&#187;);<br \/>\n\t }<br \/>\n    printf(&#171;\\n\\n   \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u043b\u044e\u0434\u044f\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430.&#187;);<br \/>\n    free(ps);                      \/\/\u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u044c<br \/>\n    }<br \/>\ngetch();<br \/>\n}<\/p>\n<p>29-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h><br \/>\n#include <conio.h><br \/>\n#include <string.h><br \/>\nint ks(char);<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\nchar str[50],*pstr;<br \/>\nint i=0,a=0,n;<br \/>\npstr=&#038;str[0];        \/\/\u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044e<br \/>\nprintf(&#171;\\n\\t* * * \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u043e\u0432, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441 \u0431\u0443\u043a\u0432\u044b \u0430 * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0443 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435:\\n\\n  &#171;);<br \/>\ngets(str);           \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443<br \/>\nn=strlen(str);       \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435<br \/>\nfor(i=0;i<n;i++)\n    {\n    if((*(pstr+i)=='A')||((*(pstr+i)==' ')&#038;&#038;(*(pstr+i+1)=='a')))\n\t  a++;         \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a-\u0432\u043e \u0441\u043b\u043e\u0432, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441 \u0431\u0443\u043a\u0432\u044b \u0430\n    }\nprintf(\"\\n  \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u043e\u0432, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441 \u0431\u0443\u043a\u0432\u044b \u0430: %d\",a);\ngetch();\n}\n\n\n\n\n30-1..txt\n************************************************************************\n#include <stdio.h><br \/>\n#include <conio.h><br \/>\n#include <string.h><br \/>\nint ks(char);<br \/>\nvoid main()<br \/>\n{<br \/>\nclrscr();<br \/>\nchar str[50],*ps;<br \/>\nint i=0,a=0,n;<br \/>\nps=&#038;str[0];          \/\/\u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044e<br \/>\nprintf(&#171;\\n\\t\\t\\t* * * \u0417\u043d\u0430\u043a\u0438 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u043e \u0437\u043d\u0430\u043a\u0430\u043c\u0438 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f:\\n\\n  &#171;);<br \/>\ngets(str);           \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443<br \/>\nn=strlen(str);       \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435<br \/>\nfor(i=0;i<n;i++)\n    {\n    if((*(ps+i)=='!')||(*(ps+i)=='.')||(*(ps+i)==','))\n\t  a=i;         \/\/\u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u043a\u043e\u0432 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f\n    }\nif(a==0)\n    printf(\"\\n  \u0412 \u0441\u0442\u0440\u043e\u043a\u0435 \u043d\u0435\u0442 \u0437\u043d\u0430\u043a\u043e\u0432 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f\");\nelse\n    {\n    printf(\"\\n\\n\\n  \u0421\u0442\u0440\u043e\u043a\u0430 \u0431\u0435\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u043d\u0430\u043a\u0430 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f:\\n\\n  \");\n    for(i=0;i<a;i++)\n\t  printf(\"%c\",*(ps+i)); \/\/\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u043d\u0430\u043a\u0430 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f\n    i=0;\n    while(*(ps+a+i+1)!='\\0')\n\t  {\n\t  printf(\"%c\",*(ps+a+i+1));  \/\/\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u043c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438\n\t  i++;\n\t  }\n    }\ngetch();\n}\n\n\n\n\n3-1..txt\n************************************************************************\n#include <stdio.h><br \/>\n#include <conio.h><br \/>\nvoid main()<br \/>\n{<br \/>\n   clrscr();<br \/>\n   float a,b,c;<br \/>\n   printf(&#171;\\t\\t* * * \u0420\u0430\u0432\u043d\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a * * *\\n\\n&#187;);<br \/>\n   printf(&#187; \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430:\\n&#187;);<br \/>\n   scanf(&#171;%f%f%f&#187;,&#038;a,&#038;b,&#038;c);<br \/>\n   if(a==b&#038;&#038;b==c)<br \/>\n\t printf(&#171;\\n \u0422\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0430\u0432\u043d\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043c&#187;);<br \/>\n   else<br \/>\n\t printf(&#171;\\n \u0422\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0430\u0432\u043d\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043c&#187;);<br \/>\n   getch();<br \/>\n}<\/p>\n<p>31-1..txt<br \/>\n************************************************************************<br \/>\n  #include <stdio.h><br \/>\n  #include <conio.h><br \/>\n  #include <string.h><br \/>\n  void main()<br \/>\n  {<br \/>\n  clrscr();<br \/>\n  char str[50],*ps;<br \/>\n  int i,a;<br \/>\n  printf(&#171;\\n\\t* * * \u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0445 \u0431\u0443\u043a\u0432 \u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435 \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442* * *\\n\\n&#187;);<br \/>\n  printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0443, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0443\u044e \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0435 \u0441\u043b\u043e\u0432\u0430:\\n\\n\\t&#187;);<br \/>\n  gets(str);                              \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443<br \/>\n  ps=&#038;str[0];                             \/\/\u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<br \/>\n  a=strlen(str);                          \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a-\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435<br \/>\n  for(i=0;i<a;i++)\n\t{\n\tif((*(ps+i)>=&#8217;\u0430&#8217;)&#038;&#038;(*(ps+i)<='\u043f'))\n\t\t{\n\t\t*(ps+i)-=32;\n\t\tcontinue;\n\t\t}                             \/\/\u0438\u0437\u043c\u0435\u043d\u044f\u044f \u043a\u043e\u0434\u044b \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432,\n\tif((*(ps+i)>=&#8217;\u0440&#8217;)&#038;&#038;(*(ps+i)<='\u044f'))  \/\/\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u0440\u0443\u0441\u0441\u043a\u0438\u0435\n\t\t{                             \/\/\u0431\u0443\u043a\u0432\u044b \u0432 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435\n\t\t*(ps+i)-=80;                  \/\/\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442\n\t\tcontinue;\n\t\t}\n\tif((*(ps+i)>=&#8217;a&#8217;)&#038;&#038;(*(ps+i)<='z'))\n\t\t{\n\t\t*(ps+i)-=32;\n\t\tcontinue;\n\t\t}\n      if((*(ps+i)>=&#8217;\u0410&#8217;)&#038;&#038;(*(ps+i)<='\u041f'))\n\t\t{\n\t\t*(ps+i)+=32;\n\t\tcontinue;\n\t\t}\n\tif((*(ps+i)>=&#8217;\u0420&#8217;)&#038;&#038;(*(ps+i)<='\u042f'))\n\t\t{\n\t\t*(ps+i)+=80;\n\t\tcontinue;\n\t\t}\n\tif((*(ps+i)>=&#8217;A&#8217;)&#038;&#038;(*(ps+i)<='Z'))\n\t\t{\n\t\t*(ps+i)+=32;\n\t\tcontinue;\n\t\t}\n\t}\n  printf(\"\\n\\n   \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:\");\n  printf(\"\\n\\n\\t%s\",ps);                  \/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\n  getch();\n  }\n\n\n\n\n32-1..txt\n************************************************************************\n  #include <stdio.h><br \/>\n  #include <conio.h><br \/>\n  #include <string.h><br \/>\n  void main()<br \/>\n  {<br \/>\n  clrscr();<br \/>\n  char str[50];<br \/>\n  int dec;<br \/>\n  int i,a,otk=0,zak=0;<br \/>\n  printf(&#171;\\n\\t\\t\\t* * * \u0421\u043a\u043e\u0431\u043a\u0438 * * *\\n\\n&#187;);<br \/>\n  printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0443:\\n\\n   &#171;);<br \/>\n  gets(str);            \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443<br \/>\n  a=strlen(str);<br \/>\n  for(i=0;i<a;i++)\n\t{\n\tif(str[i]==40)    \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\n\t\totk++;      \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f\n\tif(str[i]==41)    \/\/\u0441\u043a\u043e\u0431\u043e\u043a\n\t\tzak++;\n\t}\n  if(otk==zak)\n     printf(\"\\n\\n   \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u043a\u043e\u0431\u043e\u043a \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\");\n  else\n     printf(\"\\n\\n   \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u043a\u043e\u0431\u043e\u043a \u043d\u0435 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\");\n  getch();\n  }\n\n\n\n\n33-1..txt\n************************************************************************\n  #include <stdio.h><br \/>\n  #include <conio.h><br \/>\n  #include <string.h><br \/>\n  void main()<br \/>\n  {<br \/>\n  clrscr();<br \/>\n  char str[50];<br \/>\n  int dec;<br \/>\n  int i,a,n=0;<br \/>\n  printf(&#171;\\n\\t* * * \u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432\u0445\u043e\u0434\u0438\u0442 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \\&#187;abc\\&#187;? * * *\\n\\n&#187;);<br \/>\n  printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0443:\\n\\n   &#171;);<br \/>\n  gets(str);            \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443<br \/>\n  a=strlen(str);<br \/>\n  for(i=0;i<a;i++)\n\t{\n\tif((str[i]=='a')&#038;&#038;(str[i+1]=='b')&#038;&#038;(str[i+2]=='c'))\n\t\tn++;        \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0439\n\t}\n  printf(\"\\n\\n   \u0421\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \\\"abc\\\" \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u0442\u0440\u043e\u043a\u0443 %d \u0440\u0430\u0437\",n);\n  getch();\n  }\n\n\n\n\n34-1..txt\n************************************************************************\n  #include <stdio.h><br \/>\n  #include <conio.h><br \/>\n  #include <string.h><br \/>\n  char* func(char *,char *,int); \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e<br \/>\n  void main()<br \/>\n  {<br \/>\n  clrscr();<br \/>\n  char str[5][80],*ps,s[80],*p;<br \/>\n  int i=0,j,a,k=0;<br \/>\n  printf(&#171;\\n\\t\\t\\t* * * \u0421\u0442\u0440\u043e\u043a\u0438 \u0431\u0435\u0437 \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 * * *\\n\\n&#187;);<br \/>\n  p=&#038;s[0];<br \/>\n  printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 5 \u0441\u0442\u0440\u043e\u043a (\u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435 \u0432\u0432\u043e\u0434\u0430 &#8212; \u043f\u0443\u0441\u0442\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430):\\n\\n  &#171;);<br \/>\n  do{<br \/>\n     gets(str[i]);            \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0438<br \/>\n     printf(&#171;\\n  &#171;);<br \/>\n     i++;<br \/>\n     }<br \/>\n  while(str[i-1][0]!=0);<br \/>\n  k=i;<br \/>\n  printf(&#171;\\n\\t\u0421\u0442\u0440\u043e\u043a\u0438 \u0431\u0435\u0437 \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445:\\n\\n  &#171;);<br \/>\n  for(i=0;i<k;i++)\n     {                        \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435\n     a=strlen(str[i]);\n     ps=&#038;str[i][0];\n     func(ps,p,a);            \/\/\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\n     printf(\"\\n\\n  \");\n     for(j=0;j<strlen(s);j++) \/\/\u0440\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\n\t   printf(\"%c\",s[j]);\n     }\n  getch();\n  }\n  char* func(char *ps,char *p,int a)\n     {\n     int i=0,j=i;\n     while(i<a)\n\t  {\n\t  if(*(ps+i)=='(')      \/\/\u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445\n\t\t{\n\t\twhile(*(ps+i)!=')')\n\t\t   i++;\n            i++;\n\t\t}\n\t  *(p+j)=*(ps+i);\n\t  i++;\n\t  j++;\n\t  }\n     *(p+j)='\\0';\n     return p;\n     }\n \n\n\n35-1..txt\n************************************************************************\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<string.h><br \/>\n#include<stdlib.h><br \/>\nvoid main ()<br \/>\n{<br \/>\nclrscr();<br \/>\nFILE *in,*out;                   \/\/\u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u043d\u0430 \u0444\u0430\u0439\u043b\u044b<br \/>\nfloat s=0,k;<br \/>\nif((in=fopen(&#171;\u0440\u0440\u0440.txt&#187;,&#187;rt&#187;))==NULL)   \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0444\u0430\u0439\u043b\u0430<br \/>\n    {<br \/>\n    printf(&#171;\\t\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432&#187;);<br \/>\n    exit(1);<br \/>\n    }<br \/>\nif((out=fopen(&#171;nnn.txt&#187;,&#187;w+t&#187;))==NULL)<br \/>\n    {<br \/>\n    printf(&#171;\\t\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432&#187;);<br \/>\n    exit(1);<br \/>\n    }<br \/>\nprintf(&#171;\\n\\t\\t* * * \u0421\u0443\u043c\u043c\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432 \u0447\u0438\u0441\u0435\u043b \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \\&#187;\u0440\u0440\u0440.txt\\&#187;:\\n\\n&#187;);<br \/>\nwhile(!feof(in))                 \/\/\u043f\u043e\u043a\u0430 \u043d\u0435 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430<br \/>\n    {<br \/>\n    fscanf(in,&#187;%f&#187;,&#038;k);          \/\/\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u043f\u043e 1 \u0447\u0438\u0441\u043b\u0443 \u0438<br \/>\n    printf(&#187;   %.2f&#187;,k);         \/\/\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e \u043d\u0430 \u044d\u043a\u0440\u0430\u043d<br \/>\n    s+=(k*k);<br \/>\n    printf(&#171;\\n\\n&#187;);<br \/>\n    fprintf(out,&#187;%.2f&#187;,k*k);<br \/>\n    }<br \/>\nfprintf(out,&#187;%.2f&#187;,s);           \/\/\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0444\u0430\u0439\u043b<br \/>\nfscanf(out,&#187;%.2f&#187;,&#038;s);<br \/>\nprintf(&#171;\\n   \u0421\u0443\u043c\u043c\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b: %.2f&#187;,s);<br \/>\nfclose(in);                      \/\/\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b<br \/>\nfclose(out);<br \/>\ngetch ();<br \/>\n}<\/p>\n<p>36-1..txt<br \/>\n************************************************************************<br \/>\n#include<stdio.h><br \/>\n#include<conio.h><br \/>\n#include<string.h><br \/>\n#include<stdlib.h><br \/>\nvoid main ()<br \/>\n{<br \/>\nclrscr();<br \/>\nFILE *in;<br \/>\nchar str[80],*ps;<br \/>\nint i=0;<br \/>\nps=&#038;str[0];<br \/>\nif((in=fopen(&#171;hhh.txt&#187;,&#187;wt&#187;))==NULL)       \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0444\u0430\u0439\u043b\u0430<br \/>\n    {<br \/>\n    printf(&#171;\\t\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0444\u0430\u0439\u043b\u0430&#187;);<br \/>\n    exit(1);<br \/>\n    }<br \/>\nprintf(&#171;\\n\\t\\t\\t* * * \u0428\u0438\u0444\u0440\u043e\u0432\u043a\u0430 * * *\\n\\n&#187;);<br \/>\nprintf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:\\n\\n\\t&#187;);<br \/>\ngets(str);<br \/>\nprintf(&#171;\\n\\n   \u0428\u0438\u0444\u0440\u043e\u0432\u043a\u0430 \u0433\u043e\u0442\u043e\u0432\u0430:\\n\\n\\t&#187; );<br \/>\nwhile(*(ps+i)!=&#8217;\\0&#8242;)                       \/\/\u043f\u043e\u043a\u0430 \u043d\u0435 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430<br \/>\n    {<br \/>\n    if((*(ps+i)>=&#8217;\u0410&#8217;)&#038;&#038;(*(ps+i)<='\u042f'))\n\t   {\n\t   *(ps+i)+=(31-2*(*(ps+i)-'\u0410'));    \/\/\u0448\u0438\u0444\u0440\u0443\u0435\u043c \u0431\u0443\u043a\u0432\u0443\n\t   printf(\"%c\",*(ps+i));             \/\/\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0435\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\n\t   i++;\n\t   continue;                         \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e \u0446\u0438\u043a\u043b\u0430\n\t   }\n    if((*(ps+i)>=&#8217;\u0430&#8217;)&#038;&#038;(*(ps+i)<='\u043f'))\n\t   {\n\t   *(ps+i)+=(79-2*(*(ps+i)-'\u0430'));\n\t   printf(\"%c\",*(ps+i));\n\t   i++;\n\t   continue;\n\t   }\n    if((*(ps+i)>=&#8217;\u0440&#8217;)&#038;&#038;(*(ps+i)<='\u044f'))\n\t   {\n\t   *(ps+i)-=(50+2*(*(ps+i)-'\u0440')-1);\n\t   printf(\"%c\",*(ps+i));\n\t   i++;\n\t   continue;\n\t   }\n    if((*(ps+i)==' '))\n\t   {\n\t   printf(\" \");\n         i++;\n\t   continue;\n\t   }\n    }\nfprintf(in,\"%s\",ps);                        \/\/\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0444\u0430\u0439\u043b\nfclose(in);                                 \/\/\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b\ngetch ();\n}\n\n\n4-1..txt\n************************************************************************\n#include <stdio.h>  \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <conio.h><br \/>\nvoid main()<br \/>\n{<br \/>\n   clrscr();        \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n   int a,b,c;<br \/>\n   printf(&#171;\\t\\t* * * \u0421\u0443\u043c\u043c\u0430 \u0447\u0438\u0441\u0435\u043b * * *\\n\\n&#187;);    \/\/\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<br \/>\n m:printf(&#187; \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0440\u0438 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u043b\u0430:\\n&#187;);<br \/>\n   printf(&#171;\\n a= &#171;);<br \/>\n   scanf(&#171;%d&#187;,&#038;a);       \/\/\u0432\u0432\u043e\u0434 \u0447\u0438\u0441\u043b\u0430 a<br \/>\n   printf(&#171;\\n b= &#171;);<br \/>\n   scanf(&#171;%d&#187;,&#038;b);       \/\/\u0432\u0432\u043e\u0434 \u0447\u0438\u0441\u043b\u0430 b<br \/>\n   printf(&#171;\\n c= &#171;);<br \/>\n   scanf(&#171;%d&#187;,&#038;c);       \/\/\u0432\u0432\u043e\u0434 \u0447\u0438\u0441\u043b\u0430 c<br \/>\n   if(a<0 &#038;&#038; b<0 &#038;&#038; c<0)\n\t {\n\t printf(\"\\n \u0412\u0441\u0435 \u0447\u0438\u0441\u043b\u0430 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u0432\u0432\u043e\u0434\\n\\n\");\n\t goto m;           \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u043c\u0435\u0441\u0442\u043e \u043c\u0435\u0442\u043a\u0438 m\n\t }\n   if(a+b>0)<br \/>\n\t printf(&#171;\\n a+b=%d\\n \u0421\u0443\u043c\u043c\u0430 \u0447\u0438\u0441\u0435\u043b a \u0438 b \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0430\\n&#187;,a+b); \/\/\u0432\u044b\u0432\u043e\u0434<br \/>\n   if(a+c>0)<br \/>\n\t printf(&#171;\\n a+c=%d\\n \u0421\u0443\u043c\u043c\u0430 \u0447\u0438\u0441\u0435\u043b a \u0438 c \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0430\\n&#187;,a+c); \/\/\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432<br \/>\n   if(b+c>0)<br \/>\n\t printf(&#171;\\n b+c=%d\\n \u0421\u0443\u043c\u043c\u0430 \u0447\u0438\u0441\u0435\u043b b \u0438 c \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0430\\n&#187;,b+c); \/\/\u043d\u0430 \u044d\u043a\u0440\u0430\u043d<br \/>\n   getch();<br \/>\n}<\/p>\n<p>5-1..txt<br \/>\n************************************************************************<br \/>\n  #include<stdio.h>   \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n  #include<conio.h><br \/>\n  void main ()<br \/>\n  {<br \/>\n  clrscr();           \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n  printf(&#171;\\t\\t* * * \u0412\u0440\u0435\u043c\u0435\u043d\u0430 \u0433\u043e\u0434\u0430 * * *\\n\\n&#187;);<br \/>\n  int nomer;          \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<br \/>\nm:printf(&#171;\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0433\u043e\u0434\u0430:\\n1-\u0437\u0438\u043c\u0430, 2-\u0432\u0435\u0441\u043d\u0430\\n3-\u043b\u0435\u0442\u043e, 4-\u043e\u0441\u0435\u043d\u044c\\n&#187;);<br \/>\n  scanf(&#171;%d&#187;,&#038;nomer); \/\/\u0432\u0432\u043e\u0434 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<br \/>\n  switch(nomer)       \/\/\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 nomer<br \/>\n\t  {<br \/>\n\t  case 1:<br \/>\n\t\t   printf(&#171;\\n\\n\u041c\u0435\u0441\u044f\u0446\u044b \u044d\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0433\u043e\u0434\u0430:\\n\u0414\u0435\u043a\u0430\u0431\u0440\u044c(31), \u042f\u043d\u0432\u0430\u0440\u044c(31), \u0424\u0435\u0432\u0440\u0430\u043b\u044c(28-29)&#187;);<br \/>\n\t\t   break;<br \/>\n\t  case 2:<br \/>\n\t\t   printf(&#171;\\n\\n\u041c\u0435\u0441\u044f\u0446\u044b \u044d\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0433\u043e\u0434\u0430:\\n\u041c\u0430\u0440\u0442(31), \u0410\u043f\u0440\u0435\u043b\u044c(30), \u041c\u0430\u0439(31)&#187;);<br \/>\n\t\t   break;<br \/>\n\t  case 3:<br \/>\n\t\t   printf(&#171;\\n\\n\u041c\u0435\u0441\u044f\u0446\u044b \u044d\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0433\u043e\u0434\u0430:\\n\u0418\u044e\u043d\u044c(30), \u0418\u044e\u043b\u044c(31), \u0410\u0432\u0433\u0443\u0441\u0442(31)&#187;);<br \/>\n\t\t   break;<br \/>\n\t  case 4:<br \/>\n\t\t   printf(&#171;\\n\\n\u041c\u0435\u0441\u044f\u0446\u044b \u044d\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0433\u043e\u0434\u0430:\\n\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c(30), \u041e\u043a\u0442\u044f\u0431\u0440\u044c(31), \u041d\u043e\u044f\u0431\u0440\u044c(30)&#187;);<br \/>\n\t\t   break;<br \/>\n\t  default:<br \/>\n\t\t  {<br \/>\n\t\t   printf(&#171;\u0412\u0432\u0435\u0434\u0435\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u0432\u0432\u043e\u0434\\n&#187;);<br \/>\n\t\t   goto m; \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u043c\u0435\u0442\u043a\u0443 m<br \/>\n\t\t  }<br \/>\n\t  }<br \/>\n  getch ();<br \/>\n  }<\/p>\n<p>6-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h>    \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <conio.h><br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();            \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n unsigned n,m,x,max=0,i,j,k;  \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<br \/>\n printf(&#171;\\t\\t* * * \u0427\u0438\u0441\u043b\u043e \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u0439 * * *\\n\\n &#171;);<br \/>\nm:printf(&#171;\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043e\u0442\u0440\u0435\u0437\u043a\u0430 [n;m]:\\n\\n\\tn= &#171;);<br \/>\n scanf(&#171;%u&#187;,&#038;n);     \/\/\u0432\u0432\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445<br \/>\n printf(&#171;\\n\\tm= &#171;);<br \/>\n scanf(&#171;%u&#187;,&#038;m);     \/\/\u0432\u0432\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445<br \/>\n if(m<n||m<4)        \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432\u0432\u043e\u0434\u0430\n\t{\n\tprintf(\"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u0432\u043e\u0434, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443\\n\\n\");\n\tgoto m;\n\t}\n for(i=n;i<=m;i++)   \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n\t{\n\t k=0;\n\t for(j=1;j<=i;j++) \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 j\n\t\tif(i%j==0)    \/\/\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\n\t\t\tk++;\n\t if(k>max)<br \/>\n\t\t{<br \/>\n\t\t max=k;<br \/>\n\t\t x=i;<br \/>\n\t\t}<br \/>\n\t}<br \/>\n printf(&#171;\\n\u041d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u043e\u0442\u0440\u0435\u0437\u043a\u0435 \u0447\u0438\u0441\u043b\u043e %u&#187;,x); \/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d<br \/>\n printf(&#187; \u0438\u043c\u0435\u0435\u0442 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u0439 (%u)&#187;,max);<br \/>\n getch();<br \/>\n}<\/p>\n<p>7-1..txt<br \/>\n************************************************************************<br \/>\n#include <stdio.h>     \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <conio.h><br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();             \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n float sr;           \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435<br \/>\n unsigned i,u,n,k=0;   \/\/\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<br \/>\n printf(&#171;\\n\\t\\t* * * \u0421\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 * * *\\n\\n&#187;);<br \/>\n printf(&#171;\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0438\u0441\u0435\u043b: &#171;);<br \/>\n scanf(&#171;%u&#187;,&#038;u);       \/\/\u0432\u0432\u043e\u0434 \u043a\u043e\u043b-\u0432\u0430 \u0447\u0438\u0441\u0435\u043b<br \/>\n printf(&#171;\\n\\n\u0412\u0432\u0435\u0434\u0438\u0442\u0435 %u \u0447\u0438\u0441\u0435\u043b:\\n&#187;,u);<br \/>\n for (i=1;i<=u;i++)    \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n   {\n   printf(\"%u \u0447\u0438\u0441\u043b\u043e: \",i);\n   scanf(\"%u\",&#038;n);     \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e\n   k+=n;\n   sr=(float)k\/(float)i;  \/\/\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435\n   printf(\"\\n\u0421\u0440\u0435\u0434\u043d\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b: %.2f\\n\",sr);\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\n   }\n printf(\"\\n\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043b\u044e\u0431\u0443\u044e \u043a\u043b\u0430\u0432\u0438\u0448\u0443...\");\n getch();\n}\n\n\n8-1..txt\n************************************************************************\n#include<stdio.h>          \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include<conio.h><br \/>\nvoid main ()<br \/>\n{<br \/>\nclrscr();                  \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\nprintf(&#171;\\n\\t\\t* * * \u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b \u0440\u044f\u0434\u0430 * * *\\n\\n&#187;);<br \/>\nint n,i;        \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 (n-\u043a\u043e\u043b-\u0432\u043e \u0447\u0438\u0441\u0435\u043b \u0440\u044f\u0434\u0430, i-\u0441\u0447\u0435\u0442\u0447\u0438\u043a)<br \/>\nfloat p=1;                 \/\/p-\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b \u0440\u044f\u0434\u0430<br \/>\nprintf(&#171;\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0438\u0441\u0435\u043b \u0440\u044f\u0434\u0430 (n>2):\\n&#187;);<br \/>\nprintf(&#171;\\nn=&#187;);<br \/>\nscanf(&#171;%d&#187;,&#038;n);            \/\/\u0432\u0432\u043e\u0434\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 n<br \/>\nfor(i=2; i<=n; i++)        \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n    p*=(1-1\/(float)(i*i)); \/\/\u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0448\u0430\u0433\u043e\u043c \u0446\u0438\u043a\u043b\u0430 \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 p\nprintf(\"\\n\u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b \u0440\u044f\u0434\u0430 \u0440\u0430\u0432\u043d\u043e: %.3f\",p);  \/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\ngetch ();\n}\n\n\n9-1..txt\n************************************************************************\n#include <stdio.h>              \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<br \/>\n#include <conio.h><br \/>\n#define size 10                 \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0440\u043e\u0438\u043c\u0435\u043d\u0438<br \/>\nvoid main()<br \/>\n{<br \/>\n clrscr();                      \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430<br \/>\n int a[size],chislo,i,raz=0;    \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<br \/>\n printf(&#171;\\t\\t* * * \u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e? * * *\\n\\n&#187;);<br \/>\n printf(&#187;   \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e:\\n\\n\\t\u0427\u0438\u0441\u043b\u043e: &#171;);<br \/>\n scanf(&#171;%d&#187;,&#038;chislo);           \/\/\u0432\u0432\u043e\u0434 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043d\u0430\u043c \u0447\u0438\u0441\u043b\u0430<br \/>\n printf(&#171;\\n\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u0437 %d \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:\\n\\n&#187;,size);<br \/>\n for(i=0;i<size;i++)            \/\/\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i\n\t{\n\t printf(\"\\ta[%d]: \",i+1);\n\t scanf(\"%d\",&#038;a[i]);       \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043c\u0430\u0441\u0441\u0438\u0432\u0430\n\t if(a[i]==chislo)         \/\/\u043d\u0430\u0445\u043e\u0434\u0438\u043c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e\n\t raz++;                   \/\/\u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435\n\t}\n printf(\"\\n   \u0427\u0438\u0441\u043b\u043e %d \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 %d \u0440\u0430\u0437\",chislo,raz);\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437-\u0442\u0430\n getch();\n}\n\n\n\n\nhggh..txt\n************************************************************************\n5\n\n\nhhh..txt\n************************************************************************\n\u0440\u044b\u044b\u043f\u044b\u0441\u0444\u044b\u0441\u0444\n\n\nnnn..txt\n************************************************************************\n1.5432.4971.234.0428.2079.2117.64234.35\n\n\n\u044f\u0401\u044e..txt\n************************************************************************\n1 2 3 4 5 6 7 8 9 10\n\n\n\u0401\u0401\u0401..txt\n************************************************************************\n1.24\n5.7\n8.44\n2.01\n5.31\n8.9\n4.2\n\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>10-1..txt ************************************************************************ #include \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a #include #define size 10 \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0440\u043e\u0438\u043c\u0435\u043d\u0438 void main() { clrscr(); \/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 int a[size]; \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 int i,k=0; \/\/\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 printf(&#171;\\t\\t* * * \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 * * *\\n\\n&#187;); printf(&#187; \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\\n\\n&#187;); for(i=0;i0) k++; \/\/\u043d\u0430\u0440\u0430\u0449\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043b-\u0432\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 } printf(&#171;\\n \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435 %d \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b&#187;,k);\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 getch(); }<\/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\/23668"}],"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=23668"}],"version-history":[{"count":1,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23668\/revisions"}],"predecessor-version":[{"id":23669,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23668\/revisions\/23669"}],"wp:attachment":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}