скачано с www.ctege.org
nocoeue
Er3 no
n p e n n a 3 ~ a ~ l e nrtnn o c a ~ o c ~ o n ~ e . i , a n onorrm~onrn ii c~apmewraccnnh~s M 8 6 1 1 T y p n e ~ ~KOcmve ~
U H @ O ~ M ~ T U K CO . H0
He TOnbKO ~ 0 1 R O n R TH n M n Y q l I J I i U 0 6 p a 3 0 ~ n0,lrOTORMTbCB
3 K 3 a M e H X HO PI B a C T K p a T K Q e 0 6 b r c ~ e n b r eBCCM n p a B H ; l b H b l M ~ T t r ~ T a MYrO. ,
K TOCYAT~J~CTBC~IMOM)'
6elycron~o,C3KOHOMMT R a W e B p e \ l S
R n 0 3 B O n M T B O ~ U T ~ CMBKCHManbHO R ~ 0 J l O X R T e ~ l b H 0 PC3)'Jlbl.iTTB. l3
YAK 373.1:004(075.3) 66K 32.81n71
~cn.I@axc:
c-mail:
Bce npana Ha wry
axo om^
lSBX 978-5-991 5-0093-7
no3 oxpanofi ~3za~cnek.
8-901-3 12-1 95 1
[email protected].~ galina.aleksandrova@g~nsil.com
H 3 ; l a ~ e n b C T B o < < T p U f o H > >T I ~ c , ! I c T ~ B J ~ C ~ e~pTM t o y q e 6 M b l X f l 0 ~ 0 6 H g : < < ~ O T O R M M C IKI M a T e p M a n TPeHUPOBO'IHblX
TCCTOB))
no
Er3. P ~ ~ A ~ T o ~ I H 06-
PYCCKOMY I13blKY, MaTeMaTHKe, ~ K O J I O T H U ,r e O r p a @ P I M . UCTOPMM,
14eCTB03HaJtUl0, @U311KC?, ~ H ~ U ~ ~ C K I13bIKj', O M Y XHMUU.
U e ~ 3TOfi b CCpUU -nOMO'lb
B a Y ( ( ~ a 6 u ~pYKY)> h B P e U l e H H H TeCTOB
ET3,p a 3 0 6 p a T b c n C ~au6oneeC n O X -
HblMU 3aXaHUIIMU U Y3HaT6 0 6 % e ~ ~ n ~ i bYPOBeHb lfi CBOUX 3 ~ a l - l ~ f i . C n e q ~ a . l b M 0 ZTU p U T e J T e f i
noco6un CneIlaHbl B Q o p ~ pa3AaTOYHbIX e MaTepUanOB: BapUaHTbl TeCTOB U ~ J ~ ~ H paharam C n o c o 6 u e ~CaMOCTOII-
K u
OTBCZTOB K HUM Y O X U 0 Bblpe3ZTb U p a 3 a a T b YqeHKKaM H a YpOKe. &In TCX, KT0
TellbHO, TIPaRDl'leCKU KO BCeM 3a;laHRRM e C T b n o n p o 6 ~ b 1 eOTBeTL1: ' ~ ~ I ~ L . H M KOMMeHTapMU, X, nOXCHeHUI1.
X0p0lu0 llO?umOIJWrbCX K HblllYCKUblM U HC.LYIIUl.~lhHblM3 W d M e H 8 M HaM 1IOMllXlZl' U CePUI1 U.3A2?l'eJlbCI.Ha ~ T p u r <<Er3. o ~ ~ T e o p n ' l e c ~ a n'laCTb)>. B I I O C O ~ N R X3~0c C e p U U U3JIOXeHbT OCHOBHble M a T e p U a n b I L U ~ . T ~ H O G n p O I p a M M b 1 B K p a ~ K o i i@ O P M ~ , yil06~0R m l H 3aIIOMMHBRHI1, IIpUHeUCHbl 1 l b i l p 0 6 ~ b l ePeWCHUX 3 a A a u M c Em. Ycnexa H a 3 m a ~ c n e ! M~na~enbcrso
Aoporue B ~ I I I Y C K H N K M !Pa 3 U a T O ~ ~ b iMf ia T e p U a n 1 p e H U p O L I O ~ H b I XTeCTOB Z a C T RaM B03MOXHOCTb CZMOCTOE r 3 no M H @ O ~ M ~ T U K C~ . O C O ~ MCOLlepXUT C T U n O B b l e BapHaHTbI 3 K ' a M e H a U M O B H U X 3 a ~ a U~UX ~ nko f i p 0 6 M b l e PeUleHMX C O & I ~ C H ~ H H ~ M . H a n e m c b , r T o MaTepuam.1 a a H n o r o noco6un 6yrry~ n o n e 3 ~ b er a M B pa6o~e no noaroY ~ a x a e ~ yqu~enn! b ~ e TOBKe RaluUX YqeHMKOB K 3KZaMeHY B (POPM~ E1'3. UTe.1bHO nOArOTOBUTbCIl K CLIaYe
3 a n a ~ u kEr3 B b l M O X e T t 03HBKOMRlbnpofi~un n ~ e p a ~ c ~O n~ ~H ~~ K~ Of iM U T ~ r~e c~TU. ~ I ~ I
X 0 Y y T d x j t t e HanOMHUTb, YTO C neMOHCTpaQUOHHbIMU B a p U a H T a M U
cn H a c a k e eee:edu.ru,
3 n e c f i me MOXHO
Ha ~ b ~ n o n ~ 3e ~~ 3nae~ e u a u u o ~p~ao6 ioi- r ~no MH@OPMBTMKC O T B o a u T c n 4 qaca (240 MMHYT). u3 3 qac~efi,u K r t m . r a r o u u x 32 ~anasun.Ha B b r n o n H e n H e sacre2 1 u 2 pa60Tb1 peKOMeHnye7.CII OTBOnUTb 1,s q a C a (90 MIIHYT). Ha BblTIOnHeHMC 3 W a H P i f i YaCTU 3-2.5 q a C a ( 150 MRW). 'Iamb 1 BKJ7IO'IaeT n B a U 4 a T b 3 a A a H M f i ' c ~ 6 1 6 0OTBeTa. ~ 0 ~ K K a X n O M y 3aAaHUEO naeTCI1 V e T b I p e OTBeTa, U3 3 ~ 3 a ~ e ~ a u u o n pa6o~a n a n COCTOUT
KOTOPblX TOnbKO OAUH i l p a ~ ~ l l b ~ b f f i .
2 COCTOUT M1 BOCbMU 3aila~uRC KPaTKHM OTBeTOh1 (K 3TUM 3 W a U U I I M B b l LlOJlXHLJ CaMOCTOMTenbHO c @ o p q m p o ~ au~3anucan b OTB~T). 'Ia~rb3 COCTOKr M3 qCTblpCX 3 a j I a ~ U f i . BblnOnHCHUn 3 W I a u u f i 3 ~ 0 g '3aCTU BaM HCO~XOAUMOH a n U C a T b
mx
p a 3 B e p H y T b l f i OTBe?. B I J ~ o M ~ B o ~ @ ~O H PoM~~ ~.
Bbmonwniife 3ana~wrc8 TOM 3aTpyAHeHUC, IIPOnyCTMTe
er0
n o p n n r t e , B KOTOPOM OHW
nanbl. Ecnu ~ame-m3aaauue
M T I o c T a p a k T e ~ bB b l n O n H U T b T e , B O T B W a X H a
B ~ I ~ ~ I Ry ~ sac C T
KOIQpbIe Bb1 yBepCHb1. K np0-
n y r u e ~ w b or a~n a w u n M MOXHO 6 p e r B e p H y T b c n , ecnn o m a H w c n B p e M n . 3a ~ a x n b t knpaBH.lbMblfi OTBeT B 3aBUCUMOCTU OT CJTOXHOCTU 3WIaHHX A a t T C I I
OAMH UnM
honee 6annoe.
~ a J U l h l IlOJlYYeHHble , BaMU 38 BCe BbIITOnHeHHble 3WIaHUll, C ) ' M M U P Y ~ ~ ? C Xn. o ~ ~ a p a f i 7 . eBhllIOJIHHTb ~b KBK MOXHO
6onbure 3 W a U M f i tz M a 6 p a T b KaK MOHCHO 6onbme 6annos.
I . O60snaqenurr nornrecltux C B U ~ O K(onepaan%): a) ompznlarrue (ntteepkun, JlorurccKoe H E ) 060?~arae~cn 7 (ttarrpn~ep, 7 A); b) K O H D K ) H ' ~ ~ I I X(nornsec~oeyctHomenue, norMreeKoe II) 0603~araercnA (nanpu~ep,A A B) nu60 & (uanpuuep, A & B); c) Ouawn~yun(noruqecme cnomenne, nomsecscoe IIJIU) o603~arae~cn V ( ~ r a n p u ~ eA p , V B) nu60 I (nanpuctep, A I B); d) c j r e d o o o a ~ u e(uctnnu~aqus)0603~arawcn-> (nanpu~ep,A -> B); e) CUMBOJl 1 UCnOJlb3yeTCH nnH O ~ O ~ H W ~ H UCTIIHbI MX (UCTMHHOIY) Bbl~l(a3blBa~UH): CUMBOIl o-&WI 0603~a'IeHUX nXn (JIoxHoIY) B ~ ~ c K ~ ~ M E I H u ~ ) .
2. f i ~ norurecltux a sblpamesun, coitepxaluux nepehlennble, Ha?t.mmrcn ~ O U ~ I O C I L ~ ~ H( ~~L K MU BHB~JI~H ccxu 3 ~ a r e ~ um1 1x ~b1pa)1cennA caanwaloT npu nm6brx 3narenunx nepeMenHhlx. T ~ Ksbrpaxenun , A -> B u (7A) V B PaBnocunhHbl, a A V B u A A B - neT (3~areunnsblpaxe~nirpasrlhre, HanpuMep, npu A = I, B = 0). MU).
3. IIpnopu~e~br norusecltux onepaqufi: uHsepcun ( r p u u a ~ u e ) KoHamHKlruu , (norurecltoe y ~ ~ o x e u u e ) ,
( J ~ o T w ' ~ ~Cc K ~O o ~X ~ HUMIInHKaUHU H~), (W~POBWU 3KsUBaJlelTTHOCTb ~), ( p a L t l l ~ ~ ~ . ~ b lTt ~ K ~ ~Mb M ). dpapox, -A /I B V C A D courraqaer c ((-A) A B) V (C A D). Bor~ormta3anncb A A B A C memo (A A B) I\ C. TOme OTHOCUTCH U K JIU1L1OHKUUA: BO:{MOXHa 3arlHCb A V B V C llMeCTO (A \; B) V C. JIHWHIUKUUU
BAPHAHT 1
I
oblnonnReMozo emtu stcdancr~(A1 - A20) wocmatlbme ~ N U K((x)) 8 memu~iKy, -s a d womeema ~coirzep~omopocicoornsemcm~emitoaepy sal6~llrtozo C r ~ r a nYTO , ~ani,q~~lVI cWMRon ICO~LMPYM'CII O ~ ~ I + MGajiro~, M orlpei~e~~~e, .ieMy paReH ~ ~ @ 0 p l t a ~ ~ i 4 0o'~eM 0~~b1 CJIe~yFOL11erO fi RbICK2I3blR~HWR
X a ~ r - X a ~Pycco: a T ~ I C R lYl yN~ e i BeayT j K 3 a 6 n y ~ ~ e ~K~W tCoTA , He - TOfibICO OMMH.
C K O ~ ~ KM M~(1)O~bfa~llM OT HeCeT ~006111~?H~e 0 TOM, YTO leTl7a3ilP, y ~ o ~ o p o Bce r o rpaw olcparuetlbr B p a t - r b ~ U c B C I nocirc ~, rro~6pacbr~a~~s ynan H a CHHIOK, r p a ~ b ? 1) 1
2) 2
3) 8
3)4
O n p e a e n ~ ~a e ~ a ~ n e p ~e h t~e ~e~ oSi inocne BbInonHeHclrr @ p a r u e ~nporpaMhcb1: ~a EeficFiK nacKaJ'Ib A ~ ~ O P M T~MC HKYM8 3 b~[ K S:=O S=O S :- 0; n=6. n := 6; n:=6 Fori=2ton For i := 2 to n do n ~ l r r i 0 7 2 ~ n ~ l S=S+2*i Begin Hq Next i S-= S + 2*i; S := S + 2*i Print S End; H4 Write (S) l l e s a ~ aS
.
1) 10
3) 60
2) 40
E~~~cMK FOR n=l TO 6 FOR m= 1 TO 5 C(n,m)=C(n,m)+(2*n-m) NEXT m NEXT n
i ,
4) 90
HacKZiJIb for n:=l to 6 do form:=] t o 5 d o begin C[n,m]:=C[n,m]+(2*n-m); encl
AJI~OPUTMH~~CKM~~ HU ~ J I Rn p-~1 6 ~ 1 1 ~ r n ~ 1 @ 5 C[n,m]:=C[n,m]+(2*n-m) J I ~
kq
KaKOrO CUMBOIIbHOIY) BblpaXeHMX H ~ B ~ ~ H O ' n e p w 6 y ~ rnacHan ~ a -> 1(Tpe~bSi6 y ~ s cornac~arr)? a
m 5 l
I ) abedc
2) becde
3) babas
4) abcab
1 ) (AViB)VC 2) AVBVC
B ~ a b t n u a xIIpHBeAeHa ITPOTHXeHHOCTb ~ B T O M ~ ~ HMeX, C ?IJ' T ~COCeAHUh, ~ ~ ~ ~lM HaCeJfeHHblMM JlYHKTaMM. Ecnu nepeCeqeHMe CTpOKH kT C T O J I ~IlyCTO, ~ ~ TO COOTBeTCTBytOU.lUeHaCesleHHble nyHKTbI He COeAHHeHbl aBT0MarciCTpa;TRMI.I.YKX~KMT~ HOMep ~ a 6 n ~ u bAJIH 1 , K O T O ~ OBbI~0,~I~SieTCrt ~~ yC.lOBMe <(M~KCHMZ~JI~H~R npOT5iXeHHOCTb Maplllp)'Ta OT HyHKTa A a0 IIj'HKTa C He 60nbLIJt. 5)). 17pom~xcc~iiiocm~ .waptupyma c1~7adbzaaemcnu3 npomrw~ceii~rocmu aomo.ua~ucnzpa,7cti .ue71cdy c o o m s e m c m q w q w u cocei)~zr.+tu HacuenHbL+tzt n y i i ~ m m u .
Ann COCTaBJleHUR 4-3HaqHbl~YACeJl HCIlOnb3YIOTCR U U @ P ~1,2, ~ 3,4, 5, npU3TOM cofinmamcn cnenyroluue npasuna: Ha nepBOM MeCTe CTOHT OBHa R 3 UU@P 1,2 U.qU 3. nocne ~ a w o iqi e r ~ o i UH@PM i we^ HewrHax, a nocne ~ a x n o i ~ i e r e r ~ o-i Yi ~ T H ~ H . Tpe~befi~ @ p 0He k MOXeT 6 b t ~ bUU@P;L 5. K a ~ o e1.13nepesucneHHbrx qucen nonyveHo no ~ T U Mn p a e u n a ~ ?
B HeKoTopoM KaTanore XpaHMTcrr +allin Cnnco~-nn-repa-rypa~.txt.H Y ~ O MKtiranore co3nann nocne clero nonHoe NMII nomaTanor u nepeMecTMn1.t B Hero @aiinCneco~c-nn-repa~ypb~.txt. 4)afi~lamano D:\ SCHOOL\ PHISICS \ 10-CLASS \ Cnucolc-ne-repa~ypb~.txt. K a ~ o s on0.v Hoe MMR KaTanora, B KOTOPOM xparlmcn @ a hno nepe~eluesun? 1 ) D:\ SCHOOL \ PHISICS\ 10-CLASS 2) D:\SCHOOL \ PHISICS 3) D:\ SCHOOL 4) SCHOOL
B npouecce rrpe06pa30BaH~51 pac-rposoro rpad)usec~oro@ a h a KonusecTBo uBeToB yMeH1,LUMJIOCb C 1024 no 32. RO CKOJlbKO pa3 YMeHbUINJICII H H @ O M U N O ~ H ~0I 6 b e ~ (paG.la? 1) 2
2)3
3) 4
4) 5
3necb nepeMeHHbre a, b u c - CTPOKOBOI-o Inna; nepeuelillble n, m, k - qenbre. B anropume ncnonbsy~o~cm cnejykouuc Q Y H K ~ W H : fl.-rzrrln(x)- ~03spaulaerKonwqec-rBo cnMaonoR B cTpoKe x. M creer Tnn ctqenoe>). kf3812evb(~,i) - BosepalllaeT i-ti c u ~ ~cneBa o . ~B cTpoKe X. h i e e c~~ p o ~ o e bTun. ~ii C~.lelU71b(~. J ) - BO3BpaLUaeT CTPOKY, B KOTOPOU 3allMCaHbl nOZPRil CHaqaJIa BCC CHMBOSIBI CTPOKU X, a 3aTel.l BCe CnMBOnbI CTPOKU Y. Mhlee~CTPOKOB~IE TMn. ~ H ~ Y ~ HCT MPOHK 3aflHCblBalO'lCR B KaBbl'lKaX ( 0 , U ~ t l a ~ ~ HaIlPMMeP bl~). X ='uIKc).~~~'. ii K a ~ o es~aqewwenpnhreT nepewewan h nocne BblnonweHwR TO TO @ p a m e ~ ~anmpwua, ne ecnn nepeuerrHam u Mvena s ~ a q e ~ 'KI.lGEPHE'TMKA"? 1) LEPET
2) HMTKA
3) TMGET
4) PEHTA
Ifac~b 2
Omeemonz K ~ U ~ ~ H U R3mou , W Yucmu (BI - B8) ~sn~erncrr ~ 0 6 cu,weonos, 0 ~ Komopbze c-redyem sanucam6 s 6 n a l t ~omaemos No I cnpaaa um HO-wepa coomsemcmsy~ocyetosada~ua,Itauurlag c nepsuri rcilernou~u.Kawdb~ri c ~ u a o nnirurume s omde;l6trou iu~ernonies coomsemcmsuu c nprrsedetrfl6lMU O @ C I ~ Y C I M U .
Tpll MOJIO~bIeMahibI A H H ~MpllHa , M Onbra, I'yJlWl B napKe CO CBOAMM MaJlbIUlaMU, BCTp2TMJlU CBOIO 'V3TBepTj'H) nOXpyly. Ha BOnpOC, KaK 3OBYT ~ a n b ~ ~ ?KenaR e f i , ITOWlYl'MTb HaA nonpyXCKofi, OHU OTBeTHnR: , - CbIH ~ P N H M . AHH~: MOeI-0MaJlbIUIa 3OBYT ~ ~ H u Ca kpMflJI Mpn~a: MOeI-0CbIHO'iKB 3OBYT M a ~ c na~Kupnnn ; - CblH A H H ~ I . M O MaJlbLIMK ~ - Knpnnn, a CblHa AHHH30BYT MIKCMM. Onbra: K a w a s 113 HHX OAWII pa3 c ~ a s a n anpaeny M oaurr pa3 conrana. MaJlh'lUKOB AHHU,M P H H ~ IU O n b r ~ ? K ~ 70RYT K B omseme nepevzrc.7ume nodpsd 6e3 npo6mos 6 y ~ s wcoomeemcmgyrolyue , zrd+ieHani,MCLT~YZIKOB 6 YKU3UHHd,\d ~ O ~ X UteH ~ K CIL\. MCLW, Hanpxwep KMA.
C~opocrt,nepe,qasu naHHl,lx qepe? MofieMrroe coe,wtreuue paws 56 k'6mlc. nepe,qara reKcrroom $ a h a sepes TO coemHeHMe s a ~ n n a12 c. O n p e n c n ~ ~ciconbm e, cusreonoa cosepman neVTO OH Orbm npenc-rasnetl B KonNpoBKe Unicode. peaa~r~blii T~KCT, ecnM MSB~CTHO, Bnuurzrnre 6 ~ : ~ , . I C I1)?#.7bh'# HK
YZIC,7O.
L(enoqm C ~ M B O J I O R(CTPOKM) COW~W~CH no cnenylolueuy npasuny: nepBaR CTjNKa COCTOMT M 3 OAHOTO CMMBO.UB. 3TO U M $ P ~ 1. K a w m M 3 CJleaylOl@MXUeIIOVeK CO3AaeTCR TaK: cHarana sanucblsamcn nopn;rtio~b~ii Hobfep a a ~ ~ oc ir pi o ~ unanee , AearnALt s a n w c b ~ ~ a e ~ Bcn ca uenorKa UM@P u3 npenblnyuleii CTPOKM. n c p s ~ 4~ CeI P O K M , C O S U B I ~ H ~ IICI U 3 1 0 M Y IIpaumy H ~ I I J I R C~ JI I ~ ~ Y W U I MoGpajo~: M 1 211 3211211 43211211 CKO~~ pa3 K BOo6meti CJlOXHOClkl BCTpeYaK)lCR U 10-k CTpOtie HetlUHble UM@PLI (1, 3, 5, 7, 9)?
Ha cepeepc info.edu HdXOAMl'CR @aii~I list.doc, nocTyn K KOTOpOMy OCYUleCI~IIJIRClCX 110 ITpOTOKOn~ ). ftp. @paK%le~Tb1 aApeCa AaHHOm @ak.!Ia3aKOflMpOBaHbl6y~Ua~U a, b, C.. . g (CM.~ a 6 n ~ u y3anMG ~ K KoTopan B, KonwpyeT aqpec y ~ a 3 a s ~ 0 1aatina 0 B Wtr~epfre~e. mnTe nocnenoBaTenbuocTb 3~vl.u~
B ra6nuue npusefieirb1 ?arrpocbr K noMcKoBoMy cepeepy. P a c n o n m ~ e0603~8Ve~Mn 3anpocoe B no-
noruqec~okonepauw "M" - &. A ~ y s b r 1~Ka ~ ~ C C M1 MK O ~ LI~ I c~e Tp e ~ ~ a , ~ a ~ 3bl ~-KnaCCiIKa a.- -J- . - -- . MY3blKa / KnaCCMKa 1 M o u a p ~ r hIy3b1Ka & KJlaCCMKa & M o u a p ~ -
I
11
1
I
I
i j
nporpa~H ~aa llactiane var xO, y0, y: real;
readln (xO, yo); if (XU < 2) then begin if (xO 0) then begin
y ='-so; if (yO < y) then writeln ('.rovtia nexcw B I - I ~ T P MOGJI~CTCI') else writeln ( ' r o s ~ aHe nemui B H ~ P M06.1ac.s~'); end; else write111 ( ' ~ o . r ~Hea neitiwT B H ~ T P Mo6nac-r~'); end; writeln ( ' r o r ~ aHe nemwr wyrpn oiinacrn'); I'lporpa~.~.ia I-la rjeiicu~e I INPUT xu. yO 117 (xO < 2 ) THEN IF (xO > 0) Ttl EN y=2-so IF (yo < y) THEN PRINT " rows nemwr s1ryrpM o6.1ac.r~" ELSE PRINT " TOqKa He nol
i
I
i
l l o c n e , ~ o ~ a ~ eBblnonHv-re .~b~o saaa~~n: I) n p ~ ~ e n unpwhlep ~ e TaKcrx rucen x, w yo, rlpcr K W O ~ ~ InSp o r p a v ~ aHeBeptlo peluaeT IKOC'raWleHHy I0 ?aJaYy. 2) Y K ~ X < UKati T ~HyjlCHO , ~ 0 p a 6 0 T a ~IIpOrpahiMy, b r ~ 0 6 b iHe 661~10CJlYqSlCB ee Hellpa~klJlhHClii pa6o~bi(MOXHO YKa3aTb n106oG cnoco6 ;lopa6o~ti~ ~ c s o ~ ~nporpav~bl). oii 3) Ytiaxn.re, tiaK MOXHO a o p a 5 o ~ a ~nporpamy, b r ~ o 6 botia 1 cofiepmana JIOCMYCCKMConepaunv AND nnu OR.
na~ibl.rpw K Y ~ M~ a v ~ e coaepmamwx R, cooraerc-ruetrtro 2,3 w.4 Kahttln. 3a o u n ~ xoa pa3peurae~CR WJIM YnUOHTb KOnH'leCTBO K ~ M H B ~ ~G e ~ b l l l eKyqe f i (~CJIU U S ABe - TO U tia)l~,UOfi M? HUX), UJM no6aen~bno 1 KabiHlO B KillI
B
HeKOTOpOM B y 3 e ~ ~ M T Y P M ~ HnTp O LX ~ O m ' r TlpeJBapUTenLHOC TeCTUpOBaHHC,
no
pC3yJlhTaTaM
KOTOpOrO h i O r y T 6 b l ~ nbO n y l l l e H b l K C n a q e BCTynWTenbHhlX '3K3aMeHOB B n e p R O M n 0 T O K e . P O B a H H e npOBOiWTCrl
no T p e M
npenMeTaM,
no K a X n O M y IlpCJMeTy
Tecni-
~ ~ ~ P M M C OHX e T ~ a 6 p a T b
or 0 30 100 6anno~.npu TOM ti czaqe ~ K ~ ~ M ~ BHn Oe p EB oI M n o m K e n o n y c K a m c n a 6 & l ~ y p N e ~ T b l , 1ia6panuueno pe3ynma1-a~T e c T n p o o a H m H e M e H e e 30 6 a n . 7 0 ~ no K a w o h i y n 3 ~ p e xn p e z M e T o e . Ha BXOJ n p o r p a h m i b l nonamcn c e e n e H u R o p e 3 y n b r a ~ a . x n p e n e a p m e n b H o r o T e c T w p o e a H m . kino6mee KOJlU'leCTBO Y'4BCTHHKOB TCCTMPOBBHHII Fie llpeBOCXO;1MT 300. B nep~0fiCTpOKe BBORUTCR KOJlUYeCTBO ~ ~ W T Y P U ~ H T OnpMHHhiRBUIWX B, P a C T M e B TeCTUpOBaHMki, N. Aanee cnenyror N C T ~ O K ,~ ~ e w q cne~yiouuii nx +OPYBT: < Q a ~ n n w r l > < MMR > < F a n n b P . 3necb < cDavu.rlwn > - c l p o l c a , c o c T o R q a R Fte 6onee q e M n3 20 C ~ H B O ~ O B ; < HMR> - c T p o n a , c o c ~ o ~ qHm e 6onee vev ~3 15 C U M B O ~ O B ; 5 a n n b r > - c - r p o t i a , c o n e p x a m a r l T p n u e n b r x rncna, p a 3 n e n e ~ ~ b npo6enow, lx COOTBeTCTByloUMX G a n n a ~I,l O J l y q e H H b l M H a leCTMpOBaHl4H no K a W O M y N 3 T p e X n p e A M e 7 0 B . n p u TOM < D B M M ~>M MA < MMH>, < MMH> w < 6 a n n b 1 > p a s a c n c ~ ob ~n H m npo6eno~. BeCTHO, qTO
n p k i ~ e p b lEXOJlHblX CTpOK:
~ ~ T P ~ HH Ka ~Oa n b a58
66 38 A H T U ~ OCeprefi B 99 50 72 H a n u u m e I l p O r p a M M y , KOTOpaR 6yne~BblBOnMTb A O n Y U e H H b l X K CXslVe 3K3aMeHOB B n e p B 0 M nOT0Ke. B llPOU3BOJlbHOM n 0 p H A K e .
H a 3 K p a H @ ~ M H J I U NM H M e H a a6r?.rypwe1i~on, npFi 3TOM H M e H a U @ ~ M H J ~ H MOXHO H BblBOAMTb
3
E ~ V I H ~ I~FO I
C Y ~ ~ P C T B ~ 3K3aMeH H H ~ I ~- ~ 2007
I Janonnnb roneeoY u n w r a n m r p l t o ~wvxob WPHblMM ~ e p ~ m n a r3ArJlABHblMII u nEvATHblMH BYKEAMM no cnenymu~uo6paauau
-' nT,65n u n ~ ~ , ~ ~ u o
'n a P n o . y u a c . m u a E * ? c w 0 ~ ~G (1~~~3~
r
II
Hwqppurra
~
AaHHblC ~ R B H I (UCnOnb306alllb mOI7bKO COBMeCmHO C ~BYMII ~ P Y Z U M U~ I I ~ H X ~03 M8 U ~ 1 ~ ~ I7aKelllS1 020
--
--
.
t-b,tepe ae~eHmfi TMna A c s b ~ d o p o oTeeTa ~ ~3 npe~oxennblxespvle~~oe 1e
OeMJcuraKamhau* A1
A2
A3
A4
A5
A6
A7
A8
m e a e n a n n e c 8 n s n n orsaca r
aw * u
ur-
~ y r p*--la r
bL*mrmp*rar
*s* mns
A9 A10 A l l A12 A13 A14 A15 A16 A l l A18 A19 A20 A21 A22 W M A25 A26 A2l A28 *28
AS1 A32 A33 A M A X A?4 A57 AN A39 A#
1M
Mi A4l M 3 A44 MJ A46 A47 A48 AQ A S U 1 A52 A53 A Y A55 A% AS7 A% A59 A60
-
PEUIEHMFI M OTBETbl K BAPMAHTY 1
Ecnu n e p ~ b l f TeKCT i COCTaBJleH B i l n @ a B U + e MOL.HOCTbK) (N) 16 CMMBO.lOB, TO KOJIMYeCTUO UH@OP~ a q u uK, o m p o e H e c e T 1 CUMBOJI (i) B TOM T e K c r e , MOXHO o r r p e n e n c f r b n3 c o u n r o r u e t l u x : N = 2', TaKUM 06pa30\i, R 3 16 = 2' flOny'IkiM i = 4 6 u ~ a . MOUHOCT~ ~ ~ o p o arno@ a s n ~-a 256 C H M B O ~ O B ,n3 256 = 2' nonyqm i = 8 6 n ~ . T.K.o6a r e K C T a C O A e p X a T OAUHaKOBOe KOnUqeCTBO CUMBOJIOB, KOnM'3eCTBO M H $ O ~ M ~ U H M BO BTOPOM T e K c T e 6 o n b u r e , s e M B n e p B o M , B 2 pa3a. n p a s n n b ~ b r i oTseT: i I ) 2. Ecnu
c r c i ' r s r r h , .iw n a n e H M 5 I T e T p a 3 A p a H a p l H b O n p e A e J l e H H O r O U B e T a - C O ~ ~ I T Up aIB~H O B e p O R T -
~ 0 6 6 1N ~ ~kl KOnU9eCTBO 2 UH@OPMBIWH i CRR3aHbl @ O ~ M ~ J I O # N = 2'. K ~ U3BeCTH0, K T e T p a 3 n p U M e e T 4 r p a H K (N = 4), n O 3 T O M y C O O ~ U I ~ H0UTOM, ~ 4TO T e T p a 3 n p H b l e , TO KOnuYeCTBO BOSMOXHMX
ynan
H a CMHN)W V a H b , HeCCT
n p a ~ ~ J l b ~ OTBeT: b l e
2 6 u ~ Ha H @ o ~ M ~ u H H .
2) 2.
Ilepeseae~c y ~ w yB m e c T H a n u a T e p u w y m n p a ~ ~ n b ~ OTBeT: b l h 2) IAD,,.
x
Y
Y C ~ O B U ~ Y16 <
ycnoeue x 5 y
cucTeMy cqucneHus:
x:= x+5 r=y-5
1 10 10 1 10 I , = I AD,,
x:= x-2 y:= y+2
~ O H X T H O .YTO 3TMM YCnOBMRM COOTBeTCTBVeT TOnbKO BblUaXeHMe nail HOMCDOXI
4.
npaswnbnb~iiO T U e T : 4) abcab.
Ilpoananusnpye~npencTaBneHnbre ~ a G n n u b ~ . 1) Cornac~owon ~ a 6 n n u eMOXHO p a c c ~ a ~ p u cne.qyIoLuuC ~a~b B03MOXHble CXeMbT ,TBHX-eHMR:
mj
A +B C, IIpOTRXeHHOCrb MapUpySa P a B H a 2 + 1 = 3; A -3D + C, r ~ p o ~ ~ x ~ e rMapuupyTa r ~ ~ o c n paeria 2 + 3 - 5; D ? 3 13 A -) B 4 D -+ C, nPOTRXeHHOCTb XiaPUIPYTa paBHa 2 + 3 + 3 = 8. n a ~ ~ b~l ae6 n ~ u 1) h lHe y,2OBJleTBOpRWT YCIIORHIO 3a.laY M, Tati KaK MaKCMMaSlbHaR IIPOTIIXeHHOCTb MaPUlPYTa OT IIyfihTa A .lo flyliKTa C 3ACCb W B H a 8.
O~~BM 6 y~t H i ~O A, a ~E, B, r 6 y n y ~ COOTBeTCTBOBalb CneAymUlwe ,rlBOHYHble K0,Thl (CM. ~ a 6 m u y ) : Toma npw KoawpoeaHuki nocnenosaTeilbHocTA 6rAB nonyqnhf 1001 101 1 1000 1010. Ecnu paccMaTprrRa7-6 nonyqeHHym ~OCileJOBaTenbHOCTbKaK ABOMYHOe skiCAO, TO B BOCbMePII'.IHOhf
~oneo1ro6yacrpaBH0: 1001 101 110001 010,- 115612,. 2) 1 156 12.
n p a s ~ n b ~ b ro-ree-r: ii
P a c c ~ o ~ LIMcna: p u ~ 1 ) 4325 2) 1432 3) 1241 4) 3452. Cornac~oycnoenro sana~wH a ncpsoM ;\recrcCTOWToatra MO uu@p I, 2 NJIM 3, I I O J ~ O X Icpasy ~ MO~KHO L~CK~IOYM ~3TpaccMurpettun ~ BapuaHT o ' r ~ ~ e1 )~4325. a Aanee. nacne ~ a x a o kY ~ T H UO H~+ ~I P ~ InonxHa u n ~ uHetIeTHart, a nocne K ~ X ( J . I OH~ ~ C I C T H-O v~ ~e ~ ~ a n . ~ I ' o MY C ~ n O B K m COOTBeTCTRyWT qUCna 2) 1432 H4) 3452. M HaKOHeU, ~peTbel"lUM@POEAe MOlKeT 6blTb uM@pa 5. TOM^ YC.708MlO ~ I l O B l l e T B O P R e T IlOCJle~OBaTenbHOCTbnO3. H O M e P O M 2). . FIpaen~rbnbriio.r.uer: 2) 1432.
Oseewwo,
YTO , I ~ RnepeMeu[eHwR
@afina Cnncotc-qn-repa-rypb~.txt Sbln cosnarr
noatiaTanor
IO-CLASS. l l ~ n t t Mkln ~ e a a H H O l a rlOiWa'i'a/lOra 6y,1(e-r CJleLIYIOLUMM: D:\ SCHOOL \ PHISICS\ IO-CLASS. TOeCTb rlo,gKxr.aJlul- 1O-CLASS 6bl3 CCY3AaH R KxraJlore PHISICS, nonrloe M M ltoroporo ~ D:\ SCHOOL \ PHISICS, n :,rou IraT-ra.iore ti xpolruncn +aAn C MMellehl
Cnncolc-slu~epaqpb~.txt,TO nepehlellleHMR. n p a ~ H . ~ b ~ bO lT fB i CT:
2) D:\ SCHOOL \ PHISICS.
YC~OBUH, ((nnollla~b,KM2)> 30) M (YRCJI~HHOCT~ HaCC'JleHHII, MJlH. qCn. > 6 000) ~AOBJCTBOpIIIOT 3anHCl.r C HOMepaMW 1 H 6. CpeAU 3THX 3aIIkiceG yn0BJleTROpRK)TYCnOBHK) (YacTb CBeTa = CeBepHag Awepn~a)sanucb noa HoMepoM 6. npaBWlbHblG OTBeT: 3) 6. peureHwn ncnonb3ye~U ~ B ~ C T H Y I(Pop~yny O K = 2N,rne K - KonnrecrBo useToB uso6pame~un, a N - qucno 6 n ~O, T B O ~ M ~ BI XBuneonaMnm non ~axnbltinuKcenb. ~ ~ H TOTBeneHHbIX , B BWnCOnaMRTH nOil K a X ~ b 1nHKCCJlb ~ T o r ~ aH 3 1024 = ZN ~ a f i a eriUCn0 u306pance~nnno em npeo6pa30~a~u11, nony.luM N = 10611-4a nocne npeo6pa30sa~us+ a h a 32 = 2, U qWCnO CUT,OTBOAHMbIX n0,U ~ a ~ J l bnUKCenb, lc CTanO paBHLlM n 5 ~ U T . T ~ K U06pa30~, M U H ~ O P M ~ U U O H H06~eh.1 ~ I ~ ~ @afinayMellbLllUnCn B 2 pa3a. Ilpaennbnbiii OTBeT: 1) 2.
&IR
;
m:=6 b:=kf3&77evb(a.m) c := kf3~?evb(a,M-4) b := C~..rcumbfi,c) c := N3a.7eva(a, m+2) b := Cx?eurnb(b, c) H U A ~ X o r~ 1 0 ~ o n
m=6
TO 6-17 cnesa cuhroon crpo~oeoLin e p e ~ e ~ ~ao f i 30 2-I7 cnesa C M M B O CTPOKOBOG ~ n e p e h ~ e ~ ~ao f i P e s y n b ~ acccKneunauwn)) ~ crpo~onb~x ne eMeHHb,x c = 'T' 3 r o 8-A cnesa C M M B O C~ T P O K O B O ~nepe~e~.rtqoA a Pe3yJlb~a~ CTPOKOBblX b = 'HHT' ne eMeHHblx Hasano s u m a i = I0 Iiarianb~oes ~ a ~ l e nepehiel-r~oi ~ue uu~na 3 0 10-R c.~esaC U M B O ~c r p o ~ o ~ oniei p e ~ e w ~ a oi c := M3mevb(a, i) c = ‘K' b= Pe3yflbTa~ > CTPOKORblX b := C~veurnbfi,c) G'HMTK, nepeMeHHblX b H C C ~ r e u y i o ~31.raqe~ue ee r i e p e ~ e ~ ~uouf~i n a i = 11 c = 'A' 30 1 I-ii cnem C H M B O ~C T ~ O K O B On~e~p e ~ e ~ ~a o G . c := M3&7evh(a, i ) Pe3ynb~a.rc r c ~ n e u ~ a ~ uCTPOKOB~IX m) b= := Ck7c?umbfb, c, 'HUTKA' nepeMeriHblx b u c Ko~eu n~na KU T ~ K W06pa30~, M B pe3ynb~a~e BbrnonHeHun npnseneHHoro 4 p a r ~ e anropuTMa ~~a nepeMeHHan b npuMeT s ~ a ~ e 'HHTKA'. ~ue npa~wnb~btii warn: 2) HHTKA b='H' c = 'M' b = 'HM'
YacT'b 2 6onb111e 3 (TPK KaK B HaUICM sncne n o n m a n p w c y r c r ~ o ~ aun@pa ~ b 3) II M e H b U r c 39. npu nepesone S e c m s H o r o wcna e npyrym c n c r e ~ cyq u c n e H H s ncnonb3yacrr cneqnanb~briianmpum, O C H O M H H ~H~aE<(BblAf2neHHn>>OCTaTKOB OTnCYleHHIl ~ e C R l U YHOn> q U C n a H a OCHOBaHne ~ 0 6 0 CHC'eMhI 6 csncner-rwn. n p n s e ~n e p e ~ f~i a m ioi c r a ~ on ~6yne~noaednefi su+poii rncna B ucrcowofi c n m w e O q e B k i f i ~ 0 ,YTO O C H O W W R UCKOMblX CUCTeM CYWCNeHUII f l O J l X H b l 6 b l T b
6 b 1 ~ Pb a B e H 3. T ~ K U 06pa30~, M OCHOLZtHHe CHCTeMbI 3 6 . m ~KaK 39 - 3 = 36. Cpe~kiTaKMX A ~ J I M T ~ ~ b ~1 ~ 6E e p e ~ E,KOTOpble 6onb1ue3, HO M e H b l l l e 3 9 , 3 T O ' I H C n a 4,6,9,12, 18 U 36. B~II~OJ'IHHMIlpOBeplcy: 1) M T ~ K ,IlyCTb O C H O B a H n e ~ a I I I e f CHCTeMbl i CYHCneHWIl PaBHO 4. n e p e B e A e M L1nCnO 39 B CHCTeMy C'IUCJIeHWX C 3THM OCHOBaHMeM: 39 36 9 1 4 3 8 2 CWiCJleHUfi, T.e. B H;IILleM CJ'lyYae-OCTaTOKnOnXeH
CYHCJleHUX iIon?KHo 6 b 1 ~ ilC?UTeJeM b YIlCna
14
n o n y ~ 39," n ~ = 23,,
3 6) H,k a ~ o ~ enuo ,c n e n H e e rwcno - 36:
39
&-
36 1 3
P~CCMOTPUM (4 > - (4 + X) - x). Peurarr sn, H e p a e e H c T B o , nonyruw: x2+4x+4>O (x+2)'>0 Oseaunt~o,mk r e p a ~ e ~ m 6 yTnWe e~c r B e H H o u m r n l b r M , xe. UCIMHI.IL~M npn nm6brx 31.rase1~urrxx. Toma B b I C K a 3 b l M H H e (4 > - (4 + X) ' x)) -> (30 > X . X) 6yfie~nOKHb1M T l p n JIOXHOM 3HaCleHHH B b w a x e H u n (30 > x . x). H a u h f e ~ k w e euenoe n o n o x n r e n b H o e s H a r e H w e x. v n o s n e T s o D n m l u e e
Kohia~rza
Hohgep
P e 3 y J b ~ a TBbInOn-.
KOMaHJlbI
HeHMH K O M a W b I
Y M H O X~a~ 2 B ~ I Y T2 M 2 Y M H O XH~a 2 Bb1s.r~2 Y M H O XH~a 2
1
1 2 1
14 12 24 22 44
npe~esa~ne HeTpyIUi0 HpOBepkiTb,
VTO,
~ b 1 6 ~ pHmH
nOCJleAOBaTeJIbHOCTb KOMaHn, Mbl H e nomnrHeM xenaeMoro Ur8rOB.
pe3ynb~a-m3a 5
W
B e e z e ~0603HaqeHN~:A - A H H ~M , - M p u ~ aO , - Onbra, A - fleHMc, K - Kupunn, M - M ~ K C M M . Toraa cyxaeHcrrl nonpyr c yqeToM Toro, TO KaxJan ~3 H N X c ~ a s a n anpaRay nr?mb HanonoauHy, Y O X H O 3aflMCaTb KOPOTKO CJI~AYIOUlMM06pa30~: Onbra: 0 . K + A M = I A H H ~A: . A + M - K = I ; k i p ~ ~ aM: . M + A . K = I Aanee 6 y a e ~pemaTb 3anaqy MeToaou paccyircnelruii. ~I P ~ C C M O TBbICKa3blBaHlfe ~HM A H H ~AI :' 2 + M ' K = 1. B O S M O ~2HCJl)"iaR: . I)A-A=O,R-K=I 2 ) ~ . , 4 = 1 ,K~= -O T.e. CblHa M P M H ~ I3 O B p K u p ~ n n HO . T.e. CblHa A H H ~ O I BYT~~HUC. 3TOMY IIOJIIIOCTb10 npO'I'HBOPe'lHT Toraa H 3 BblCKa3blBaHMII Onb1-44 0 . K + A ' M = 1 BblCKa3blBaHtle M P M H ~ I cnenye~,TO 0 . K = 1 (T.K.A . M = O), T.C. C ~ I H D M.M+A.K=l O,T~M ~ O R VK~pwnn.Toi-na cbrwa M P H H ~ I AOnXiHhI 3BaTb M ~ K C N ~ ~TO OM M CneAyeT . U3 BblCKa3bIRaHMII M ~ M H ~14. I: M f A. K=1 T ~ K M06pa30~, M K PeLUeHllm npMBOnMT 2) cny11a8, OTKyAa AenaeM BbIBOil, qTO CbIHa A H H ~ 30847 I A ~ H M(A), C CblHa M P M H ~-I M ~ K C M(M), M a CblHa OnbrI4 - K~lpwnn(K).
anpeC yKa3aHHOi-0 @afinaB C e T M ~ ftp : I info .edu / list .doc f n b d e c a .
& ~ B M A H O , 9TO
~ H T ~ P6yne'r H ~ T CJleAylOUHhl:
O Y ~ B H ACaMOe H O , MaJIeHbKOe KOnMYeCTBO CTPaHUU GYJI~T BblAaHO Ha 3aflpOC C CaMblMM (OKeCTKUMU>) yCflOBH5lMM: MY3bIKa & K.TaCCHKa & M o u a p ~(r), M nanee B nopRnKe CHuxceHux (wecrKocTun: M Y ~ ~ II KnaccuKa K ~ (6) MY3blKa I ~ K J I ~ c c H K( M ~ ouap~ (B), MY3blKa I KjlaCCMKa 1 Mouap'r I CepeHafla (A). T ~ K Uo6pa3o~, M nonyYuM nocneaosaTenbHocrb: E B A
~ ~ C 3 T L
I) n p u ~ e pHCXO,~HI,IX ~ ~ H Hnpu ~ I KXO ,T ~ P ~ I nporpaMMa X HesepHo pewam nocTasneHHyto 3anary: x0 = 0,s; yo = 0.5. n p o r p a u ~ aHa n a c ~ a n e var xO, yo, y: real; begin readln (xO, yo); if (xO < 2) then begin if (xO > 0) then begin y=2-xo; if (yO < y) then writeln ( ' T O Y K nexuT ~ s ~ y r p u06nac~u') else writeln ( L ~ oHe~nemcI-r ~ a s ~ y r p n06nac-r~'); end; else writeln ('TOVK~ He nexu-r BHWU 06nac~u'); end; H else writeln ('.l.oq~aHe JiexuT B H ~ I - ~06nac~u'); end. n p o r p a u ~ Ha a beiicu~c INPUT xO. vO IF (XO< 2) ?HEN IF (xO> 0)THEN y=2-xo IF (yo < y) THEN PRINT " T O Y K ~ n e x m BHWM O ~ J I ~ C T W " ELSE PRINT " ~ o r tie ~ an e x w o~yrpw06nacm7' ENDIF ELSE PRINT " rows ae nexn-r s ~ y r p u06nac-r~" ENDlF ELSE PRiNT " TosKa He nexuT B H Y I ~ A 06~1acru" END I) BO~MOXHP c n e ~ y ~ ) ~ nopa6m~a rlas nporpaMMb1 c ucnon6sowueM norurec~otionepauuu AND: l l p o r p a ~ Ha ~ an a c ~ a n e var xO, yo, y: real; begin readln (xO, yo); y -2-xo; nexu-r BHyrpn o6nam'); if (y *xO > 0) AND ((y - YO)*yO > 0) then writeln ('TOVK~ else writeln ('TOYK~ ~e n e x u ~ ~ y r 06nacrn') pu , end
l l p o r p a ~ Ha ~ aEeCica~e INPUT xO. YO y=2-xo IF (y *xO > 0) AND ((y - yo) *yO > 0) THEN PRINT " Towca nexu-r B H Y I ~ H06nacm " ELSE PRINT " mqKa He nexuT B H ~ OU~ I I ~ C T"M END B 0 3 ~ 0 X ~Hb Apyme l cnoco6bl nopa60~~Si.
.'
xpaHeHun TeKyqero ~au6onburero3 n e ~ e s r Maccusa a A n n p o c ~ a ~ p u ~ a eqacm ~ o f i MaccuBa 6 y n e ~ucnonb3oea~bnpouexyTo.rHym UenoqwcneHHyro nepeMeHHyto Arnax. K p o ~ e~ o r o .HaM ~ ~ XMBKCMn o ~ a n o 6 b cuenorucneHHan ~ nepeMeHHarr nnn xpalieHun C Y M M ~Y~K C P ~ ~ ~ C H HHaMIl M U l b H b l X 3neMeHTOR, O ~ O ~ H ~ Y3TY U MnepeMeHHyl0 S. B Tene UUK.Va 6 y a e ~ CpaBHuRaTb oqepen~ofi 3JleMeHT CTPOKH C YWe ~ a f i , X e ~ ~ bMaKCWMJWOhl. lhf B TOM CJIyWe, eCnM 3JEMeIlT OKaXeTCR 6onbure, B nepeMeHHylo Amax s a ~ e c se ~~a q e ~ m u er o ~ o ~ o3r no e ~ e ~n~p au .~ e pr a ~ o f npor i paMiMbl:
&II~
var a : array [ l ..N; 1..N] of integer; I DIM a(N, Nj, Amax, i, S AS INTEGER Amax, i, j, S: integer; 1 s=o begin FOR i= 1 to N S:= 0; Amax= a(i, 1) for i:= 1 to N do FORj = 2 t o N IF a(i, j) > Amax then Amax = a(i, j) Amax:= a[i,l]; for j:= 2 to N do NEXT j if a[i; j] Amax then Amax = a[i; j]; S - S +Amax end; NEXT i S:= S + Amax; PRINT S end; END writeln(S); end.
T ~ K Mo 6Mp a 3 o ~~, 3 ~ a h F IHMIIHO, ~ h l YTO npu n m 6 o ~X O a e nepROrO HrpOKa y BTOpOm WvOKa HCerjla uMeeTcn xon, npweomqwfi K n o k n e .
l l p n ~ e pnporpambr Ha n s b l ~ en a c ~ a n h : var a:array[I .300] of record name:string; sum:integer; end;
begin readln(N): { C ~ M T ~KOnMLleCTBO HO ~ ~ M T ~ for i:=l to N do begin a[i].namc:="; repeat read(c): a[i].name:=a[i].name+c until c-' "; tcqn-ra~a@ ~ M M . ~ ~ w I I } repeat read(c);
begin read(m); a[i].sum:=m; if a[i].sum >= 30 then s:= s+l; end: if s =3 then writeln(a[i].name); readln; end; end.
~ H ~ H T o B ~
I
I I 1 I I I
I
! I
I
BAPMAHT 2 q a c ~ bI
/ IIpu esrno,vnensu 3ada~u63moi ~ a c m u6 6nanxe omaernoe NL?1 nod ~o.ueponr1
( aainonn~ewozos m u sadatiurr (A] - AZO) nocmnebme 3 n a ~(( x ) ) s K . ' I ~ ~ o ( Y K ~ ,
wmep ~ o m o p ocoomsemcmayem l no,wepy 6 b l b p a ~ ~ sauu 0 ~ 0 omeema J I A I I CLIHT~X, K0;TMpyCTCR 6aii~oh1,OnpCLlCirMTe, qCMy paBCH qTO h'ajii,lbifi CUMROII
OAHMM
M H @ O ~ M ~ U I ~ O 06l.e~ H H ~ ~ CSleAYH)Ulel' ~ ~ OBblCKa3bIBaHMn ~ I ~ K CTonc~oro: ~ X
I I I
He O U I R ~ ~ ~ T TOT, C R K T 0 HUserO He AeJlaeT, XOTII 3TO ero ocHosHaR ouru6lca.
I I
C ~ o n b ~~ ~o ~ J I M ~ nI Ho c~ nI eX~ o ~ a ~ e n b ~ o.n,nn~rofi c~efi B 7c n ~ ~ o n o o MOXHO COC'laBMTb W 3 UH@P 0 U I ? .
I I
B ~opsw~re n e m a ~8 mapoe. Bce uapbr pas~lorou ~ e ~Ca ~. o n b ~ Mo H(~)O~M~UHM HeCeT c o o 6 u e ~ n 0e TOM, [IT0 M 3 KOP3MHbI BblKZTMnCH CMHMG t ~ a p ?
I 1 1
Bbl=IMcnn-reCYMMY ' m e n x M y, ecnu x = A 1 ,6, y = 1 I 012.Pe3ynb~a~ IlpeaCTaBbTe B ~ ~ ~ C R HOG T M YCMCTeMe C'IRCJIeHMII.
I
eCTb
Onpenenu~es ~ a s e nepehte~~ofi ~ ~ e u nocne B ~ I ~ O . I H ~ H U R apar~eri~ a ra~ r o p a ~ ~ a :
BbrnonHeHuR Onpenenu~es ~ a q e ~ UenovucneHHbrx ne n e p e ~ e ~ x~ why~nocne x ( b ~ a r ~IlDOl' e ~ D~aYaM bl: y=8 y := 8 y :=8 x := div (x, y) x := x div y x=x\y y := x mod y y=xMODy y := mod (x, y) ' \ n MOD - oneparlnn, R ~ I - {div M mod - onepaum, B ~ I - *div M mod - onepaunu, B ~ I ~ n ~ c m r o wpe3ynb~a~ e a a e - l ~ ~ c n ~ pe3ynb~a~ ~ u w e n a e - l ~ n c n a l o q ~p e 3 y n b ~ an~e n e HMR I I ~ L ~11ep~oro ~ O apry- H M I ~ 1-laueno nepeoro apry- ~ n ntlaueno nepeoro apryMeHl2 Ha BT0p0fi I4 .OlXlTOK MeHTB Ha BTOPOG M OCTaTOK MeHTa Ha B T O P O ~ ~M OCTaTOK UT fie.nel-ru~ c o o ~ n m e t ~ ~ oOT. nenerim COOTB~TCTB~~IHO} OT n e n e ~ n c o~ o ~ ~ a c r e e ~ n o * I)x=42,y=2
2 ) x = 3 6 , y = 12 3 ) x = 2 , y = 2 4
4)x=24,y=4
kgc1.1~ For i = I TO, 100 A(I) = 50 - i ~ e x it For i = I TO I00 B(i) = A(i) + 49 Next i
nn~h.a.ilb
For i :- 1 TO 100 do begin A(i) :- 50 -- i end; For i := 1 .ro I00 do begin R(i) := A(i) + 49
,
A~1r'op~'r~~~eclcbiii R3hlK ! nwi i OT 1 ,qo 100 A(i) . . = 50 - i
HII
I
Z~T i OT~ 120 I I00 K LI
B(i) = A(i) + 49
i
I
CWMBOJIOM R 0 6 0 3 ~ a q e ~0,'HO 0 1.13 YKa3aHHbIX HMXe JIOTMqeCKMX B
~I~~H<EHMG
o.r Tpex apr.yMeHro8. Mcnonmyfi @ p a r ~ e ~ ' r ~ a 6 J I H s b lHCTUHHOCTU, onpenenme, q e M y
I ) X&Y&Z
; 1
1
i o
1
pastlo R:
2) -X v Y v -2
i
3) X&(Y v Z) -.
4) (X v Y)&
-7,
.
COCTaBlleHUII UenOqeK MCnOJIb3YtOTCR pa3Hble ~ Y C MK@rOPble H ~ ~ , 4CIIOBHO O ~ O ~ H ~ Y ~ H ) T C I I uw@paMki 1, 2, 3, 4. 5 Kamnan TaKaR UenOqKa COCTOMT U 3 4 ~ Y C Unpn H , 3TOM C O ~ I ~ ~ ~ A ~ M T C R cnenymtiwe npaenna nocTpoeHns LlenoqeK: Ha nepsohi Mecx CTOHT ontia ~3 ~ Y C M H1,4 nnn 5. nocne qmnoli UM()P~I B qenowe He Moxa warn CHOBa LlelHan, a nocne ~ e s e r ~ o-l HererHan. i n0CJIe~Hefiqll@pofiHe hlOX<eT6blTb ULf@pa3. Ka~an~3 n e p e q u c ~ ~ e ~uerloqeK ~ b ~ x c o s n a ~ arro X M M I I ~ ~ B M J I ~ M ? nonbsosmnb, nepeMeuancb ns onHoro ~ a ~ a i l o lB-npyrori, a nocneaoearenbtio noceTnn Ktiraqo~ nepeMeweHuR rn LESSONS, CLASS, SCHOOL, D:\, MYDOC, LETTERS. n p Kamnohr Ka~oeoIlonHoe n ~ KaTanora, n 113 ~ ( ~ r o p oHayan r o nepeMeueHne no~lbso~arenb? I ) D:\ MYDOC \ LETTERS 2) D:\ SCHOOL \ CLASS \ LESSONS 3) D:\ LESSONS \ CLASS \ SCHOOL 4) D:\ LESSONS 1
MaTeMaTHKH (M), @ U ~ U I C W (a)ki F ~ I ~ @ O ~ M ~ T H K(HH).YyKTenlr HMeIOT pa3~blfiYPOBellb KUWIU@MKPIlHM: ~ a ~ b lYqMTenh fi nn60 He UMetT KaTerOpHu ~0061l(e(6e3 KaTemPAU - LK), nu60 HMeeT 11, I unu sbrcruym (B) ~ ~ a n n + u ~ a u n oKaTeropnro. ~ ~ y m Ha nwarpaMMe 1 oTpameHo KonurecTeo y w e n e f i c p a 3 n e s ~ b ypomeM 1~ ~ u a n n @ n ~ a Ha q ~n~s a, r p a m e 2 - pacnpenenetiue y.rw~eneE
M ~ e m c n4 y T B e p X a e H M R : A) Bce Y q U T e n X I K a T e r O p M ti M O r Y T IlBIlllTbCX y Y M T e n f l h l M M a T e M a T U K H . 6;) U C YVMTeSIX ~ 1 KaTeFOpMM M O Y T IIBJrXTbCI Y Y U T e i l l l M H (PH~MKU. B) Rce Y Y M l e J l X M H $ O ~ M X ~ ~ + KMO1'Y.I' M LfMr1.b HblCtIlYH) KXl'eI'OpMH). r) Bce y t l M T e J l n M a T e M a T M K k i M O r y T H M e T b 11 K a T e r O p U I O . Ka~oeu3 ~ T M Xy ~ ~ e p w e ~ l cnefiyer u f i uo arrann3a o6eux npenc~aunewr-1t.12 mar-pahfh~?
14ueercn + p a r ~ aen r~o p~u T M a ,
I I I I
I I I I
l a n u c a ~ ~ h rHi ai a n r o p u r w u s e c K o M n - i h l ~ e :
m := 10 b := M3s;?evbfa,m) H U A J ~ R ~ O T ~ ~ O ~
c := H3s,levb(a. k) b := C ~ ~ e u m b (c)h ,
u!
H I 1 ,7nn k or 1 no 3 c := kf36,~eub(a,k) b := Clureumb(b, c)
3aecb
n e p e ~ e ~ ~a,bb~Mec - c T p o K o e o r o . r n r l a ; n, m, k - u e n b l e . B a n r o p n T M e ncnonmywrcn cnenymuwe (PYHKUMM: kf3areub(x, i) - B o s s p a r u a e T i-# C H M B O ~c n e B a B c T p o K e x. M M ~ C~T PT O K O B ~ IT~M~ ~ . CK,le~l?lb(~, V ,) - B O 3 B p a U t a e T CTPOKY, B K O T O P O ~3~a I T H C a t I b l I T O n P I I n C1.IaVUla B C e CMMBOnbl CTPOKM x, a 3 a ~ Bec e~C U M B O ~ C~ TI ~ O K Hy. H M ~C ~T PTO K O B ~ IT~ ~H ~ . 3 ~ a q e H H C T~P O K 3 a n M C b l B a I O T C I I B KaBblLIKaX ( o , ~ ~ H H ~ P H H~ a n~p xM)M, e p X = ' w K o ~ ~ ' . Ka~oe3 ~ a q e ~ nup eu h i e - r n e p e M e H H a n b nocne B b l n o n H e H u n s T o r o G p a r h i e ~ r aanropiima, ecnw 1 l r p e M e H H M u M M ~ J3HaY'CHMe I ~ 'MH@OPMATMKA'? nepeMeHHble
2) @OPT
I ) QOPMA
3) PWMT
4) KOPMHQ
I I
I O m s e m o ~K 3adanum 3m0E ~acrnu(BI - B8) ~ s n ~ e m ~c anl i o pcrcnzsonos, I
I
Komopbre filedyem 3anucumb 6 6 n a n ~omsemosff?I cnpusa om Homepa coomsemcmsy~oryezosadanus, Havunan c nepeou ffi~emou~u. heu9~dnru crcntson nuurume s omdenbrioli m e m o v ~ ee coomsemcmsuu c npusedennbmu 06pa3ymu.
I I I I I I I I
Y K ~ X M TYCp C 3 3 a l l H w 3 a n U C b rlUCJla
B IIOPXAKC B 0 3 P a C T a H M I I RCC OCHOBaHMR CMCTCM CqC1CJICHMR. R K O r O P h l S
29 O K a H q U B a e T C 5 I
Ha
5.
I
B ITCpBOM TypC lllKOnbHOr0 KOHKYpCa ( ( ~ ~ Y A M TB>Y) CTBCpKy ,I'YZ1UIMX BOULnM: An\ia, K ~ T RM, ~ w a
M
M Hw~a. KOH~YHO, ~OJI~~JI~L BbiClL?3bIBaJlM LI~~KH CBOM npe~n0nO;KeliM~ 0 paCnpeAeneHUtl MeC.1.
BO BTOPOM, @ U H ~ ~ ~ HType. O M
O ~ Ucrman, H TO nepRhrhf 6yner A m a , a Mnwa 6yfier ~ o p b l ~ . flpyroii 6 0 n e n b q u ~sblpa3~nHanemny H a TO, ~ I T OK ~ T saiihie~ H qe-reepwe MecTo, a Rropoe MecTo ;1OCTaH€TCR H w ~ e .
Tperaii Xe 6b1n YHepeH B TOM,
YM
K ~ T 3Ra f i ~ e TTpeTbe MeCTO. a H a
BTOpOhf MCCTe
6y;le~Aimla.
Kt.qO iIpaBTOnh~0 B B OD.HOM.U3CBOllX npOM0.WR. pe:3yirl;TaTe OKa3anOCb. TTO ~x%.Qbl%U3 ~ O ~ C ~ ~ I U M6b
K ~ K MecTa M ~ 3a~~jl1.i ,QHM~, K a n , Mclura, H u ~ a ? B omeeme nepelrzrc.-rztmenodpnd 6e3 ~p06e~706 ' I U C B ~ ,coomwincmqvoque ,WPCVI(I~W6 yxa3n1r~o.w
CKOPOCT~ nepejaqn n a ~ ~ h ~ x ~AeDps e L -s c o e n u ~ e ~ upama e I 28000 ~ H T / Cnepegasa . TeKcToBorn + a h a repe3 TO CoennHeHWe ~ ~ H R 1JMI M~ H Y ~ Onpeaenn~e, . chwnbKo C M M B O ~ O BCoilepxaJI n e p e s a ~ ~ b rrew-r, ii ecnu
H S B ~ C T H O , VTO O H 6b1n npe;lc-raa7e~B
KoaMpoHKe Unicode.
U e n o q ~ ucPrMBonoB (CTPOKM) C O ~ A ~ H ) T Cno II
cnenyromehry npasuny. nepsaa crpolta COCTOMT 143oaHoro CMhiBona, TO u~(t)pa1. Kaxnm 143cne,'~ymm~~x UenoqeK c03naerca TaK. Ctiaraiia s a ~ r n c b ~ nop~nlcoehrii ~ a ~ ~ c ~ tIo.vep uat~rioiiCTPOKM, i l a ~ ~ nuaxabr ee 3anncb1~ae.rca BCR uenowa UM@P u3 n p e ~ b ~ ~ y mcer ipio ~ u . ~ C P H ~ I4CCTPOKH, CO3JaHHblC mO 7TOMY ITpaBPfny, BbIr.lRJflT CnCnyFOlUMM 0 6 p a 3 0 ~ : 1
211 3211211 432112113211211 C K O ~ ~pa3 K BOo6qeCi C4TOHcHOCTU BCTpeYalOTCII
B
lC)-fi
CTPOKZ VeTHble ~ U $ p b 1 (2,4,6,
8)?
I
Ha cepeepe test.edu Haxonwrcx @akndemo.net, aocryn K KOTOPOMY ocyu&crBnneTcxno npo- I TOKOJIY http. @ p a r ~ e ~ TallpeCa bl AaHHOm @ a h a3aKOAMpOBaHbI 6 y ~ s a A, ~ a6 ... )K (chi. Ta6- I n ~ ~ y3all~lUPiTe ). IlOCneJiOBaTenbHOCTb 3TMX ~ Y K KOTOpaSI B, KOAMPYeT tinpCC yKa3aHHOrO @afi- 1 na B W H T ~ ~ H ~ T ~ . I
I
B ~a6nnuenpmeAeHb1 m ~ p o c bK ~~ O M C K O B O M cepsepy ~ Pacnonom o603~a~e~ 3arrpowa an B noPKXKe J 3 0 3 p a ~ H KOnUVeCIEl ~ c?paHAU,KoToPbIe HafiAff 11011~KO~blfi CePBeP 110 KamOMy 3aTpOCy. Ann 0 6 0 3 ~ a ~ e n~ oursu ~ e c ~ oonepauuu fi "MJIM" B sanpoce ~ c n o n b s y e ~ cCMMBO.I n 1, a nnn n o r u ~ e c ~ oonepawn fi "M" - &. A 6 B T
pe@epa~MaTeMaTUKa 1 T ~ ~ c c pe$epa~ MaTeMaTHKa ( Taycc 1 MeTOiI pe@epaT MaTeMaTHKa pC@CpaT& MaTCMaTHKa & raycc
Omgem ~anuutumes n d e noc,~eitosam~7btjocmu coomctemcrnsyrou~uxGyris.
I I I I I I I
I
I
I I
I
He 3a6ydbme nepenecmu sce omsembr 8 6nam omsemos "4%I .
Jnx sanucu omsemoe K 3 a d a ~ m smoli rlacmu (C1 - C4) ucnonb3yfime Ng 2. 3anuwume criarlana Hontep sada~urr(CI u m.d.), 6 n a omsemos ~ ~ a samm nontroepyerrue. -Omeemar sanucarsarime semKo uqa36prluso. Tpe60BanocbHCUTHCaTb IlpOFpaMMy, KOTOpM PeluaCZ )'paBHcHUe ((ar'+ hY. C = h> OTHOCHTenbHO ~e%CTBUTenb~blx qUcen a, b, C, BBeAeHHblX C KnaBAaTypbI, 0 KOTOpblX 3aBeAOMO H-JBeCTtlO, YTO a # 0, b # 0,c # 0. Ems nanucma ~JieilyrnuannporpaMMa:
X j&lISI
n p o r p a ~ n i a~a n a c ~ a n e var a, b, c, D, x I , x2: real; begin readln(a, b, c, x I, x2); D := b*b - 4*a*c; ifD>O then begin xl := (-b + sqrt (D))/(2*a); ~2 := (-b - sqrt (D))/(2*a); write('x1 =', xl); write('x2 =', x2); end else writeln ('nefimmenb~bur~ o p ~ eH~T'); ii end.
I l p o r p a ~ ~a ~ a6 e f i c a ~ e INPUT a, b, c, x 1, x2 D := b*b - 4*a*c IF D > OTHEN XI := (-b + SQR (D))/(2*a) x2 := (-b - SQR (D))/(2*a) PRINT "xl ='; xl PRINT "x2 5';x2 ELSE PRINT ' ' ~ e i i ~ ' ~ ~ m zK m O P~Hb~ H ~~(~~ I " END IF END
I I
M ~ B ~ C T H OTO , nporpaMMa HanncaHa c o m n 6 ~ a ~llocneaom~enb~o n. BaInonwuTe ~n 3 a n a ~ m : 1) Ilpueenn~enpnMep TaKnx ween a, b, C. npn KOTOP~IX nporpaMMa HeBepHo peuraeT nocTaBnen~yro3ana.c~. 2) YK,uT~, KaKM qaCTb npOrpaMMb1 I ~ & X ~ T C XJInIlIHefi. 3) Y K ~ X HKaK, T ~ ,no-BaIUeMy MHBHWK),H W H O I I O P ~ ~ O Tnp0I"paMMY. ~T~ Y T O ~ He ~ I 661~10 CnyYaeB ee ~enpaennb~oii pa60~~. Onnmure Ha p y c c m ~113h1~ennn Ha OLIHOM n3 XJHKOB nporpaMMnpoBaHnn anmpnm noncKa HoMepa nepBoro n3 nsyx nocnenosaTenbHHx ~ ~ ~ M ~ HB TUeeJorucneHHoM O B Maccuee w3 20 3neMelITOB, CyMMa KOTOPblX MUHUMaJTbIIa ( ~ c J I M TaKUX nap EIeCKOJIbKO, TO MOXHO ~ b I 6 p a ~ b nm6ym 143 HUX). , n3 n s a nrpom nrparor B cnenyioqyro nrpy. nepen HnMn nmaT w e ~ y q ~~ an~ s e iBinepeoii KOTOPbIX 3, a BO B'TQPoii - 4 KaMHII. Y KamOTr) FirpOKa HeOrpaHHW2HHO MHOrO K ~ M H ~XG .O ~ T nrporcn no oqepem. Aenm osepemoii xoa, n r p o ~m n yBennqnBaeT B ~ a ~ o i i y- ~Koe sncno K ~ M H ~B%2 pa3a, Win n06asnne~B KaKj'IO-TO KY4KY 3 KaMHX. B b l ~ ~ b l B TOT a e ~UpOK, nocne xona ~crroporoo614ee qncno ~ a ~ ~B ePBYK i i ~ ' I K B X craHoBmcx He MeHee 23. KTOeuurparrr n r p o ~nenamurnii , xon nepearnn, win nrpog'nenarounii ~ ~ o p oxon? ii Ha BXOn IIpOrpaMMH IIOnaKYKX CBeneHUR 0 pt23ynbTaTaX IlepBeHC'IBa no CnOpTHBHblM TaHUaM Ha nbny. nepBeHCTB0 COCIQUT H 3 C O P ~ B H O B B H Hn0 ~ ~ ,lI,BYM npOrpaMMaM: 06~3aTenbH0iik l npOU3i K O ~ O P ~ I XOue~InBaeTcn6 a n n a ~ nm 0 no 6 (0 6annoe nonyraeT eonar~oii,ysacTne B ~ m o in3 naps. He ~ ~ U H M M ~ R U yYaCTUe I&I R COPeRHOWUIIX n0 naHHOMy RUW n p o ~ a ~ ~ hHl~)R. ~ C T H O , YTO 06uee KOJIWYeCTBO YYaCTHWKOB C O ~ ~ B H O BHe ~H ~ IH ~# ~ B O C X O40. ~~WT B nep~0fiCTpORe BBOAUTCn KOnnYeCTF30 nap, IIpUHnMaBIlIMX yYaCTUe B COpeBHOBaHHIlX N. Aanee cnenym N CTPOK, nMelounx cneaymuwfi (POPM~T: < < @mnnux napTHepurn > < EannbP. 3aecb < c P a ~ m n nnapmepa > - clpolta, cocmnmm He 6onee seM n3 20 CnMBonoB; < a m n n u n napTHepmn > - qorca, coc-ronuan He 6onee seM n3 20 CuMBonoB; < ljambr > - c-rpoKa, conepxcaum ma BeuecrBeHHbix sncna, pa3nene~~b1x rrpo6eno~. COOTBeTCTByroUtUX canna#, nOJlyYeHHHM Ha COpeBHOBaHAIlX no K W O ~ ~ki3 13POI"paMM. n~ > n < Q a ~ n n n nn a p e p u n >, < Q a ~ ~ n nnap-mepwn n > npn TOM < ( D a ~ n n napmepa n < fiannbl> pa3nene~bron~uhinpo6eno~. npn~epb1BXOmblX CTPOK: M B ~ H O BneTp0Ba 5,8 6,O Kacbneoe Cepreell~o4,9 5,l Hannluure IIpOrpaMMy, Koropan 6 y n e ~EtHBOfiU75 Ha 3KpaH ( P I ~ M ~ I I CU ~UO P T U R H OTIapbI, ~ KOTOpaR ~ CYMMY Gannos. npn 3TOM npeAllOnaraeTCH, no HTOraM O ~ O U XC O ~ ~ B H O B ~MHMBW ~T HaHMeHbUIYIO 'IT0 TaKaR napa OAHa.
rlpo6e76 6aRra~.
~ O ~ C Y M TKOJIMLleCTBO ~ ~ M CMMBOJIOU B JalIHOM UblCKa3blB~llMt4,BKJIIOqBR 3llaKM IIpetIMllallMn M J h l . ~ o J I ~ ~ I H T c 76. R T~KHM 06pa30h1, M H ( ~ ) o ~ ~ . ~ ~ L I 0 U6 Ox H eH~ C~ O ~ ~~ ~ I I ~ ~ 6yfle~ H M R paBeH
n ~ a ~ ~ ~ l bO T~B b e T :l 2f )i7 6 6aiT.
O@OPMUMpellleHMe B BUAe T ~ ~ J I H I ~ H : a b ycnoane b = 32 b:= b*2 a:= a + 2 16 2 HeT b:= 2*2 a:= 16+2 18 4 HeT b:= 4*2 a:= 18+2 20 8 .20+2 HeT a:= . --b:= -8*2 - --- -- HeT b:= 16*2 a:= 22+2 22 16 Ko~eusb~non~ie~utn 4pameli~aanmpmwa 24 32 Aa
Oqeoua~o,YTO B p e 3 y n b ~ a ~B beI r 1 o n H e t I u f i 1 1 e p B o r o UCIICR~B n p e n c ~ a a n e t $~ l~ po a~ r ~ er1porpah.r~~e M ~ nIo n y r n - r c r l cneaylou~fiM a c c u B A: A(1)=49, A(2)=48, ..., A(49)= I , A(50)=0,A(51)= -1, ..., A(100)= -50 nanee, R p e 3 y n h r a T e Rhrr1onHeHi.w c.ie,~ym~~[ern IIHKna 6 y l e ~ r r n n y l l e H v a c c m R: B(1) = 98, B(2) = 97, ..., B(49) = 50, B(50) = 49, B(5l) ~ 4 8 ..., , B(100) =-I . T ~ K Ho6paso~, M B M a c c u u e B 6 y n e T TOnbKO O n N H 0 ~ p M 1 l a ~ e n b ~ 3b nl eRM e H T . n p a ~ ~ n b ~ bO Tl BfeiT 2) 1.
rn
COCT~BHM T a 6 . l H U y HCYUHHOCTH n O r U q e C K O r O BblCKXllblBilHNR AIIR I l p e A J l 0 X e ~ ~ ~b H l ~~ X X > 2 X > 5 (X>2)v(X>5) (X<3) (X>2)v(X>5)+(X<3) 5 4 3
MCTHHa
JIOXb
MCTNHa
3OXh
MCTHI-Ia
nOXb
NCTU~I~
nOmb
n 0 ~ b
HCTRHa
nOXb
MCTMHa
nOXb
nOXb
JlOXCb
2 nOXb n0Xb nOXb NCTMHa T ~ K U06pa30~, M BbICKa3blBaHHe 6 y n e ~ NCTHHHbJM n p M X = 2. I l p a ~ u n b a a ~0Tse-r: ii 4) 2. I'Ipeo6pasye~H c x o n H o e noruqecrcoe e b l p a m e H m e , A&-(-B&-C)=A&(BvC) IIpasnnbublii ol-B~T:3) A & (B v C).
RCHO,YTO
TOTBeT n O n HOMePOM
1) X&Y&Z
Y C H X:M ~
ucno11b3ya
WCI‘IIHa
aopa~y~ s a~ K oyt t a ne M o p r a ~ a :
R c0nepxtta.r npousnene~uen o r m q e c K n x ne-
H e Y;IOBJlCTBOPReT COOTBeTCTBYlOLUMM 3HaL1CHMSM
(CM. T ~ ~ S I A I I Y )H. p e n c ~ a & ~ e n~o ~r uoq ee c K o e B b l p a m e I l u e
R
P e M e H H b I X , C p e u H KOTOPblX e C T b H y J J e B b l e 3 H a q e H U H . C J T e ~ ~ ~ ~ r e f JlOl.MVeCKaH l b l l ~ , ~YHKUWH
He
past~oii1, q ro n p o . r n e o p e r u T ~ C J I O B H I Osanarn. H ~ T ~ ~ IAI p OHB eOp M T b , '4TO M n O r H ' l e C K O e B b I p a X e H M e I l O n HOMepOM 3) T a K X e H e IlOnXOnNT. T e n e p b PaCCMOTPMM n O r H q e C K H e B b l p X X e H H X Clop; HOMepaMW 2) M 4). n o n c r a ~ s~ ~l ~a r e ~ nnorwsecenx n n e p e M e H H b 1 x 143 n p e n c r a n n e n l i o r o $ p a r ~ e ~ ~ a~6 an n u b r UCTAHIIOC~MB n o r n q e c K o e B b 1 p a x e u u e non H o M e p o M 2). Ann nep~oGcrpo~wIIOJIYYRM: -0 V OV -0 = 1, H O IJO y C n O B H l 0 3 H a q e H M e R B A a H H O M C J I y Y a e A O f l X H O 6 b l T b P a B H b l M 0, CnCAOBaTCnbHO, B a p M a H T OTBCTa n O n HOMePOM 2) T B K X C HC IIOAXOAAT. M o x e r 6b1Tb
l/i HaKOHeU, IIOnCTaBHM 3 H a q e H U R nOI'U'leCKMX n e p e M e H H b l X H 3 n p e i l C T a B n e H H O r 0 @ p a r h l e ~ T a T a 6 n N I l b l HCTHHHOCTM B n O r M Y e C K O e B b l p a X e H H e n O n HOMePOM 4), IlOnYqMM:
- mfin e p ~ o tci ? p o ~ u
(0 v O)& -0 = 0, (1 v I)& -1 = I, - ,WlR Tp€Tbefi CTPOKM (1 V O ) & - O =I . T ~ K U0M 6 p a 3 0 ~ ,npM O n H H a K O B b l X ~ a 6 o p a x3 H a q e H k i f i n o r H q e c K M x n e p e M e H H b 1 X n o r H q e c K o r o B b t p a x e H u n (XvY)& -Z u s ~ a q e ~ nm o r ~ q e c ~ o~ iYi H K U M MR C o B n a u a w T .
-~
n r~l ~ o p oC iTi~ O K M
n p a t % H i l b H b l i i0TBeT:
4) ( X V ~ ) & -Z.
3HaYeHMR
1) C O ~ ~ ~3~0fi C HTa6n~LIe O M O X H O PaCCMaTpMBaTb enMHCTBeHH0 CXeMy nBMXeHU5l: A + D + C + B, CTOllMOCTb nepeBW3KU 6 y n e ~ paBHa 1 4 + 4 = 9. T ~ K Ho6pa30~, M naHHble ~a6nM4bl1 ) He ynOB.TeTBOpRIOT ycnosnro 3 a n a ~ . B03MOX
2) 3necb, KaK w B npeabmyuew cnyrae, B03MOXHa nNUIb OAHa CXeMa ABMXeHMR: A + C + B, C T O M M O C T ~n e p e ~ o rpysoe 3 ~ ~ B TOM cnysae 6 y n e ~ pama 5 + 4 = 9, s ~ TaKme o He yAoBnmBopneT ycnoawto sanaqw. 3) 3necb B03MOXHbl HeCKOJlbKO CXeM ABMXeHHR. O,!Iila A 3 HHX MOXeT 6b1Tb c~lejIyl0luekA 4 C -+ B. snecb CTOHMOCT~nepeeoso~6 y n e ~pama 3 + 2 = 5. ApyroG eapwaw: A -+ D + B, co C T O M M O C T ~ F On e p e ~ o 3 0 ~ , TM HeHO HO, 3TOT RapMaHT paEi~0kI +I = 2. O ~ ~ R U ~M M YnoBneraopReT YcnoBnm 3anarn.
Torna npM Konnpooatlbru nocnenonaTenblrocTu CDAB n o n y r m
133~ Y C H 1) H 4325 : 2) 4123 3) 1241 4) 3452 P a c c ~ o ~ p nuenOqKH b~ Cornac~oycnossm sanaqcl Ha nepnoM MecTe CTOHT onHa ~3 GYCHII 1, 4 nnti 5, norroMy cpasy MOXHO MCKJlI0YHl.b M? paCCMCYl'peHHX BapMaHT OTBCI'a 4) 3452. n uenowe I I MOXW ~ MATH cuoBa L ~ e ~a nocne ~ ~ mtreqe~~roii , - rievenran. ]Ianec, nocne C I ~ T I I O Run@pb~ %OM)' YCnOBMlO C O O T B ~ ? T C T R ~ TnOCnenORaTenbHOCTM nOn HOHepaMM 1) 4325 H 2) 41 23. M HaKOHeU, IIo~JleflHefiLlM@poE He MOXeT 6b1~b~(H(t)pa3. ~ T O ~ IYCnOBMl Y O YROBJleTBOpHeT nocnenosaTenbtiocTb non HoMepoM I). n p a ~ ~ J I b H b OTBeT: lfi 1) 4325.
P~CC~~OT nO PCM nCA MOBaTCllhHOCTb h'87ajIOrOB, KOTOpbIe RC)CL'TI?l IlOllh30UaTCnb: LESSONS, CLASS, SCHOOL. D:\, MYDOC, LETTERS. C o n e p l ~ ~ eoqeoriaiio, ~~o YTO Rce nepehicmeHMs rrpoucxo2bi:ln B ilpcae.lax , T M C K ~ D:, rlpM TOM K ~ B IJ I O ~ MMYDOC M SCHOOL
nepeMeroeHne ~3 tial'a!iora LESSONS, JaJtee Iioalrnncn Ila >poeetlh ~ b i ~ r lMe rloria!l n Kal.anol. CLASS, M, Hat;oHeb n o ~ ~ n s u ~ w ellie c bHa O,IMH ypo8em D R C ~ X nepeMccmncn , n Karanor SCHOOL M ;lanee B b l u i e - Ha nMcK D:. I l o ~ r o ~ nonlloe ~ y I U M R KaTaqora, ~ 1 K3 O I O ~ O ~tiawn O nepehieuclitle nonbsouarenb, 6yae-r c n c a y m ~ u ~ \D:\ r : SCHOOL \ CLASS \ LESSONS n p a ~ ~ J i b ~ OTBeT: blh 2 ) D:\ SCHOOL \ CLASS \ LESSONS
O ~ ~ R M I YTO IHO o6ulan , CyblMa 6annon KaXflOrO YqaCTHMlta OJlM~fnMa,lbl h4o)lteT 6 b l ~ b RhlL1MCJTeH3 no @ o p ~ y n eA: + 3B + SC. E c n ~orcopTMposaTb ~ a S n ~ no u yy6b1~arinlostlaqellnti 3 ~ 0 r onbrpanterrwn, TO I-la nepBOh.1 MeCTe OKaXCrCn y'laCTI.IMlt C UaKCMM3Xbl-lblM K0IIMLICC.II3O\I 6a.u10u, 1.e 1106~:lllle~lb 3) O~~op7Hp0BaTb T ~ ~ . V M U ) ' no y 6 b l B a ~ ) f~~H) ~ V C H BhlpaXCHMIl M ~ ~ n p a ~ ~ J l b l l b 1OTReT: k A 3B + SC M B3RTh nepRym CTpOKY
npt4 KOnMpOBaHMM ~ Y e f i ~ A F1 l R XYeGtcy 8 2 a6~0ntO~Hblfi anpec SD$2 MeHXTbCX He 6yAler,a anpee E2 l43MeHnTCR B COOTBeTC'lBHM C nepeMeUletlMehl M3 B2 R A 1 : H a ODUll c~ox6euBJleBO M Onlly CTpOK Y BBepX. Toraa BMCCTO 0TMOCNTe.lhHOI'O anpCCa E2 ITOJIy~lMMaapec D l , T.e. MCX0,lHaR @ O P M ~ J ~ npUMeT Bun $D$2 + Dl. npa~~Jlb~b OTBeT: lfi 4) SD$2 + D I .
.
npoa~annsupyeunpencraanerTO y ' ~ m m MilreMaTuKu (~.e. nx 50 s e n o ~ e ~a )ywmnfi , @u3riwu ~ @ P M ~ M KcomanfiKn CI no 114 qacTu Bcex yYacTHi.iKoB(~.e.MX no 25 senoue~).Aanee 6 y r r e ~paccMaIpusaTb ymepxnellnrr, npennoxerrtlbre l r a M s KaqecTBe oTseroB. Y T B ~ ~ W C A): H UBce ~ )qUTenS I KaTerOpHU M O Y T 6 b 1 ~Y bYMTenRMU MaTeMaTUKM. Cornac~oBnarpaMMe 1 yqn~enefiI KaTeropm - 30 YenoseK, a Bcero yqnrenefi MaTeMaruKn - 50 Y e n O B e K . ~ O ~ T O MBn YOJIHe MOXHO ilOlTYCTMTb, YTO B C e 30 yYM~eneG,HMeIOUlHX I KSLTeWpRK) - 3TO YYMTenR MaTeMaTHKH.
Y ~ n e p w e 6): ~ ~Bce e yquTens I KaTempuu M O ~ Y Tm m b c y~s u x n m u @ u s u ~ u . Cornac~owarpaMMe 1 ysn~eneiiI Kaxropun - 30 renoeerc, a y ~ u ~ e n e@i Wi ~ H K U- 25. l l o ~ m ~ BCe YYUTenR
1 KilTelWpUH
tam^ O ~ F ~ J O MylBepXAt:HMe , 6) HeB'SpHO. Y ~ ~ e p ) w eB): ~ ~Bce u e ysuTenH KII+OPM~TUKH MOT ~ L I T LyrwTenaMn nwc~llefiKaTeropuA. Ysu~eneiiHHI$OPM~TUKH - 25, a yqureneii, uMemrlrux shlcury~)Kareropnm, - TonbKo 15. I l o 3 m ~ y yTaepxBeHue B) T a m HeRepHo. YT6ep~ne~U r): e Bce yYUTt?nX MaTeMaTMKU MOWT 6 b t ~ b YYUTenXMH 11 KaTerOpUU. nPYl'MX IIpeflMelDB.
).
7 c,
If
He MOlYT 6b1~bY~HTenRMIl(PH~HKU, CpeAU HMX JlOnHcHbl 6blTb Y~lnTenX
YqU're~leiiMaTeMaTUKU - 50, yqUTeneG Xe, HMeK)UIMX 11 KaTerOpUIO, - 35. Y T B ~ ~ X A r)~TaHKXCHe ~ HeBepHO. T ~ K A06pa30~, Y Bb16~paeMyTBepHcaeHne A). I T p a s u n a ~ a ~oTser: ii 1) A.
I ]
P e m e ~ ~~ ae t ~ ~3auaru o f i npeAnasaM B BWne '1a6nkiubl: U a r UIWpkiTMa Pe3ynbTa.r KOMM~HT~PM~~ ( O ~ ~ P ~ U U R ) BbInOnHeHlIR m = In m:= 10 b := H~arevb(u,m) b := ‘K' 3-0 10-R cneea C U M B O ~c ~ p o ~ o ~noe ipi e ~ e ~ ~a o t i Haqaao u u ~ n a HUA~H k(~1.4~05 Haqanb~oes ~ a q c ~ nu ee p e ~ e ~ ~uoni i~ ~ a k=4 ~ n e p e ~ e ~ ~a o i i 3To 4-I2 c n e ~ aC M M B O CT~OKOBOA k) c = '0' c := H3a~!eub(u, Pe3ynb~aT< CTpOKOBbIX b := C~veumb(b,c) b = 'KO' nepeMeHHb1.x b M c Cnenyroqee s ~ a s e ~ nu ee p e ~ e ~ ~uou i~in a k=5 c := fl3~7evb(a, k) c = ‘p' 30 5-# c n e ~ Ca M M B O ~CTPOKOBO~~n e p e ~ e w ~ oai i Pe3ynb~aT<(CKJleUBaHUs))CTPOKOBblX b := Cmeurnbfi, c) b = 'KOP' nCpeUeHHblK b U C K o ~ eI~~ Ui K J I ~ KI1 ~ u n n xk o 1~n o 3 Haqano cnezyrouero u ~ m a k=l Haranb~oe3 ~ a q e ~ nu ee p e ~ e ~ ~uu~cia oii 3-0 i -n c n e ~ aC U M B O ~c r p o ~ o ~ oni ei p e ~ e ~ ~ao f i c = 'M' c := fl3mevb(a, k) Pe3yJIbTaT (> CTPOKOBblX = b := C~7eurnbfi, c) nepeueeHblx b n c K o ~ e uuuma .KU T ~ K U06pa30~, M B pe3ylIbTaTe BbInOJlHeHUH IlpUBeiIeHHOIO @par~eHTa UrOpHTMa nepeMeHHas b n p u ~ sna~enwe e~ 'KOPWHO'. Ilpasunbea~iio-reeT: 4) KOPMHO.
C ~ a r a n ac y s u ~Kpyr noucrta. OY~BHAHO, TO ocrroBasnn UCKOMHX cwcTeM cqucneHnn A O ~ C H ~ I 6~1%6onbue 5 (T.K.TaM CYll[eCTByeT ~ u @ p5) a H MetlbIlIe 29. &nee, npu nepesone AecsrnsHoro sucna B npyrym c u c r e q cqncneHus ucnon63yeTcs cnewanb~b~ii anrOpUTM, O C H O B L ~ H M ~HaI ~4Bb19eneHUH))OCTaTKOB OT neJleHuII neCRTIlYHOr0 'iHCna Ha OCHOBaHHe HOBOEcucreMb1 cqncneHm. n p u q e ~nepeb~ii~ a ~O oC ~ l~ T O wK 6 y n e ~nocnen~eiiuu@poiiqucna B n c ~ o ~ oCUCTeMe ii C'IUCJIeHUR,T.e. B HaWeM cnyqae OCTaToK AOJIXeH 6 b l ~ paBeH b 5. T ~ K B06pa30~, M OCHOBaHWe CHCTeMb1 CYHCJleHUX n 0 J I X H O 6b1Tb AenUTeneM YHCna 24, T.K. 29 - 5 = 24. ~ . l x B b 1 6 € p Te, ~ m p n e 60nbUIe 5, X O qucna 6,8,12 U 24. B ~ ~ o J I H IlpOBepKY: MM CpenU ~ a ~ ne~lU~c3e6 1) H T ~ KnyCTb , OCHOBaHiie H ~ U I ~CMCTeMbl E CSMCneHMII PaBHO 6. n e p e ~ e n YHCJTO e ~ 29 B CUCTeMY CqkiCneHUIf C 3THM OCHOBaHUeM:
16
29 24 4 5 2) w e e nponepwhi rucno 8. 29 24 3 5 3) n p o e e p u ~sucno 12: 29 24 2 5 4) M, HaKoHeu, nocnea~eesucno - 24:
n o n y q u ~29," =45,
l"Iony.ru.hi29," = 35,
n o n y q u ~29,0= 2512
29
L~~-
P~CCMOT~HM ((x-1) < x). oqeBH~i~0, 3TO BblpalKeHMe 6yne-f TOWeCTBeliHO HCTHHHblM, T.e. MCTHHH b I M npH . ' I I O ~ ~ I X 3HaYeHHSlX X. Toraa BblCKa3blBaHHe ((x-1) < X) -+ (40 > X ' X) 6yLIe~HCTHHHblM npu n c r ~ r t r ~ sr~asetrnu o~ ~ b l p a a e (40 ~ n> ~ x . x). Han6onburee Uenoe tronoxnTenbFroe ~liraqellsex,
PC3yJIbTaT Ho~ep BblnO.ZHeHHR KOMaHiIbl KOMaHdbl
~ ~ U M ~ C I ~ H M ~
O B ~ B U ~YTO ~ HIlepRaR O, KOMllHZi R
YMHOX ~a~3
YMHO-,L~a 3
I
1
3
I
9
O ~ R H6blTb ~ M ~ o ~ a ~ nXunonrce o i i HU 3. T.K. B ~ ~ O T U B H O cnyrae BCe II0C:leAyloUtUe KOMaHilbI 6yny-r,?taBaTbHaw oTpsuaTenbIrLle rscna. I~OHIITHO, TO mopan KoMaHna nonwtsa B ~ I T ~ ~o~atrnoil J!UIIOJW~ Ira 3, T.K. B ~ ~ O T U B I I Ocny.rae M M h l Rel)HeMCII K ACXOAHOMY rNCny - 1.
Ha nepeoe Mecro nocraBHM nepByro 6 y ~ uMeHu, ~ y a Ha mpoe-npeurlonaraehioe MecTo B ~ypliwpc. Toma nonysuM: A1, M2 K4, H2 K3, A2.
T ~ K H06paso~, M n o ~ ~ y . r n ncnenyroulee s p a c n p e i I e j l e l l M e c1ec.r c p e , w y.racTHwKon aurlana: A n ~ -a I-e MCCTO, H H H-~2-e MeCTO, K ~ T X- 3-e MeCTO, a M w w e B 3TOM C-qY'iae 2OCTaCTCR 4-e hICCT0. G c n u B OTBeTe ITepeqMCnMTb lTOApRfl6e3 n p o 6 e n o ~qkfC.qa, CooTBeTcTnymlUMe hlec.1-aM B ylcd3aHHO\l nopmKe u M e H (flwhla, K a ~ s M , u m a , H u ~ a ) ,TO n o n y r w b i c n e a y m u y w nocnenoeaTenbHocTb: 1 3 4 2 .
O n p e n e n n ~ CKonbKo , 6 n 6bmo ~ nepeaaHo 3 a 1 hiu~y'ry(60 c.): 1 2 8 0 0 0 61.1~1~ . 6 0 c = 768000 ~ H T K ~ MSBeCTHO, K B KOflUpOBKe U n i c o d e Ha K a X ~ b l f CMMBOJ i OTBOaMTCR 2 6afi'ra, MXM 1 6 ~ W I :B ~ I ~ M C J T M M KOnMYeCTBO CUMBOJIOB B ~ e p e ~ a l I l l O TeKCTe: M
n p o ~ y h ~ e p ryr ae u~w nocnenoeaTenbHocTM (CTPOKA), npoat1anu3~pye~ K O ~ L I ~ ~ CY~C B I RO~ I XUH@P B KalKAofi M 3 HMX. n0nyYeHHble a a H H b l e CBeAeM B ~ a 6 n u u y :
anpeC yKa3aHHOrO @afiJIa h t t p :N test .edu / d e m o .net B B A E l - ' I j x
~ ' ~ ~ B H A HYTO O,
B CeTM
M H T ~ 6~ yH ~~CnCflylOUlUM: e ~
C ~ MMUIeHbKOe O ~ KOSlM.leCTB0 CTpaHHU 6 y ; l e ~ BbUaHO Ha YdnpOC C CahlblMM WKeCTKMMM)) YCJIOBMRMM: pet)ep&l & MaleMaIklKd & ~ ~ Y (r) C C M i l a J I e 8 IIOPHiIKt: C H M X e H M H (tXeCIKOCI M)): p e $ e p a ~ I MaTeMaTUKZl (B), pe(bepa.r I MarcMaTnKa r a y c c (A), p e $ e p a ~ I MaTeMaTMKa ' r a y c c I MeTOn (6). T~KU O oM ' p a 3 0 ~ .flOny.lMM nOCJleAOBaTenbHOCTb: TBA6
n p u ~ e pUCXOnHblX AaHHbIX, npU KOTOPblX IIpOrpaMMa HeBepHO PeWaeT nOCTaBneHHy10 3Waqy: b ~ b l xHm>, a = 1, b = 2, C = 1. B 3TOM CJly.iae npOrpaMMa BbInaCT pe3yJIbTaT ( ( f l e f i ~ ~ ~ u ~ e f lK0pHefi B TO BpeMIl KaK Ha CaMOM Arne XaHHOe YpaBHeHHe 6 y ~ Me M~a b ABa PaBHblX KOPHR. n u w ~ e eB nporpaMMe -3ro B B O c~ maeua.rypbr s ~ a s e ~ nxfI i n x2 B crpoKe readln(a, b, c, x I, x2) (B nporpaMMe Ha 6eiicn~e- r r o INPUT a, b, c, XI, x2). BOJMOXH cnenyw1uaR ~ n o p a 6 m ~ anporpaMMbi: nporpanc~a~a n a c ~ a n e l l p o r p a ~ ~a ~ a6 e k c u ~ e var a, b, c, D, x I, x2: real; INPUT a, b, c D := b*b - 4*a*c begin IF D >= 0 THEN readln (a,b,c); D := b*b - 4*a*c x l = (-b + SQR (D))/(2*a) ifD>=O x2 = (-b - SQR @))/(2*a) then begin PRINT "x 1 =";x 1 X I := (-b + sqrt (D))i(2*a); PRINT "x2 ="; x2 x2 := (-b - sqrt (D))/(2*a); ~oplreiirrer" ELSE PRINT "neiicrorn~~lr~ix write('x 1 =I, xl); END IF write('x2 =', x2); END end else \Witeln ('~ekCTB~re~lbHblX Kop~efiH~T'); end.
H O ~ ~ ABYX nOCJlenOBaTenbHblX 3JleMeHTOB B ~ ~ O C M O T ~ ~WHC -H XpaHeHUfi M U H H M ~ J ' ~ ~CYMMb1 MaccuBa 6 y m ~wcnonbsoemb npoMexyToqHym uenoqucneHHyw nepeMeHHym Smin. KpoMe TOW, HaM ~ O H ~ A O ~ H TUeJlO4nCJleHHaR CX IIepeMeHHaIl, B KOlDpyw 6 y n e ~ 3aHOCHTb HOMep nepBOR3 y Nmin. Haqanb~bre~ H ~ V ~ H nMeRp e ~ e ~ ~ 3 n e ~ e B~ ~ a nape, 0603Ha~kiM3 ~ nepeMeHHym Smin U Nmin 6 y n y ~COOTBeTCTBeHHO paBHb1 CyMHe IIepBblX nByX 3neMeHTOB MaCCMBB H 1. B Tene UHKna 6yneM BMqHCnXTb CYMMY 3neMeHTOB O V ~ Q ~ A Hnapb1 O ~ ~ H CPaBHHBaTh ee C w e H a f i n e ~ ~ MnHuMyMoM. B TOM cnyqae, ecnu HOMR c y m a oKameTca MeHbrue, B nepeMeHHyto Smin s a ~ e c a B nepeMeHHyw Nmin - HoMep neprroro 3 n e ~ e u3 ~ n~ aa~ ~ onapH. ii s ~ a q e ~ 3~0ii u e HOBO^ CYMM~I, M TaK ,!lo KoHUa WUna, no OKoHqaHUU KOTOPOm nOnyqHM HOMep HCKOMOW 3JleMeHTa. n p ~ ~ Te ~pK IlPOrpaMMbl: O ~ n p o r p a ~ ~a ~ aGeiics~e n p o r p a ~ ~a ~ an a c ~ a n e N = 20 const N = 20; . DIM a@), i, Smin, Nmin AS INTEGER var a : army [l ..N] of integer; Nrnin = 1 Smin, Nrnin, i: integer; begin Smin = a(1) + a(2) Nmin:= 1; FORi=2toN-1 IF a(i) + a(i+ 1) < Smin THEN Srnin:= a[l] + a[2]; for i:= 2 to N-1 do Nmin:= i : Smin:= a(i) I a(i 1) ENDIF begin if ari] + a[i+l] < Smin then NEXT i PRINT Nmin begin END Nmin:= i; Smin:= a[i] + a[i+l]; end; end: end; writeln(Nmin); end.
TU
P~CCMOTPUM XOD nrpbI. O$OPMHM ero B BUne ~a6nnub1,rile B K ~ W O B 5Isei4Ke 6 y n e ~3anHCbIBCtTb napbl qHCeJI, COOTBeTCTByWUUe KOJIHYeCTBy K ~ M H &Ha KamOM Wane Mvbl, B flepI30fi n BO B"0~0fi KyqKe COOTBeTCTBeHHO. I-i4 xou 2-8 xon 3-B xon 4 4 XOA Bce Mcxou~toe coc~onapnamhl RHAe XOna 1 W h X 6 4 3,4
6.4 3.7 3,s
Bbnurpb1m~b18Bce napmmmt B~urpbtw~btii xon xo,~11 nvoKa ~ m p o r olrrpo~a x0i7a 1 HrpOKa 24,; K ~ I I12,14 12,7 6.7 18,7 unu 9.14 9,7 12,14 wnu 9,14 u w 6,28 6, 14 12.10 unu 6,20 6, 10 Tame xe BapHSHTbI ~ - I ' o . ~ - Tkio44-0 XOZOB, K ~ w K n npenbmyure~ cnyarae. 12,s 24,s nlu 15,s U J I ~12,) 6 nnu 12.1 1 6,8 18,8 m u 9.16 9.8 12.16 nnn 9.16 nnu 6.32 unn 6.19 6.16 12,I 1 m u 6,22 6,11
IIonc~arun '~'~KKo M@ ~ ~ o M ,
~ ~ o p oUi i ~ nbrurp~naerua 4-Mxoay nocne
K
~ l m r oTBeTa o
nepeom urpo~a, HanPuUV. yn~onorwcno ~ a ~ ~Bm60fi e f i K Y ~ K ~ .
H3 ~ a 6 n n ~BWHO, b 1 ZITO IIpU Jll060M XOne nepBoro MrpoKa y BTOpOrO HrpOKa BCerDa T ~ K R06pa30~, M nMeacs xon, r r p n ~ o ~ ~ u Kr eno6e~e. ii
n p u ~ e pnpOrpaMMb1 Ha R3bIKe rklcrolnb: var a:array[l..40] of record namesring; sum:real; end; .. c:char; i, j, N, K:integer; m, s :real; begin readln(N); { c r w a ~ KonnrecTBo o nap-y~ac~~n~o~} for i:=l to N do begin a[i].name:="; repeat read(c); a[i].name:=a[i].name+c until c=' "; { C Y U T+wnnnx ~H~ nap-r~epa} repeat read(c); a[i].name:=a[i].name+c until c=' "; { c s u ~ a +~wa n n m napreepwn} a[i].sum:=O; forj:=l to 2 do begin read(m); a[i].sum:=a[i].sum+m end; { n o n c q n ~ acyMMa ~a Ganno~} readln; end; s:= a[l].sum;
K:= 1 for i:=2 to N do if a[i].sum < s then begin s:= a[i].sum K:= i end; writeln(a[K].name); end.
I I
BAPMAHT 3
I
Y a c ~ bI
17pu obmonne~uu3ndarrufi3moE qacmu n 6 , ~ a omnemoo ~ ~ e N o I nod Ho~vepoM s b ~ n o ~ ~ n ~ a oa+ru w o z o3adanux (A1 - A20) nocmaebme 3 u a ~<( X M n Knemoltty, s m u omeema. Hofiep ~omoporicoomsemcmsyem Ho.wepy sac6pa~~ozo
1 I
I I I
1 ) 28 ~
H T
2) 272 6~ira
3) 32 KSafira
K a ~ o eK O ~ M ~ I C C T RMO H ( ~ O ~ > I ~ L 6y,~eT ~UPI ~
4) 34 6aAra
O ~ Y Y ~~ O H POL I MC T ~ P O K OBU ~
rpe
c t K p e c ~ ~ t i r r - ~ o . r ttra r ~none ~ ~ ) ) 3 x 4 nocne ncpeom soaa nepnoro u r p o ~ a ?
sbrnojr~e~un cbpamier~~a anropu~~a: Onpeaenw~e-~tra~~ec~ue n e p e ~ e ~ ~n onocne B
Onpenenere THnqeHue n e p e ~ e ~ ~S onocne B m.lnt)nnHeHun i $ p a r ~ e ~nporpaMm1: ~a ~BCAK S-0:T-1 For 1 = 1 LO 5 S=S+T T=T+I+ 1 Tiext I Print S
nacK&lb S:-0;T:-1 for i = I to 5 do begin S = S +T T=T+i+ 1 end; write (s)
A J I ~ o ~ u T M H ~S3hIK ~cKu~~ S :- 0; T :- 1 ziwlm51llar: !I!?,
S = S +T T=T+i+ 1
a n e r a ~ bS
~ H ~ Y ~ H3 nHe M X e H T O B JlBYMepHOrO
MaCCNBa
A
0. % T ~ M 3HaYeHMR ( P ~ ~ T M ~n Hp oTr p a ~ ~ b l ) :
6 b m p~a B H b l
M e H T O B 6 b m u U 3 * l e H T H b l (CM. n p e , L l ~ T a & l e H H b 1 #
Feiicu~ nac~anh A : l r . o p ~ ~ h r ~ ' t e c ~ ~u ~i iT , I K n =0 n := 0 n :=0 For i = 1 TO 5 for i := 1 TO 5 do ~ u n n l r i a l m 5 For j = 1 TO 6-i forj := 1 TO 6-i do HU nnR 1 1 6-1 n-n+l begin n:-n+l; n : = n + 1; A(i, j) := n; A(i, j) = n Next j ' A(i, j) := n; Next i end a Ka~ofi3 J l e M e H T MaCCMBa 6 y n e T MMC.1.b B p e 3 y n b T a l e MaKCMMaJlblfOe ~ H l ) A ( l , 1) 2)A(l,5) 3)A(5,l) 4)A(5,5)
OT rpex a p r y M e t r T o s . M c n o n b 3 y l r
+ p a r ~ e m~ a 6 n H u b HCT~HHOCTM, l
onpenenme, q e M y pamo Q:
rn I) XvY&Z
2) XvYv
z
3) X&Yv z
4) -X v -Y&
-z
HeKOTOpblX
~ Y C H M ~ ?
3ne-
cocTaB.wHuR uenoqeK M C ~ O I I K ~ Y H I T Cpa3~oueer~bre R ~ Y C M Tewtble H ~ I : - C M ~ I (C), R ~ lienellaa ( 3 ) n cee7:'lble - ilten.ran ( X ) .&:lax ( 6 ) . ro,lySax (T). Ha nepuolr Mec1.e B uerlortie c.1.ou.r , Sycnwa cMHero 1.rnM xenToro uBeTa. B cepenMHe uenoLlrcM - -:1~)6an~3 CBernbIx ~ ~ C I I Hccnw I , rIepBan 6ycw~ac13ec1an.IHa rIocneAt-re\1 n e p m Gycrr~ta.reh{liax, n ,~106aclH? .rebllibrx S ~ C Me c~m 6e.voro. rony6oro Mnn ~ C - W H O ~uee-r-a, O we CToRLuaR B uenoLllieB C C ~ L ' L I M H C . ;cfecTe- olwa tin 6yc1.1~ Kawn M 9 IICpCLIMC;lt3i1iblX UellOqCK CO3XIHa IIO ').II)MY I I ~ ~ B M J I ~ ? 1) XCT
2) St-3
3) CTX
4) ;K6C
B I I C K O T O ~ O \ IKaTanorc xpatlmcrr + a h 3ana~cr-no-nporpa~1~~1po~a1in1o.txt. B TOM tia~anorc J I noc.qe co3aai1w rm,xKaTmor M nepeuerrunu B rrero ~ ~ R3anaqu-no-nporpa~vwposa~m.txt. Yero nonHoe Msrx + a h a c-rano D:\ INFORM\ LESSONS\ 10-CLASS\ 3anarn-no-nporpamM A I ~Kamno1.a. B KOTOPOM xpawnncx @aGn,TO rrepeueule~un? n ~ s p o ~ a ~ w ~ oK. at x~to ~ nonnoe o I ) D:\ INFORICI 3) D:\ INFORM\ LESSORS 2 ) 10-CLASS 4) LESSONS\ 10-CLASS
Ha ~ a m fITOJMUHW i OKaxeTcR Tosap c ( C ~ a ~ nnariuie.nlbrib>, ep ecnu n p o u ~ ~ e c r u CO~kipOBKyJ ~ H H O UTa6nklubl no BO3PaCTaHNfo C T O J I ~ ?
Ka~oiiBun 6y;leT U M M b @op~yna, ecnw R Y C U K ~c 3 CKOnWpOBaTb B R Y C B K ~B3'?
-~-, . --.-- . ~ - ~ ~
1
~
1970 ro,1 [ 1989 ron
A+pn~a 36 1 642 Espona 190 K ) X H ~A RM ~ ~ H K ~ Cesep~arrw Qen~panb~arr A ~ e p n ~ 320 a A~WR 2161
628 701 29 1 422 3133
I
Hacenenue, wnH. ren.
Hacenenue, kmH. Yen.
H e t i ~ f iUCnOnHMTenb YMeeT BbUlO~liRTbTpM KOiLlaHAbl:
FD<.rncno warow - ne#xeI-lue snepen Ha y ~ a 3 a ~ w ~ coneo uraroe; RT - noeopar. Hanpaso H a y ~ a 3 a ~ rMcrro ~ o e rpaaycoe; KEPEAl' [ ~ I ~ O B T ~ ~ H ~ O Unefi~'rBkifi>] ~M~CR - KOMaHrd IlOBTOpeHMH. H a l r p ~ ~ eREPEAT p, 4[FD 20 RT 901 CTPOMT KBaApaT co C T O P O H O ~20. ~ Kahyro @MI-ypy6 y x r I'IpeACTaBnRTbco6oil TpaeKTOpFIR ABUXeliHR ,ZaHHOrO MCnOnHUTenR B pe3ynbTaTe RbInOnHeHUR tioMarmbr
REPEAT 8[FD 60 RT 40]?
1) P ~ B H O C ~ ~ O ~ O H Tpe)'rOnbHl4K. HM~
2) P o M ~ . 3) IlpaBkinbHb18 UleCTRYTOJlbHMK. 4)
n p a ~ U J I b ~ b lBOCbMMY~OSThHAti. R '
Yamb 2 0msemu.w K 3adu11um3muir vacmir (BI - B8) narinemcrr rm6up cwsu,roe, K f f i1 cnpaoa om Homepa Komopare ciredyem sanucamh s ~ J I ~ Homsemoe coomeemcmqyrolyezo sadanii~,tiacru~anc nepeoir KnemouKu. Kmdaru cu+ie0,7 nuucume e umdc7b~o12~ c ~ e m o ov ~coomsemcmeuu e c npusede~r~ a w o6pa3qanirt. u
nocne YPOKOB
Ha nOny B K ~ G H H ~@ T~ ~~ M K MMaJIeHbtiylO TMpbKY. nRa IlpCLlnOnOXCHMR. Ancr~taCKa3aJl: < < ~ T O rUPhKa r43 naryeu, u BecuT oHa, c~opeii Bcero, 5 r)), BHTHnpennonoxun, TO rupbtia cnenaHa u3 Mean M BeCMT 3 I'. Hropb Xe CqPlTaJl, qTO rMpbKa Ile H3 .'IaTYHM H BeC ee - 3 r. Y Y H T ~ @, IW~~ M K M o 6 p ~ o a a n cq~m, nponaxta Hamnacb, H crtam p e 6 n ~ aYTO ~ , ~arnnblii143H M X npaB TonbKo ~ a n o nouuny. M3 KaKoro MeTanna - n a ~ y (Jl) ~ u unM ~en1.r(M) - ~ 3 r o ~ o e n mpbKa, e~a u KaKou ee sec? B omaeme 3onuudume nCp6ylO 6y~e)'H U ~ ~ ~ H.uemar~a, U R a sarnew zilr+p)~,coomaemcme)mtyyio
Anema, BMTRM
Mropb
HamM
Kamblii A.3 HNX, PaCCMaTHBaR HaXOnKy, BblCKa3aJ
I
~~H+O~M~L[IIOH CH ~O ~% C ~ I ~ C H06~ehlohl2.5 MC M6aiir
nepcnacrcn co c~opOC~bt0 80 K ~ ~ ~ ~ T / M I MH. 3a CKOnbKO M U H Y T 6 y ~ l nepeJaH0 e~ ,laHHOe ~006llle~kie? I
Ha cepnepe info.edu HaxofinTcR cpaii;~e?tam.neL, Z O C T ~ I Ia ~ o ~ o p o . \ocyuec.rarrnercn .~y I I O rlporo- I Kony http. @panie~Tblanpcca naHHoro saKorZMponalibl6yti~a~n a, b, a .. . g ( c ~ra6.n~. ug). 3anuruure nocne;loBaTenbtrocTb ~ T M X~ Y K BKoropan , liO;tnpyer axpec y ~ a s a l r ~ o tpafiira ro B I MH~eptleTe. I
!
I I I
c f u
I I 1
.edu htt exam :/i
I
I I I
p m ~ RO3paCTaHUJI e KonMqemsa crpa~ulr,mopbre ~aijnernoucm~bliiceptKp no K a m o y sanpocy. Anrr o 6 0 3 ~ a r e ~.iiornqec~oFi w~ onepauwi "MJIM" B salrpoce u c n o n h . ~ y e ~ccu~~ a o n1, a Ann n o r n ~ e c ~ oonepaquM ii "M" - &. ' a Ablepn~a Ilyl'eLUeCl'WHHUKI4 ( KOJIYMG b Ahlepu~a IlyTeLUeCTBeHHHKli I K o n p 6 I OTKPblTUe c A ~ e p u ~Kony~n' a d Ahlep~Ka& n~eUIeCTBeHHHKR& K o n y ~ B Omsem sanuutume s e d e noc7edoeame~7b~ocmlt coomeemcmqroryux 6 y ~ s .
He 3abydbme nepefrecmusce omeemar s ~
J T ~ omsemos H K
Nc~ I.
1 I I I I
I I
I
AH sanucu umsemoe K 3 a d a ~ u msmoli
I Ic1I
I
I
Tpe6osanocb HanHCaTb rrpOrpaMbly, KOTOpaH OnpeAenneT, AMeeTCn SIU Cp'2lll.l BBeneHHhlX C ~ n a ~ ~ a r yuenblx p b ~ sucen a u h xorn 661 o n ~ yewoe. o Eibrna ~ a n u c a ~ cnenyloqarr a npo-
,
I I
I I
I I I I I
qacmu (CI - C4) ucnonb~ytimeI o ~ sada~ug e p (Cf u & A ) ,1
I 6 n a i t ~omgemoflJV2. 3anuucume c ~ a v a v a~
IIporpa~~ Haa n a c ~ a n e var a, b: integer; begin readln(a, b); a := a mod 2; if a > 0 then b := b mod 2; if b > 0 then uriteln ( ' ~ ~ T E I ~ qncen IX H~T') else writeln('sm~oesucno ecm'); end.
l l p o r p m ~ a~a 5eficu~e INPUT a, b a=aMOD2 IFa>OTHENb=bmod2 IF b > 0 THEN PRINT " ~ ~ T H ~sucen I X ~er" ELSE PRINT "qemb~eqncna e m END "
n ~ uar p o ~ anrpalo~B cnenymuym urpy. nepen H M M U n e x a ~TPU KY'IKU ~ a ~ ~ Re nep~oii i i , u1 KOTOPbIX 2, BO B T O P O ~- 3 KPMHII. Y KaHCAOfO MrpOKa HeOrpaHHqeHHOe KOJIUqeCTBO Ka~Hefi. Mrpo~ux o m ~no osepemi. Xon COCTOUT B TOM, TO U ~ O unu K yBenusuBaeT sucno ~ a ~ ~B e f i K~KOC-TO KyYe B 3 pa3a, M U n o 6 a ~ n n e3 ~KaMHII B nm6yw U 3 Ky9. BbIFilpb~BaeT IITOK, nOCJle XOAa KoTOpOrO o6uree 'fUCn0K ~ M H & B nBYX KY'IaX CTaHOBUTCR He MeHee 33. KTOBblUrPbIBaeTU ~ K n e ,n a ~ w ixon i nepemf, unn. u r p o ~penamuruii , xon BTOP~IM? Ha K)poncKofi OnHMniiwe no U H + O ~ M F ~ T UYYaCTHHKaM K~ 6b1no IlpeAllOXeHO BhlnOnHNTb 3 3aAaHUII, KWOe U 3 KOTOPblX OlleHUBisanOCb no 25-6aJIJIb~ofiUlKisane. Mseemo, 910 o6uree KOJlUqeCTBO YqamHnKoB nepBoro v p a o n u M n n w He npe~ocxo,au~ 250 re nose^. Ha ~ x o nnporpaMMb1 nonamcn ceeneaua o pe3ynb~maxo n u M n u w . B nepB0fi CTpOKe BBOAUTCII KOJIHrleCTBO YqaCTHUKOB N. Aanee CneAyIOT N CTPOK, UMeK)IL(UX cneny~owfi+ o p ~ m < : m a ~ ~ >n < 5mb1>. 3necb < O a ~ m u > n - crporca, coc-coautarr He 6onee seM u3 20 CuMBonoB; < MMH> - CTpOKa, COCTORU@% He 6onee YeM 1.13 15 CUMBOJIOB; < 5annb1 > - cTpoKa, conepmaluar ~ p uenMx u w c n a , p a 3 n e n e ~ ~n ~ p ox6 e n o ~ , COOTBeTCTByloU3UX 6 a n n a ~IIOJIyseHHbIM , YYaCTHUKOM 38 Ka3KAOe 3anaHUe nepBOr0 Typa. llpu YTOM < (Da~unrn> u < <MII >. < <MR > u < 6annb1> p a 3 ~ e n e ~onHnM b1 npo6eno~.
I
25 18 16 19 15 Hannuru~eI l p O r p a M M y , KOTOpaX 6 y ~ BblBOJHTb e ~ H a 3 K p a H ( P ~ M M J I u K ) W UWH Y Y a C T H H K a , ~ a 6 p a n u 1 e l o MaKCMMitllbHOe KOJlllYeC.L.BO ~ B J I J I O B .ECJIM C p e i l U OCl'itJlbHblX YYaCIHMLOB eC.l.b y g e H u K u , H a 6 p a B L U U e T a K o e x e K o n n K r e c T B o Ganno~,TO nx 4 a ~ u n u un n i u e H a T a K x e cnenye-r BblBeCTM. npl.1 3TOM U M e H a U ( P ~ M M ~ U MU O X H O BblBODMTb B TlpOM3BOJlbllOM IlOPIIflKe. n p M ~ e p b 1B X O D H ~ I XCTPOK:
~ ~ T P Oxbra O B ~
~ ' ~ ~ U H U Y ~ MBtlH H K O 14
1 I I I
I
I I I I
I I I I I I I
I I I I I
I I I
I I I I I I I I
PEUIEHHFI M OTBETbl K BAPHAHTY 3
nepen IlepBbIM XOnOM C y u e C T B y i O T 16 (4 X 4) pa3JIH.IHbIX BapUaHTOB PaCnOJIOXeHHR ( H a M W B O M none, n03TOMY KOnHYeCTBO H H @ O P M ~ ~I H MOXHO H ~ ~ ? THU3 YPaBHeHMR: 16 = 2'. &KY-
llepe~enewsucno x B A B o n Y H y m c n c r e M y crucnesnn: x =56,, = 101 110,. B ~ I ~ O ~c H n oHx iB~ n eB w u r ~ o iCin c r e M e , ~OJQTHM: 1 0 1 1 1 0
n
m
10 12 10 20 8 40 80 6 160 4 T ~ K HOM ~ P
Ycno~ne me6 H ~ T HCT
H~T.
HeT
la
m:= m-2
n:= n * 2
m:= 12-2 m:= 10-2 m:= 8-2 m:= 6-2
'n:= l o * 2
I
K o ~ e uBbIllOJlHeHHH (@W?deHTa
n:= 20 * 2 n:= 40 * 2 n:= 80 * 2 UIfopUTMa
~ O MB , pe3yJlbTaTe BbInOJTHeHHR npeACTaBJIeHHOr0 @ p a l W e H ~ aa l I r O p U T M a 3 H a Y e H U e
n p a r p a M M e r l u e e r c r r LluKn, n e p e M e H H a n
COCT~BUM ~ a 6 n u s yUCTUHHOCTN
z
z>2
uuma i
no 5 c
I , npu 3TOM ~ a x n b p~ a E npcr R h l n o n H e H w n rena umna n t r a q e l r u e r ~ e p e h ~ e ~ t S r o6yile.r E yeennLmsarhcrri l a uennq U H Y T e K Y U l e r O 3 H a Y e H N H T.C O C T ~ B T U~M~ ~ I MB bUl n OYn H e H M I I @ p a r h f C H T a n p O r p a M M b l : B
U~~~~HIICTCII*O I T
JIO~U'leCKOrOBblCKa3blBaHUR Anll IlpeJJlOXeHHbIX 3 ~ a q e H k i f i
z>4 ( Z > 2 ) v ( Z > 4 )
2'3
((Z>~)V(Z>~))->(Z>~)
1
JlVXb
JlVXb
JlOXb
JlOXb
MCI'MHa
2 3 4
n o > ~ b
nom~
noxb
n o x L
n c ~ u t ~ a
UCTHHa
nOXb
UCTUHa
nOXb
nOXb
UCTHHa
nOXb
UCTUHB
UCTUHa
NCTHHa
T ~ K H06pa30~, M BbICKa3LIWdHI.te 6 y n e T n O X H b 1 M r r p U Z = 3. n p a ~ l l n b ~ b lOTBCT: fi 3) 3. n p e o 6 p a 3 y e ~M c x o n H o e n o r u q e c K o e B L I p a n c e H n e ,
A ~ a n u ns p e Z C T a B n e H H b l X C X e M ITpUBOjIUT H a C K BbTBOAY, y m non H o M e p o M 1. r T o na~nofi.ra6nnuc c o w ~ c ~ c r ~cxcara 1).
1- '
2
3
ucnonbsy~@ o p ~ y nsy a ~ o ne ~ aM o p r a ~ a :
-(AvB)&-C=(-A&-B)&-C n p a s n n b ~ b ~oT6e-r: ii 3) (-A & -B) & -C.
n p i 3 ~ U J l b ~ b lOTBeT: h
LuaroM
4
Torna npu KOnApOBaHMM nOCneAOBa'TeJ1btIOCTU KMLN nonyYHh4 1000 1010 1001 101 1. Ec.4~ ~ HaBOllYHOe O C T ~ YUCnO ,TO R BOCbMepM'iUOM KoAC PaCCMaTpMBaTb nO!IyYeHHyloI ~ O C ~ ~ A O B ~ T ~ ~KaK O H O ~ Y ~ ~ ~1000 T ~ 101 ~ B0Hl 0O 0 l:1 01l,= 105233,. npaBwJIbHbli%OTBeT: 2) 105233,. P~CCMOTPUM Uen09KM U 3 ~ Y C N1) H: 2) 6l-3 3) C r x 4) m C . Cornac~oycnosulo sanaqu Ha nepRoM 1qecTe - 6 y c u ~ acuHero wnw xenToro uee-ra, nosToMy cpa3y ncKnmiaeM o r o e ~non rioMepoM 2) El-3. Aanee, ecnu nepeax 6 y c u ~ ya HaC -TeMHan, TO B CepenuHe 6 y c u ~ a n o n m ~6bl~b a CBeTnaR, U H ~ O ~ O P O T . 3 r o ~ YC.~OBMK) y COOTB~TCTBYIOT nocneaoBaTenbIfocru non HoMepaMn 1) XCT u 3) C M . M,HarcoHelI, Ha nocnejlrebr hfecTenonxtla 66136 ~ Y C M Genoro, H~ rony6oro unu cmero uaera, He cronluan 13 UerrwKe o cepeAkrtje. 3 1 ~ ~~ C J IyO B W I O ynoawruopna nocJieaowrerrLtlocr6non Hohfepov 1). npa~WJIbHblfiOTBeT: 1) XCT.
O s e e u ~ o TO , WRnepeMelueHun @ a h a3 a ~ a ~ ~ - n o - n p o r p a ~ ~ r 1 p o s a ~ w 6b1n i o . t xco3na~ t nonro KaTanor c MMeHeM 10-CLASS. I l o n ~ o eMMH n a t ~ ~ o nonrtaraaora D:\ INFORM\ LESSONS\ lo-CLASS, TaKWM 0 6 p a 3 0 ~nonKaTanor 10-CLASS 6b1n CO3,WH B KaTanore LESSONS, rlonlloe uMn KoToporo D:\ INFORM\ LESSONS I l p a e n ~ l b ~ bWBCT: ~ i i 3) D:\ INFORM\ LESSONS.
n p n ~ o n u p o e a ~ umue i i ~ uC3 B nreCi~yB3 a6conm~b1E anpec $A$] MeeRncn He 6yne~,a anpec B 1 U ~ M ~ H U TBCCooTBeTcTBun ~ c n e p e ~ e u t e ~ uu3e C3 ~ B B3, T.e. Ha OAUH cron6eu meso. Torna nMecro o ~ ~ r o c u ~ e n b ~anpeca r o r o B1 nonywm anpec A1, T ~ K U Mo6pa30~,ucxomrart + o p ~ y n anpuM€!TRuA$A$~+ A ] . n p a ~ n n b ~ b roTser: ii 1) $A$ 1 + A I.
@eeun~o, TO M C T K H H ~ I M6ynw nepBoe yTBepxneHue, T. K. no BaHHbrM r r p c n c ~ a e n e ~ ~~oai6in u u b 1 MOXHO nocTpoun KaKnMarpaMMy, OrpaHtamuym ~ U C J I ~ H H O CHaceneHuR T~ B nepewcnenHUx c-rpaHax B 1970 u B 1989 rr (CM. nuarpaMMy I), ,raK H cpasHwenbHyro n i a r p a n t ~m ~ p, a x a m u y m qncJIeHHOCTb HaCeneHMR B 1970 u 1989 r0ny B K ~ W O # l43 C V ~ H . npa6~JIbilblfiOTBf%: I ) 06e nRarpaMMbl BepH0 OI'paXalOT AaHHbIe, npencTaaneHIibte B ~a6nuue.
K o M ~ H ~ HoMep ~
KOMaHAbl
Yhr~~omb Ha
2
Pe3ynb~aT BblIlOJlHeHHJl
flp~~eqa~tie
KOMaHnbl
10
2
O ~ ~ B U AYH TOOnepBaR , KOMaHila nOJ'IXHa 6b1Tb KOM~HAO Y~Y I ~ H O NU~3,I C T.K. ~ 9 nPOTMBHOM cnyrae nonylrnM oTplrsarenbHoe rrrcno.
1 7 He'lpyn~oflpOBepUTb, Yro, Bb16upa51U H F 2 2 14 nOCJleAOBaTenbHOCTb KOMBHJ, Mbl He Y M H O ~ KH~a 2 2 28 A o c r N r H e M HtenaeMoro p e 3 y n ~ r a ~3aa 5 uraros. B ~ I ~ 3T U 1 25 T ~ K U06pn:30~, M nosryLmhlcneny mrltyto nporpaMMy: 2 1221
R h r r r ~3
Ybr~iombna
'
M - 3qe.m; 5 - 5 I ; 4 - 4 r; 3 - 3 I. TOF'fla CyjicnekIMH ManbYUKOB hlOjKHO 3aHMCilTb KOPOTKO C.7CJ)'KILLlHM 06pa;oar: A.icrrra: .Jl . 5; Bnm: M . 3 Mmpb:-fl . 3 . Kpo~~ e o r oU, ~ B C C T H O ,YTO KTAC~~I,I# ~3 pe651~ o~a3anc npaB ~ nnulr, HanonoRmy, ~ O ~ -n.j+-5.n= I ; - M . ~+ - j . ~ =1;-3.-4+4.J= 1. O q c e n n ~ o ,~ e o 6 x o n n ~ paccMorpe-rb o 6 cnyraes: n5; J?; n3, M5: M4; M3. COOTBe'rCTByWUlykO ~ a 6 n u u yHCTMHHOClM:
B ~ e ~ e h ~ o 6 0 3 ~ a.JIr e ntirym; ~~n:
T O M ~ :
Cncra~~r~i
n p ~ k l y ~ e p y e HalIlM hl nOCfleilOMTWbllOCTl4 (CTPOKM) N nPOaHaflA3UPYeM KOJIW'ICCTRO I [ H ( ~ P 1 8 KBX-
20k
M3 HHX. ~ O J I Y Y C H HA~a HI H ~ b l e C B e S e M B C.rlC2YFOUYK) T ~ ~ J I M U Y :
O s e a w ~ osm , anpec y ~ a 3 a ~ ~ o@r -aoh aB c e T n M H T ~ ~ 6yne~ H ~ T cnenymlunv: http :N info .edu I exam .net e g a d b f c
C ~ MMaJleHbKOe O ~ KO.lHqeCTB0 CTpaHMu BblZiHO H a 3 a n p O C C CaMbIMM (OKeCTKUMU)) YCJlOBURMH: A M ~ ~&unyTelUeCTBeHHMKU K ~ & K 0 n p 6 (d) M AaJlee B I l O p R n K e CHclmeHHR (<XeCTKOCTU)>: A h l e p u ~ aI Konyw6 (c), A M ~ ~I IlyTeLlIeCTBeHHMKM H K ~ I KO.IYM~(a), AMepUKa I IIyKWeCTBeHHHKH I K o n y ~ 6 I OTKPblTUe (b). T ~ K N06pa3oh1, M n o n y 9 u M IlOCJIe,QOB~TeJlbHOCTb:d C a b
n p o r p a ~ ~a ~ an a c ~ a n e var a, b: integer; -
/ INPUT a, b
nporpa~~ t 1aa . 6 e i i c ~ ~ e
begin readln(a, h); a := a mod 2; if a > 0 then IF b > 0 THEN PRINT " ~ ~ T H L Dqueen ( H~T" I begin ELSE PRINT " r e ~ ~ b wcqa r e ecm" b := b mod 2; END IF if b > 0 then ELSE PRINT "qerm~ewcna ecm" writeIn('qe~~b1x qucen H ~ T ' ) else writeln('qeraoe wcno em'); END IF END end; else writeln('lre~~oe lrucno ecrb'); end. 3) Bo3~oxlracneayloluarr nopa6cn~anporpaMMb1 c ucno,~t,3o~at1ue~ noru7c4ec~ofionepauuu OR.
l l p o r p a ~ ~~aa I-lac~ane var a, b: integer; begin readln(a, b); if (a mod 2 = 0) OR (b mod 2 = 0) then writeln('qe~~oe w c n o ecm'); else writeIn('qembrx secen H~T'); end.
llporpa~~ ~aa 6eticu~e INPUT a, b a=aMOD2 l F ( a M O D 2 = O ) O R (bMODz=O)THEN PRINT " q a ~ r ~quala i e ecrb" ELSE PRINT " ~ ~ T H ~ween I X H~T" END
~ ~ ~ M ~ I ICTPOK T O BB I I P O C M O T P ~ H H O ~qacTu MaccuBa 6yaehi An9 xpaseHnn ~ a u ~ e ~ r b u rCYMMLI eti U C ~ O J I F , ~ O B ~npoMexyrosHym TL UenoqucneHHym nepeMeHHym Smin. K p o ~ eom, HaM no~ano6urcrr UenowicneHHan nepeh.reHHarr xpaHeHuR HoMepa C ~ J O K H , B KOTOPOZ~ ~ e ~ y w cyMMa an ~ ~ M ~ H T O B o~a3anacbM M H U M ~ J 0I 6~ 0H3O~ ~a q~u,JIY~ nepeMeHnyfo Nmin. B Tene uuKna 6 y n e ~B ~ I W ~ C . - I I I T ~ CYMMy 3neMeHTOB 0~epeaH0fiCTPOKU H CpaBHUBaTb ee C yXe H ~ ~ $ ( ~ H H MMHUMYMOM. ~ I M B TOM cnyrae, ecnu c y m a oKaxeTcn Memure, B n e p e ~ e ~ ~Smin y ms a ~ e c 3~aveeue e~ s ~ o RHOBO^^ C ~ M M ~ I , a B n€JleMeHHyH, Nmin - HOMep T ~ K ~ u CTPOKH. ~ G M TaK A 0 KOHUa UUWIa, IT0 OKOHqaHUM KOTOPOrO IIOJIyWlM HOMep UCKOMO% CTPOKU kl CyMMY ee 3neMeHTOB. ITpu~ep~ a ~ onporpaMMar: ii
const M = 20; var a : array [l..N; 1..MI of integer; Smin, Nmin, i, j, S: integer; begin Nmin:= I ; Smin:= 0; for i:= 1 to N do begin S:= 0; forj:= 1 to M do begin S:= S + a[;, j] end; if S c Smin then begin Nmin:= i; Smin:= S; end; end; writeln(Nmin, Smin); I end.
M=20 DIM a m , M), i, Smin, Nmin. S AS INTEGER Nmin = 1 Smin = 0 FOR i= 1 to N S= 0 FORj= 1 toM . S = S +a(i,j) NEXT j IF S < Smin then Nmin = i : Smin = S NEXT i PRINT Nmin, Smin END
[
-
1-8 xon
Mcxoa~roe I Bceeapuawbr ulcronrrne xona I crrpotia
I
1 I (
2-8 xon
1 I
3-8 xon
1
4-8 XOA
1
B ~ I A I D ~ I II UBce H ~RilvllaHrhr I~~ I BLIUI.V~IIUHLI~~ 1 noncsexoa I I nrpoh-a xoda I n r p o ~ a xoz 11 MrpoKa RMIL 27, 3
I
I
1
B ~ o p o nIirpOK BblMrpbIBaeT H a 4-MXOBY nocne nto6oro omma nepeoro urpoKa,
T ~ K Uo6pa30~, M us ~a6nuub1BUAHO, ' i ~ onpu n m 6 0 ~xone nepsoro urpoKa y ~ ~ o p ourpoKaBcerna ro mee-rcrt x o ~np~eo;.lauclti , K nogene.
npuMCp npOrpaMMb1 Ha rt3bIKC n a ~ ~ ~ b : var a:array[l..250] of rxord narne:string; surn:real; end; c:char; i, j, N:integer; m, s :real; begin readlnw); {cqwra~oKonMvemo yvacTHsKoa o n n ~ n u a n b ~ } for i:=l to N do begin a[i].name:="; repeat read(c); a[i].name:=a[i].name+c ~a yvac~~u~a} until c=' ";{ c q u ~ a @munun repeat read(c); a[i].name:=a[i].narne+c ~HO ~I~CTHUK~) until c=' ";{ C ~ I U TUMJI a[i].sum:=O; for j:=l to 2 do begin read(rn); a[i].sum:=a[i].sum+m end; { n o n c ~ n ~cyMMa a ~ a 6annoe}
readln; end;
s:= a[l].sum; for i:=2 t o N do if a[i].sum > s then s:= a[i].sum: for i:=l to N do iTa[i].sum = s then writeln(a[i].name); end.
BAPMAHT 4 Y ~ c 1T ~ 17pu ebzno~zwe~uu 3adanuii smoii uacmu s 6,zafi~e omsemos NZ 1 nod tco.wepofi eamo,vri~~,tioro $ m u 3adanu~(A1 - AZO) nocmaeame 3 ~ (( a x))~ 6 memoq~y,
1 HoMep ~omopoiicoomeemcmeyem Hofieyq.@ & L ~ ~ U H H O ZaOm u omsema I
-
I
Yncno A87,, npencTaebTe B ~ o c b ~ e p ~ qcucTeMe ~ o i l cyucnetiufi.
I
I
I
I
Bbl~ncnn~c c y ~ h i y~ ~ c xe nny, ecnn x = 5A,,, y = 10101 Pe3ynb~a~ n p e n c ~ a ~ Bs ~ eo c b ~ e p w x ~coui ic ~ e cqacne~us. ~e
I
Onpe,~enuresHaqeHue nepeMenHhrx x u y nocsre nhlnonHenun cbpar~ewranporpaMMhr. A~~O~MTMU GeficM~ R 3 hY l K~ C K U ~ ~ nac~anh x = 11 x:= 1 1 ; x := 11; y := 5; y := 5; y=5 t := y; t := y; t= y y := x mod y; y=xMODy y := mod (x, y); x=t x := t; x := t; y=y+2*t y :=G+2* t y := y +2* t 'MOD - cratmapTiran one{mod - c-rarraaprllan onepa/mod - cratraapTrrafionepaOCXIUHR, BblqMCnSitOIllaR OCTaTOK PaUMX, BblYUC~UtOUafl UMR, Bbl9UCJIRIOLUaR OCTa TOK TOK OT neneliun Haueno nepOT nenetlun Haueno nepeoro or ne,Tetwn Haucno nepeoro nor0 apry~elira~ t ~ropoii' a apry~et11.atra ~ ~ o p o f i ) apryhletira ~a ~ropoiil
rnl
l ) x = l l , y = 5 ; 2 ) x = 5 , y = 1 1 ; 3 ) x = l O , y = 5 ; 4 ) x = 5 , y = 10. ~H~WH WeMeHTOB #R flByhlepHOIDMaCCUBa
C
A ptX3MepOM 5 x 5 3WaKnCX nOhlOIllbK)BflOXeHHOrOUUKna B IlPeIlCTaBJTeHHOM @parMe~Te npOrpaMMb1:
6eficUK flactianb Fori=1~05 Fori:=I~o5do For j = I TO 5 For j := 1 TO 5 do begin A(i,j)=i * j Kext j A[i, j] := i * j Next i end; end
A I I ~ O P U T M H YII3bIK ~CKU~ H U W ~ ~ ITn 0 5 HI^ nn8 i OT 1 no 5 A(i,j)=i * j El E4
KaKOI'O HhIeHH UCTUHHO BbICKa3blBaHUe: 6yma U M C I I U r n a c ~ a ~ ) ? (Hepaax 6 y n ~ aNMCHU cornactiafi -> TPCT~R
&lll
1) lOJIH5l
2) nETP
3) A J I E K C E ~ ~4) KCEHMR
CHMBOJTOM T 0 6 0 3 ~ a s e ~OAHO'U3 0 ytia3aHHblX HMWe JlOrH'IeCKHX B 4 p a r M e ~~a6nwqbl ~ HCTHHHOCTM, orrpenenu-re, qeMy pamo T: OT TpeX apryMeHTOB. k'icIIonb3yfi
~ I ~ ~ X ~ H U U
B ~ a 6 n ~ u IlpMRe~CHa ax CTOUMOCTb 17epeR07KM TpY30B MeXJy COCefiHkfA4U CTaHllilXMl4. E c n ~ nepecewuwe C T P ~ K MM cron611a nycro, TO coorRe-rcreyioruue crartuw He geirrrmrca cocenlJI[dllR BblIlOnHlle7Tll YCnOBMe ' ' M a ~ ~ M h i a ~ ~ bCTVt-la~ HMMM. Y~a)l~Ml.e IlOMep T ~ ~ J I H ,'L ( ~KO.TOPO~ I,
eCnU M3BeCTH0, IITO BCe 6 ~ ~ B ~n0Cnell0B;ITe~lbHOCTM 6 1 - pi33Hble. I ) cbade 2) acdeb 3) acbed 4) bacde u e n o r ~ aii3 Tpex ~ Y C H H(~)OPMMPY~TCII no cnenymuelrly npasuny: Ha nepuoM vecre crow^ o:IHa M 3 ~ Y C H I I 5, B, r. Ha BTOPOM - OnHa M 3 GYCUH A, 6, B. Ha TpeTbeM M s C T C -- oAHa M 3 GYCMH A, B, T; H e croxulan B u e n o q ~ eHa rrepnobi unu m p o Mecre. ~ K a ~ a nu3 uenoveti c 0 3 ~ l a ~no a TO MY rrpanuny? I) AT6 2) BAA 3) ErB 4) TEA Y v u ~ e n bpa6oran B Karanore D:\ Ma~epwanblr ypomht \ 10 Knacc \ lTpamrecrne pa60Tbl. 3 a ~ neperuen e ~ B AepeBe Karanoma Ha yposeHb sblure, cnycruncrc B noAKaranor Jlelcuuu u ynanun u3 Hero @ a hB e e n e ~ a eK . a ~ o n ononHoe uMn @ h a , ~moph-liiyaanun npenoaaeare~~b? I ) D:\Ma~epnanblK yporaM \ 10 rnacc \ Beenenne 2) D:\ Ma~epnanblK ypolcaM \ 10 rnacc \ JJe~unn\ B e e n e ~ u e 3) D:\ M a ~ e p u a n br~ypolcahr \ Jlelcunw \ B s e n e ~ n e 4) D:\ Mmepnaabr K ypolcaM \ Jle~cuuw\ B s e n e ~ n e
npn pa6o~ec x ~ e ~ ~ p o~a6nnueii ~ ~ o f iB ~ l r e a E3 ~ e sanncana Gop~yna B2 + $C3. Ka~0iiBHA npuo6pam a o p ~ y n anocne TOrO, KaK ~ l r e f i ~E3y CKOnnpym B s ~ e i i D2? ~y l7pz~uevalrue:CWUBO..~$ 8 $opwy.'~e0603~avaemar5co~~lomwy~~ bdpecayum.
I
I H a s e a ~ nporrnea ~e 1
~ H H (KM) B
6oc$op
30
I
I r n f i n ~ a(M) I 20
K a ~ o en3 CneUyIOUInx ymepmne~niiNCTUHHO? 1) 0 6 e marpaMMh1 BepHo o.rpaxat0-r n a ~ ~ bnpencrasnenabIe ~e, B ~a6nwue. 2) HH OAHa n3 DnarpaMM He COoTBeTCTByeT AaHHbIM, IlpeACTaRIeHHbIM B ra6niue. 3) A n a r p a ~ ~I mpaxam a m y 6 n ~ ynponnaos. 4) A n a r p a ~ 2~ oTpaxaeT a nnnHy nponneoe.
&K,L~M ClyIIeHbKa
~ a ~ 0JleCeHKR fi H M e a OZHy e a H H F l w no BblCOTe
N U e n O e KOJIULIeCTBO e.5UHUIl R IWIHHY. M c C I O J I H H T ~ ~Y~M e W RbiIIOJlHRTb KOMaHnbl
BBEPX II BnPABO N,me N - m H H a V n e H b -
KM, nPMVCH a3FQPNTM RCCrna Ha'IMHaCICX K O M B H ~ O % BBEPX ki
3a-
KaHYMBaeTCR K O M ~ H A OBnPABO. ~~
Heo6xonu~0,BblnOnHHB 8 KOM a n n , n o c T p o M T b n e c e H K y n3 ~ a b ~ p cer yxn e H e K , senymym u 3 TOYKR A B TO'1KY B. T O Y K A~NMCL'I' KOOPnUHaTbl(0,0) H a KOOPiI.WHaTHOB IlnOCKOCTH, a TOVKa R - KOOP,THHaTbI (5,4). C K O ~ ~pa3nHYHbIX KO I ~ o c J I ~ ~ ~ o B ~ T ~ J I ~KOMaHA H o C TM ~ ~O~Y T n p R B e c T M K~pe6ye~o p e~3 y n ~ ary? r
I I
I I I I I
I I
Omsemo,~K 3ada~u11,u smoii yacmu (BI - B8) mwzaemcx na6op cu,nso;ros, ~ornopbiemebyem sanucamb s r S i l a ~o~m s e m o s ~Ii cnpasa om ~omepa coomsemcmsy~ocyezos a d a ~ u ~ naruna~ , c nepsou KnemorKu. Kaxcdaiii cmgon numume s omdenbtlor;r KnemorKe s coomsemcmsuu c npusedeuH ~ L U U0 6 p m ~ ~ a . w ~ . Y ~ a x n uepel ~ e mnwrym s nopame eo3pacras.a
Bce ocHonaHua
cucreu C r w c n e H u f i . n m r o p b l x
TpM YqeHPitia M 3 pa3HblX LUKOn Ha BOnpOC, B K ~ K IUKOJIe O ~ YYaTCn, O'ltlCIM!lM: I Nc76. Ap~ehf: n yrycb B uKone N~534,a K H ~ U -~ BJ ruKone Kupwn,~: n yctycb B urKone Nc534, a A ~ T -~ R M IllKone Nc105. M a ~ c r r ~ R: yrych B ruKone N9534, a A p ~ e hi B IuKone Nc76. Ksu~nblCi~3 Hns onMH pa3 c ~ a 3 a nnpaBqy H O ~ I pa3 H conran. B Kaiipix rulionax yLlarcnA p e u , K u p ~ n nM M ~ K C M M ' ?
~ a ~a o n ~ o Ci T V ~ H M U-~3072 c ~ s i e o ; ~ a . 6b1n n p c n c ~ a m eB ~K O ~ M I ? O B KUnicode,
I
Ha cepeepe school.edu HaxonMrca $aCi.rr rating.net, n o c y n K Kwropouy ocyruccronneTcx rlo []POhttp. @ I > ~ ~ ? W Hanpcca T ~ I JaHFIOrO aafina 3aKOnMpOBallbl 6yKBaA4M a, b, C.. . g (CM.~ a 6 n ~ , KonupyeT aapec y~a3at11to1-o +aha uy). 3ancrww~enocnenoBaTenbHocr TUX 6 y ~ qtioTopan
TOK0,TY
B ~ a 6 ~ 1lrpwnerreribr ~ue sanpocb~K n o ~ c m B o ~cepBepy. iy Pacnonoxai~e0 6 0 3 ~ a q e ~ m ~ ~ r p o c uu noe e~ cepnep I I O t i w o ~ 3ar1pocy. y pnnKe y6brea~binKonuLlecrRa cTpafim1,K O T O P ~ ~I ~a i i n no~clcoeb~ii AJIXO ~ C ~ H ~ ~ Y J~I OHI 'MM LH~ C C K Oollcpal.lclM ~ ''Z?flki" B 3allpoce Mcllc~Jlhlcyrl'cnC M M H W l 1, ;I :lIIW j r o ~ w * ~ e c ~osr&pa~.r~w oii "M" - &. a M H ( ~ O ~ M ~ T M&K ~B O K & M Excel p o~ ~ u( Excel 1 nsarpaima b M H @ O ~ I V I ~ T My K c ~ 1 l ~ ~ p ~ x IYPOKH " I ' ~ / aExcel d Mw$op~aru~ia,warpahma Or~lsetnsanzrurztrne A ~zddenocJ?edo6u?ne~~bttwmu coornclemcrnclvmlui~6 1 ' ~ ~ .
I f l n ~sanucu omsemos K sadanum 3moIj rcacmu (CI - C4) ucnonb3yrime I 6,van~omsemos N-o2. 3anuurume cHarana noMep sadanurr (C1 it md.), a 3amejrz nonnoe pefflenue. Ontsembl sanucbrsaume remKo u pa36oprcuso.
W
'
nporpamy, m p a n o n p e n e n n e T , MOXHO nu n o c T p o u T b -rpeyro.TbHuK u 3 OTpC3KOB C &lIUIWHaMUIW X, y, Z. n p ~ r p a h l DOnHcHa ~ a BblBOnUTb COOTBeTCTByIoUlee TeKCTOBOC coo61 u e H u e . n p o r p a ~ ~ caenan u c ~ B npor-pame oruu6~u.n o c n e a o ~ a ~ e n be b~ron o n s w e s a n a ~ n ~ : I ) n p n ~ e u u ~n peu M e p T a K u x qucen x, y, z, npu K O T O P ~ I Xn p o r p a M v a H e s e p H o p e w a e T
Tpe60Banocb H a n u c a n
p a 6 o ~ b 1(MOXHO YKa3aTb OAnH U 3 C ~ O C O ~ OnBo p a 6 0 ~ ~ wcxo~~oii u ITporpa~Mb1).
3) Y ~ a x n ~KaK e , MOXHO nopa6o~a~t. nporpaMuy, AND unu OR. n p o r p a ~ h r aH a nac~ane var x, y, z: real; begin readln (x, y, z); if(x + y > z) then begin if(x + z > y)thcn if (y + z > x) then ~ r i t e l n( L ~ p e end;
q ~ 0 6 b lo H a
conepxcana n o r u r e c K y r o onepaqum
n p o r p a ~ H~ aa6eEcu~e INPUT x, y, z IFx+y>zTHEN TFx+z>yTHEN IFy+z>xTHEN P K N 1' " T ~ ~ Y
~ O ~ ~ H H K
~om~ro" ENDIF
nocrpon-rb ~ r ~IIOCTPOHTb J l b ~ ~ MOXHO'); ~
w r i t e l n ( ' ~ p e y r o n b ~nuo~c r p o m h
PRINT " T p e Y O n b H U K nOCTPOHTb ~ e J l b 3 R ' ' END
11en1,3a');
end
A ~ KH ~ ~ ~ T MaCCHB H ~ IUenblX E nOllOXllTenbHblX
qHCeJl
10 X 10. O ~ U W H H aTPYCCKOM ~ R3blKe
I U U H a OAHOhl H 3 113bIKOB llPOTl)aMMUPOR8HUR a n r O p U T M B b l ~ U C n e H U XCYMMbI 3neMeHTOB CTPOKU, B
KO'r0p0fi PaCIIOnOXeH 3 n e M e H T C MaKCkfMaJIbHblM 3Ha'leHWeM. B ~ I B ~ C3 HTaU Y e H n e CyMMbl npennonaraacs, r-ro ~ a ~ o sneiuem Ei ~AHHCTB~HH~I~.
H a neqa-rb,
2 M 4 @UUIKN. 3a OAUH XOJ p a 3 p e U I a e T C R U IWpKe, ~ ~ ~ U~n H n 0 6 a B ~ T bno A B e @UUIKU B K a X -
A a ~ b S1B e l'OPKU @ U U I ~ KCOZ~PXaLLIUIWX , COOTBeTCTBeHHO U-JU YnBOllTb KonUqeCTBO $ U W ~ K B K ~ K O E - H
nyI0 113 DBYX IWPOK. B b l l l r p b l ~ a TOT e ~ U p O K , nOCJle q b e I W XOna B ABYX rOpKaX CYMMaPHO CTaHOBEiTCs H e M e H e e 24 @ U I U ~ K . MIQOKH XOnRT 110 OYepeUH. KTOB b l U l p b l B a e T - HIFOK, A ~ J I ~ I O U I U E xon n c p s b l M , unu u r p o ~nenammuji , XOP. BTOP~IM?
I I 1 I
I I I I I I
I
I
I
Ha sxon n
p o r p a ~ nonarorcn ~ b ~ c ~ e n e ~ ou pne 3 y n b ~ a r a xcnaru
~ m a ~ e Y~~ o~ Ue~ U M U9-x C R matMssecmo, 'iTO 06uee KOnMqeCTBO YYeHUKOB H e IlpeBOCXOAHT 60. B n e p B 0 f i CTpOKe BBOJlnTCR KOJIHqBCTBO YqeHUKOB, CiIaSaBUIllX 3K3aMeHbl N. A a ~ l e M e eXylOT N c r p o ~n~emluux , cnenymwuti 4opua.r: < Q a ~ n n u n> < MMX > < I j a n n b ~ > . 3aecb < @BMHJIHR > - C T O K ~ , COCTORLU~Rtie 6onee Y ~ ~3 M 15 CHMBOJIOB; < M M >~ - CTpOKa, COCTORUlaR H e 6onee q e M H3 10 CUMBOIIOB; < 6 a n n b 1 > - c-rpoKa, coaepxaluan q e T b r p e u e n b i x qucna, p a 3 n e n e ~ ~ b 1npo6eno~, x COOTBeTCTByloluUx fiaJlnaM, nOJIYqeHHblM YYCHHKaMH Ha 3K3aMeHaX no K ~ X ~ OnpeLIhieT)' # . npu WOM < O a ~ u n n x> u < MMR >, < M M R> u < I ; a n n b ~ > p a 3 n c n c ~ b O,XHHM i npoficnom. ~ P U M ~ PBXOAHbIX ~ I CTPOK: C 0 J l 0 B b e B a M a p u ~ a5 3 3 4 ~ ~ K O MM~~ B K C M4M5 5 4 Hanuluu~en p o r p a M M y , K o T o p a n 6yne-r B ~ I B O ~ H@Ta ~h t ~ . l n u M~ m e H a YYeHHKoB, ~ a f i p a ~ m n x MaKCHManbHyto CYMMY ~ ~ J I . J O Ba, T a K X e KOJlblVeCTBO TaKHX y l e H H K O B . COB H ~ K O T O ~ WtiOJIbl. O ~ ~
PEUIEHMFI M OTBETbl K BAPMAHTY 4 % C T ~1
I l o n c ~ u ~ Iconnvccmo ae~ C M ~ ~ B O ~ I BO AB ~ I I I I O MB L I C K ~ ~ L I O ~ I I M nKnlolran H, 31rarcn npennllallun w npoH f i g onHoro CHMROna ~pe6yercnI tiaii~,unu 8 ~ M T . 6enh1.~ O N ~ Y U T C64. 64 6afi~a= (64 x 8) ~ M =T 5 12 6 u ~ .
AIIX KOllkipOBaHt4R 6nuCHa~iInapCUlMM BOnpOC 0 TOM, CKOnbKO JBOMYHblX pZ3PS1JOB I'IOHS\~~O~F~TCII maiiluero K 60 sucna, nsnrmuleru cTeneHbio qucna 2 u pacnonomeHHoro Ha rucno~oiiocu cnpaea OT HCTO. O'~CBNAI.IO, ' i T 0 3TO YHCnO 64. ,&~J~cc, 64 = 2 6 . ~ O ~ T O Mm L R Y I CTY) K0;IMpOBaHtIR not1ano6m-
.
x
. '
y
1 1 5 35
25 25
-
/ Yc:losne x < 30 i
I
I 20 30 1 I
30 20 )
ycno~kfe 2 y
s:= x-3 y:= v+5
na
HC1'
-
ila
+la
Z I ~
I
I
I I ~ S
,I
1 s:= 25-5 \:= Zj+5 :
8
u:=s+IO y:= y-10 i s:= 15+10 , )I:= 35-10
j
-
x:= 20+10 ' ,.:=30-10 i h'o~re~r 13i,rrron1-1e~un cpparwe~i~a mropwrhqa HCT
-
>
f Llh-Jikl o6pa30~.B p e 3 ~ ; r b ~ hBblnOnHeHMR C ~1pCnCTaB;lelfHOrO@ p a r h I e ~aXrOpMTMa ~a -3~arerlbrfi IlepeMetitrblx 6y;iyr cne,iywurnw: x = 30: y = 20 n p a ~ b l i ~ b OTBeT: ~ b l ~ 3) X = 30; y = 20.
7
u=II;y=j:t=y,~.c.t=5 C)craro~or .lt...reHnn: > = x MOD y = I I M O D 5 = 1 , r.e. y = I : Y = t, ~ H ~ YYM=T5., y = y + 2 * t = I - 2 * 5 = I I , r . e . y = 11. HT~ TaIi~hlo6paso~. no OlcoHWlHHM BblnOnHCHMR ZaHHOrO ( J ) P ~ ~ u ~ npOrpa\iWbl nO,lyqMM: X = 5, y = 1 [ n p a ~ ~ i l b H b 1OTBeT: G ? ) \ = 5, y = 1 1.
O r e u ~ , q ~Lrro ~ o .B pe3~~1brale Bbrno!ilreHun ij)pal-~eti,ranpor pa\Ihibl I I O J I ~ Y M~ C I cne:~y I tonlnli uaccilu (warpnua): 1 2 3 4 5 2 4 6 8 LO 3 6 9 12 15 4 8 12 16 20 5 10 15 20 25 ~ J I ~ M ~ H MaCCMBa, TOB KOTOpble 6onbure 10,3neCb 8. npaB~JIbHblfiOTBeT: 2) 8.
np0a~aJlH3MpyehlnOC.leflORaTeJlhHOCTh ~ R O H q H l r l XltU$p 10001 101 101 10. H ~ T ~ Y7aMeTTMTh, ~ H O YTCI nep~ofis a ~ o n u p o s a 6~ ay ~ s aa: (100101I 0 I I 01 I 0. Aanee B O ~ M O X H ~nBa I cnyllarr: 2) C n c n y m u a ~6yaoa c T O ~ D ~ I O O ~ ~ ~ ~ ~ ~ ~ ~ ~ , ~ M C M MT ~OI ~C A T ~ ~ ~ Y B K ~ B O B C O :~ O I I O I ~ O , 10,3a~cit-~y~sab: sa~ehl~ n e ~ 6 y ~~O O~ Oa! I d 10110. lo001 m l l b ~ i 00 01 10 ! I 0, HO TOI-naH nocnen~eti 3a ~ e icirenye~ i 6 y ~ e: ~ I a00 0 I I 01 1 10, T O ~ K 6 y~ , ~ e~ ~Y K e, B OiIHaKo ~ no ycnoeum n c a ~ o i 3nocnen~eiicneirye~6 y ~ s b: a 3amL[u- ~ c 6y~nb1 e ironxu-la 6bmb p a s ~ i , ~ e . 100 01 I 01 I 0 3tia.i~T, K IlPaBM~bHOHYPeLLleHI.1tO nPMBOAMT B T O ~ OCJIy~afi. ~ 1
1 ) Cncnyrowax 6 y ~ n da
11
n p a s w n h e b i ~oreeT: 2) acdeb.
P a c c ~ o r p nuenowiu ~ 143 6 y c ~ 1)~ A : r6 2) BAA 3) 6rB 4) TEA C O ~ ~ ~y ~c n C o BH MlO o 3 a n a q H H a n e p B o M M e C T e CTORT 0 n H a M3 ~ Y C W b, H B, r, n03TOMY C p a 3 Y MOXHO MCKJlIOqUTb U 3 PaCCMOTpeHMR B a p U a t I T OTBeTa 1 ) Arb. &JIee, H a BTOPOM M e C T e ~ o n m l i 6a b l r b OJHa U 3 ~ Y C H HA, 6. B. ~ T O \ I YYCnORUIO COOTBeTCTBYlOT rlOC,~eAOBaTeJlbHOCTUnos H o M e p a b l M 2) BAA n 4) TEA. M HaKOHeU, H a T p e T b e M M e C T e - OJHa N 3 ~ Y C M HA, B, r, H e CTOIlUaR B UenO1lKe H a nCpBOM UnM w o p o ~M e c T e . 3 r o ~ YCJIOBMIO y Y i l o w l e T B o p n e T n o c n e i l o ~ a ~ e n b b~ non o c ~ ~ o h i e p o l . r 4) TEA. n p a s n n b ~ b ~oiTis e T : 4) TLA.
Y c s o ~ u m(LUwpwr-ra (KM) > 50 HAM rny6ki~a(u) > 5 0 ) y n o B n a s o p n l o I 3arlMcM c H o h l e p a u M 3,4,5, 9. C p e n ~3THX 3 a n M c e C yAOBJleTBOp5lIoT YCJlOBUtO (MecTononoxe~ue= A T J ~ ~ H T H ~ ~O cKK~ P~ ~H~) ~ l W l b K 0 3allMCb 1109 H O M ~ ~ O 5. M f i p a I 3 ~ J I b t l b l GOTBeT:
2) 5.
K a K U ~ B ~ ( ? ~ I Onpki , KOnUpOBaHMU
(POPMYJI a 6 ~ 0 n I 0 ~ 1 i b al eA p e C a S Y e e K Fie MeHHfOTCII, Il03TOMY ailp e C $C3 OCTaHeTCX HeU3MeHHblM 8 qaCTA MMeHM c~on6qa,a B A p e C n ~ l t ' i i t iB2, ~ a T a K X e HOMep D2 y USMeHRTCIl B COOTCTPOKM R a A p e C e $C3 n p U KO~MPOBaHMH4 0 p ~ y n h lU3 5 l q e f i ~ UE3 B ~ l q e i i ~ BeTCTBHU C n e p e M e u e H U e M . T ~ K W 06pa30~, M 4 0 p M y n a I l p U M e T B u n = A 1 + $C2. n p a ~ w J l b H b 1 GOXBeT:
2) A1 + fC2.
6 y n e ~n e p B O e yTBep>KneHkie, T.K. no AilHHblM n p e n C T a B . 7 e H H o f i n o c T p o e H h r n R e ,Tuarpamar: n e p R a R o T p a m a e T n n w H y , a wropan - r.iy6cr~yn p o n u R o R . n p a ~ w J l b ~ b 1OG T B e T : 1) 06e A R a r p a M M b I B e p H 0 OTpaHtaIOT n a H H b l e , npencTaanekiHble B ~a6nu~te.
O ~ ~ B U ~ H YTO O ,HCTUHHbIM
~u6nnsbl
O Y ~ B U ~'iTO H OK ,Tpe6yeMO~ype3yJlbTaV llpUBeAeT RblITOnHeHUe KOMaW: I -I IlOC~enOB8TC.IbHOCTh BBEPX . BITPARO I BBEPX BnPABO 2 BBEPX BnPABO 1 BBEPX
Mssemo,
YTO
2-ITIlOCnCHOBLTTe.7lrHOCTb BBEPX BnPABO 2 BBBPX BnPABO 1 RBEPX BnPABO 1 BBEPX
3-R IlOC.~CUOB8TC.lbHOCTb BBEPX BHPABO 1 DBEPX BrIPABO 1 RBEPX BnPABO I BBEPX
npn nepeeo~eDecnTuquoru qucna
B
Apyrym CHcTeMy CwcneHun ucnonbsye~cn
~ cuic.werleHm, T.e. B HameM cnyqae - OCIXTOK aonmeH 6b11a paseH ~n@pofi rucna R H C K O M O ~CUcTeMe 4. T a m 06pa30~,OCHOl3aWfe CHCEMM CVUCJIeHUB nOJIXH0 6b1~b~eJlWlWle~ Yncna 36, T.K. 40 - 4 = 36. CpenU neJIU~eneG'IUCfla36 ~b16epeMTe, KOTOpble 60~rblrre4,3TO YWCna 6,9,12,18 36. B~IIIoJIHRM
3) ~ P O B C P W MqUCnO 12:
4
36
0
k
3
4
4) l l p o e e p n ~rncno 18: 40
,
&
~ O ~ Y ~40,, U = M 34,,
Ko~a~na Y M H O~a ) ~2 YMHOX ~a~2
KUMilS1Dl
1 1
KOMaHAbl 14 28 ,
' A npOBepUTb, Ho YTO, Bb16Upa~1 .....H ~ T ~ ) JlenOBaTenbHOCTb KOMWA, M b l "A
--a
BseneM 0603HaYe~UR:A - Ap're~;K - Kupunn, M - M ~ K C U534 M ; - yqmcs B wmne N9534,105 Torna CpL(eHtt8ManbqHKOB C YqeTOM TOTO,YTO ~a?K~blii U 3 pe6m OKX3aslCR npaB nUWb HallOnOBUHy, M O M 3 0 3anUCtlTb KOPOTKO CJIep.yWUl.UM06paso~: M~KCUM: M.534 + A. 76 = 1. A ~ T ~ A. M 534 : + K. 76 = 1; Kupunn: K. 534 + A. 105 = 1; Aanee 6 y n e ~pellraTb s a n a ~ yM ~ T O ~ O paccymnesuii: M
l)A-534=1,IC.76=0 . 12) A*534=O,K-76=1 Torna u3 K. 534 + A- 105 = 1 I Torna 113M.534 + A.76 = 1 cnenym, VTO M.534 - 1 (T.K.A.76 -- 0), a u3 cnenym, VTO A- 105 - 1 (T.K.K.534 - O), HO u3M. 534 + A. 76 = 1 n o y u M , nu, M- 534 = K.534 + A.105 = 1 nonpuhc, TO A.105 = bl. B p a y n b ~ a U~ M e ~ ~ MK.76 : = 1. M.534 = 1 u = 1, O A H ~ K OC O ~ ~ C HY OC ~ O B H ~ ~~ U~ I ~ Y M MWbYUKH - yrleHHKH Pa3HhlX UIKOJI, H A.105 = yTBepKneHUe M.534 = 1 IlpOTuBOpeYUT
I
tam^ 06pa30~,K peUIeHHk0 npUBOnUT 2) cnyYa3, OTKyAa AenaeM BblBOX, 105, Kupunn - B wKone Ne 76 u M a ~ c Bn mKone ~ N: 534.
YTO
yYUTC54
,B wmne N c
Onpenenn~,CKonbKo ~ U 661n0 T nepenaHo 3a 4,5 MHH.: 4;5 UHH = (4,s x 60) c = 270 c = (56 x 1024) 6 u ~ / = c 57344 ~ H T / C 56 K~UT/C 5 7 3 4 4 6 u ~ / c x 2 7 0 c =1 5 4 8 2 8 8 0 6 ~ ~ K ~ UJBeCTHO, K B KOCU(P0BKeUnicode Ha ~ ~ h IC Uf M iB O ~OTBOnUTCR 2 6aiiTa, HAM 16 GUT. BHYUC~N KOnUYeCTBO M CUMBOJIOB B IJepeXaHHOM TeKCTe: 15482880 ~ H :T16 ~ H = T 967680 Haiineu mnuqeclgo CTpaHuu: 967680 : 3072 = 315.
n p o ~ y ~ e p Haww y e ~ nocJienoeaTenbHocnw (crpo~w)H noncqwraeM KonusecTBo uuqp B ~amnoiiu3 HHX. n0.7yseHHble AaHHble CBeAeM B CneAyioIUylo ~a6nuuy: -
-
O'I~BHAHO, YTO KOnHqeCTBO UW@P B CTpOKe MWjKHO BblYHCJlHTb n0 @ O P M Y ~ ~2"+' : - I , rAe n - HOMep C T ~ O K H Torna . rconwecrso uuqp B nocnea~eiiC ~ O 6ynm K ~ paw0 2Y+1 - I = 1023. nocnea~eii UH@~O 6 yLn e ~unqpa 9 (T.K. B KoHeq C T ~ O K HaonucbiBaeTcx uu@pa, 0603~aqarouaxee ~ o ~ e p ) , e ~ 0603~aua1omannoMep a npznnocnen~efiuu@pofi, C T O R U I ~H~a 1022-M MecTe, 6 y ~ uu@pa, npenb~nyueiiCTpoKn, r.e. un@pa8. O ~ ~ B U mT€l ~ HanpeC O , yKa3aHHOrO @aklaB CeTH W H T ~ ~ H6ynm ~ T CneAylOlUHM: hltp :// school .edu / rating .net a d e c f g b
O Y ~ B ~ UCaMW H O , 60nb~uoeKOJlU'ieCl'BO CrpaHMU 6 y ~ t -BbUaHO l Ha 3aIlpOC C CaMblMM "MHI'KMMM" YCJIOBHXMU: M H ~ O ~ M ~ T I YUpOKKH~ I Excel I RUarpaMMa (b) H Ranee B nopsiiwe YBenuqeHuR "X~CTKOCTH" ycnoeirii d o p a : MFI@OPM~THK~ I YpOKH I Excel (c) M H @ O ~ M ~ T UI AHVaMMa K~ (d) ~ H @ O P M ~ T H& K ~YpOW & Excel (a) T ~ K M06pa30~, M nOnyqUM IIOCJleLlOBaTeJlbHOCTb:b C d a.
% C T ~3
n p ~ ~ ucxon~brx e p naiiHbix, npe mopbrx nporpaMMa HesepHo peuraeT nocTaaneHHyw sanaqy: x = 2, y = 4, z = 5 (a~euyelr,o ~ l ~ aol.Merrrm, ~o, 7 1 0 naHHan rrporpaMMa 6yfie~HetlepHo peurarb nocrameuHylo sanazly npu nlo6b1x ~ C X O A H L I Xnasebrx). B O ~ M O X nHo~pRa 6 0 ~ ~ a : IIporpa~H ~aanacxane var x, y, z: real; begin readln (x, y, 2); if (x + y > z) then begin i f ( x + z > y ) then begin if (y + z > x) then writeln ('~peyronbwu~ nocrponTb MOXHO') else writeln('~peyronbr.~u~ nocrpomb r.renb3n7) end; ~OCTPOUTL ~enb3x') else writeln('~peyronb~w~ end; else writeln('-rpepnb~u~ nocTpouTb ~ e n ~ 3 n ' ) end - .
n p o r p a ~ Ha ~ a6eiicu~e INPUT x, y, z IFx+y>zTHEN IFx-cz>yTHEN IF y + z > x THEN PRINT "~peyronb~wti noapowTL MOXHO" ELSE PRINT " ~ p e y r o n bIlOCTpOMTb ~~~ Henb3f11' ENDIF ELSE PRWT " T ~ ~ Y T O J I L HIIOCTPOMTb MK H~,IL~X" ENDIF ELSE PRMT " T ~ ~ ~ I W ~ noclpwl ~ H U K b en wn" ENDIF END 1) B O ~ M O cneayio~(ax X~H~ ~ o p a t o nporpahlMb1 ~~a c ~ c n o n b 3 o s a ~ nu oe r~~ q e c ~ oonepaunn fi OR.
n p o r p a ~ v a~a l l a c ~ a n e var x, y, z: real; begin readln (x, y, 2 ) ; if (X+ y > Z) AND (x + z > y) AND (y + z > X) then writeln ('Tpeyronb~MKIIOCTpOMTb MOXHO') else writeln ( ' T ~ ~ ~ C OllOCCpOM1.b J ~ ~ H M He~lb3ll') K cnd
nporpa~hia~a GeZicrr~e . INPUT x, y, z IF(x+y;.z)AND(x+z>y)AND(y+z>x) THEN PRINT " TpeYCOnLHAK IlOCTpOUTb MOXHO" ELSE PRINT " TpeYrOnbHMK CfOCTpOMTb 1-lenb3~" END
AJIRxparleHMn relcywem
~ae6onbruerosneMeHTa MaccHua A n n p o c ~ o ~ p e t ~ r qacm ~ o c i MaccMna 6 y ; l e ~w c n o n b ~ o ~ anpowxy-rowym ~b uenosmc.7eHHym nepeLieHHym Amax. K p o ~ eroro, HaM B tio~opoiipacno.loxeH n o ~ a a o 6 u ~ cqenoqncnetitm fl nepeMeHHan, nnfl xpaHeHwn HoMepa CTPOKU, ~ H ~ L I ~ H M 0603HaqM~ ~ M , 3 ~ nepeMeHHym y K. B Tene WKna Gy,xe~cpas3 n e ~ e c~MaticuxianbHblsI r .HMEZlTb oqepen~oii3neMeHT C r/Ke ~ a f i ~ e ~MBKCCIhiYMOM. t ~ b l ~ B TOM CJIYqae, eCJlM 3JleMeHT hlaCCM~ ~ eHosoro sneMeHTa, a B nepeRa oKameTcn Gonbme, s nepeMeHHyK) Amax s a ~ e c se ~ a q e s-roro TaK ;lo KOHUa UHKla, no OKOHqaHMM KO'IOPOrO IIOJIY'iMhl MeHHYio K - HOhlep Te~ytllefiCIQOKM. HOhiep MCKOMOR CTPOKM. DaJIee, MMeX HOMep CTPOKM, HaXOJHM HCKOMYK) CYMhfY S. nptihlep .ra~oRIlpO~paM&lbl: nporpa~hia~a Feticn~e N = I0 DIM a(N, N), Amax, K, i, S, ,S AS TNTECER K= l Amax:= a(1,l) FOR i= 1 to N K:= 1; Amax:= a[ I , I ] . FORj = 1 t o N IF a(i, j) > A~nax then Amax - a(i, j) : K = i for i:= 1 to N do for j:= 1 to N do NEXT j begin NEXT i if a[i; j] > Amax then Amax = a[i; j]; S= 0 FORj= I toN K:= i; S = S + a(K, j) end; ' NEXT.j end; end; PRINT S END S:= 0; for j:= 1 to N do S:= S + a[K, j]; cnd; writeln(S); *' , end. llporpa~~ ~aa I l a c ~ a n e const N = 10; var a : array [ I ..N; 1 ..N] of integer; Amax, K , i , j, S: integer; begin
'
P ~ C C M O T XOD ~MM MIQLI. O@OPMUM ero KyYKe COOTBeTCTBeHHO. I - # xon Mcxo~t~oe Bce BapuamI comnnne xona I nrpoua 4,4
2.4
2.8
4.6
2-17 xon
B BMX
~a6nkiqb1,rae
3 4 xon
B
4-I7
~ a x a o iai r e i i ~ e6yjleM 3 a n ~ c b r e a ~ b
XOA
BI,IU~~~I~UHI,IA B b ~ n r p b ~ l ~ ~ bBce ~ RBapHallTbl Bb~urpb~w~b~hOapmHm1 xoa 11 nrpora xon 11 nrpora xoaa I nrpo~a xon 11 n w ~ a xOnaI 24,6 12, 6 Hanpti~ep, 6, 24 6 , 12 6 6 16,s R~opoknrpoK Bblnrp61BaCr ~a 8, 8 4-MXOJY 110c:le 11m601-0 16,s 8.8 . OTReTa nepBOI'0 UrpOKa, 4, 32 4, 16 4,8 ~ranpn~ep, yneorro qnc.70 6, 20 6, 10 32, (j 24, 8 ' ~ahlllehB 60nblUe~KYqKe. 12, 8 16, 6 8,24 6,32 8 , 6 , u n u 6 , 8 8.12 6,16 / 10, 8 8, 10 20, 8 X, 20
n p n ~ e pnporpaM.vb1 kia 113bl~en a c ~ a n b : var a'.array[l..60] of record name:string; &rn:rea~; end; c:char; i, j, N, Einteger; m, s :real; begin readln(N); ( c l ~ n , r a ~Konurecrso o ~le~kiK0FI) for i:=l to N do begin a[i].name:="; repeat read(c); a[i].name:=a[i].narnefc until c=' "; { c q u ~ a 4~ aa~ u n ) i ys r e ~ n ~ a ) repeat read(c); a[i] .name:=a[i].name+c until c=' "; ( c r w ~ a ~H MoR y r e ~ n ~ a ) a[i].sum:=O; for j:=l to 2 do begin read(m); a[i].sum:=a[i].sum+m end; { n o a c u u r a ~ ca y w a 6annoaJ readln; end; s:= a[l].sum; for i:=2 to N do if a[~].sum> s then s:= a[i].sum; K := 0 for [:=I to N do
i f a[i].surn = s then begin K:=K+ 1 writeln(a[i].name); end; writeln(K); end.
BAPMAHT 5 Yacrb 1 / ffpu semo;lrrc~iucr3aC)a~uusmou wcmu s 6,7arr~eomcpcmos f l l o I nod Ho~vrepo~ri/ I I B ~ ~ ~ ~ O . ~ I I R R sMm O ZuOS ~ ~ ~ I (A1 I U R A20) nocmasbme rrrlar; {< x)) a raemow.3, 'I ! ! rro-rzep~omoporicoomecmcmqyein tio.wepj)~~fipa1111ozo B M ~ Uomsema.
O 6 a c ~C O O ~ U C H M R7,s Ku,706afi~.M.JBCCJ HO. LITo .laHHOL' C O O ( ~ ) U ~ C H ICO.ICpH(M'1 ~C 7680 cl/rhlsonoe.Kalco~aM O U I H O C T ~a n + a ~ ~ ~ a ?
Onpeuenu~es ~ a q e ~ ~nepe~erit~ofi ue x nocne wlnonflerlcifiapariweli~aanropw-rhra:
BblnonHeHuH @ p a m e ~nporpaMwt.1: ~a Onpenenu~es ~ a r e ~ nu e p e ~ e ~ ~Sonocne il 5egcl.i~ nac~anb A~~O~HTMM li3bIK Y~CKH~~ S=O S :=@ S :=o Forn=lto5stepl Forn:=Ito5do m n ~ l g o 5 ~ 1 *S-S+n Begin !iu Next n S:=S+n S := S + n; Print S End; Write (s) IIesa~bS
1 ) 16
2) 10
3115
.
4) 12
6eficki~ Fori= 1 to5 For j = I to 5 A(i, J) = i + j Next j Next i
I r1ac~aJlb
I For i := 1 to 5 do .
For j := I to 5 do begin A(i, j) := i + j end;
C~hieo.voh~ Q 0603~aWH0OnHO H 3 YKa3aHHbIX HWe nOrH1leCKHX ~blpaIKe~H# OT TpeX aprJ'MeHTOl?.Mcnonb3yrr QparweHT T ~ ~ . T U UHCTMHHOCTW, ~I onpeaenu-re, rewy pae~o' Q:
3) X&Yv z 4) XvY & -2
I I I I I I I I
I
1 I I B ~a6nnuenpmeaetia crou~ocrbnepeeo3~unaccajrtwpoe Memay coceaHMMH HaceneHHblMM I 1) X&Y&Z 2) -XvYv -2
1 ) DEFBAC
2) ASDEFC
3) DECAFB
4) EFCABD
,&In COCTaJiUIellllR UenOLleKHCnOflb3yylarC~ pa3HO~eTlIble~ Y C H H Te%lllble ~ I : - KP1CIIaA (K),
CkiHIlR
(C), 3ene~an(3), u CneTnble - menTw (X),6enm (6). Ha nepeoM h.lecre B uenorKe CTOH.~6yCki~a H , nepKpacHoro, c u ~ e r ounw Genoro usma. B cepe2wHe uenowu - nm6m us ceeTnbrx ~ Y C Mecnu W 6ycu1-raTeMHM, M nm6m M 3 TeMHblX ~ Y C KeCJl21 H , nepeaa 6ycw~aCBeTnaIl. Ha IlOCJleAlieM hfecrc: - oaHa 213 ~ Y C M HGenoro, xenmro nnii cuHem meTa, He cromuas B Uenortie B cepeanHc. & K ~ R 143neperucneHHb1x uenoqeK co3,ya~ano s ~ o npasuny? ~ y
I ) D:\ USER\ CLASS 2) DOC
3 ) D:\ USER\ CLASS\ DOC: 4) CLASS
B n r c i i ~ esnercrpo~~oi3 ~a6nuub1 B4 sanwca~a+ophiyna = C2 + $A$2. ita~oiisun npuo6pmm a o p ~ y n aecnu , ~ r e %B4 ~ yCKonuposaTb B ~ l r e i i ~C5 y? flprevonue: cu,usoi? $ ucno~7b3yemcrrd;711 O ~ O ~ H U Y ~ H Z ~ ~ a6contom~oiradpecaz/uu.
On26~.m0,~2 K 3lTdClH~lmt3m0k Y(ICml4 ( 8 1 - R8) R627HefllCR f t ~ f i ~CUU6OJZO6, l , KOmOpale cvedyern 3rmucamb s 6,1urt~omserpzos -fi l cnpasa om lio,Nepa coomsemcmsymcyero 3udanun, H U V U H ~ Rc nep~olimemowu. Kaxcdbzfi cujuso~7nuurume s o ~ ? z ~ C ? , I ~K?L?t?ZOVKC MO~~ 6 COOttZRe~lCfiZ6IiU C
1 B2 1
-
Y ~ a x a r crliailenua noraKrectiaxnepMeHHhlx P, Q, S, T, npn t i o ~ o p ~norurecKoe ~x aupaxeHne (P V -Q) \/ -> S V T) JlOXHO. Onwem ~ U I I I ~ I I I ~ DI I s~ iI ~C d ei rnpoh-11us ciarnbrpex c71.crsonos: 3~avcriuitnepe..rtetinhrxI? Q. S T ( s . V W ~ L I H I I O . ~ I noprrd~e)
(u
~ ~ C ~ O ~ I HY U~ T~ T ~ ~ J ~X ~HH\leeT MK
IlepO, KOTOpOe MOWHO FIOilHMMaTL, OnyCKaTL M nepeMelUaTb f l p nepeMeqeHuH ~ o n y m e ~ ~ o nepa r o 3a HI^ owaercrr cnen R Rune nprr~oiinuwin. Y wcnonHMTCJIR CylLleCrByfOT CflenyWUUe KOMaHflbl: C~ecrwlbcrrI I Bemop ~ (a, b) - ucno,IrIMIenh IiepeMeruaercrr H TOYKY, B KOTO~Y MOXHO ~ rlnnac.rb ~7 n a ~ ~ o inpoiinn i, a eunuur( no ropu30~7airrM b -- no BepuKanu; 3anncb: nonropn'r~5[ Ko~arrnaI Ko~arija21 o?rraLraer,']TO nocJregoBaren:n611oC.TbK O M ~ I I AD ti&?ilpaTHblX C K O ~ K nORTOpReTCI1 ~ X 5 pa3. cayH DJIR McnonHeHua cncnyro~umiim m p t i ~ ~ : '-I~~KH Hasonmcrr M K B Haltme m o p m ~ a rY. c p e ~ ~ r n X C M ~ C T M ~HaL BekTOP C I I (5,2) C M ~IMTbCH C H a BeK'IOp (-3. 3) ~ O ~ T O P H~T[~C M ' ~ C T M HaTBeKTOP ~ C R ( I , O)] C ~ e c r ~ ~ tra b cseKlop n (3, 1 ) Ha KaxoM paccronHwn OT Haqana Koopnmar t i y , ~ eHaxonnrbcrr ~ ucnonHurenb q e p ~ e r n R~ r ~ ~
Y ~ ~ K OI IBH ~K) O P~M ~ L I M M51e'l'OJOM RLE- KOI(HPOBaHMIICOCTOMT B CJIeAYH)Ult?M.Y ~ ~ K o Rno-~ H H ~
-
cnenosaTcnbHocrbconepniu-r ynpaenamulue 6aGTb1,3a Karnfibm ynpaenzmmniv 6 a i i ~ cnenyo~ eT OnUH Mn1.I HeCKO09bK06 a i i ~ ZaHHblX. o~ E c n ~C T ~ ~ I U U6kf~ G y~paBJln€OlUerO6ari1.a paBeH I , 'KO cneny1ouu8 3d ynpaR1XlOuMM 6 a u ~UaHHbIX npki paCnaKOBKC HYlKHO nOBTOpNTb CTOnbKO pX3, CKonbtio 3annca~oB ocTatiuiuxcn 7 6117.a~y n p a ~ ~ ~ x m u 6~ ea ri t~>aEcnn . me L-rapwriri 614~ ynpaenfllOulelXl6aRTa PaBeH 0, TO Hail0 B3RTb HeCKOLIbKO C.9CnYH)UMX 6 a i i ~ oaaHHbIX s 6e3 M3MeHeHHR. C K O J I ~uMeHHo KO - sanwcarlo s ocmnwnxcx 7 Gwrax ynpasnHlourero o'akva. Hanpn~ep,ynpaen~murnk6 a i i ~10000111 roeopu-r o TOM,'ITO cnenymuliii 3a H M M 6 a G ~Halo nomnpuTb 7 pas, a ynpaennmuufi 6 a i i ~00000100 - o TOM, YTO cnenymlrlue 3a I ~ H M4 6afira I-ran0 B3XTb 6e3 ~3hle~el-lMk. ~ O C J I CK O ~ M ~ O B & < veronohl M~ RLE nonyqnnacb cne~~ytoluan n o c n e ~ ~ u a ~ ~ e n Fi?" bc~HTOH: oc~b 10000011 10101010 OOOOOO1O 101011 11 11111111 1000O1Ol 10101010. CKOJLKO 6ati~6yac-r coaepxaTb :iaw Han n o c j ~ e ~ o n ~ r e llocne ~ ~ b ~p a~con~a ~~obe ~ n ?
n o c y n K 48iiny 1ndex.htm1ocyurecrmRe+rcB no n p o ~ o ~ o nhttp. y B ~ a 6 n u u enpueeneHbr +par- I I M ~ H T ~anpeca I x o r o + a h a , o603~1a~er1~ble 6 y ~ e a ~OTu A 30 3. 3annluu~enoc~~e~onare.il~>I H O C T ~~ T M X6y KB,COO I BelCTBymIIiym afipecy nail ~rol-o (patina.
I I I I I I I I
I I
B ~a6nwuenpkiBeAeHb1 3aflpOCbl K nOMCKOBOMY CepBCpy, YCJIOBHO 0603~a'IeHHb1e~ ~ K B ~OTMA H I 3anpOCbI B nOpflnKe B03PaCTaHMR KOJIMVeCTBa CTpal-IMU, KOTOPble H ~ G D ~ T I no Pacnon~XFi~C! I nouc~usbrticepeep rro KiuKnoMy sanpocy. Ann O ~ O ~ H ~ ~norwqec~oii ~ H H R onepauuu "M" wcnonbsyercn C M M B O ~%, a finn n o r w ~ e c ~ o i iI I onepalwin "MJlW - cumon &.
I I
A r p e ~ n a ~ n u&nK ~ M M&~Onopa T & @ay~a 6 r p e ~ n a ~ n w& r rOnopa B (l-pe~na~,ihn & @nopa) v O a y ~ a r p e ~ n a ~ n w&e@nopa & Q a y ~ a
I
I
I I
I I I I
He sa6ydbme nepenecmu sce omsembr B ~ ~ I U Homsemo~ K No 1.
I
' l a c ~ b3 Ann 3anucu omsemos K 3adauruw 3 ~ 0 1 lcacmu 2 (CI - C4) ucnonb3yrime 6 n a n ~omsemos KO2. 3anuurume criasava Homep sadauun (CI u m.d.), a 3amem nonrtoe peurenue. Omsemlir 3anucbisarime s e m ~ o u pm6opsuso.
I
I
Tpetioaanocb HanMCaTb npOrpaMMY, KOToPaR OnpeJenReT, neXklTnU TOqKa A ( x , ~ BHYTPU ) HeKO~ o p o r oKomua ("BHYT~M" noHuMaeTcn B CTPOTOM cMbIcne, T.e. cnylraii, uorua .rows A nexwr Ha rpaHUUe KOnbUa, H ~ ~ O ~ ~ CUT M ~ HMKOnbUa T) . ~ HBXOilUTCII B Havane KOOpnMHaT. KOnbUa
88
II I
I
I i
I
k I
I I.
3anaHb1 B H ) ' T ~ ~ H H UH ~B ~H ~ U ~ HPanUyCbl U ~ r l , r2, U3BeCTH0, qTO r l OTnM'iHO OT r2, HO HeM3ReCTHO, r l > r2 MnH r2 > r l . R TOM cnyvae, Korna Tovrta A neniuT s ~ y r p cKonbua, : n p o r p a M M a nonxHa BblBO,IlUTb COOTBeTCTBylO~eeC O O ~ I . ~ ~ HBHIIPOTUBHOM ~, CnyYaC H U K ~ K OB ~~ I X O ~ HHH@OPMBO ~ I.(HM HG Bbl,!IaCl.CH.
~ P O ~ ~ ~ M CACJlaJI M U C B~ I I p O l p a M M C O L L I U ~ K M .
n o c n e a o s a ~ e n b ~BblnonHuTe o sana~~~: 1) I l p u ~ e n n ~r l ep M M e p T a r c u x .rMcen x u y , npu K O T O ~ L I Xn p o l - p a ~ ~I -aI C R ~ ~ I - Ipe1uae.r O llOCTaBJleHHyI0 3aAasy. 2) Y ~ a x u r e ,KaK HYXHO aopa6ma~bn p o r p a M M y , ~('1'06blH e 6 b l ~ 1 0c n y s a e n ee ~ e n p a ~ u n b ~ o i i pa60~b1.(%o MOXHO CaenaTb HeCKOnbKUMU cnoco6a~n,n03TOMY M O K H O YKii33aTb JllO60fi cnoc06 . ~ I O ~ ~ ~ OATC X K OU~ H O Un p o r p a ~ ~ b 1 ) . 3) Y K ~ X U KTa~K ,M O X H O a o p a 6 0 ~ a IIpOrpaMMy, ~b ~m6b1 OHa H e COaepXttana norusecKMx 0 n e p a u U 6 AND unu OR. Upu.~eva~rre: d;711 oEi03~a~eiiufi PaccmoRHufi om MOYIZUA do Hava.ra ~ o o p d u ~ a ucno,my.vemcx rn n p o , ~ ~ e ~ l c ) ~ nepctwe~rrm m o r ~ a ~ ~ h. llporpa~~ ~aan a c ~ a n e n p o r p a ~ ~a ~ aK e f i c w n e v a r x, y, r l , r2: r e a l ; INPUTx, y, r l , r2 h: real; h = SQRT (x*x + yvy) IF (rl > h) AND (h > r2) THEN begin r e a d l n (x, y, rl, r2); PRINT " T O ~ KA~ nexuT BH)'TPU ~onbua" h :- sqr (x*x + y*y); END if (h > r l ) AND (h c: r2) t h e n w r i t e l n ( ' T O Y K ~A nexm ~ ~ y r ~onbqa'); pu
end
DBa urpoKa urpam B cnenymuym urpy. IIepen HUMU nexaT nee ~ y s @~ uum e ~ B, nepaoii u3 KOTOpbIX 3, a 80 B T O P O ~- 5 ( P H u ~ ~ KY. K a W O T O A r p O K a HeOrpaHU'ieHHO M H O I V ( P H I U ~ K XOAJ~T . UrpoKu no osepenu. A e n a n o.repen~o#xoa, u r p o ~unu y B e n u q u o a e T B ~ a ~ o f i - T KysKe O sucno ( 1 3 ~ l l l e B~ 2 pX3& U n l l no6aanse~B KaKyIO-TO KYYRY 2 (PUUIKU. Bb1~I"pblBaeTTOT UI"pOK, nOCne XOna hQTOPOM) o6qee .iUCnO @ U W ~ KB nByX KyqKaX CTaHORUTCIl He MeHee 23. KT0 R M U r p a e T u r p o u , n e n a r o u u t i x o nepmM, ~ unu H I ~ O K a, e n a m u u k ~ ~ o p XOA? ok
Ha oxon nporpaMMb1 n o n a m c r r cseneHHn o pe3ynb~a-m~ c o p e ~ t r o o a ~ uno i i I I I K O ~ ~ H O M MHOI-QY 6 0 ~ ~ 1M~or060phe 0. COCTOUT U 7 C O ~ ~ R H O R ~no H U qfThTpeM ~ ~ R U n a M CnOpTa, yvacrue R KaXnoM u3 K O T O ~ ~ IOXu e H m a e T c n 6 a n n a ~ m u 0 AO 1 0 (0 6 a n n 0 ~nonyqam y.reHurc, H e ~ ~ H H H M ~ B I U H L YVaCTUR B COpeBHOBaHURX no naHHOMy B U n y cn0pl.a). no6enu~enuOIIPen~nRlOTCRno HaU60Jlbruek C y M M e Ha6paH~bIx6annoB. W ~ B ~ C T H O.IT0 , o6wee KOJlUqeCTBO YVaCTHUKOB C O ~ ~ B H O B ~ H H ~ He I'lpeBOCXO~UT 100. B n e p ~ o f CTpOKe i BBORUTCII KOJIM'IeCTBO Y'leHUKOB, ~ P C l H W M a B l l l U XY'IaCTMe B C O ~ ~ B H O B ~ H H IN. IX & en,. cnenywr N crpo~,uMerowux c n e ~ y r o w i @ i o p ~ a<~a :a ~ u n u r > r MMR > < 6 a r m b P . 3necb < O a ~ u n u > a - crpoea, c o c r o a w a x He 6onee seM u3 20 CuMBonoB; < N M R > - CTPOKB, COCTOIIUal H e 6onee q e M U 3 1 5 CUMBOJIOB; < Fiannbi > - cTporca, c o n e p x a q a n seTblpe u e n b r x s w c n a , p a 3 n e n e ~ ~ b rn xp o 6 e n o ~ , C O O T B ~ l O ~ U 6 Xw a ~nO~y.ieHHbIhi , Ha COpeBHOBaHURX no KllX(5OMy U 3 YeTbIpeX B W O B ClTOpTa. ~ P JMl ' V M < @ ~ ~ M U J I U>I IU < ~ M >,H < NMII> U < 6 a ~ l ~ l b pa'3UeJleHbI l> ViUiMM 1 1 ~ 0 6 ~ ~ 1 0 ~ . ' ~ P U M C P L IB X O A I I ~ I XCTPOK: H B ~ I I OMBa ~p u n 5 8 6 3 I l e ~ p Cepreii o~ 9957
Hanumme nporparmy, K o T o p a n tiyae~s b ~ a o n n ~H ba 3 ~ p a a~ ~ c m ~u nHMeHa ,rpex nyqurux YWCTHUKOB ~ ~ 0 r 0 6 0 p b l Ecnu l. Cpenki OCTaJIbHblX yqaCTHuKOB e C T b y q e H H K n , H ~ ~ P ~ B U TOI Xe H ~ K o n n g e c r e o Gannoe, VTO u O ~ i43 H Tpex .rly.twnx, TO vrx @ a ~ n n i 4 nu m e H a T a m e cneaym BbIBeCTH. ~ P 3TOM U H M e H a H (P~MWJIHU MOmHO BbIBOAUTb B llPOH3BOJIbHOM ITOpllAKe.
-
I I I I I I I I I I I I I I
I
I I I I
1
I
I I I I I I I I I I I I I I I I I I I I
PEUIEHMFI H OTBETbl K BAPMAHTY 5 n o n c r n ~ a erconurecTno ~ c u ~ o o n o oB narlrlou nucKasl;lnarruu, BKnloraH 311a~u npenurlallnn n npo6enbr. nonyrurca 33. ,.&n opioro cuMRona ~pe6yercnI 6afi~,unu 8 611~. 33 6aG~a= (33 X 8) ~ H =T 264 6 u ~ a ~ T 264 ~ U T ~ M . Ta~t4.r~ o6pa30~,& ~ H @ o ~ M ~ ~ H o0H6 Hb e~ ~IC~O ~O ~ L U ~ H W~S YI A PBBeH n p a ~ ~ n b ~ bOTBeT: l f i 1) 264
nepeaenew n e c r m r ~ o esncno 82 B ABONYHYK) cucreMy cwcneHt4a: 82 -82 - 41 0 40 2 1 20 1 0 1 2 0 0 4 12 1 0
12
~TI
1 5 1 2 212
B n p o r p a M M e u M e e r c R I ~ H K J I , n e p e M e H H a n r t u K n a n u w e H R e r c n or 1 ,TO 5 c I r l a r n M 1. npu ?TOM ~ a x n b ~pa3 t i n p H k n o n ~ e T~e n~a umna u s ~ a q e n~e p~e her e n ~ o f s i 6yne~ yBe.wwueaTbcn H a BenHr H H Y T e K Y U l e r O 3 H a Y e H U R n. C O C T ~ B A M ra6nuuy BblnO.mHeHUR @ p a r h l C ~ ~n pa O r p a M M b 1 :
COCT~BUM ~ a 6 n u u yACTHHHOCTH ; I O M Y e C K O T O BMCKX3blBaHHR
'
Y I 2 3 4
Y>1 noxb
Y>5 noxb
Y<5
(Y<5)&((Y>l)->(Y>5))
ncmHa
ilcTHHa
nclWHa nOXb
~
H n0mb ~
nOXb
UCTHHa
UCTHHa
WXb
nOXb
HCTq H a
HCTHHa
nOXb
nOXb
UCTAHa
H
C
I I p e A n O X e H H b l X 3 ~ a q e H ~Y: f i
(Y>1)-z(Y>5)
nOXb '
nOXb
~ Y C XT -~OCHOBaHHe H ~ W ~ B ~ C THahi H OCACTeMbl ~ ~ CqUCJleHHR, TOrJ51:
25," = loox= I x x'
+ 0 x xi + 0 x x" = x'. O ~ ~ y nno an y y a e M x = 5.
PeILIUhi 3 a A a Y y MCT.OJOM p a ~ ~ p n e ~B k~ ie ~l z. 0e A - BUHOBaT BOAUTeJIb amo6yca; - B u H o e a T eonnxnb nemosoro amo~o6unn; M - BUHOBaT B O n H T e n b M a P l U P Y T H O m TBKCU.
6~ 0 3 ~ a Y ASlfl e ~ n01-UqeCKUX ~ ~ B ~ I C K ~ ~ ~ I B ~ H M ~ ~
Torna B b i c w b l B a H u n uaxfiom ~3 B o a u r e n e i i cnenytoruue:
- A & -n; -A & M; -M&A
3anaqu H~BCCTHO,YTO o n n H u3 ~onn~enefi c K a 3 a n Y U C T ~ H )n p a B n y , ze. 06e ramn em npym%BOnUTeJlb UCKa3Mn 06a $lama, T.e. 06e 'IaCTU em BblCKa3bIBaHHII ~ O ~ U Y Hn pOe A n O n O X M T b , q T O 3 T 0 CnOlKHble BblCKa3hlRaHHII b) U c), T.K. OHM IIMRJOTCII
M3 y c n o B n x
BblCKa3blBaHHII UCTUHHbl, JIOlKHbI.
npOTUBO~OnOXHbIMW. ~ ~ ~ ? - J U ~ O J ~ O X YTO U M , MCTUHHO BbICKa3blBWUe
"M"),a BbICKa3blBaHMe C) -JIOXHO,
b)
(T.e. BMHOBaT B O n U T e n b hi1PUIPYTHOM) TilKCM
I l p U ' f e M JIOXHbI
-
06e er0 YICTM: "7M'' U "p. T o r ~ a'"A" 6 y ~ e ~
ACTUWUbIM. B 3TOM C J l y q a e "-n"6)5IC?T.JIOXHbIM, T O C n e A y e T U 3 YCnOBHR 3aAaYU, T.K. BbICKa3blBaHUe a) LlOJlXHO COCTOnTb U 3 ABYX IIPOCTblX B ~ I C K ~ ~ ~ I BOnHO ~ H UU~3 ~KOTOPblX , IlEUlReTCIl UCTUHHUM, a npyme - n O X H b l M . HO T O r n a flOny'4UM, q T O BUHOBaT BOnHTeJIb JIeTKOBOrO ~ B T O M O ~ H ~ I' IIT, 0
rlpO'I-MBOpeqMT ~peArIOnOXeHMl006 MCTHHHOCTM BblCKa3bIHatlMH b). Cfle~[~~aTe!l hH0, 3.W npeanonoxetine HeBepHo. -. [enepb npeJrIO.lOWMh4, 9 T O Bbl~Ka3blBa~~e b) .2OXCHO ( ~ ~ U Y G .qOXHbr M o6e er.0 L I ~ C T U ) , 7'Orila a) JO.TXH0 BblCKa3blBaHUe C)- MCTMHHO, T.e. B ZiBapUU BMHOBFIT BOaMTe,Tb amo6yca "A". Bb1~Ka3blEil~Me COCI'OHTb M 3 3 B Y X YX'refi, OAHa M 3 KOTOPblX HBJI9eTCH JIOXI-l~fi, a ilPYl'aR M C I ' M H HOV~BMLLI-10, O~~. 'IT0 B 3TOM Cnyllae J~OXHOR 6 y n e ~ YaCTb BbICKa3blBaHMR "-,4", a HCTUHHO# "-JT". n~OTMB0peVtlfiHe71 C.~e;losa.re~ib~o, HaLue npeunonojlcetlne eepeo, n snHouaT 13 aeapun B O ~ M T ~a~~r06ycil. JI~
1-2 6 a i i ~ ynpaanrr~ouurfi.C~apmnG~ U BT HeM paeeH I , B ocwemnxcg 7 6aii~axs a n ~ c na e~o ~ r ~ b r i i T.e. HaqZLlO pa~nalt0Ra~~0fi KOn 'il.lC,Ta 3, nO3TOMy npU PaCnaKOBKe 2-fi 6 a G ~HaaO nOBTOpUTb 3 nocne~om~enb~-rocrn ~ ~ ; ( ~ T T ~10101010 K M M : lOlOlOlO 10101010... A a ~ e e 3-# , 6 a i i ~ -ynpamnmwuii. C T ~ ~ U~ IMUBTHehl ~ PaBeH 0, B OCT8BWMXCR 7 6 a g ~ a x35U1UCaH A B O M ~ H ~ I GKOA qMcna 2, ~ O ~ T O MnpH Y pacnaKonKe HYXHO B ~ R 6e3 T ~ us~el1e1-1~11 m a Safi~a, , M C H H O - 4-ii N 5-ii 6afiTbl. QoiSasnhl ux K ~aluefi cnenyfounx 3a ynpasnmotumi 3-M G a i i ~ o a~ M ~ ~ C ~ I ~ K O R IIoCJIenOBaTenbHOCTM. ~ H H O ~ nOJlyllUM: 1010101010101010 10101010 IOlOllll111I11II ... H ~ K O H6-fi ~ U5aGT , - CHOBa ynpaanrito~un8.CTapmnG 6 k i ~B HeM PaBeH 1, B OcTaBUIwxcn 7 6aii~ax Y pacnaKoRlte 7-ii 6aG-r Hano nosTopuTb 5 pax T ~ K U M s a n u c a ~, I B O H ~ H ~ I RKon qncna 5. ~ O ~ T O Mnpu H H O U 06pa30~,IIOnyYnht 0 ~ 0 l l ~ l ~ ~ e , BUA T b ~~ b~ lC~~ ~ K O B ~ nOCnenOBaTe,TbHOCTM: 10101010 10101010 10101010 10101111 11111111 10101010 10101010 10101010 10101010 10101010 3Ta nocnenoeamnbtroab conepxu-r 10 6 a h .
n o c ~ o n b ~noy ycnosnm n o c q n K @aGnyocy~uccTi3nscrcnno npo-roltony http, H M caMoro ~ @aRna index.html, rnrrnn Ha ~a6!1uuy,MOXl-10 YCTaHOBMTb CepBep, Ha KOTOPOM HaXOaM'r'CH @afi!i, :No fto.ru.Toraa anpec +~.a h a Gyner TaKuhf: http I :// www. 1 ftp 1 .ru / / index 1 .html E 131 6 1 A
I
I
-
~ O H I I T H O ,~w qeM
I II-~AIBI x
6onee " ~ ~ ~ T K H Gyny~ M M " ycnoem sanpoca K n o u c ~ o ~ ocucreMe, fi TeM MemHaHMeHbUlee O M ~ ( ~ KOJIUYeCTBO CTpaHUU 6yne1' Wee KOJlnVeCTBO CTpaHHU Mbl IlOnYqHM B O T B ~ ~ : . ~ O W ~ T@nopa & m a y ~ a n, nanee B nopanlte ~ o s p a c ~ a nonyseHo Ha sanpoc A: r p e ~ n a ~ n u&nK T U M & Hun: r : r p e ~ n z u l n n&~@nopa & cbay~a 6: F p e ~ n a ~ n u&a@nopa B: ( T p e ~ n a ~ n u&n cbnopa) v cbay~a.
Lfa~~ 3b l l p w ~ e pucxoi~~~,rx naiwbrx, npu K ~ T O P ~ Inporpawa X I - ~ e e e ppeuraeT ~o nocTaeneHHyro sanalry: nopa6o~~a: x = 2, y = 0, rl = 1, r2 = 3. BO~MOXHSIII n p o r p a ~ ~a ~ aEeiiccr~e nporpahi~a~a n a c ~ a n e INPUT x, y, r I , r2 var x, y, r l , r2: real; h =SQRT(x*x + y*y) p, h: real; 1Frl < r Z T H E N p = r l : r l = r Z : r 2 = p begin readln (x, y, rl, r2); IF (r l > h) AND (h > r2) THEN PRMT " T O ~ KA~ JIeXUT U H W M K0Jlblla" h := sqr (X*X+ y*y); END if rl < 1-2 then begin p:= r l ; rl:= r2; r2:- p; end; if (h r l ) AND (h > r2) then writeln ( ' T O V K A~nexuT R H ~ ~onbrta'); U end
3tlaqe~uaB lipOTNBHOM cnyqae). B O ~ M O XMHnpyrne ~I cnoco6s1 ~Opa60Tti~. &3 wcnonmBamnnomrccm oncpaunfiAND unn OR. BO~M~M cncflymum O N H ~ aopa6mtia nporpa~hib~ I l p o r p a ~ ~a ~ aIlac~arre nporpa~H ~aa f i e f i c ~ ~ e INPUT x, y, rl, r2 var x, y, r l , r2: real; p, 11: real; h =SQRT(x*x+ y*y) p = ( h - rl)*(h-1-2) begin rcadln (x, y, r l , r2); IF p
0603r-ra~lu~ Ham Maccua 6 ~ ~ 9 "a". 0 6 BRene~cnenyroulue uenoqucneHHue nepeMeHHble: inin - ;lsrn XpaHeHHH MHHMManbHOI'O U 3 nPOCMOTpeHHblX 3neMCHTOB MaCCMBa; k - I(JIR nO~CYWaYHCna I I O B T O ~ ~MNHUMtlJTLHOTO HN~~ 3JleMeHTa B ~ P O C M O T P ~ H H OYilCTN ~~ MPCCHBB. G y n e ~cpaRHuRarh oqepen~oti9neweH-r MaccuRa a(i) c TeKyliiuM 3HaveHueM n e p e ~ e ~ ~rnin o f i(i HoMep osepenHoro 3 n e ~ e ~~ a~c ac ~ s a ) . E c n ~a(i) Memure min, TO npucsannaeM em s ~ a q e t ~ flepeMeHt106 ue rnin u csemnK k ycTaHaenusaeM R I, ecnu x e s ~ a s e ~ a(i) u s u rnin pasHb1, s ~ a s e ~ crmvurca ue k ysenwiuBaeM Ha I. n n 3~01-0 ~ OpraHM3yeM UK4K.q. n o OKOHLTaHMMUMKna nepeMeHHaR k 6 y n c ~ COAepXaTb KOnMqeCTBO ~ O B T O ~ ~ H MWHMManbHOrO 3JleMeHTa MBCCMBI. ~ P M M flpOr' ~ P PaMMb1:
var a : array11 . ..N] of integer; min, k. i : integer; begin inin := a[I]; k := 1; for i := 2 to N do begin if a[i] rnin then begin nlin :=- a[i]; k := I ;
end; else fa[^] = ~ n i nthen k := k t- I ; cnd; writelntk): end
DIM a(N), i, min, k AS INTEGER rnin = a ( l ) : k = 1 FORi-2toN IF a(i) < min THEN min = a(i) : k = 1 ELSE IF a(i) = rnin THEN k = k + I ENDIF ENDIF NEXT i PRNT k END
M ~
KyY Ke COOTBeTCTBeHHO. I-ti xoa BCC McxonHoe Bapnanrlrl,l comnnne xoaa I nrpotia
2-8 son
4-ti XOA
3 4 xon
Bb~~rpb~~f~b~ii ~ORCH~HHX xon 11 ~ r p o ~ a
Bce BapHdHTbi Bb~iirpbi~u~b~ii xoa I I nrpora xoxa I wrpora
10, 7 5. 5
3.5
3, 7
5.7
Hanpuhrep, 577
6, 5
6 7
3,.10
3.20
7,7 5, 14 5.9
I
30, 7 14. 7 5,38 5 , 18
Tatinnr o 6 p a ~ w . n~opoiinrpoti RblllrphlBaeT Ha d - '~ xoay riocJle :rrotioro O T B a~rrepuoro urpoaa. ,4nn rroro ehry 11eo6xonn~o yfinourl, ~ U C J I Orbu~~leri R donilueii K)'YKC.
Tame x e uapsat1m13-ii N 4-il xonou, tiati H B npe:iblayure.u 'cnysae. 16, 7 8.7 12, 7 24, 7 6, 18 6.9 6, 14 6,28 ATOpok A l p O K RhlMI'PbIBaC?l Ha 2-.\1XOily, y;UIOHR qMC!IO Cpu~lretiB donr,nleil hyrlte.
BHAI-10, YTO npn n l 0 6 0 ~xone rrepeom urpoKa y woporo nrpoKa Bceraa T ~ K U06pa30~, M u3 ~a6nnub1 nMemc.rcn x o ~npnsomulnii , K no6ene.
var a:array [ I ..1 001 of record sum:integer; end; c:char; i j,N,sl ,s2,s3,m:integer; begin readlnw); { c r ~ l . aKoJInrecmo ~o YLI~CI.HMKOB) for i:=l to N do begin . a[i].name:="; repeat
until c=' "; { c ~ ( U T (~ ~H ~ M A ~ H R ) repeat read(c); a[i].name:=a[i] .narne+c until c=' ": {CYMT~HO UMR)
begin read(m): a[i].sum:=m if a[i].sum > 30 then s:=s+l end; if s = 3 then writeln(a[i].name); readln; end; end.
BAPMAHT 6 q a c ~ b1 I n p u a61nonrte~uusadartuu sntofi Yacntu 6 6 ~ 7 a omgem06 ~~e NZI nod rtonrepo~u
I
I 1 A1
C'IIITPN,q m ~ a x ~ h icumon ii KoaNpyeTcx onw. 6 a i i ~ 0 onpenennre, ~, "cay U H @ O P M ~ U M 06behl O H H ~CJle.ZYK)IL(eM I# BblCKa3hlBaHMII O H O.le~6aIb3aKa: ~
pace"
K n l o . r o k c KO B C H K O ~H a y l c e R B n R e T C R B O ~ ~ O C M ' ~ blfi ~ J I3Hah'. ~ H
I I I I
I I
I I
1 I I
I I
C ~ o n b ~6 ho i ~M H @ O P M ~ U U MHeCeT B ce6e u s ~ e c ~ 0u eTOM, qTO MOHeTa ynrtla r e p 6 0 ~B B ~ ~ x ' ? 2) 8
I>1
3) 3
4) 4
Yucno 754, 3an~carbB wec-manuarepw~~ofi cncreMe crucneHun. 1) 738,,
2) 1 A4,,
3) IEC,,
4)
Bblrucnn~eA8 1 ,,+377,,, orae-r npuaenu.re B TOG me cucreue. 1) 21B
,,
2) DFglb
3) C92,,
4) F461,
Onpenenn~es ~ a q e ~ UenoqucneHHbrx ue nepeMeHHbix x M y nocne BbInonHeHMn
Onpenemire s ~ a r e ~ nu ee p e ~ e ~ ~Sonocne i i BbInomeHux @ p a r ~ e ~nporpaMMb1: ra
x=z \ y x:=z div y; . x:=div(z,y); .yqx y.-x; y:=x; a \ b, a div b, div(a,b) - c ~ a ~ ~ n a p ronepaqcru, rb~e BbIqncnnlolune uenyro.Yac;rb
AaH 4parMeHT npOrpahfMbl EeikUK nac~mb A~~O~UTMU~~CKU~~ FOR n=l TO 5 for n:=l to 5 do ~ u f i . m 1n m~ 5 for m:=l to 5 do FOR m-1 TO 5 HU am m a 1 5 C(n,m)= (m - n)"2 C[n,m]:= (m - n)* (m - n); C[n,m]:= (m - n)* (m - n)
NEXT m NEXT n
I ) abcde
ku
kr~
2) boade
3) babas
I I
1 I I I I
I
4) cabab
K a ~ o enorwrecme BblpaxeHwe 3KBHBaJleHTHO BbIpaXeHnH, Y(AvB)-) C'?
Ann KorrnposaHurr G ~ K a, B b, C, d ucnonb3ymn ~ 1 e ~ t , r p e x p a 3 p nnocnenoRa-renbHble n~~e nsousEcnw TaKHhI C ~ O C O ~ O M HbIe qUCJa, tla.lkiHaIOWMeCR C 1 (OT 1001 A 0 1100 COOTB~TCTB~HHO). 3aKoAnpoeara nocnenomTenbHom cuMsonoe cadb u mnuca~bpe3ynb~a~ B~ e c ~ ~ a ~ q a ~ e p n q HOM Koae, TO nonyrmcn: 1) AF52,,
2) 4CB8,,
.
3) F15DI,
4) BOCA,,
I
f i n COCTaBJleHA5l UellO'IeK U C l l O J l b 3 Y ~ C Rpa3HbIe ~ Y C M H ~ KOTOPble I, YCnOBHO 06m~aqa1crcn I ~U@I)~MU 1, 2, 3, 4, 5. Kaxnan TaKaR qen09Ka COCTOUT 1.134 ~ Y C U H ,npn 3TOM c06nlonato~cn I cneuymwe npasa~lanoc~poeansuenoqe~: I Ha BTOPOM MecTe ~ U o ~T ~ a ' GYCUH n 3 2 , 3 wnw 4.
I
nonwoearenb, nepeMemaacb 117 O ~ H O MKaTanora B ,i~pymti,nocnenosaTenbHo nocem3 Karanoru AKADEMY, COURSE, GROUP, E:\, PROFESSOR, LECTIONS. Ilpu Kaxaou nepeMelueHUH nOnb30BaTenb ~ ~ ~CnyCKanCR 160 B KaTXlOr Ha YpOBeHb HUXe, nu60 nOPHHMa.TC5l Ha YpOBeHb Bblue. K~KOBO nonrioe MMR KaTanora, u3 KOTOPOTO waqan nepeMerueHwe nonbsona~enb? I ) E:\ PROFESSOR \ LECTIONS \ AKADEMY 2 ) E:\ AKADEMY \ COURSE \ CROUP 3) E:\ AKADEMY 4) E:\ GROUP \ COURSE \ AKADEMY
'
Huxe e T ~ ~ J I u Y H@o ~o ~p ~npencTaBneH e 4 p a r h i e ' ~6a3bl ~ aaHHbrx:
C~onb~ sanwceti o B naHHoM @ p a r ~ eynowemopnm-r ~~e ycnoeuw: > 20) M ( Y H C ~ ~ H HriaceneRu8, O C T ~ Mnu. yen.) > I 500)) ((IInoiuanb, KM?) M ( q a c ~ bceeTa = Aapw~a)? 1) 1
2) 2
3) 3
4) 4
B erefire w ~ e h r p o ~ ~~a6nurlbr oii A1 sanucaHa Epop~yna= SD1 + D$2. K ~ K Bun ~ R npuoFiperer @op~yna, ecnu nqeii~yA1 cKonwpoeaTb B erefilcy B3 ?
I
B COpeBHOBaHNfiX no 3 H N H l i V BFlnaM CnOpTa ~pHHUMaKfTY'IaCTkie JIbIXHIIKU (A), K O H ~ K O ~ ~ X U ~ I (K) U XOKKCUCTbl (X). C ~ O P T C M HM~eFH OT~pa3~blfi ~ YPOBeHb MaCTepCTBa: ~ a ~ J I b lHbfeeT fi nu60 I l l , ncl6o 11, nu60 i paspen, nu60 aenseTcn MacrepoM cnopTa (M). Ha nwarpahiMe 1 orpaxeHo KOflUYecTBO CIlO!3TCMeHOBC pa3nU'IHblM YPOBHeM CIIOPTUBHOTO h$aCTepCTBa, a Ha AUarpahlMe 2 - paenpenenwee cnoprcMeHoB no Buaav cnopra. M M ~ I O T 4C ~yTsepmeaus: A) Rce CnOpTCMeHhl, MMeWll(Ue 1 pa?pffn, VOI'yT RRnRThCR KOH~KO~~XCIK~MM. 6) Bce nblXHHKW MOrYT 6 b l ~ bMaCTepaMH CnopTa. B) Bce XOKKeMCTbl MOrYT WMeTb 11 pa3pRn.
r ) Bce cnop~c~ecthr, nMetouwe 1 paspm, ~ o r y -XeirnrbcR r xotitiewcTaMu. n j i n3 asanwsa o6cwx Kaltoc n3 ~ T M Xy ~ n e p > ~ j e ~cne3yc.r npenCTaEUleHHblX a l l a r p a ~ ~ ? 1)A
2)b:
3)B
4)l'
A u a r p a ~ \ ~1 a
Auarpa~ic~a 2
3gecb nepeMeHHbre a, b M c - CTPOKOROM Tuna; nepeMeHHble n, In, k - uenhle. B aJJI-OpHTMe MCflOJlK3yKYrCS C~e,Q'lOlUUe@YHKUHM: A n u ~ a(x) - no3spauae~KonuqecTno CMMBOS~OBB cTpotie x. I4~ee.rTnn ccuenoe),. ~ cnrlnon cnena B cTpotie X.M M ~ C~T PT O K O R ~ ITun. ~~ Wsenerb (x, i) - ~ o s s p a l u a ei-ii tio~opofi , 3anuca~b1 ~OAPIIP.cHarlana nce cri~nonbl CTPOKU Ctine~c~b (x, y) - eo?npamaer C T ~ O KB Y X. a 'Ed?ehl BCe CMMBOJlbl CTPOKH Y. T / T M ~ ~ CT ' Q ~ O K O B ~TMn. I~~ ~ H ~ ~ ~C HTPO HKI 3anMCblRalOTCX I B KaRhlVKaX ( o ~ u H ~ ~ H HailpMMep ~ I x ) , X = 'WKOA~'. ra ~CJICI Katioe 3 ~ a q e ~ tnpnMm re nepeMerrrran b nocjre BhrnonHeHnn 3~01.0( P p a r ~ e ~anropwrhla, nepeMeHHan a uMena 3HaqeHwe '3HEP~ETMlW! I ] KATEP
2) HMTKA
3) I-EHETMKA
. 4 ) PEHTA
Omaernoilz K 3adanuxdw3mozi Yacmu (BI - B8) XanBemcn nabop cuusoi~on, ~ N5 I cnpana om Ho,nepa rcomopbre c-wedyem sanucamb 8 1 S ; r a ~omsemoa coomeemcmay~o yero sada~ux,tiaruHan c nepsoic &zemovKu. ihir~~dhric c.rmreo!,lr nuurume 41 umc)a;rbnou w i e m o ~ ~ aZ ?cuumeemcmguu c npu~le0enHBI.MU o6pa3qa4>tu.
~ c ~ o ~ H KAnbKY;I%TOP w T ~ J ~ ~
MMeeT TOJlbKO ABe KOMaHAbl, KOTOpbIM IlpHCBOeHbl HOMepa: YhlH0mb Ha 2 npu6aab I Bblnon~nnKOMaHJlY HOMep 1, KAnbKYJIRTOP YMHOXaeT 'lHC.10 Ha 3KpaHe Ha 2, a BbInOJlHX5l K O M ~ H AHoMep ~ 2, np~6annne'rK rucny Ha sKpaHe 1. Hannluure rrporpaMMy, conepmamym H e 6onee 5 tioMalin, KoTopas u3 w c n a 6 nonyrae-r sncno 33. Y ~ a m u nawb ~ e woMepa KoMaHa. 12 122 - s r o nporpaMMa: H a n p u ~ e p nporpahnia , Y M H O XHa ~2 n p ~ 6 a ~1 b Y M H O ' Ha H ~2~ npw6asb 1
Tpu apyra Oner, 6opuc A A p c e ~ ~ f~i~, K O H Y UUHCTHTYT, B p a s a e x a n ~ c bno p a s roponaM. ~ ~ ~ M BOT cnycTn HecKonbKo ne-r, OHU, B C T ~ ~ T H B U I Mrra C ~ nevepe BcTpevu R~III~CKHFIKOB, peurMirM paltbll'p&I'b CHOe1.O 'I'OUiipkiUa. Ha Cl.0 BOllpoC, IZC OHM 'I'ellepb XUHS.1; UpYl(bH OI.Be~l'1.1L.MJIM: Jl X M B ~B E~a~epU1.16ypre. a E o p ~c B MypMaHcKe. Oncr: Lopuc: n XMRY B Ronrorpane, a Oner - B M y p ~ a ~ c ~ e . a Oner - H Bonrorpane. Apce~nA: s mCi~yB Myp&lawc~e, Kaxab~fi1.13 H H X O ~ A Hpa3 c ~ a s a nnpaBny u o a m pa3 conran. , w Oner? Tae XHBYI- A p c e ~ u G60puc B omserne nepevuc.sume nodp~d6e3 npoBe.!roa nepsble 6y~abl~~13aonulj zopodoa. coomaenic m q ~ ) r y u u,crena,w e dpjr3eii B ytia3ati~o.tfnopdtie: rranpu,wep BME.
CKOPOCT~ nepenarn aaHHbrx vepes MoaeMHoe coenuHeHue panwa 28 K~HT/c.nepenaqa T ~ K C T O BOW + a h a repes TO coenMHeHue s a ~ x n a10 c. Onpenenu~e,cKonbKo CuMBonoB coaepxan ner 1-0 OH 6t.1~1IIpeLIclaB!len H KOLIMPOBK~Lnicode. penaenblfi I ~ K LGCJIM - I , MSU~CI.HO,
U e n o r ~ uc u ~ ~ o n (CTPOKM) oe C O S X ~ ~ Cno X cnenyiorucMy npa~uny. C O C l n A T M 3 0,THOJ'O CUMROJIS, 3.r0 1114(~pa 1. n e p ~ a f CTpOKa l Kaxnan us cneuyKlulux uenoqeK co3aaercn TaK. C ~ a q a n a3anncbrsae~cnnopnn~osbrfiHoMep n a ~ ~ CoT l~ O Knanee U , neaxnbl sanucb~eae~cn ocn uenorrca UH@P ~3 npenb~qyruefiCTPOKH. n e p ~ b l e4 CTpOK1.1, CO3naHHble no 3TOMY IlpaBkiny BblI7lR,lS(T CJle,~YK)UIHM06pa30~: 1 211 3211211 13211211 C K V ~ ~pa3 KO B o6rueii C.lOXH0CTH BCTpeqaeTCR B 10-fi CTpOKe ~1.1apal?
B ~ a 6 n n u enpaeenelib1 sanpocbl K IIOMCKOBOMY CepBepy. Pact~onoxu~e O G O ~ H ~ Y ~ Hsarlpocos MR B IlOPXLlXe y 6 b l B a ~ ~KOnineCTBa fi CTPBHCIU, KOTOpbIe Hakne~I ~ O M C K O B CepBep ~~~ I70 KaXnOMy ~a sanpocy. Anfi o 6 0 3 ~ a r e ~ n~rornrec~ofi x onepaunn "MJM" B 3anpoce ucnoJ1myercrc C M H A O /, anfi nornrec~okonepaunn "M"- &.
Omaem sonuutume s aude nocvedosama.~bnocmrr
H e 3a6yr)bme nepe~ecmusce omsembr 6 ~ R U H Komsemos No I
1
rlaclb 3 fins sanucu omsemos K 3ar)anux.m smofi vacmu (CI - C4) ucnonb3yiime 6,7an~omsemos N? 2. 3anuurume cnavana no,wep sadanus (CI u m.d.), a 3ame.w nonnoe peurenue. Omsembi sanuebrsaiime v e m ~ ou pa36opruso.
W
Tpe6omocb HanMCaTb IIpOrpaMMy, KOTOpaH OIlpe,WnSieT, nexM JIM TWKa A(r,,y,) BHyTpN KBaApi3THofi 06nac~n.O I ' P ~ H M Y ~IlpfihfbIMn, H H O ~ ~ Ilap~eJIbtlblMCIOCRM KOOpARHB.1: noHuMaeTcfi B CTPO~OMcublcne, T.e. cnyraii, Korna mrKa y = -2, y = 2, x = -2, x = 2 (((BH~TPM))
IlOCTXUleHHylo 3aAaqy. 2) YKMUT~, KaK HYXHO A O P ; L ~ O T ~IlpOrpaMhiy, T~ 1rro6b1 He 6b1no CnylIaeB ee H e n p a ~ ~ J I b ~ o f i pa6mbr ( M O ~ H yKa3O nro6ofi cnoco6 nopa60T~tikicxollH0fi IIporpaMMbI). 3) Y K ~ X H K TaK ~ ,MOXHO ~ 0 p a 6 0 ~ npOl-paMMy, a~b 9~0661 OHa COnepXWla nOmVeCKl?e OnepdUHCI AND WXHOR. l l p o r p a ~ Ha ~ a6eficu~e llporpa~H ~aa n a c ~ a n e INPUT xO, yO var xO, yo: real; IF (XO< 2) ?HEN begin IF (xO > -2) THEN readln (xO, YO) if (xO < 2) then IF (yo < 2) THEN begin PRINT " T O Y K ~ n e x u ~BHwu 06nacrn" if (xO > -2) then ENDIF if (yo < 2) then ENDIF writeln ( ( T O VnemMT K ~ BHyrpn o6nam'); ~ JleXtiT B H y l p l O ~ ~ ~ C T R " P R m T ' ' T O ~ KHe end; END writeln (LTOYK~He n e x m ~ ~ y r 06nam'); pn end
, Q a t ~ t ~T p n K ~ Y MK ; ~ M I < c ~coaepxamm ~, CoOTseTcTBelrllo
3,4. PI 5 t i a b ~ ~ e i321 i . OJMH XOJ paspcura(ec.1~ TaKMX JB? - TO IlMUIb B O!IHOR M 3
eTCU UJlM YnBONTb tiOJIMVeC.I.BO K a ~ H e f R i ~ e i i b u f e f iK y q e
HHS), UnM a 0 6 a ~ U T b2 KaMHR B ~ O J ~ I U Y KUJ3 KyY ( e c n k i TaKkiX a B e
- TO
n H l U b B O n H y M3 HHX).
R b l ~ r p h l B a eTOT ~ MTPOK, n O C n e XOBa KOTOpOrO BO BCeX T p e X KyYaX C y V b f a p H O CTaHORMTCR H e M e H e e 13 ~ a ~ t l e MI-POKH k . XOIWI' 110 urpe - n e p e b k i unu B T O P O ~n~r p o K .
B
HeKoropoM
0Yepe;rM.
~ y s ea 6 1 1 r y p ~ e ~ . r bnpoxoam 1
U ~ I R C ~ I MKI'O T ~ B, b I M r P b l B a e T
n p e a s a p u r e n b H o e TecTHpoeatrne,
flPM I l p a ~ M n L t l ~ f i
no
pesynb~arar~~
Tec~upono KajKilOMY f l p C a h i C l y ~ ~ R T Y P M ~MOiKeT HT H a 6 p W b OT 0
K O m p O r O iri0Q"r 661Tb LlOflY[UeHbl K C J a q e BCTYflMTeJlbHblX 3KOaMeHOB R nepHOM nOTOKe. Bal-IHe IlpOBOAHTCR
no n B y M
npe3hIWdM,
LIO 100 6anno~.n p k i 3TOM K CJaYe 3K3aHeHOB B flepBOM nOTOKC fiOflyCKaWTCR a 6 M T Y p ~ e ~ ~ Hab1, 6paolu~eno p e 3 y n b ~ a ~ a h T. le c m p o s a i i u s i l e M e n e e 30 6 a ~ u l o Br l o K a m r r o M y 113nuyx npennieroo. Ha BXOA nporpahirV1bl nonam-rcs c s e a e H u s o p a y ~ ~ b ~ nap e~, yas axp n . r e J l b H o r o T e c r u p o s a H k l s . M3nem~o..IT0 o6mee KOJlki.leCTB0 YYaCTHUKOB TeCTUpORaHMn H e IlpeBOCXOnclT 500. B nep~ofiCTpOKe RROJMTCR KOJIHYeCTBO ~ ~ H T ~ P M ~ H TnpMliMMaBL1JMX OB, YqaCTMe B TeCTHpORaHMM N. Aanec cnejyror N CTPOK, meiouIux c n e ~ y i o u ~@ ~ ~o ipi ~ a ~ : <@a~nnw >< ~ MMR > < 5 a n n b 1 > . ~ - c r p o r t a , c o c T o n m a n H e 6o~1ee q e M ~3 20 C n M B o n o s ; 3 n e c b < Q ~ M M J I N> H M I>~ - CTpOKa, COCTOII~ZUIHe 6onee VeM U 3 15 CMMBOnOB; - c - r p o l t a , conepxauan TPU u e n b t x q u c n a , p a 3 n e n e ~ ~ b rnxp o 6 e n o ~ . 6anslb1 COOTBeTCTBJ'IOWHX G a n r ~ a IIOny'4eHHblM ~, H a TeCTkipOHaHMM IIO KaXJlOMy W 3 T p e X IIpeJIMeTOH. npw TOM < Q ) a ~ 1 1 ~ 1 ~>xn < IIMR >, < MMR > n < 6annu> pa3nene~b1~ ~ H Nn p oM6 e n o h i . n p k i M e p b 1 BXOAHblX CTpOK: B ~ T ~POOBM ~68H59 ~ H U C H M O BE~ K ~ T ~64 ~ 88 u H ~ H a n n r u ~ ~I l peO r p a h i M y , KOTOPaR 6 j ' ~ l e T BblROaUTb H a 3 K p a H @ a ~ U n M k ik i U M e H a B ~ W T Y P H ~ H T O R ,
,
f l O T e p f l e B W U X IIe)'A'naVy,
TO e C T b H e P O ~ J ' W e A H b l XK C n a q e 3K3aMeHOB B IIepBOM nOTOKe. n p M 3TOM
MMeHa M @ ~ M M J I U HM0)KHO BbIBOnUTb B IIPOMSBOnbHOM nOpX!lKe.
PELUEHMFI M OTBETbl K BAPMAHTY 6 %CT~ nOaC!qH'lYdeM
1
KOJIHqeCTBO CMMBOSIOB U JKdHHOM BblCKa3blBaHM44, BKJIkOqaH 3HaKH I l p e n H H a H M R M RpO-
6 e ~ r b 1 .~ O ~ Y ~ M T52. C H Anx
ofl~oro cmeona ~ p e 6 y e ~ c f116 a % ~n J, l e 8 ~ H T . 52 6atira = (52 x 8) 6 u =~416 6m
T a ~ u u0 6 p a 3 0 ~ , k
i ~ ~ o p ~ a q n o06'beM ~ ~ b ~C O i O i ~ U ~ ~ H 6yne-r NII paBeH
npa~RJIbHblfiOTBeT:
41 6 6 r r ~ a M .
3) 416 ~ U T .
O ~ ~ B U AqTO HO .l.eKCT , C O C T a K ~ e l -Bl ~ MH@OPMBLIUM, KOTOPOe H e C e T
1
X ~ Y ~ M B OUU T t l O~C r b I O
CUMBOn
(i)
N = 16 X 32 = 5 12 CMMBOJIOB. K O J I U ~ ~ C . I . B O
B 3TOM TCKCTe, M O X H O O n p e A e J I M T b U 3 COOTHOUleHHH:
N = 2', .I.aKn.v 06pa30~,u3 5 12 = n o n y q i l h t i = 9 6wr. ? ' a ~KaK TeKCT C0Jlep)KaT 600 CHMBOJIOB. KOIIU~e(TTSOMH@PMBUHW (600 X 9 ) ~ H =T 5400 ~ H T . npaBRJIb~b1fiOTBeT: 4) 5400.
B HeM
6 y ~ pea B~H 0
TO^ HJIM A P Y ~ OC T~ O P O H O ~B~B e p x - C ~ ~ ~ I TPaBHOBePOHTHble, H I I TO KOjrMqeCTBO B03MOXHhIX C O ~ ~ ~ TNM U$ KOnllW?CTBO M H @ O P M ~ I I M Mi CBR3aHbl ( ~ ) o P M ~ J J o #N = 2' , rJe N - K o n n . i e c T s 0 BO3hlOXHblX C O ~ ~ I T M 8 i~-, KOIIM'4CCTBO M H @ O ~ M B ~ M IKOTOPOe I, ~ e C e 7KaHCAOe n3 HUX. B H a u l e M cnyqae N = 2, ~ n r n ai = 1. ~ O ~ T O MC YO O ~ U ~ ~o HTOM, M ~ 91-0 M o H e T a ynana rep6ou B e e p x , t l e c e ' r 1 6u1 u t l ~ ) o p ~ a u w n . n p a e l l n ~ l ~ ~ormi ei T : 1) 1 .
Ecnn CqMTaTb,
q T O l l a n e H U R MOHeTbl
l l e p e ~ e a eY HC.QO ~ 754&B A B O H ~ H Y Wa, s a ~ -eB ~~ r . r e c ~ ~ a ~ q a ~ceu cpT ue hqi y~c yv u c n e H u n : 754,= 111 101 loo,= 1 1110 1100,= IEC,, npaBwJIbHb1fi OTB~T:3) lEC,,. -
O@OPMHM pewewe
B Rune ~a6nuub1:
,.
I
8 -
7
3 1 12 -
na He T
HCT
, Ko~eu
, \
-
. x:= 8-5
y:= 7+5
Aanee, B p e 3 y n b ~ z r eB b l n o n H e H M n x=z\y,nonyuwhl:
M, HaKOHeU,
O r I e p a u M H U ~ ~ O Y M C ~ ~ H HnOeI l- ol e ~ qMcJia ~ n
z Ha wcno y
x= 1 3 \ 3 = 4 .
y = X, IIOJlyYMM y = 4. T~KM o6pa30~, M no OKOH'lilHHM BblflOSlHeHUR 3 a H H O M ( P p a I 3 l e ~ T anpOTpaMMbl3Ha'TeHMR n e p e M e H H b l X 6ynyr c n e ; r y i o r u n w i : x = 4, y = 4, z = 13 ~ p a e e n b ~ bcurser: ~ i i 3) x = 4, y = 4, z = 13. n O C f l e BblnOIlHeHMR O n e p a T O p a
co6oii KOH'blOHKUMK). K ~ M3BeCTHO,3T;1 K JlOTMqCCK2 (PYHKUMII MCTUHHOETOfAa M TOnbKO TOrlla, K O r n a o6a BbICKa3bIMHMn, BKO,WlI1Me B ee COCraB. 6 y T y T UCTUHHbl. n o ~ T 0 h l y : ( n e p ~~ Y~ K CBO ~U I ~ C H W )- MCTMHa; (BTOP~H~ Y K IBX ~~ C H ~-HUCTkIHa. ) Ho T o r n a : (nepsarr 6 y ~ corrrac~an) ~ a - n o x b ; ( B T O ~ ~6R y ~ r~n aac ~ m) noxb. ~ O H H T H OW , O 3Tklh.I YCAOBMRM COOTBtTCTByeT TOnbKO B b I P a X e H H e no,? HOMePOM 1. npaeenbriblii OTBCT: 1) abcde. , & ~ H H o ~BbtCKa3blBaHHe flpeACTaBJLReT
RMleTCII
7
7
I'Ipoa~anu3~pye~ rrpenc-raeneHHbre ~ a 6 n u u b 1 . I ) CO~-.U~CHO 3 ~ ~a6nuue 0 ~ MOXHO PaCCMaTpUBaTb CneJIyK)UIHe B03MOXHbIe CXeMbl ABMXeHUH:
A + B + C, IlPOTllXeHHOCTb . M a p W p y T a P a B H a 1 + 4 = 5 ; A + D + C, IlpOTRXeHHOCTb M a p l I l p y T a P a B H a 2 + 3 = 5 ; A + B + D + C , IlPOTRXeHHOCTb MaPUlPYTa P a B H a 1 + 3 + 3 = 7. ,&~~ble T ~ ~ J ' I U U 1)~HI e y n O B J I e T B O p 5 I ~ TYCnOBUlo 3 a n a q U . T. K. M a K C U M a J b H a R IlpOTRXeHHDCTb MaPUlPYTa OT IIYHKTa A A 0 nYHKTa C 3 n e C b P a B H a 7.
-
OT
A no C
3aecb
- .
He 6onb~ue6.
3) B 0 3 ~ 0 . f i ~ bClXeeMbl jlBM)l<eHNR: A + C, npOTXX<eHHOCTbMapulpyTa paBHa 3; A -+ B +.C, flpOTflXeHliOCTbMapLUpyTa PaBHa 3 i- 4 = 7; A + D + B -+C, npoTnrnerrtroc7.1, %faputpyTapasHa 2 + 3 + 4 = 9. T ~ K OGPUOM, M M KdH H bltt 'l'il6!lU~bl3) H t t YUOW1tTI'HOpXK)'I' YCJlO8MK)?UatIM.
mi A B C D
C
2
D
1
4
P~CCMOTPMM IlOCJIenOBaTe.lbHOCTb KaTaJlOrOB, KOTOPble nOCeTMn flOJlb3OBaTeJIb: AKADEMY, COURSE, GROUP, E:\, PROFESSOR LECTIONS. Coeepwet~k~o orennnllo, YTO Bce nepeMeuleHun npowcxonnnu B npeuenaxnuctca E:, npn TOM KaTanorM PROFESSOR u GROUP paCflOflOXetIb1 B KOpHe AMCKa E:.T~KMM o 6 p a 3 o ~M , OXHO npennonoxu'l b, rTo nOnb3OHaTeflh 1iar;ur ncpeMeueHse n3 KaTanora AKADEMY, nanee nomiancn H a yposeHb sblille M nonan B Ktiranor COURSE, U, tILlKOHeL[, ~OiIHRBulFlCbcLUe H a OJWrr YpOBeHb BBepX, nepCMeCTMnCR B IiaTLlnOr CROIJP u aanee ~bture- H a nucK E:. I ~ O ~ T O nonttoe M Y u M n Ka-ranora, n3 KOTO~OI-o HaLran nepeMelueHMe nOnb30BaTenb. cnenylouuM: E:\GROUP \ COURSE \AKADEMY. llpaemb~briicvr6e-r: 4) E:\ GROUP\ COURSE \ AKADEMY.
K - K o n u q e c T e o U B ~ T O Ba 3 0 6 p a x e ~ ~ ~ , a N - qucno ~ U T O, T B O ~ H M ~ IBXB M n e o n a M x T n non ~ a m n b ~nmcenb. fi Twua MJ 512 = 2N ~ a f i ~ ( e YMCJlO M 6 ~ 1O , l t l e f i e H H b l X I3 BMUeOllaMHlM IlOfi K a l K d b l k IlHKCeJlb w306paxe~un.TO em npe06pa30BaHu51, n o n y t l u M N = 9 ~ M T .nocne n p e o 6 p a 3 0 ~ a ~+aiina u ~ 8 = 2", YUCnO ~ U T OTBOnWMblX , nOA ~ a ~ J l h 1 f nMKCenb, i CTaJlO P a B H h I M ll= 3 6 H ~ i l . T~KM o6pa30~, M n t t ( ) o p u a u n o ~ t ~0b6 z~e h 4 + a h a y M e t 1 b u r w n c n B 3 pa3a. n p a ~ ~ f l b ~ bOTBeT: l f i 2) 3.
JJVI p e m e H w n u c n o n b y e M ~ ~ B ~ C T H ~a K o ,p ~ y n K y = 2h, rne
l l p o a ~ a n n 3 ~ p yn pee~A c ' r a e n e s H b l e CnOpTCMeHOB, UMeiOtLIUX CnOpTCMeHOB, MMelOluHX CnOpTCMeHOB, MMeWUIMX
u e a l p a M M b r . M 3 J M ~ I ~ ~ MI M c n ~e nIy e T ,
r-ia
111 C ~ ~ O P T H B HPa3PRLI, ~ I ~ ~ - 25 q e n O B e K ; 11 c n o p ' r l l s ~ b l k p a 3 p X n , - 40 VeJlOBeK; 1 c ~ ~ o ~ T M B PW3PRAr H ~ ~ # - 35 YenOBCK;
uac-repoo c n o p T a - 20 eno one^. Rcero R C ~ O P T M B H M XCOpeBHOBZlHMIIX nPUHUMaK3T YLIaCTMe 120 VeJTOBeK. M3 W a r p a M M b I 2 CJlW(yeT, qTO U 3 B C W KOnMYe(XBa CIlOpCMeHOB nOnOBUHa -XI3 XOKKeMClbl (TE. AX 60 Y W O B ~ K ) , a JI~DKHKKUM K O H ~c 0 m ~ i cI r - r no I i4 . l a m i B c e x p a a C H u m B (~.e. MX no 30 ~ l e n o ~ e ~ ) . Aanee 6 y n e ~p a c c M a T p M s a T b yrsepxnenm, n p e u n 6 x e ~ ~ blraM ~ e B K a q e c r n e crrseToe: A) Bce CnOpTCMeHhI, U M e l o U U e I p a 3 p X n , M O r V IIBnRTbCR K O H ~ K O ~ ~ X U ~ ~ ~ W . Cornac~on M a r p a M M e 1 c n o p T c M e H o e , M M e m u r u x I paspnn, - 35 venoaer, a ~ o ~ b ~ o 6 e x -u 30. e a ~ O ~ T OBCe M CnOPTCMeHb1, ~ HMeH)lUHe I pa3PRfi, H e MOrYT 6 b l ~ b TOnbKO K O H ~ K O ~ ~ X ICJP e~nM M U, HMX n O l l X H b I 6 b I T b M i l p Y r H e . T ~ K M o6pa30~, M y l s e p x n e H u e A) H e B e p H O . 6) Bce nblXiHNKM M O V T 6 b 1 ~ bMaCTepaMM C n O p T d . ~ ~ M M K O B - 3 0 , a CIlO~rCMeHOB-MaCTepOBCllOpTZi -1OJIbKO 20. ~ o ~ T OYl'BepWeHWe M ~ 6) T a m e HeBepHO. B) Bce XOKKeUCTbl MOrYT U M e T b 11 Pa3PRLI.. XOKK~HC -~60VWJlOBeK, B C l l o p l CMeHOB me, MMeWUIMX 11 C l l O ~UBHblfi f P a J p H U , -40. T ~ W UM G~Z~WM, y - m e p x a e i r w e B) T a m e I l e n e p l l o . r) Bce CnOpTCMeHbl, HMeIOLlIUe 1 p a 3 p R n , M O r y T RRnRTbCR XOKKCMCTaMU. Cornac~onuarpame 1 c r r o p T c M e H o a , u M e m l w x 1pa3pm, - 35 .lenoseK, a X o K K e ~ c T o B - 60 q e n o B e K . ~ O ~ T O MB Y n O n H e MOXHO AOIlYCTUTb, YTO BCe 35 CnOpTCMeHOB, UMeloUlMX I p a 3 p R n . - XOKKeUCTbl. ~ O ~ T O MB Y b l 6 U p a e M yTBepXi.lleHUe I
n p a ~ ~ J l b OTBeT: ~ b 1 ~4)
r.
r).
OY~?BMRHO, YTO 0CtIOBBI.LMW UCKOhIblX CUCTeM CYMCneHUR J O n X H b I 6bf.l.b 6011bUJe
~ 4 p 7)a U M e H b U I e 27. n p n nepeeone , ~ e c ~ r n u ~ qourcnn a R ,lpyrym
7
('1:~. B I l a l l l e M
tI14Cne p U C ) T C T B y e T
C U C T ~ M Yc q u c n e H u R u c n o n h ~ y e ~c nc e~r ~ u a n h ~ h r t i
a J l r O p U T M , O C H O B ~ H H H~ aI ~ ((BbIjXJ'leHUU)) ~ OCTaTKOB O T n e n e H U I l fieCRTUYHOr0 Y U C n a H a OCHOBaHUe
n p n q e ~nepsbzii ~ a ~ oo fc ria T o K n 6 y n e ~noc,7edneir un4poii rucna B 3. T ~ K H06pa30~, M OCHOBaHHe CHCTeMbl CYRCneHUH A O n X H O 6 b l ~ lleJlU'l.eneM b q U C n a 24, T.K. 27 - 3 =,24. C p e n TaKUX ~ aeJU'~JIefi~ b 1 6 e p Tee~, KOTOpble 6 o n b u r e 7, ?TO rncna 8,12 n 24. B ~ ~ I I o J I H M M npOBcpKy: 1) U T ~ KI l,y C T b OCHOBaHHe H a U I e f i CUCTeMbl C9UCJleHMR P a B H O 8. n e p e ~ e f l eYUCnO ~ 27 B CMCTeMy C4UCneHMR C 3TUM OCHOBaHneM: 27 24 3 n o n y q ~ ~ 7= 33* , ~ 3 HOBO^^
C W C T ~ MC ~Y I ncnennR.
U C K O M O ~C~U C T e M e CqUCJIeHUII, T.e. B H a l l l e M C n y Y a e OCTaTOK n 0 , l X e H 6 b 1 ~ pba B e H
I'BCCMOTPMM ((xf 6). X) f 9 > 0). P e I l l a R 3TO HepaBeHCTBO, flO.rly'lnM: x' + Gx + 9 > 0; (x + 3)' > 0 O q e n ~ a ~ :>TO o , H e p a B e H c r R o 6 y n e ~ m ~ e c r e HCTUHHMM, e ~ ~ o T.e. M C T M H H ~ I MIIPH n m 6 ~ 1 ~x H ~ ~ ~ H X. Torna Bb,lCKa3bIlUHUe ((x + 6 ) X) + 9 > 0)-> (X . X < 20 ) 6 y a e ~ n O X H b l M npu JIOXHOM 3Ha1ieHUH u ey j i o a n e T s o p n m l u e e B b l p a X e H n n (x . x > 20 ). H a n 6 o n b m e e uenoe n o n o x n ~ e n b a o es ~ a r e ~ x, n a H H O M y y C n O B t i K 3 , 6 y 2 e ~P a B H O 4.
H I I X
~onrol-pan.Torna CyHCnctlwrl npyscii c yrerohl loro, r l o ~itxh'~lb~ii 1.13HHS C K ~ ~ ( ~rlpaeay J I nMwI, HanonosMlry, MOWHO 3aIlMCaTb KOPOTKO CSICfiYlOUIMM o6pasoxl: Oner: 0 . E + 6.M = I: Gopnc: L.B + O M = I; A ~ c c H HA~. ~M: + 0 . R = 1 . na.-rec 6yileu pema-rb nazary MeTonoM p a c c y ~ ~ e ~ w i i .
T.e. Oner rnl.tue.113 E ~ a r e p ~ ~ G p - e .
e. T.e. Fopuc rncleer B M y p v a ~ c ~I-10
>KHBeTB M ~ P V ~ HToraa C K ~ 6. o p ~ LlOjrjKeH c XM rb B Honrorpaje. qT0 M Cnl.IlyeT M 3 RbICKtK3bIBaHHR fiop~ca:F.B + 0 . M = 1 (OM = 0, slra.r~i.r,T;.B = 1) B
M Y ~ S I ~ (M), HCK 60pwc ~ - B Bonrorpane (B), a Oner - B E t i a ~ e p ~ ~ f i y(E). pre
~np~,!IeJlMhl, CKOJlbKO ~ W 6b1n0 T nc)PCJaHO 3a 10 C ( 1 K ~ M=T1024 6~ la): 28x 10236u~/cxIOc=2867206~~ K ~ H3BeCTHC1, K R KOBMpOBKe Unicode non ~aWIblfiCftMBOn OTB0,lMTCR 2 6ah-1, U i r M 16 6 n ~ . B~IY~IC KOnMqeCTBO ~ M M CMMBOnOB B ller)ellaHHOMTCKCTe:
~ T CnesyloutMM: O q e ~ r r a ~ oTO . a;lpec ytia3a~nom@afinaB ceTw M H T ~ ~ H6yicer fip :;i news .edu i list .txt D G A F C E R
,
C ~ M6onbwoe O ~ KOJIUqCCTBO CTPaHMIt 6yge-r BblJlaHO Ha 3anpOC C CaMblMU ((MIIIXHMU)) )ICnORUIIMU: cnopT I tpyTGon I IIe~ep6yprI 3 e ~ n -(b), r 3 a ~ e ~ cnop-r I @yr6on i n e ~ e p 6 y p r(c), M nanee cnopT I @ y ~ 6 o (a), n ~ cnopT & @y16on & ne-rep6ypr & 3 e 1 i n (d), TaKnM 06pa30~,nonyruM nocnenoBaTenbHoc-rb: b c a d
a m nonymi ycnoeue (2 - x)* (2 + x) > 0, a n3 mpom -(2 - y)* (2 + y) > 0. BOPMOXHSLR nopa6o~~a: nporpaw~aHa n a c ~ a n e var xO, yo: real; begin
readln (xO, yO); if (2 - x)* (2 + x) > Othen begin if(2- y)* ( 2 + y)> 0 then writeln ( ' T o ~ nexnT K ~ B H ~ P H06nac~u') else writeln ('TOY~a He nemnT B H ~ T P H06nac~n'); end; else writeln ('TOYK~ He n e x w ~~y-rp1-1 O~JI~CTM'); n p o r p a ~ ~Haa 6eficn~e INPUT xO. vO IF (2 - x)* (2. + x) > 0 THEN p n M" IF (2 - y)* (2 + y) > 0 THEN PRINT " 1.orKa JleHcwr ~ ~ y r o6nacr ELSE PRINT " TOqKa He neH(WT BHYTpH 06nac~u" ENDIF ELSE PRINT " TOVKa He JIeXUT BHYrpM 06nac~u" ENDlF END BO~MOXHB cnenymurm nOpa60T~anporpaMMbr c ~ c n o n b s o ~ a ~ nomt~ec~ocok uev onepauuu AND: I I p o r p a ~H ~aal l a c ~ a n e var x0, yO: real; begin readln (xO, yo); if ((2 - x)* (2 + x) > 0) AND ((2 y)* (2 + y) 0) then writeln ('mwanatnrr srryrpm o6nacrn') He n m BH~IPU&am') else writeln ('m end. I I p o r p a ~ H~aa6eiicn~e INPUT xO, y0 IF (y *xO > 0) AND ((y - yO) 'yo > 0) THEN PRINT " TOSKa neH(HT BHppN 0 6 n a m ~ ELSE PRINT " x v ~ He ~ na e x m B H ~ I P UO ~ J I ~ C T H END"
"
Ans xpaHesirn TeKyurem HanMeHbluero 3nexierwa MaccuRa A B ~ I ~ O C M ~ T P U B c~ ~~ Mp Oo Maccnsa ~~~e 6 y a e ~n c n o n b 3 o ~ a ~ b ' n p o ~ e ~uenowcneHHym o ~ 1 ~ y ~ ) nepeMeHHym Amin. K p o ~ eom, Haht noHano6n7;c~UenOqUCneHHaII nCpeMeHHilX &TII XpaHeHUII CYMMbl ~ a f i a e H ~H baM 1M ~ MMHMManbHblX ~ T ~ 3neMeHT 3JIeMeHToB, 0 6 0 3 ~ a q u3TY ~ JlepeMeHHYK, S . B TWe UUKna 6 y n e ~C ~ ~ B H U BO~epeAHOfi C T O K U C YHce ~ a f i i l e ~ H MWHUMYMOM. b1~ B TOM Cnyqae, eCnH 3neMeHT O K ~ X ~ T CMeHblUe, R B nepe~ K c y m e S. M .raK no MeHHylo Amin 3arrece~s ~ a ~ e 3~01-0 ~ u e HOBO^ ~ J I ~ M ~n Hn Tp n~ 6 a ~ ue m Kotiua unwa, no oKoHyaHun ~ o ~ o p ononyrnM ro HCKOMYIOCYMMY. I l p u ~ e p T ~ K O Rnporparmbr:
var a : array [i..N; 1..N] of integcr; Amin, i, j, S: integer; begin S:= 0; for i:= I to N do Amin:= a[i,l] forj:= 2 to M do if a[i; j] < Amin then Amin = a[i; j]; end; S:= S + Amin end; writeln(S);
DIM a(N, M), Amin, i , S AS INTEGER S= 0
F O R J = ~ ~ M IF a(i, j) < Amin then Arnin := a(i, j) NEXT j S = S + Amin NEXT i PRINT S END
I
end.
P a c c ~ 0 ~ p MXOA . r ~MQM. O@OPMMM eM B BMAe ~a6JIIIllb1,rae B K ~ ) K A ORWfi~e ~ 6 y n e ~3 a n ~ c b r ~ a ~ d napbr racen, cooTBercmymurMe Konuqecmy ~ U U J ~H aKKaxAoM x a n e urpb1, s nepeoii u Bo B1-opoii! I Ky'lKe COOTBeTCTBeHHO. I I 1-ti xox I 2-n xoa I 3-ii xon I 4-n XOA k x o a ~ o eI Bce sapaakrrbl I BbIlfrpblr~~blk I Bce saplrawrbl c o m n ~ w e xona l e r p o ~ a xoa JI ~ r p o ~ ax o ~ aI nrpora 3.4.5
6,4,5
8,4,s
%8,5 10.4.5
3,4,7
Hanpu~ep, 6,4,7
6, 8.7 6,4,9
I
Bb~nrpb~~u~b~fi xon 11 HI p o ~ a 8, 8, 10 WIN 11 HrPOK BblbWpblBaCT !la 10. 8, 5 4-M xow~ ~ o c n106or.o ne o r m nepsoro wrpora, 10,8 , 5 HanpuMep, ymons Itticno 12,8,7 wnu ~ G ~ M H R~ M R~H~UICZ~ 6,&9 KyxlKe. 6 , s .9
I
I
I I 1 1 1 1
T ~ K M06pa30~, M ~3 T ~ ~ J I U L BI ~HI ~ O ,TO npu n r o 6 o ~ xone nepBoro urpoKa y mopom urpoKa ~ceraal H M ~ ~ T C xoa, R nprteonnulnfi K no6e;le. I npU~€!p npOIpaMMhl H a R'3hlKe n a c ~ m b : var a:array[1..500] of record namestring; surn:integer; end; c:char; ij,N,s,m:integer; begin readln(N); {CVHT~HO hWJlUqeCTB0 ~ ~ U ' I ' Y ~ U ~ H T O B ) for i:=l to N d o begin a[i].name:="; repeat read(c); a[i].name:=a[i].name+c until c=' "; {csuraaa + a ~ m r ~ x ) repeat read(c); a[i].name:=a[i].name+c until c=' "; { C ~ H T ~UMII) HO s:=o for j:=l to 2 do begin read(m); a[i].sum:=m if a[i].sum >= 30 then s:= s+l end; . if s < 2 then writeln(a[i].name); readln: end; end. "
I
-I
I
b
1
1 o a l - l o r i C M H T ~ K C ~ ~ . O~ L~LCI MK~ OK H~. 1 r i p a e u n ~ ~s bor n o j 1 ~ e ~ b 1n 2y ~ w 3ana~n1111 a c n e r ~ a ~t i oe Gonee nnyx j
1
C2
CUHTaKCUseCKUX O L I ~ U ~ C ~ K .
/
n p a u n n b t ~ o b r n o ~ r t ~ e 1t r IIYIIKT 3 a n a ~ u ~npn 1 , TOM, ~ C ; I M71.0
I n o p a ~ o ~ hn-pao r p a M M b 1 , TO , q o n y c K a e r c n H e 5onee T p e x 1
CHHTaKCMqCCKMX O U I P I ~ O K .
0
i
Bce n y H K T b 1 3 a n a H M R
*
1
n p e , l n o ~ e ~ ~ ba Jll rRO p u T M RBJIReTCR npLll3HJIbHblM I4 B b l i I a e T B e p H O e
1
/
BblnOnHeHbl HeBepl30.
npM 3TOM BO3XIOXHO HaJIMYMe MCJIKMX CNHTdKCHqeCKWX
3HaqeHWC.
/
H ~ T O . I H O C T ~ ~H~e , n n u r t r o o r u x H a p e 3 y n h ~ a ~ .
j
O U I H ~ O Ku3
rlpennometr
n p a n u n b ~ b ~af n i
r o p u ~O~J ,I I ~ K Ou ~ e e r ~e c ~( S o n e e nnyx
p83pnna C n e f i y I O u n x :
I r e 3 a n a r l ~ r( c l n u I l e ~ ~ r ~ r u c n e l r b l )
H ~ o ~ x o ~ HIa qua fM l b H~b l~ e 3~H a q e H U R J l e p e M e H H b l x , H e 3 a i l a H O FlAM HesepHo
s a n a ~ oycnoeue sa~epllle~wa uulola, U H a e K c u p o n a l i w a r c uwrcxe H e M e H n e T c R , H e B e p H o p a c c T a e n e H h 1
nepeblelwaR B
n O M O U I b I 0 L l e p e B a MrPbI M.1H APYrMM BO3MOHCHbIM C ~ O C O ~ O A ~ . l l p a ~ u n b yicaaw ~ o B ~ I M ~ P ~ I B ~ K )MI-POK U I ~ #H c T p a T e r n n , n p u s o a n r u a R
2
ti
1
1
no6ene, El0 OTCyTCTByeT ;IOKa3aTenbCTBO
IlpaBUnbHOCTM f l a H H 0 f i
cTpaTerun.
~ P ~ B H y~ ~ ~a 3 H a t rOb B l C B~ ~ P M ~ H x0i.a T~I ~ ~ P B O U T~O O K~ M
' BOIIMOXHble XOAbl B T O P O M CITPOKB, HO H e B e p H O O n p e n e n e H b l
no6en~~enb. MJIM n p a e u n b ~ oy ~ a s ~a b~~ u r p b r s a m m uui ir p o ~HO , O n U c a H u e ero crpa-reruu H e n o . l H o e u p a c c M o T p e H b r H e B c e B a p u a H T b r xoaa n e p R o r o
,!la.~b~efiutkie
J ~ ~ ~ ~ C TM BH HeBB e p H O y K a 3 a H
HrpoKa.
0
OTC~TCTBY~T o n n c a ~ ~ be ~ n r p b i u ~crpa~erun, oji H
~ aT ~ a n u s a
B a p U a H T O B XOnOB UTPOKOB.
c4
4
n p o r p a ~ p~aa6 o ~ a es ~ e p ~ on c o n e p x n ~tie 6onee o n ~ o i i C M H T ~ K C H ~ ~ COKI IOI H~ ~~K U .
3
TIporpa~wap a 6 o ~ a Be ~u e n o M
no ~ p a i i ~ e i i BO~MOXHO HaJTMYlle
B e p H o , HO c o A e p x m ,
M e p e , n B e HeTOYHOCTU HJIH HePaLWOHaJlbHOCTH.
a0
OT O U H O ~ ~ T p e X CHHTaKCMYeCKHX O W H ~ O K .
2
n p 0 I ' p a ~ ~p aa6 0 ' T a e ~B L(CJJ0M BepHO, HO H e BblLIalX n O J I H O r 0 P e l U C H l m . BW~MOXHO HaJlHYUL' 0 A H o f i - l I ~ yMeJltiUX ~ O U I U ~ O K( H ~ I ~ ~ H Mn P ~ UP , H C ~ O ~ ~ ~ O Bonepawfi ~ H U U cpaeHeHuR
unu n o r u s e c K u x onepauufi), a
T a m e H e K O p p e K W O O p E X H U 3 0 B a H H O ~CYUTbIBaHHX jIilHHb1X.
Aonyc~aeTc~ a0 n m CHHT~KCUseCKUX0111~60~. 1
~ P HeKOTOPbIX H 3HaYeHHHX BXOaHLIX A a H H b l X n p O r p a M M a p a 6 0 ~ a e ~ HCBCPHO, B 0 3 M O X H 0 , C O ~ e p X n TO U I U ~ K YB aJIrOpUTMC. Aonyc~ac~cx no q e r h l p e x p a r t n u q ~ b r xonrufio~R xone P e I r l e H u f i sanasn u OT o n ~ o i i A 0 CeMH CHHTaKCUWCKUX O L U N ~ O K .
0
3 a A a ~ n EXbIIIOJIHeHO e HeBepHO.
Opnrnnan-M~KCT n3ro~oa1en000 ccM3naren~c~F~o ccTpuro~w. 190013, Can~~-ne~epfiypr, yn. Bepehc~an,A. 30/32
Tnnorpac)na ~ T p u r o ~ ) ) yn. Bepelic~an,A. 30132 1900 13, Canrtr-ITe~~pSypr,
C n O M O ~ b l 3TOrO 0 n o c o 6 ~ n13bI: - nOTpeHMpyCTeCb BblrlOflH5ITb XIjXdHMn TeLTOE3 El-3; - npoEY2pMTe c e 6 n , npOLlMTdB n 0 f l p O 6 ~ b l e KOMMeHnPMM K OTBeTaM; - H21yclMTeCb npdBMJlbH0 3 d n 0 J l ~ f l ~~b J ~ ~ HOTWTOB; K M - O ~ X K T M B H OOUeHMTe CBOM 3HaHMR.
Ycncxou!
ISBN 978-5-991 5-0093-7
9 7 8 5 9 9 1 500937
>