Вы находитесь на странице: 1из 11
BAPMAHT 9 Yactp 1 Orseramn k Sanannan 1-23 ABNAITCR 4nCNO, nocnenoBaTensHocTS GyKB Mn undp, KoTopsie cnenyeT sanncar» 8 Gnank orseTos N? 1 cripasa oT HoMepa cooTseT- CTayioulero sanaHua, Ha4WHaa c Nepsoi KNeTONKH, Ges NpOGenos, saNsTEiX v.ADVTHX nononnirenbiiix cHmBonos. Kakabili CHMBON NMWMTe B OTAENLHOM KNeTONKe 8 COOT- BeTCTAMM C NPHEENEHHEIMM 6 GnaHKe OGpasuaMn. Cxompko equnun & ZBOMUHOM sanHcH AecaTHuHOTO ucra 1027? Omee! Jloruueckas bynxuua F sagaercs surpaskennem (sx) 0 y vy Az. Onpe- Jex#Te, KaKoMY cTonGuY TAOAMUEI HeTHHHOCTH pyAKuMH F cooTBeTCTBy- eT KaoK aa H3 NepeMeHHEIX X, Y, 2. Tlepem. 1| Mepem. 2] Mepem. 3| ®yaxuua 222 222 222 F 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 0 a. 1 lo 1 1 1 } 1 0 1 0 | 4; 1 1 1 B ornere wanunmte GyKabI x, y, 2 B TOM NOpaAKe, B KOTOpOM HAYT CooT- neTeTAYIONMe HM cToOHE (cHaYanAa — GyKBA, cooTBeTCTAYIOMas 1-My crombuy, satem — 6yxBa, CooTBeTeTBYEOMIAK 2-My cTon6ny, aaTeM — 6y- Kpa, cooTBeTCTBy!oMas 3-My cToOuy). ByKBBI B oTBeTe NMMNMTe NOApAA, HHKaKHX pasnenureselt Merny GyKBAMH CTABHTb He HYAKHO. Tpuxep. Tlycts aaqano BbipaxenHe x — y, aaBucamee oT AByX nepemeH- HBX x Hy, # TaGAMNA HeTHHHOCTH: Tlepem. 1 |Tepem. 2|®ymcuua 222° | 227 F 0 0 1 | 0 1 0 1 0 1 1 1 1 Toraa 1-my cronOuy coorsererayer nepemennad y, a 2-my cTox6uy coor- BererByer nepemennas x. B orsere Hy2HO HANHCATD: YX 3. Meaxay wacenéuupimu nyniramn A, B, C, D, E, F, Z nocrpoensi zoporu, MporsxKsHHOCT KOTOPHIX NpuBexeHa B TabTUNe. (OrcyTCTBHe UMCIA B Ta6.1mue OsHaYaeT, ¥TO IpAMOi AOporM MexKAy NYHKTAMM HeT.) A B c D E F Zz A 6 7 13 30 B 6 35 6 Cc 35 2 D 13 6 2 4 11 14 E 4 33 7 F et 33. 6 Zz 30 14 if 6 Onpeneaure anuny kparuaiimero ny7H mexay nyneramn A Z (apa ye- TOBMM, 4TO MepeABUrATECH MOIKHO TOBKO TO ToCTpOeHHBIM AoporaM). Omeem: : 4. [jaa rpymmosntx onepaunii c daiimama ucnonpayiorca Mack uMéH daii- gop. Macka npepcrasiser co6oi nmocaegosatembHocTs GyKB, uMpp 1 Mpounx AonyCTHMBIX B UMeHAX ¢halit0B CHMBO.10B, B KOTOPEIX TAKE MO- TYT BeTpevATEeH creRyIOIHe CHMBONEI: cuMBon «?> (BompocHTenbHBIii sHax) OsHaYaeT PoBHO OAH MpoMsBOmb- mati CAMBOIT; cuMBon ¢*» (snéaq0uKa) osHavaer moGyi0 MOCHeROBATEMBHOCTE CHMBO- OB MPOMSBOBHOH AAMHBI, B TOM UHCHe «*» MO>KET saqazaTb H MYCTYIO nocsenoBaTembHOCTS. B karanore naxoautes 6 palin: fedot.xls msdos.xIsx london.xls fedot.xml odor.xlsx sdoba.x1s Huxe mpenctannexo Bocemb MacoK. CKOTBKO M3 HUX TAKMX, KOTOPBIM cooTBeTCTBYIOT BCe MIeCTD (palioB M3 AAHHOTO Karanora? 2do*.xls ‘Pdo?.xls* dot x* 2do?.xis* 229%797.x1* 229*227.x* *d* He #4 s* Omeem: : 5. Tio Kanany cansu nepenawres coobryenna, conepxamme TombKo 4 6yK- sur: A, B, C, D; qa mepeqaum metionbayerca ABOMNEEI KOA, AorTye- KaLOMIMik OnMOSHAYHOE eKOAMpOBAHMe. Jia GyKB A, B, D uenombayiores ‘TaKHe Kopoppre copa; A: 111, B:0, D: 110, Yuaxure kparuaiiuee Kogonoe cxoRo aia GyxBel C, MpH KoTOPoM KOA, Gyaer nonyckats oqHosHayHoe neKoquponanHe. Ecam takHx KoqOB He- Y ucnommurens [lenurens 7Re KOMAHALI, KOTOPEIM NPHCROeH HOMepa: 1. arena 1, 2. paanemm na 3. Bumomasa nepayto ua aux, Jlenurenb puunraer na wena Ha oKpane 1, a BEIMOMHAA BrOpyto, AemHT ero Ha 3. BanMmuTe NopaAAOK KOMAHA B Ipo- rpamMe nonyuenus us uncna 49 uncna 5, conepramel He Gosee 5 KOMaHA, YKasbIBad JMUIb HOMepa KOMAH. (Hanpumep, nporpamma 11221 — ato nporpanma BeraTH 1 soci 1 paayjeam na 3 paanea na 3 aerarn 1, koropas mpeo6pasyer wnc10 20 B uncs0 1.) Omeem: : Tax parment onexrponnoii ra6mmr. A B c 1 3 6 2 =(B1-Al)/2 =Al/2 =B1-C1/2 ‘Kakoe qeroe uucno AouKHO 6sITs sanHcaHo B aveitxe Cl, uTo6nl nocrpoenHas mocae BSINOAKeHHA BETuMeNeHMi AMarpaMMa TO sHaveHAM AManaszoHa sueek A2:C2 coor- nererponasia pucyHKy? Ussectxo, ¥To Bce sHaveHMA 1Hamaz0Ha, TO KOTOpHIM TocTpoeHa AHarpamMa, HMeroT onmH u TOT ake sHAK. Omeem: Onpegeaure, uro Gyaer HanevaraHo B peaysuTaTe BEINOAHeHHS Mpo- rpamai (sanucannoit nuse na pasnelx aseiKax npoepammuposanus). Beitcux Mackam DIM N, $ AS INTEGER var n, s: integer; N= 0 jbegin s=0 | noi 0; WHILE S <= 47 ss 0; NENG] while s <= 47 do S=S+2 begin |wend PRINT W. end; write (n) 10. 11. 12. cu Aaroparamieckitii #include am void main() { int n, sz n= 0; s i= 0 s = 0; mu noka s <= 47 * while (s <= 47) neat { si=s+2 n=nt+a; xu s=s+2; BuBOa n ) KOH print£("$d", n); } Omeem: Ckopocts nepegaum jaHHEIX MogzeMoM 110 mpoToKomy V.34 cocTapaser 28 800 6u7/c. IIpu nomomu jaHHoro MpoToKosa HeObxo_MMO NepemaTe (baits pasmepom 72 000 6ait7. OnpezerHte spema TepenauH (paiiia 8 ceKyHaax. Omeem: Jaa nepenawn curaxos Ha dnote ucnoabayiores cnenmanbHEIe cur- HANHBIe arn, BEIBEIIMBAeMEIe B OAHY sHHMIO (TOpsAOK BarKeH). Ka- Koe KOMMYECTBO pasTHuHEIX BHAOR aoe HEOOXOAHMO UMETH, WTOOBI NpH TOMO mocnenoBatemsHOCTH Ha TPEX daroB MOrKHO GELTO Tepe- nave 8 paanMuHEIx cHrHAsIOR ((parOR KAxeTOTO BiLAa — HeorpaHHueHtHoe KOMEMYECTEO, BHI{HI TArOB B MOCEAOBATEMLHOCTH MOFYT NOBTOPATECA). Omeem: AsropiTm narincnenna sHavenua ynkunn F(n), re n — HaTyparsHice IHCMO, 3a]aH CAeRYIONTHMA COOTHOMTEHHAMH: FQ) =1 F(a) =F(n-1)*n, upan>1 Yemy pasnio anayenne dpyniunn F(6)? Bomeeme sanuwume monsko Hamypaabnoe wucao. Omeem: B repmmuosornn cereit TCP/IP mackoik cerH HasbibaeTCA ABONHHOE 4HC- 10, onpenermomiee, Kakaa yacrs IP-anpeca yaa ceTH oTHocuTes K ampe- cy cer, a Kaka — x ajlpecy caMoro yaa B oToi cerH. OGnIuHO MacKa SANMCbIBAeTCA To TeM 2Ke MpaBusiaM, uto u IP-agpec. Ampec ceTH momy- waeTca B pesyAbTaTe NPUMeHeHMs NOpaspARHO KOHBIONKUMM K 3aaH- nomy IP-agpecy yana u Macke. To saqansim IP-anpecy yaa # Macke onpesemure anpec cer, IP-agpec yana: 207.130.129.192 Macxa; 255.255.224.0 Tip sanmcu orsera BbiGepuTe is IpHBeReHHEIX BTAGMUe YHCeT YeTEIpe 13. 14. 15. A B c D E F G H 0 128 129 130 192 207 224 255 Omeem: . B wexoropoit Gase 2aHHEIX xpaHsTes TenehonHBIe HoMepa. Kaxkapiit rene- (bormntit Homep coctour us 7 yecrTuunerx ump. Kaxaan undpa Koaupy- eTCH.OTHENDHO ¢ HCTIONESOBAHHEM MHEHMAsIbHOTO KosmHMecTBA OHT, HEOGXO- auMoro Ata sanmcn omHoit mubpy. B 6ase qaHHEIX samHcano 40 renembounbix HoMepos. KaKoe Komuecr#o Gait naMsaTH saHuMaeT 6asa? Omeem: 2 Cuctema komang Henoanurena POBOT, «cupyuyeroy 8 npaMoyrombHOM aaGupuHte Ha KneTYaTO NIOcKOCTH: epx mua | Bueno Bmpano Tipu semoxnenun oTHx Komang POBOT nepememaetca Ha ony KneTKy coornetcrsenno: BBepx 1, BHU3 ¥, BneRO e, BIpaHO—>. Yersipe KOMAHAL NPOBEPAIOT HCTHHHOCTh YCMOBHA OTCYTCTBUA CTEHBI Y TOM KeTKH, Pye HaxoguTCA POBOT: wepey | exmoy | cacea | empana cB0602H0 cB060—HO | cBo6oqHO cBo6oqHO Yuna TIOKA < yeaoaue > komanda BBINOAHsIeTCH, OKA ycsloRMe HCTHHHO, HHave MporcxoauT nepexon Ha caenyiomyt erpoxy. Ecau POBOT nauxiér zemkenue 8 cTopony crensi, 70 on paspymmutes 1 mporpamna mmpeppéres. Ckoabko KneToK mpupeaéHHoro na6upmnta coorsercrayer TpeGonaHmo, 4uTO, BLITIOAHMB MpeAIO2KeHHyIo Hike Mporpammy, POBOT yuezeer 1 oc- ‘TaHOBUTCA B Toit ake KNETKE, ¢ KoTOpO!E OH Hata ABIDKeHMe? HAYANIO TIOKA < cxepxy caoGoano > snpaso TIOKA < enpana cpoGoqno > BAH Poo TIOKA < enway csoGoano > axen0 TIOKA < caena cnoGoqno > spepx | KOHEIL 7 Omeem: . Ha pucyuxe — cxema qopor, cassbiparomnx ropoga A, B, B, I, JI, E, 2K. Tlo kao Aopore MorKHO ABMATHCA TOKO B OAHOM HanpansleHun, ykasanHom erpeskoi. Ckombko cymectayer paamHunbix nyTeli 13 ropoa As ropog 3K? 16. 17. 18, 19. Bcucreme cuvcnenua c HeKoTopsIM ocHoBaHHem uncz0 57 sanucEBaeTcs: kak 111, Yxaxure 970 oconanie. Omeem: é B ra6amue mpuseyenst sanpocst K moHcKoBOMy cepsepy. Pacnoroxure HOMepa SaNpocoB B HOPAAKE BOspacTaHMA KosHYecTBA CTPAHML, KOTO- pute Haiiqer nouckosntit cepsep 10 Kaxxnomy sarpocy. Tas o6osnauenus normueckoii onepanuu «HJIM» 2 sanpoce ucrompayer- ca cuMnon ¢|>, a ana 1orMueckoii onepanun «> — «&>. Gapoxxo | xaaccuyusm Gaporxo| (Kaaccuyusm & modepn) 1 2 3 | (Gapoxxo & amnup)|(xxaccuyusm & modepH) 4 Gapoxxo|amnup | kaaccuyusm | modepx Omeem: Ha uncnonoii mpamoli qaxui naa orpeaka: P = [27; 60] 1 Q = [45; 62]. Yxa- 2KUTe HAHMEHBIIY!0 BOSMO>KHY1O LIME TAKOTO OTpesKa A, 470 (popMy.1a (ee P) > (e € Q) A “(x € A) + “XE PY) ucTuHHAa npu m060M aHaveHHM NepemeHHoil x, T.e. NPHHUMaeT sHaeHHe 1 npa 21060 sHavenun nepemennoli x. Omeem: % B mporpamMe mcnossayerca omHOMepHEIi HeTOWMCTeHHEI Maccus A c uagexcamu o7 0 70 9. SHavenua anementos papuut 7; 9; 5; 2; 1; 6; 0; 3; 4; 8 coorrercraenno, 7.e. A[0] = 7; A[1] = 9 7.2. Onpeneaure sHavenue nepemennolt c mocse BEInOTHeHMA crenyromero parmenra nporpaMMEt, sanMcaHHoro HUDKe Ha PASHBIX AaBIKAX Mpo- rpaMMuponaHHs. Beiicux. c=0 FORi=1 709 IF A(i) 0 07 bi=1; A= Atl while x>0 do B = BY(X MOD 10) begin x=xX\ 10 zatl: WEND b:sb* (x mod 10); PRINT A xis x div 10 PRINT B end; writeln(a); write (b); end. Cu Aaroputmuecnit. finclude amr void main() way, { wen x, a, b int x, a, bs scant ("$d", &x); a0; b-1; Mu noKa x>0 while (x>0){ arratl azatl; b:-btmod (x, 10) b=b* (x810); xiediv(x,10) x= x/10; Ku d BuBOR a, HC, b print£("sd\ntd", a, b); KOH 21. Hanummte 2 ornere unez0, KoTopoe Gyser HalevATaHO B pesysIbTATe BEI- nomHeHua cnegyromero axropurma (qin Bamwero yao6craa anropuT™ npejeTansen Ha veTsipéx saB1cax). Beiteux Tackaxs DIM A, B, T, M, RAS INTEGER |war a,b,t,M,R :integer; Ae -11: B= 11 Function F(x:integer) sinteger; M= A: R= F(A) begin FOR T= A TO B 24 (x¥x=-25) * (x*K-25) +5 IF F(T) <= R THEN end; M=T R = F(T) begin END IF bie ll NEXT T rear Rim Fla)i PRINT M for t := a to b do begin if (F(t) <= R) then begin FUNCTION F(x) Minty F = 2* (x*x-25) * (x*x-25) +5 R i= F(t) END FUNCTION end end: write (M) end. Cx Aaropurmariecriit Hinclude ann int F(int x) Maw { uen a, b, ty M, R return 24 (x*x-25)* (x*x- 11; biel 25)45; a Fla) } void main() { int a, by t, M Ry “ll; b= ll; R= Fla); for (t = a; t <= bs if (F(t) <= R) ( Mat; R= F(t); a M= ar tte i printe("%a", M)z } Hu gna t om a wo b ecm Fit) <= R 20 M sce tr Re F(t) KOH amp wea F(uen x) Hay shaw (44x25) * (x#x-25) +5, KOH Omeem: 22. Y ucnonaurena Yrpowrests que KOMAHLIbI, KOTOPSIM NpHeBOeHHL HOMEpA: Tlepsast ua HHx ypenuunpaer wHe0 Ha akpaHe Ha 1, BTopaa yTpaxBaeT ero. Tiporpamma 4.18 Yrpoutenn — 970 nocaesosatembuocrs KoMaxA- ‘CkombKo ecTs nporpaMM, KoTopsie 4Hc10 2 mpeoOpasyior B uMcn0 31? ‘Omeem: Kaxono HanGomsunee Henoe WHes0 x, MPH KOTOPOM HeTHEHO BEICKADEIBA- Me (x - x — 2 > 80) > (x-(x - 2) < 70)? Omeem: He aa6yanre nepenectu ace oraerit 8 Gnank oraeroa NP 1. Yacts 2 Apa sanucu orseTos k sajanuam sto actu (24-27) ucnoneayiire Giank oraeTOB Ne 2, Sannwmre cHayana Homep sananua (24, 25 11 T.A,), a 3aTeM nonHoe pewieHue. OrseTet sanuceisaiire 4éTKo m pasGopunso. TpeSonancch HanucaTe nporpammy, Koropas peiiaer HepanencrRo (x + a) (bx) < 0 ornocutenbuo x 41a m0Goro HeHyaenoro “Hea b Ht 10° Goro HeorpunarenbHoro uncua @ H (a > 0, 6 + 0), BREREHHBIX ¢ KTaBMATy- per. Bee unca1a cunrawres qelierauTenbHEIMH. IIporpaMMHcT ToporlHcs 1 HamMcan 1porpaMMy HenpaswteHo. TipPOrPAMMA var a,b-x: real; HATIACKAJIE begin readinia,tex): lie a= 2 then |weite (wer pesennitt) jeise weite('x > 0 nn x <0") else lwrite(-a,"< x <0"); IIPOTPAMMA INPUT a, HA BEHCHKE © THEN |PRINT “Het pewennii™ jacse eure 25. 27. TIPOrPAMMA void main (void) HACH { float a,b,x7 scanf ("$£$f%£", Ga, &b, 6x); if (a if (b>0) printf ("ner pewesmi"); else printf ("x>0 un x<0"); else printé ("$£ H GyKB ¢@>...42», BO BXOAHBIX AAHHEIX OTCYTCTBYIOT; B IIporpaMMe Ha ABbI- ke BelicHk CHMBOMEI MO2KHO BEOAHTS To ORHOMY B CTpOKe, HOKa He GyseT wegen TouKa). Tpe6yerca HanucaT, Kak MoxKHO Gomee ofpeKTHBHYIO nporpammy (yKaxuTe HcnosBayeMylo BepcHIO AsKIKA MporpaMMupoza- Hus, Hanpumep Borland Pascal 7.0), xotopas 6yner nevarars Gyxant, BeTPewALoLyMecA BO BXOZHOH NOcme_OBATeETBHOCTH, B TOpAAKe yBemuue- Ma YacTOTEI Ux BeTpeyaemocTu, Kaxgas 6yKBa JOmKHA OLITS pacrieda- ‘TaHa OME pas. TouKa IpH TOM He yuuTEIBAeTCA. Ecam kakne-ro 6ykBbI BeTpevaioTes ofMHAKOBOe TCO pas, TO OHM BBI- pogsites B ancbasirHom nopaake. Hanpumep, nycts Ha Bxog nogarores caeqyiomine cHMBOmEI: baobaba.