Вы находитесь на странице: 1из 10
3 BAPWAHT 6 Yactp 1 Oreeramm x sanannam 1-23 RenmoTCA suCNO, nocnenOBATeNbHOCTS OyKa MAK bp, Koropuie cneayer aanvcaTe 8 OnaHk oTseTos NF 1 cnpasa oT HoMepa cooTBeT- CTayoulero sananna, HaunHas c nepsoi KneTosK, Gea npOGenos, sanaTuix w ADVI ‘AononHNTENbHaN cHMBONOR. KaXabiA CHMBON NHUIMTE 8 OTAENLHOM KneTOMKe 8 GOOT- BeTCTENH C NpMBEREHHEMM B OnanKe OOpasuaMn. Ckompko suavaiyax HyZ1ei B ABONHO! saNHeH JecATH4HOTO HACIA 512? Omeem: Dax pparment raGamust HeTHHHOCTH BEIpaxcenns F: xi x2 x3 x4 x5 x6 x7 F 1 0 oO o 1 1 oO 0 1 0 1 0 1 1 0 1 o 1 0 1 1 o 1 1 ‘Kaku serpaxkennem moxer OnrT F? 1) XL A x2 A x8 A240 25.0260 -2T 2) ~xlvx2vx8vx4v -x5v -x6Vx7 B) -xL A 220x824 A-x5 A 26-27 4) xl vy -x2 v.28 v x4 v-x5 v6. x7 B orwere sanMminre HoMep BEIPaKeHHA. Omeem: Meakay nacenéumuma nynxtama A, B,C, D, E, F nocrpoens goporn, MporsaxKéHHOcTs KOTOpHIX npHBeseHa B TaGauue. (OTcyTcTBHe 4HCIA B ‘Ta6.nMUe osHavaeT, 470 NpAMOlt AOpOTH MexKaY NYHKTAMH HET.) A B c D E F A 4 10 34 B 4 7 c 10 7 3 7 14 D | 3 12 E 7 5 | F 34 14 12 5 Onpeneaure aamay KpaTuaiimero nyTH Mexay nyHKTaMH A u F (mpu ye~ JOBHH, YTO MepeNBUTATECA MOXHO TOABKO MO MOCTPOeHHEIM AOpOraM). Omeem: Hwoxe npercranrenst pe TaGrmist 43 Gage zanHerx. Kaxkgaa erpoxa TaGamust 2 conepaKuT HAcopMamMIO o peGEHKe H 06 OAHOM H3 ero PomH- rexeit. Hnopmanus mpegcrapena anayennem ons ID B coorsercr- a TaGanna 1 Ta6anua 2 [5 | een 10] TD Poena] 1D Petia nm 21 Kpasen H.11. 22 Kpasen I. Toxapp O.C. 44 Toxaps 1.0, Maxpait Usex IT. Omeem: Tra nepenasu no Karany cBa3H coobleHus, COcTOsmIeTo TONLKO 13 CHM- zonos A, B, B a I, ucnoassyercs nepasnomepHstit (no qe) Kon: A-111, B-110, B-10, [-0. Yepes xanax casa nepenaéres coobmenne: BABIAB. Saxoqupyiire coobmenue qanmpim Kogom. Honytenmyt 7n0- HUHYIO MOCHeLOBATEMBHOCTS SANMINHTE B BOCKMEPHYHO! CHCTEMe CHHC- aeHHs. Omeem: Y ucnonuurena Yrpontexs xBe KOMAHAbI, KOTOPLIM MPHCBOeHBI HOMepat 1. mpu6ans 1, 2. ymnows ua 3. Bomonnaa nepsyw us ux, Vrpowrens npuGasaser K YNeRy Ha oKpane 1, a BEImoazHAa BTOpyto, yMHoxaeT ero Ha 3. BanMMHTe NOpALOK KoMaAHy 3 nporpamMe nomyyeHnua 13 uucaa 4 uncxa 51, cogepxamelt He Gonee 5 KOMAHA, YKASEIBAS THIN HOMepa KOMAHA. (Hanpuep, nporpamea 11221 — oro nporpamma mpxOane 1 npxGane 1 yMnome na 3 yMnome na 3 MpxGane 1, KoTODAaAR NDeObpaaveT uncno 1 B UNCZIO 28.) 10. B axexrpouno ta6mmue snavexue dopmymst —CP3HA'(D1:D4) pan- x08, Yemy pasHo sHayenue opmysst —CP3HAY (D2:D4), ecau snave- Hue sueiixu D1 papxo 11? Omeem: i Onpenemure, u70 GyaeT HaneyaTaHo B peaymbTATe BBITOMHeHHs M1po- TPaMMal (sanucannoit Huse Ha pasneix asviKax npocpammuposanua). Beiienx Tackans DIM N, S AS INTEGER var n, s: integer: N=0 begin s=0 nis 0; WHILE S <= 47 s i= OF N=N¢1 while s <= 47 do S=s+7 begin WEND nien¢ 1; PRINT N si=s+7 end; writen) end. cu Aaropurmmeckmit #include amr void main() way { wenn, s int n, 57 n= 0 n= 07 s:=0 s = 07 Mu noxa Ss <= 47 while (s <= 47) niendd { si nenti; s=st+7: ) printe("sd", n); ) Omeem: “ Cxopocrs nepegaum jaHHEIx MoqeMoM To npoToKoay V.34 cocrasnser 28 800 Our/c. IIpa noMomm JaHHoro mpoToKoMA HeOSXomMMO TepenaTs hain pasmepom 54 000 Gaiir. Onpenemnre npema nepenayu daiina ce- KYBAAX. Omeem: S Onna sueiixa mamatu (oquH TpHT) TpoMGHO IBM (Komniorepa, ocH0- ep lise Sia ae A SR i St ue 12. 13. 14, 4H STS s4eeK naMaTH. CKOIBKO pasnMuHBIX aHAveHHi MoxKeT IpHHH- MATE 97a BENMUMHA? Omeem: Aaropu™ BEIHcHeHHs aHaYeHus pyaKuMH F(n), Tae n — HaTypamHOe HHeHO, saaH CHeRYIOMHMH COOTHOMTEHH AME: FQ)=1 F(n) = F(n-1) * 2, upun>1 Yemy parvo sHavenne ynkume F(4)? Bomseme sanuuume moasxo namypanvnoe wucno. Omeem: . B repmunosorn cerelt TCP/IP macKoil cera HasbiBaeTcit ZROMUHOE WHC Jo, onperenmomee, Kakas wacts IP-agpeca Yana CeTH OTHOCHTCH K axpe~ cy cers, a Kakas — x ampecy camoro yasa » aTolt cern. ObsruHO Macka aalIMchiBaeTCA Tio TeM 2Ke MpaBHTaM, 4To u IP-agpec. Ampec ceTH nomy- MaeTCs B peaysTaTe IPHMeHeHMa MopaspaAHO! KOHBOHKINEN K 9aqaH- omy IP-agpecy yana u Macke. Tlo sananntim IP-anpecy yania u Macke ompenemure anpec cemn. IP-ampec yana: _ 130.129.207.128 Macka: 255.255.224.0 Tipu sanucn ornera exiGepute Ha npHneASHHMIX B TAGIMIE YHCeN deTEIpe anementa IP-anpeca ceTu M aanlMUNMTe B HY2%HOM HlopsaqKe cooTHercT- BYIOMIHe HM OYKBHI, 6e3 HCNObSORAHHS TOUeK. A B Cc D E F G H 0 128 129 130 192 207 224 255, Omeem: . B wexoropoii Gaze qaHHEIX xpaHsTes sanucn, comepakamue HEtbop Manso 0 HeKoroppix gatax. Kaxkjaa sanuch cogepxuT Tpu Moss: HoMep roma (aucao or 1 go 2100), Homep Mecaya (4ncO oT 1 4o 12) 4 HOMep AHA B Mecane (uHc10 or 1 70 31). Kaxxqoe nose sanncsipaeres OT7eMBHO OT APYTux novel c MCrI01b30BaHHeM MHEMMAIbHO BOSMOKHOTO KOMMYECTBA Gur. Onpenenute MHHUMaNDHOe KonMueCTHO GUT, HeOGXOAMMOe AIA KO- Auposanua onHoit sanucu. Omeem: * Cuctema Komauy Hcnlomuuters POBOT, «xupynyero» 8 mpamoyronbHom aa6MpHHTe Ha KXeTuATON MIOCKOCTH: Bpepx BEMS Baeso Bmpaso 15. 16. 17. Yereipe KoMaHAB MpoRepaIOT HeTHHHOCTb yeAOBHA OTCyTeTBHA CTeHBI y Toit KueTKH, re HaxoguTeH POBOT: epepxy cHMsy cnesa cmpasa exo6oaH0 | cso6oaHo | cBo6oqHo | cBoGoxHo Onxa TIOKA < yeaooue > komanda BHINOAHAeTCA, MOKA YCIOBHE HCTHHHO, HHAYe NPOMCXOAMT Mepexog Ha caenyiomnyto crpoKy. " Ckoxbko KaeToK npunexénHoro saGupunta coorRercrByer TpeGoBaHiio, 470, BLINOTHUB MpesTOrXKeHAyIO HHDKe NporpamMy, POBOT ocranonures B roll ke KaeTKe, ¢ KoTOpolt On HavAN ABIDKeHHe? HAYAJIO TIOKA < exésa enoGoguo > nxxen0 TIOKA < cnepxy cno6oqno > aeepx TIOKA < enpana caoGoano > apaso TIOKA < cumay cno6oano > anna KOHEL Omeem: . Ha pucynke — cxema nopor, crsauinaiomx ropoza A, B, B, I, Jf, E, 2K. To kaskuoi gopore MOxHO ABUrATECA TOALKO B OANOM HanpanseHun, ykasaHiom erpenkoll. Ckonbxo cytecrByer paaIH¥REIX NyTeii H3 Popona Apropos 1K? B a Sy 2 A r E Omeem: Ha kakywo mippy oKanuMpaetes sarncs qecaTHaHoro Yue 123 B cHe- ‘Teme cuncsenust c ocHonanuem 9? Omeem: B sanike sampocos noncKosoro cepsepa Ara OSosHavenua sorMuecKoit onepanun «HJIM» nenomsayeres cHmson «|e, a aus normueckoit onepa- un «Hi» — cHMBor «&». 18. 19. 20. Banpoc Haiizeno etpanun (s THeaax) Ppecam|Icmuney 7800 Ppecam 4300 Scemuney 5100 Kakoe Konmuectso crpanuy (B THICH4ax) 6ymeT HaiiqeHo m0 sanpocy: ®pezam & Semuney? Cuntaeres, ¥ro Bce sanpocsI BLINONHANHCE MpakTHyeckH oHOBpeMeH- HO, TAK TO HAGOP CTPAHHML, COmEPIAMIMX BCE MCKOMBIe COA, He HOMe- HAVICH 38 BPEMH BEIMOMHEHUA SAMPOCOB. Omeem: Ckomsko cymectsyer HaTypanbHEIx uucen Y, ANA KOTOPEIX HCTHHHO puickasnpanne (Y < 18) v (¥ > 14)» (Y <3)? Omeem: BuaveHua snemenros mayx Maccupos — A u B —c magexcamn or 1 20 500 sanatores c noMompIO cnexywmlero dparmMeHTa MporpaMMI. Beiicux Tlackam FOR n=1 TO 500 for n:= 1 to 500 do A(n)=200-n Atn) := 200-n: NEXT n for ni= 1 to 500 do FOR n=1 TO 500 Bin} := 2*A(5O1-n]i B(n)=2*A (501-n) NEXT n cu AaropuTmauecktnit san for (n=1;n<=500;n++) ku gaan om 1 zo 500 A(n}=200-n; An] := 200-n for (n=1;n<=500;n++) xu Bin}=2*A[5O1-n] + Hu gaan or 1 zo 500 2*A[501-n] xu Cxompxo oaementos maccusa B OyayT HMeTs NomOMMHTeTBHEIe SHANEHHS nocxe BuinoaHeHHa d)parenta mporpamMs1? Omeem: : Hurke na verspéx aonkax sanucan aaroputm. Tonyunp Ha Bxon 4MCO X, STOT ANTOPMTM NeyaTaeT Ba uMcna: an b. YKaxuTe Takoe 21. Belicux. ‘Tackaas { int x, a, b; scanf("$d", 6x); a=0; bel; while (x>0){ anatl; b=b* (x10) 5 x= x/10; , printf ("#d\nid", a, b)é a DIM X, A, B AS INTEGER var x, a, b: integer; INPUT X begin AsO: Bel readin (x)i WHILE X > 0 a:=0; bel: A= Atl while x>0 do B = B*(X MOD 10) begin x=xX\10 areatl; WEND bieb*(x mod 10); PRINT A xie x div 10 PRINT B end; writeln (a); write (b); end. Cu ‘Aaroparmmveckuit #include amr void main() nay nen x, a, b ason x moa x>0 arsatl b:=b*mod (x, 10) xrediv (x,10) xu Bupon a, uc, b KOH Omeem: Onpegeaute, Kakoe UncKO Oy JeT HaNevaTaHo B Pe3sy.ALTATe BLINOMHeHAA cxeayiomero anropurma (axa Bamtero yao6crsa aropurm npegcrassen PND EmeTTON Ha YeTMpéx AabIKAX). Belicwe Tacxams DIMA, B, T, M, R AS INTEGER|var a,b,t,M,R :integer? A= -10: B= 10 Function F(x:integer) :intege M= A: R= FIA) begin . FOR T= A TO B r= 168 (x-8) * (x-8) +6 IF F(T) < R THEN Met R= F(T) 710; b = 10; ENDIF a; Rote Flayi NEXT T for t := a to b do begin PRINT R if (F(t) anr int F(int x) maw { uen a, b, ty Ry M return 16* (x-8)* (x-8)+ -10; b i= 10 } Mi:= a; R i= F(a) void main() uu ana t or a no b { ecnw F(t)< R int a, by ty M, Ry TO a=-10; b 10; M= a; R= Fla); Bce for (tea; t<- eu if (F(t) 100) (x: (x1) < 100)? Omee: He sa6yapre neperectu ace orsersi 8 Gnalk oTseTOB N° 1 Yactb 2 Ana sano orsetos k sagaHiam ston vactu (24-27) ncnonbayitre GnaHK OTBeTOS Ne 2. Ganmwwre cravana HoMep sanahMn (24, 25 w T.n,), @ 9aTeM NonHoe peweHne. Orsere sanncersatire ¥éTxo H pasGopynen. TpeGosanocs nanucars mporpaMMy, Koropas peuiaer ypanuenue alx| = b ormocurenbHo x 18 mO6LIx “Hee a Hb, BpexéHULIX ¢ KnanuatypLt. Boe ‘anena canrasores selicranremninen. [porpammucr roponunca # nan MPOrPAMMA HA IIACKAJE var a,b,x: real; begin readin (a,b, x) + if a = 0 then if b = 0 then write (‘moe yncno') else write (‘Her pemenmi') else if b = 0 then write('x = 0") else write('x =",b/a,' unm x =',-b/a): end. TIPOrPAMMA INPUT a, by « HA BEHMCHKE IF a = 0 THEN IF b = 0 THEN PRINT "nmSoe sucno: ELSE PRINT "Het pemennii" ENDIF ELSE IF b = 0 THEN PRINT "x = 0" ELSE PRINT "x =",b/a, " “aK x ENDIF ENDIF END TIPOrTPAMMA void main (void) HA CH {float a,byx7 scant ("Sf9f%E", 64, 4b, 6x); if (a==0) if (b==0) printf ("smGoe aucno"); else print’ ("Her pewenu' else if (b==0) printf ("x = 0"); else 25. 26. 27. 2) Vranute, kaxag yact> nporpaMMnl apaneren mummeit. 3) Yeaxure, kax Hy2Ho fopaGorarh mporpaMMy, 4TOGHI He OBIsI0 cxy- uaen eé HenpanwieHolt paGorsl, (9TO MO-KHO CAeATS HECKONEKUME cmOCoGAMH, MOSTOMY MODKHO yRABAT smKOGO! crloCos opaGoTxH uC- xogoit mporpamst.) Onmmute Ha pyCCKOM ASbIKe HJM Ha ONHOM M3 ASHIKOB TpOrpaMMHPOBa~ HHA @JIPOPHTM TOACKeTA MaKCHMA&/ILHOTO KONM4YeCTBA MOApAA MAYULMX OTPHIATEMBHBIX BEMEHTOB B eNOUNCAeHHOM MaccHBe AKI 30. Zea urpoxa urpaior 8 exeayomy:0 urpy. Tlepex Humu sexar ABe KyUKUL Kamneil, B rlepsoit ua KoTOpsrx 2, a BO BTOpoli — 3 KAMA. Y KaxKqOTO Hrpoxa HeorpanHueHHo Horo KaMuell. Mrpoxm xogsT 10 oyepeaH. Xom cocTouT B TOM, ¥TO HrpoK yreamunpaet HAM B 2 pasa, HAH B 3 pasa uncs10 KaMuelt » xaKoil-ro Kyue. Buurpewaer urpox, mocne xoqa KoTOporo B OAHOH HB KY'4 cTaHOBHTeH HE mentee 20 Kamueit. Kro pnurparaer mpxt GesomGounoit urpe oGomx Hr- PoKOs — urpox, genaromnit neppEti xog, HIM UrpOK, ReaOULHit BTOpOit xon? KarHm joukex OnrTs neppEtit xox BEIMTpErBAIoMero HrpoKa? Orser obocuyirre. Ha sxog nporpamme nonaérea TeKcT saknuHAHHA, cocToamero He Gore uem 43 200 cumsosos, sakaHuMBaioulniica TOUKOii (cHMBON «TOUKa> BO BXOMHBIX JAHHBIX eAHHCTBeHHMIH). OHO 65110 sanIHpoBalio 1OHBIM Bon- meSuMKOM cxenyionyuM o6pasom. Cuawasa BommeGHUK onpeyeta Ko- amuecTBO GyKB B CAMOM KOPOTKOM C/lOBe, OOOSHAIHB TOyUeHHOe YHCIO K (cxonom nastinaetes Henpeprisuad mocmenonaTenbHocTh naTHHCKHX 6yKs, cnoBa apyr or apyra otaenswrcs s06nIMM APyTUMM CHMBOAMH, qyiMHa c0Ba He Mpepsimiact 20 cumBozos). BareM oH saMcHH KArAyIO awaTuHcKyio GyKey B SaKTHHAHHH Ha GyKBY, Crosmy1 B acanure na K 6yxs panee (ambasur cunraerca uuKamueckuM, T.e. mepex 6yKBoit A cron 6yxBa Z), ocrasus Apyrve cHMBOMEI HeHsMeHHLiMH. Crpounsie 6y- KBBI MPH 9TOM OCTANIMCh CTPOYHBIMM, a MPOMMCHIe — MponMcHEIMH. Tpe6yerca HanucaTb NporpaMMy Ha s3bike Tlackat» wm Belicux, koro- Pax Gyfer BEBORUTS Ha aKpAH TexcT pacmmpowaxnoro saknuHaHnA. Hanpunep, ecxm sammdposannerk texcr Gait Takum: Zb Ra Ca Dab Ra, To pesyanrar pacummposkH JomKeH GETS ceAYIOULAM: Bd Te Ec Fed Te,