{"id":543,"date":"2017-05-01T03:08:36","date_gmt":"2017-04-30T23:08:36","guid":{"rendered":"http:\/\/infobs.athn.ru\/?p=543"},"modified":"2017-05-01T03:08:36","modified_gmt":"2017-04-30T23:08:36","slug":"prostenkie-zadachki-po-programmirovaniyu","status":"publish","type":"post","link":"https:\/\/infobase.athn.ru\/program\/2017\/05\/prostenkie-zadachki-po-programmirovaniyu\/","title":{"rendered":"\u041f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u043a\u0438 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e"},"content":{"rendered":"<p>1. \u041d\u0430\u0439\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f 1*1+2*2+&#8230;+n*n.<br \/>\n 2. \u0421\u0443\u043c\u043c\u0430.<br \/>\n 3. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0434\u0432\u0443\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 3-\u044e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u0443\u044e \u043f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442.<br \/>\n 4. \u041d\u0430\u0439\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 \u0442\u0440\u0451\u0445.<br \/>\n 5. \u041d\u0430\u0439\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0451\u0445.<br \/>\n 6. \u041a\u043e\u043b-\u0432\u043e \u0431\u0443\u043a\u0432 &#171;\u0430&#187; \u0432 \u0442\u0435\u043a\u0441\u0442\u0435.<br \/>\n 7. \u0421\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<br \/>\n 8. \u0421\u0442\u0435\u043f\u0435\u043d\u044c \u0447\u0438\u0441\u043b\u0430.<br \/>\n 9. \u0424\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b \u0447\u0438\u0441\u043b\u0430.<br \/>\n10. \u041f\u043e\u0434\u0441\u0447\u0435\u0442 \u043a\u043e\u043b-\u0432\u0430 \u0447\u0430\u0441\u043e\u0432, \u043c\u0438\u043d\u0443\u0442 \u0438 \u0441\u0435\u043a\u0443\u043d\u0434 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0441\u0443\u0442\u043e\u043a.<br \/>\n<!--more--><br \/>\n11. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0435\u0441\u0442\u044c \u043b\u0438 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0431\u0443\u043a\u0432\u0430 &#171;s&#187;.<br \/>\n12. \u041d\u0430\u0439\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f.<br \/>\n13. \u041d\u0430\u0439\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f.<br \/>\n14. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043b\u0435\u0436\u0438\u0442 \u043b\u0438 \u0442\u043e\u0447\u043a\u0430 \u0430 \u043d\u0430 \u043f\u0440\u044f\u043c\u043e\u0439 y=kx+l.<br \/>\n15. \u0420\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0441\u043b\u043e\u0432\u0430 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044f \u0438\u0445 \u0434\u043b\u0438\u043d\u044b \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438.<br \/>\n16. \u041d\u0430\u0439\u0442\u0438 \u043a\u043e\u043b-\u0432\u043e \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<br \/>\n17. \u041d\u0430\u0439\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0430[1..10].<br \/>\n18. \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 max \u0438 min.<br \/>\n19. \u042f\u0432-\u0441\u044f \u043b\u0438 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0440\u0430\u0432\u043d\u043e\u0431\u0435\u0434\u0440\u0435\u043d\u043d\u044b\u043c.<br \/>\n20. \u041b\u0435\u0436\u0438\u0442 \u043b\u0438 \u0442\u043e\u0447\u043a\u0430 \u043d\u0430 \u043f\u0440\u044f\u043c\u043e\u0439.<br \/>\n21. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u0438 \u0441\u0442\u0440\u043e\u0433\u043e\u0435 \u0447\u0435\u0440\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435.<br \/>\n22. \u041f\u0435\u0440\u0435\u0441\u0435\u043a\u0430\u044e\u0442\u0441\u044f \u043b\u0438 \u043e\u0442\u0440\u0435\u0437\u043a\u0438.<br \/>\n23. \u042f\u0432-\u0441\u044f \u043b\u0438 n-\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0432\u044b\u043f\u0443\u043a\u043b\u044b\u043c.<br \/>\n24. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043e\u0442 \u0442\u043e\u0447\u043a\u0438 \u0434\u043e \u043f\u0440\u044f\u043c\u043e\u0439.<br \/>\n25. \u041d\u0430\u0439\u0442\u0438 \u043f\u043b\u043e\u0449\u0430\u0434\u044c \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0444\u043e\u0440\u043c\u0443\u043b\u0443 \u0413\u0435\u0440\u043e\u043d\u0430).<br \/>\n26. \u0414\u0430\u043d\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u041d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e \u043f\u043b\u043e\u0449\u0430\u0434\u044c.<br \/>\n27. \u041d\u0430\u0439\u0442\u0438 \u043d\u043e\u043c\u0435\u0440 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0430[1..10].<br \/>\n28. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<br \/>\n29. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f (min(a,c)-min(a,b)\/(5+min(b,c))<br \/>\n30. \u042f\u0432-\u0441\u044f \u043b\u0438 \u0447\u0438\u0441\u043b\u043e b \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u043c \u0447\u0438\u0441\u043b\u0430 a.<br \/>\n31. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0443\u044e \u044f\u0432-\u0441\u044f \u043b\u0438 \u0447\u0438\u0441\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c.<br \/>\n32. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u041d\u041e\u0414 \u0438 \u041d\u041e\u041a \u0434\u0432\u0443\u0445 \u0447\u0438\u0441\u0435\u043b a \u0438 b.<br \/>\n33. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u0443\u0440-\u044f.<br \/>\n34. \u041d\u0430\u0439\u0442\u0438 \u0441\u0443\u043c\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c [n:m]<br \/>\n35. \u041d\u0430\u0439\u0442\u0438 \u043ca\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c [n:m].<br \/>\n36. \u041d\u0430\u0439\u0442\u0438 \u0447\u0438\u0441\u043b\u043e.<br \/>\n37. \u041d\u0430\u0439\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u0438\u0445 \u043a\u043e\u043b-\u0432\u043e.<br \/>\n38. \u0414\u0430\u043d\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0441\u043b\u043e\u0432 \u0432 \u043d\u0451\u043c.<br \/>\n39. \u0414\u0430\u043d \u0442\u0435\u043a\u0441\u0442, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0441\u043b\u043e\u0432 &#171;\u043a\u043e\u0442&#187;.<br \/>\n40. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0440\u0442\u044b\u0448\u0435\u043c.<br \/>\n41. \u041d\u0430\u0439\u0442\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0432 \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435.<br \/>\n42. \u041a\u0430\u0436\u0434\u0443\u044e \u0431\u0443\u043a\u0432\u0443 \u0441\u043b\u043e\u0432\u0430 A \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443.<br \/>\n43. \u041d\u0430\u0439\u0442\u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0445 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u044e\u0449\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044e x*x*x-x*x=n.<br \/>\n44. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0441\u0443\u043c\u043c\u044b \u0446\u0438\u0444\u0440 \u0447\u0438\u0441\u043b\u0430.<br \/>\n45. \u041d\u0430\u0439\u0442\u0438 \u0434\u0432\u0443\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441\u0443\u043c\u043c\u0430 \u043a\u0443\u0431\u043e\u0432 \u0446\u0438\u0444\u0440 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0440\u0430\u0432\u043d\u0430 n.<br \/>\n46. \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0437 \u0441\u043b\u043e\u0432\u0430 a, \u0432\u044b\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043a\u043e\u043b-\u0432\u0430 \u0431\u0443\u043a\u0432, \u0441\u043b\u043e\u0432\u043e b.<br \/>\n47. \u0417\u0430\u0434\u0430\u043d\u044b 2 \u0442\u043e\u0447\u043a\u0438. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0438\u0437 \u043e\u0442\u0440\u0435\u0437\u043a\u043e\u0432 AO \u0438\u043b\u0438 BO \u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u0439 \u0443\u0433\u043e\u043b \u0441 \u043e\u0441\u044c\u044e OX.<br \/>\n48. \u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0410 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0412, \u0430 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0410 \u0432 \u0442\u0430\u0431\u043b \u0421.<br \/>\n49. \u042f\u0432-\u0441\u044f \u043b\u0438 \u043f\u0435\u0440\u0435\u0432\u0451\u0440\u0442\u044b\u0448\u0435\u043c \u0447\u0438\u0441\u043b\u043e.<br \/>\n50. \u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0421 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0410, \u0437\u0430\u0442\u0435\u043c \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0412.<br \/>\n51. \u0420\u0435\u0448\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0443\u0440-\u0438\u0439 {ax+by+c=0 \u0438 a1x+b1y+c1=0.<br \/>\n52. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043b\u043e\u0449\u0430\u0434\u044c \u0438 \u043f\u0435\u0440\u0438\u043c\u0435\u0442\u0440 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430.<br \/>\n53. \u0414\u0430\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u043f\u043e\u0434\u0440\u044f\u0434 \u0438\u0434\u0443\u0449\u0438\u0445 \u0447\u0438\u0441\u0435\u043b. \u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d &#171;\u0447\u0438\u0441\u043b\u043e &#8212; \u043a\u043e\u043b-\u0432\u043e \u0447\u0438\u0441\u0435\u043b \u0432 \u0433\u0440\u0443\u043f\u043f\u0435, \u0447\u0438\u0441\u043b\u043e &#8212; \u043a\u043e\u043b-\u0432\u043e \u0447\u0438\u0441\u0435\u043b \u0432 \u0433\u0440\u0443\u043f\u043f\u0435, &#8230; &#187;<br \/>\n54. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043b\u043e\u0449\u0430\u0434\u044c \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430.<br \/>\n55. \u0420\u0430\u0437\u0431\u0438\u0442\u044c \u0432\u044b\u043f\u0443\u043a\u043b\u044b\u0439 n-\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u043d\u0430 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0438 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044f\u043c\u0438 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b&#8230;<br \/>\n56. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c\u044b.<br \/>\n57. \u0414\u0430\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 a[1..n]. \u0412\u0432\u0435\u0441\u0442\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 b[1..n] \u043e\u0442\u0431\u0440\u043e\u0441\u0438\u0432 \u0438\u0437 \u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442.<br \/>\n58. \u0414\u0430\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 a[1..n] \u0438\u0437 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u0435\u043b. \u041f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0447\u0435\u0442\u043d\u044b\u0435, \u0430 \u043f\u043e\u0442\u043e\u043c \u043d\u0435\u0447\u0435\u0442\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b.<br \/>\n59. \u041d\u0430\u0439\u0442\u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u043a\u043e\u043b-\u0432\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<br \/>\n60. \u0414\u0430\u043d\u0430 \u0442\u043e\u0447\u043a\u0430. \u041b\u0435\u0436\u0438\u0442 \u043b\u0438 \u043e\u043d\u0430 \u0432 \u043a\u043e\u043b\u044c\u0446\u0435.<br \/>\n61. \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0442\u0438\u043f\u043e\u0432 \u0432\u0435\u043b\u0438\u0447\u0438\u043d.<br \/>\n62. \u0422\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u044b. \u041e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432.<br \/>\n63. \u0422\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u044b. \u0414\u0432\u0443\u043c\u0435\u0440\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432.<br \/>\n64. \u041d\u0430 \u043e\u0441\u0438 \u041ex \u0437\u0430\u0434\u0430\u043d\u044b N \u0442\u043e\u0447\u0435\u043a \u0441 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438 x1,x2,&#8230;,xn. \u041d\u0430\u0439\u0442\u0438 \u0442\u0430\u043a\u0443\u044e \u0442\u043e\u0447\u043a\u0443 Z \u0441\u0443\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0439 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0442\u043e\u0447\u0435\u043a \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f.<br \/>\n65. \u0418\u043c\u0435\u0435\u0442\u0441\u044f n \u0431\u0430\u043d\u043e\u043a \u0441 \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u0431\u044a\u0451\u043c\u0430\u043c\u0438 v1,v2,v3&#8230;,vn \u043b\u0438\u0442\u0440\u043e\u0432, \u043f\u0443\u0441\u0442\u043e\u0439 \u0441\u043e\u0441\u0443\u0434 \u0438 \u043a\u0440\u0430\u043d \u0441 \u0432\u043e\u0434\u043e\u0439. \u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u0431\u0430\u043d\u043e\u043a \u043d\u0430\u043b\u0438\u0442\u044c \u0432 \u0441\u043e\u0441\u0443\u0434 \u0440\u043e\u0432\u043d\u043e v \u043b\u0438\u0442\u0440\u043e\u0432 \u0432\u043e\u0434\u044b. \u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u043c s=nod(v1,v2&#8230;,vn). \u0415\u0441\u043b\u0438 v \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430\u0446\u0435\u043b\u043e \u043d\u0430 s, \u0442\u043e \u0432 \u0441\u043e\u0441\u0443\u0434 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0430\u043d\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043b\u0438\u0442\u044c v \u043b\u0438\u0442\u0440\u043e\u0432 \u0432\u043e\u0434\u044b, \u0438\u043d\u0430\u0447\u0435 &#8212; \u043d\u0435\u0442.<br \/>\n66. \u0414\u0430\u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b. \u041d\u0430\u0439\u0442\u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<br \/>\n67. \u0414\u0430\u043d \u0432\u044b\u043f\u0443\u043a\u043b\u044b\u0439 n-\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0438 \u0442\u043e\u0447\u043a\u0430 (\u04451,\u04431). \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c: \u0430) \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0442\u043e\u0447\u043a\u0430 \u0432\u0435\u0440\u0448\u0438\u043d\u043e\u0439; \u0431) \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u043b\u0438 \u0442\u043e\u0447\u043a\u0430 n-\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0443.<br \/>\n68. (1) \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0413\u0430\u0443\u0441\u0441\u0430.<br \/>\n69. (2) \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u043f\u043e\u0434\u0431\u043e\u0440\u043e\u043c.<br \/>\n70. (3) \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0413\u0430\u0443\u0441\u0441\u0430.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u041d\u0430\u0439\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f 1*1+2*2+&#8230;+n*n. 2. \u0421\u0443\u043c\u043c\u0430. 3. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0434\u0432\u0443\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 3-\u044e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u0443\u044e \u043f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442. 4. \u041d\u0430\u0439\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 \u0442\u0440\u0451\u0445. 5. \u041d\u0430\u0439\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0451\u0445. 6. \u041a\u043e\u043b-\u0432\u043e <a class=\"more-link\" href=\"https:\/\/infobase.athn.ru\/program\/2017\/05\/prostenkie-zadachki-po-programmirovaniyu\/\">Continue Reading \u2192<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-543","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/posts\/543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/comments?post=543"}],"version-history":[{"count":0,"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/posts\/543\/revisions"}],"wp:attachment":[{"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/media?parent=543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/categories?post=543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infobase.athn.ru\/program\/wp-json\/wp\/v2\/tags?post=543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}