Вы находитесь на странице: 1из 10
BAPMAHT 5 Yactp 1 Oreeram x sananam 1-23 mBnmoTcA wcno, nocnenoBaTenbHoCTs Syke unn undp, KoTopeie cnenyeT sanucaT> & Gnank oTseToe N° 1 cnpasa OT HoMepa CooTseT- crayiowero aananua, HaYHan c nepsol KneTouKu, Ges NDOGenos, sanaTHx 4 ApyTUX ononnuTenbHbx cumBonos. Kaxabiit CAMBON NMWIHTe 8 OTAENBHOA KneTOYKe 8 COOT- BeTCTEHM C NPMBeABHHLIMH B GnanKe OOpasuaMn. Ckonsko suavamnax ayseli AROMYHOH samen JecaTHUHOTO WHC 62? Omeem: . Hau (pparment raGannst uerHunocta pirpaxenus F: x x2 x3 x4 x5 x6 xT F 0 1 o 1 1 1 oO 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 1 Kaxnm asipaxxenitem moner 6niTs F? 1) -xL A x2ax8.nx4A 250260 —x7 2) ~xlvx2v x8 v xdv -x5 Vv -x6v xT B) “x1 A 22423 A x4 025.4 x60 —2x7 4) x1 v-22 v.28 v-x4 vx5 v -x6 v 27 Bornere sarmumre Homep sbipaxenns. Omeem: Mexay Hacexéuusimu nyxkramu A, B, C, D, E, F nocrpoess aoporu, MporsxkéHHOcT KoTOpEIX HpHBegena B TaGaMNe. (OTcyTCTBHe 4uCIA B ‘raGnmue osHavaeT, TO IpAMOH AOPOTH MemAY NyHKTAMH Her.) A B c D E F 4 10 24 alololol aly Ss oo o oy “a ale 24 14 8 6 Onpenennre qmmuy Kparuaiimero nyTH Mexay nyukramu A a F (mpu ye- HOBHH, TO NepeABHTATheA MO>KHO TOIEKO 110 MOCTPoeHHIM Oporam). Omeem: Hwxe npeacrasneunt ype TaGaunst Wa Gass JanBEIX. Kaxgam erpoka ‘raGsmuxt 2 comep>k4T MHopManHi o peGEHKe H 06 OLHOM HS ero Pom reneit. Uncopmanua mpeacrasnena sHavexvem noaa ID B coorserct- 5. Omeem: Tas nepezaum mo Kakamy cBasH coobmyeHHA, COCTOAMerO TOKO M3 CHM: soon A, B, Bu I’, nenonpayetca HepapnomepHnnit (ro ame) Kon: A-00, B-11, B-010, F-011. Yepes xanax cpasn nepegaérca coobuenne: TBBABI. Sakoaupyiire coobmenne janHbIM Kogom. TonyweHHy10 1BO- WUHY!O MOcTexoBATeXsHOCTH BaNMINMTe B BOCbMepHYHO! cHeTeMe CUHC- sens. Omeem: ¥ mcnonmmrens Vrponrens ype KOMAHLI, KOTOPEIM IPHCBOCHEI HOMepa: 1. npuGans 1, 2. yMnoms Ha 3. BsmomHas nepsyw us Hux, YrponTexs npHGaBAAeT K WHCAY Ha aKpaHe 1, a BEINOAHAA BTOPy1O, yMHOoKaeT ero Ha 3. 3anumMTe NOpAzOK KoMaHA B Oporpam™e nozyyeHus m3 uncra 5 uucna 49, conepxameit He Gonee 5 KOMAHA, YKASbIBAM THINb HOMepa KOMAHA. (Hanpumep, mporpamma 11221 — oto mporpamma npx6anp 1 mpx6app 1 yMnoxs na 3 yMnows na 3 mpx6ans 1, KoTopas mpeo6pasyer unest0 1 B uncst0 28.) a 8. B anexrponno Ta6mmue sxayenue dopmyn =CP3HA4(D1:D4) pas- Ho 8. Yemy paso snauenue cbopmysst —CYMM(D2:D4), ecau snauenne steiixu D1 pasxo 11? Omeem: = Onpeneate, “ro GyneT HanevaTaHo 8 pesyaBTaTe BHINOAHeHHA mpo- TpaMMat (sanucannoit nude Ka pasKWx AsWKAxX NpozpaNnupooaHUs). Beitcu Maca DIM N, S AS INTEGER var n, s: integer; ) printé("&d", n); N=0 begin s=0 n= 0 WHILE $ <= 47 s i= 0 Nene. while s <= 47 do s=s+9 begin WEND nent PRINT N simst+9 end; write (n) . end. Cu Aaropurmmveckuit #include anr void main() may ( uen n, 5 int n, 37 ni 0 n= 0 s i= 0 = 0; wu noxa s <= 47 while (s <= 47) niendd ( sisst 9 nent; xu s=8+9 BEBO n Kou Omeem: Cxopocts nepeqain aHHNIX MofleMOM Mo MpoToKoy V.92 cocraBsser 56 000 6nr/c. Hepenava haiina mpH noMom AaHwOro MpoTOKoA saHaIa 15 cexyna. Onpegenure pasmep cbaii.ta s Gaitrax. 10. ii. 12. 13. 14. Creronoe TaG10 cocrouT us maMNOweK, Ka2KMaR HS KOTOPHIX MorKeT Ha- XOAMTECH B ORHOM H3 ABYX COCTOAHHIL («BKMOYEHO? HIM +BEIKTIONeHO? ). CxonsKo pasmansix cooSmenmit MoxcHo nepenaT> mpH ToMoMt Ta6x0, cofepxkatyero 7 Jammouek? Omeem: « Anroputm parincnenus sHavenna bynkuun Fin), re n — Hatypassuoe €IncHO, saax CreAyIOMMMM COOTHOMIEHHAMH: F(1)=1 F(n)=F(n-1) +n, mpan>1 Yemy panno snavenne bynxuun F(4)? Bomeeme sanuuume moavko Hamypanvnoe xucno. Omeem: a B repmuuostorum cereit TCP/IP mackoit ceru HasBIBAeTCH ABOMUHOE HHC- 10, onpegemoutee, Kakas Yacrs IP-ampeca yara ceTH OTHOCHTCH K anpe- cy cemu, a Kakaa — x ampecy camoro yaa B oToli ceTH. O6utuHO MacKa sarIMcbIBAaeTCA M0 TeM Ke MpaBHnaM, TO H IP-agpec. Anpec cerH nomy- uaeTes B pesyrbTaTe NPHMeHeHs NopaspanHO! KOHBIONKUME K saaH omy IP-agpecy yaa 1 Macke. Tlo saqanuei IP-anpecy yaa m Macke onpeyenue anpec cern. IP-agpec yana: 129.130.207.128 Macra: 255.255.224.0 Tipu sanucu orsera BuGepure 43 npuBeneHHEIX B TAGAUIe NHCeT YeTEIpe amementa IP-agpeca ceTH M 3allMMIMTe B HY2KHOM MOpAqKe cooTBeTcT- Byfomlue uM GyKsBI, Ges ucnosmsonaHMs TO¥eK. A B c D E F G H 0 128 129 130 192 207 224 255 Omeem: B copeshonanmn npnuumaior yuacrne 300 cnopremenon. Jas peanusa- TMM Gasbl AaHHEIX HeOGXOAMMO SAKOAMpOBATH HOMep KaxKgOrO cmopT- cmena. Kaxoe Hanmenbuiee KonmuecTBo GuT HeOGXoAHMO AVIA KOAHpORA- HW HoMepa crlopremena? Omeem: . Cnerema Komany nertonuutens POBOT, «2unyuyeror 6 mpaMoyronbHOM AaGupunre Ha KxeTuATOH HIOCKOCTH: — |= |= |= Theate eesrenwrcretrere: cemure unusatee DOVELCYD ecapnsorrraamme-arm nivesy te mame 15. 16. 17. Yermipe KOMAHADI MPOREpsIOT HCTHHHOCTH YeuOBHH OTCYTCTRA CTeHBI y oli erKH, rge HaxoguTen POBOT: cnepxy cHuay cena cnpana epoGonno | cBo6onHo | cBoGoqHo | cBo6oqH0 Lene TIOKA < ycaosue > komanda BHINOTHSeTCH, MOKA YCNOBMe HCTHHHO, HHA¥e MPOHcXoAMT Mepexon Ha caemyronly¥0 CTpoKy. CkKombKo KeTOK mpuBeyéHHOrO aGMpuHTa cooTBeTeTAYeT TpeGoRAHHO, TO, BEINOTHHB NpeATOKeHHYIO HHDKe Mporpammy, POBOT ocranosures B Toi Ke KeTKe, c KOTOPOIt On HAYA ABHKEHHE? HAYAJIO TIOKA < enmay enoGoqno > nana TIOKA < cnpasa cso6oqH0 > srrpaso TIOKA < cnepxy cnoGomno > Beepx TIOKA < caena enoGoqno > Bueno KOHEIL, Omeem: Ha pucynxe — exema gopor, cpassisaoumx ropona A, B, BT, JI, E, 2K. Tlo Kaxkgo% Aopore MOxKHO ABHTATKCH TOABKO B ORHOM HaMpaBneHHH, YkaaaHHOM cTpemkoi. CKOmBKO cymecrsyer pasaMUHEIX nytelt #3 ropoma Apropo 1K? B A Omeem: 7 Ha Kaxywo uudpy okanampaercs sanuer qecaTHuHOTO Mena 123 B cHe- Teme CunceHHA c OcHOBaHMeM 6? Omeem: : B sanixe sanpocon nomcKonoro ceppepa Aut O6osHAYeHHA TOrHuecKoit onepanuu «HJIM+ ucnonayerca cumpox «|», a ana sornueckoit onepa- aH «> — crmpon 48 B ra6auue upHpBegensi sanpoct H KomM4ecTBO HaliAeHHEIX 10 HUM CTpa- 18. 19. 20. Bampoc Haiigeno crpanun (B Tr1ca1ax) Ppecam | Iemuney 3400 Ppecam 2300 Semuney 2100 Kakoe Kommuecrso crpannm (B THIcH¥ax) OyfeT HaiiqeHO mo sampocy: Gpezam & Icmuney? Cuwraerca, UT0 Bce 2aMpOckI BLINOTHSIHCh MpAKTHYECKH ofHOBpEMeH- HO, TAK 4TO HAGOp CTPAHHL, COAEPHAIIHX BCE HCKOMBIe CORA, He HaMe~ AICHE 9a BPeMa BBITIOMHEHHA SaNpocos, Omeem: 3 CkomsKo cymectayer HaTypanbHEIx uncer Y, AH KOTOpHX MCTMHHO paickasnmpanne (Y <13)v(¥ > 14) > (Y <5)? Omeem: 4 BaaveHna azemenTos AByx MaccHBos — A u B — c mamexcamn or 1 70 500 aagaiorca c oMonysio cnenyromero (bparmexTa TporpaMMEr. Beiicux Tlackam FOR n=1 TO 500 for ni= 1 to 500 do A(n)=100-n Aln) 100-n; NEXT 1 for ni= 1 to 500 do FOR n=1 TO 500 B{n] := 2*A[501-n]; B(n) =2*A(501-n) NEXT n Cx AxropuTmariecknii 361K Hu gma n or 1 go 500 A[n] t= 100-n for (n=1;n<=500;n++) xu B[n]=2*A(501-n}; Hu gma n or 1 zo 500 B[n} := 2*A[501-n] Ku Ckombxo anementon Maccwna B OyayT HMeTb Tlomo2kHTenbHBIe sHAveHHA Tocne BsinomHenua pparmerra mporpaMMnt? Omeem: ‘ Hwxe na versipéx aspikax sanucan anropuTM. Toyune Ha Bxog 4HCIO 21, t int x, a, b; scant ("8d", 6x); a=0; bel; while (x>0) { azatl; beb* (x$10); xe x/10; ' printf("§d\ntd", a, b)7 1 Beiicux Tackaas DIM X, A, B AS INTEGER var x, a, b: integer; INPUT x begin JA=O: B=1 readin (x) WHILE X > 0 A= Atl while x>0 do B = B(x MOD 10) begin X= xX \ 10 azeatl; WEND br=b*(x mod 10); PRINT A. xz= x div 10 PRINT B end; writeln(a); write(b); end. cu Aaropmmarseciuit f#include Jann void main() way uen x, a, b BEOR x br=1 wu noKa 200 areatl - b:=b*mod (x, 10) xrediv(x,10) oR a, HC, b Omeem: Ha YeTEIPEX A3bIKax). Onpegeaute, Kakoe yc GyzeT HalleyaTaHo B pesyrbTaTe BLINOTHeHUA cxenyroutero anroputma (qa Barero yno6crsa axropuT™ npeqcrasnen Beiicux Tacxaxs DIM A, B, T, M, R AS INTEGER A= -10: B= 10 M= A: R = F(A) FOR T= A TO B IF F(T) < R THEN M=T R= F(T) ENDIF NEXT PRINT R FUNCTION F(x) Eo = 16* (x-6)*(x-6) +8 var a,b,t,M,R integer, Function F(x:integer) :integer; begin F r= 16% (x-6)* (x-6) +8 end; begin b i= 107 = Flay: for t := a to b do begin if (F(t) ann int F(int x) Haw { uen a, b, t,-R, M return 16* (x-6) *(x-6) +87 a i= -10; b := 10 ) Mor= a; R r= F(a) void main() Hu gna t oT a ZO b ( ecm F(t)< R int a, b, t, M, R? 20 a= -10; b= 10 ™ M =a; R= Fla; pce for (teaz t<=br ttt) { xu if (F(t) 60) — (x+ x > 80)? Omeem: . He sa6yqpre nepenecta ace oTBeTbi 8 Gnank orseTos Ne 1 Yactb 2 ‘Dna sanvcn oreetos x SanaHnam STH vactu (24-27) ncnonbayiire GnanK OTBeTOR N@ 2. Sanmwmre cHayana HOMep sanannA (24, 25 wT.p,), a saTeM nonMoe pewenne. (Orsersi sanncti eaitte 48TKo 4 pasGopynso. TpeSosanoch HanucaTs mporpamMy, KoTOpas peulaer HepaseHcTBO put. Bee sicaa cuntaiores jelicTBHTerbHBIMM. [IporpaMMucr Topommca HM Hallucasl 1porpaMMy HelpaBHbHO. T1POrPAMMA var a,b,x: real; HA ILACKAJIE Bagi readln(a,b,x); if b = 0 then write("x > 0 umm x < 0') else if a> 0 then write('x > 0 um x <',-b) else write(-b,'< x <0"); end. IIPOrPAMMA INPUT a, by x HA BEHCHKE IF b = 0 THEN PRINT "x > 0 um x <0" ELSE IF a>0 THEN PRINT "x >0 umK x ELSE PRINT -b,"0 nam x<0")7 else if (a>0) printg ("x20 nm x<8£")-b); else prince (" ) £