You are on page 1of 24

NQ.;rr,e, ; 1(,Sa.nSi-C~a.

&((~O : • a_~2C fAOLf3 )

•) o) wb.t: ,s 3X>\n.-bcr ? fioLV to ckc.Ca....-t. , inhCa.>:z::e.. o.YJJ CLC.Ce.5S f0~-<1.-/;crs '?

_ A.) _yo'- Y\.kY t<;J o.- sye.ccc:J. ~ye.. cf \Jc,..,.\o.ile. u..Se.J. l::o EihL t~ «le,mC f'{~

c.tM,,l5 s cf 0... \I 0..'l LOb[e_.

I --) 5\;- 5 o., cl(_.,. i, \Je.c( Ja..,u_1ffe.. i -n c.C'.

Oe.c.fo..-,cd.'°vt :
J.atu,t~ye- * ph - l\lo..me.. j -:, tnt- ptY \ ;

~"-t 'a J)e..1t" f,'h- - No..mL ) f{oc,,\fr ph 1;

etx- lvu.mL; - ;} cha.Ji.* phb ;


J.o.hl~ f e.. ""
~tccJ~Wien oj- ~oiY\;te.-r VCA.1i.c&Ce.s "~
-'-} 'lh.t.. ~ s of ~$51 "(\~~ ~e, eufJvt.SS of-a. VCL'YCckk -1::o a... yaen kY
'\Jf.L Y~k ~s ~Y\Own. a..:J ~-vi~t\·aCt =ca..t\OYl,

-1 On.cL a.. .PD'-Yl:te.-Y vCLYtLili(e__ be.e-YL citcfa..ye.cf we... cQn LLSl.. t~e.
ass¾-'Yt-VYlt.Ylt° oye..v-c.J:or -1:o vi 1:l:ic.t..ku... -1:he.. v anc&Ce_.
f' 1tC\.m.ytt. : i Yl \::- YYlCl'lks ;
iV\t -t-p _; // hc..Cu.-ration

P =- vna:v k.s . {f cn i. t .:alCM Con

-rhe.. on~ 'l'"eil-';,i:re..me.:nl he:YL \s· t:ha.t the.. •'\JQ._yia.fiCe.. YY1<1.."fks M~sl be.
J.td~"'u£ t:,vfoY l tht. YL "-b:cJi-tu.-ltort. ML~ f ku.e-~
.1tc..u.ssi, a. va..y~c.Jle.5 ~"' oUft'i \,-1::s yotY1.le..-r :

helm prt--\J ~uS J r s o.LSSW Yl , wt.. G.now -\:fia..l::. , _poi.,'f ttf-y vu:ri.ahCe s a.-re.

u.5u( -lo stoY-e.. ~!- a..cU-r LSS of- at.he.--< \J a,-na.bk·

-+ J\[Le-':h"\,Y¥j ~s c:£one.. b} LL~ a..'Vl.O°the-'T u'(l(l,-Y ~ oye...n.t..to'Y

tilt •¥Y\Cl.-yk._s , l p , 'Y\


ma.,Gs :::. 550 ;
p;:. "01Ct'l~;

rt=- ¥-P:
,) W-n-be- 0- yro8-1'a""v -hJ ti(uslycd:x.-, rornte,Y5 to o-o-°i" '!
A) #,YtcJudL L.St:£.io,h_-,
·t V1-\: •Wl.cA.~'f\. C. ) ..
(

t'1\b Var '.L ~:Loi


mb VCt.'f 3 ?:>o.
JI
. .
t Y\.t• f't"Y _~,....,.[ 3] -;:. ~\J a.--r, , ~\Jeer L, vo..y 3} .J.

fo--r (__"'~al ; i-t t)


{,
\?n ntf (_\{ V ttlue.... f 0 Vo.°" i~ ¢i, ,(. d_ \\; Ad.<i:re..ss ..,. r \ Y\. ,.Ji-+' /
v. pt'"_ o.--r'l l,1 , pt,. -(i"'...- L.\ 1) j·

r
c..) wW do ~ou. vnw:n b~ D~Y10-m~ c. VVllrrzo~. a..C b~ttor1. a.ni:l e."t.fa.\.~
fund:iDYl.S of YYlu.L[oc., caltoc.) "'w!toc. anclf "e._e, ~Yl ck.to.i(. 1
-'> 1'1t- 'YVle.mot ;f- at Loc..o.l:\o'll. y\:o c.e.. ,L.1.."<i.~ vun ti.mL ii: S
w~ tdi..tctfu.s
ca:Uul 111 nctm,: C.. YYllX'M'I"~ c&a:atton • .
---1 "3-\.t.a-J' " i5 \::: 'f me mor<f- 1..-Uhe.'rt.. YIA.m LC me.marl
aiu,c.alion Wt_s ~ -

--'I Thl-YL a ye,.. c.e;r\;a-cYl. i Yl-b\.ti~t fu.n&:r::m.'> Y\.. c..tb·h~ (e,-) '
kaU.oc.Qh.,,. m e.\t\.Of s ~ k.Y~,_ vun.-kme.·
,) matCo C- c.. ) vvtt-mo-v'J a.lCoca+ton •
'
i.) co.i(oc., L)
d la.'Y e.vno YJ aHOCQ.hol'L.
T('\ Gk£.li.b•"
~) ye.a((a_ (_ ) 'l'l. -afCoce._biol'l. of YVl e.mOY1

fvu. (.) .i, fru.. Hi.e.. mcmo'1-

j '
~-1---t.----------------
. · , · , .
1) Y\ a..tCoe-c.. )
~t- \S o.'\1. ; n-b\1-i!,t- fu.ncl:ion l..lSt,[ to '¼ 'YlA.mic.aC½f- s.-\:o"('"t...- '3~ •

~~e. . Get:& -of c.on-li'hl..Wu.s mt.rno''i oa:ov:cU1!- to the.. $\.tG

sye.ci..fi~

St Yl but. : ey0 i£-ir,) mcJCoc.- (_ ~"'ie _ \.V\-b~tt-s)


E~J ?k~
i) i:.nl:--a..; .
.. ' .
.
'

• \ l1t -1-pt-Y :: \ nt1( mcJ( o~ (_\5) . •


1-tLYl.. 15 b~t.5 t..0'i.CC. bt.. a.CCocatecl onC~
:fov '\.vtt ' vo.fu..e..5 'L-rt Q.. ~i.Ylffk. .
b~. . . ,. .·.
Q_ ) Pl-Y = (_v 0 0,t-) (oc.. (_St"t~)

14LvL , i.-t. a.4- '\Ja.lu.e... ~'<Yl-5.f~c..-c~ve.. of int J fC~>a.:t, - . . . . ..

MaI( oc. fu.nd ion f;;ixnJ 't cJ:Com:te.s =- 'Yl'lLVYtO' (,Coc k cKCC1 '( J..i. -h:, •

-lett, S\U 5ftci f;tl \yt the... h.eGt.f o.nJ on Su..C-C..lSS ~+ ye...tu-rn& CL-
pai mL, u,hc<li ;& pm...-cl:i~ to -\fie._ 1$\,b ~k ..-f -lfiL oJ(oro.tuL
I
! ' 'W\.!.Ynetd • £l$L it 'Yl..f: u.~ <" \\J t,f..-L' potxtf:-e_y-.
i
I
11 Ca!loc_c)
l

u.s!cl t:O i'd-na.m~c..a.\:~ c,J(o cc.d:e..


I
I
I
-, 1t" i-S Cl.YI, ;vi-bu.;Jt :fu_Ylc.,-li~ 1

mu.tliyk bfocb «If- me.mDY~ .


11

S~nlo.-x..: void.~ coJCoc(_nu~r +bCo&s, &u of- €CtCk btod -) .


.,,
II
i
I
i
E~,rC'-- ' f t"-r- Q_nt-t ) cc.Hoc( 1o , $\t;e.. cf ( ivtl.)}
-y l.a.Clo C C. )

I ft- ~s u.sd -\.:o cha.de,. -\::~L <:Jit;e_ of-ti-it. h ' \ ~ bCock_ w'i.thou.~. loos.\-
I -~ ffi.l. orJ. dl:Ja. ,
5uvt:tu x.. • !f rr -- lj£ -1.___ •

e.o.ch_ btodt.) '


c;;u._~oj--
Ai'- -

yn ,
tr

a • \/Di.o.: "-L --,,- 'Yleu:> -

~ot
.J

hlk =- ~ha.-v-~) -ro=J[oc__ (_+ btH.t... t

sb-c__y~ [_ Htk . j •• !-/YOE.RA-BAD ");°


--l----------------=-==:--,..,z,-,
, . ,_
._ _
4 , _ _ , ._ _ _ _ _ _ _ _ _ _
__J_J

4. £~yfo-~Yl- w\-fu t lC.lYY\pl~ 7


i) -lit~ • ·; ••
05) \)"¾ons
0,) s-t-r uct LA-"'{~
li") f nums

") l~yule} •.
-4 ~½fl.dtf • °'-- k~u,o,£ u_~ecl to ex~ olietS ,Sor tk ~~i;s-l: i~
k ~ flS . • . • • ' •
v~,__ -\:hi:s' u,t. CO..'Yl. {...y-lQ.t-L Q, kvnfO"CO ..'l~ 'l'lCl,'\'YlL to $~s\::e.m
{he..
Je.{;.~ ~_yt s tik ~nb, ffucJ:; , .
anJ' Jot.Jb(e_' ••
.

~t.f L
';..

5~ n-tO---... -t~ e:Lt5-U -J.a:l:a±:rf -;, 1 COS - V\D-m "} ., :


b.'tla.mpk :. • I
• ·'

::ft-\ ncludL L_ ~wo •h. -

¾_ye...kf ~V'lt Nu.-mbt.r; : ,

,~ vYl(L\,Yl, (_) ' I . ' .

l ~u.mbt, 1 a. 1b , u.m; .
P~df CE"'kv Ct.--''t ha> Y\-U-Vl'lbl:rS\-ri "t
SCCU\f C'•J.J-J- cL .,, !,,a_,gi,b)
•. '
Su.M -:.. --t i • •
PM:tf ( "'e.. Suvvt
. ~5
.
~f &,''1 sum); . .
I

r • I
L) Y\\0'¥\,~ •.
'
,

.
~re...of
,;

0Mon, ~6 c,., c.0t(u:kOY\ oJ- .(vf[v<e-nl- e!em-t..Y\b:, u.vr:0.:r 0-



~l-. ~ml- .(:Jk.,t o..S . u.&lr J4ine.£ ~b-cffe... •in (.,c..1- •

ldi.O'l .\:SiL \/a.vtc&Ct. ;s . J.u.k.y(d,- \.n ,Ute. w,.bVl. J -tfi..l.- cc«\p&Y


a(,CouJ;tE me,n'IO 'a- .\:o th.- ~v~l . ~c(, vc,.,~ y,
\he__ '5\-c:e, u_-n ,~(t, q_wJ--f:o ¾e.... of-..~ b-rac.±- cCa± o-
m.e..m,bL'Y" Si-U .'

S'<\n,~:
u...nt(Yt. L..... st,y u..c,.-\:u,f; _ na.me.- ....,

'
l
J:
E_-u,...~~
\h\.\On.. ~n t
l c_k,y ~ - 'nO.. mei' :iiol;
, n \:::- --yo Ll _ 'Y\u.:mb er;
ff<Xd, ye_Y U'A ~L

:r j

\ ~:, ) Stnt c:h. tY :

--, 5tru_c.,tu..,e \;S a- ~tk cko n ~~ ye ,nt -ht~ of !.l~ n~ b u.,Y\dLr-


c,._ V'-~k- Ylb..'(V).L -\:.~,J;: a.ck as u..Se. v-- Jef'fl.uC JaW.~ ~n~c.' •
~"''"3 '5-bu.du.Ye.s > we_ ca.."Vl 6-Ljtne new ~.p e.. s c.~(e__J,
U-~L -Y-J ef-nt A, "t)l_pe..s mc.&k_p(e- \lciU LS qf- tl;e,
~~1 '<:< rt kttL -~J L.
'--~' __C0s -hoc LO~ ~ b, J.e.da... a... 4:.'v\.u:l.u.,e__ -.

1) ~auL st-n.i.clu'Yt.
-') <T<IYt-J4 StY L,LL-t.u.ye_
Dl<lo..-~ohon :
t) Le wd shud.u."f(__
~------
sintcOL)
"TA:~

l Jr( ~
,~ ~--st]

k~JU--~
~l ,UD E"-) , •

t lY\t: ~J,[\D1;
C~" r ~Yn e..Lio 1j

,~ t(<XA.t J>e,'f(_l.'{ )~ L; \

l-) \Js-.~ :lJ1 f uil.f


nt!l..-°1\.

f Lckf &t-ruLl
\ 1-fu
L tiS tj
J i"'f PE_ j

E~ le- \
~1uCtf
l tvtt C<lCtoJ
j

cb..~ YUA .mt- [io];


f{ocd:.- fl 'YU vt~ L j

j S \\.? \)£1\)T ;
\ \J) £_'Y\U.'r<\e,,ya.,~u(, }?dft-S ( t.Y\UX l\) n c. C., :

- ) Enl.,{,WlLYa:t'io'Vl \S 1..t-Sul UJ cxe.cd:e- Lt.S n -ckf-i ktu.¾~


bi ¥1,\, ntmi ,LS, to \,~ mi L(')n 5-\:a .vJ:s '

- ) we.. uf.e. , -1::ite.. ½t. 00TJ l-nu.rn. • tO (_Ho h. e.'Yl-\..1.l're'l' CLbtJ(


re..,
(<

I
-- -- -- -- --
L

s'ti -~: , -,.


01.1.lYY\, ( 'V\A.Yne.. l i 'Y\amL l-... ,. 'Y\0-)'Y \L ?>r - - - --}

\4tYL )'l.Qmt..l ~CJ,) na.m L 1..-=- l 1 --- - - - -

t.nu.m { 'Y\Am t.. I -=-lo> "(U)._Y l1l- 1- ,:,.. 2,o 1 - - - • - }

G~m fk :
tV'tL-lll& L h.7
'-.Y\.u..m l Mo,) 1 T 1,1.{_ _, wc.J,, --rhu,s J F1 i / Sat /Su.nJ J .

\Jo~ MCU-n ( )

1.1

0) Wnk a.. C yi-o~-ro.m -\o ~eJ& a.'f!A, J.\-'<>j>~ -\:Vie.. Yt.fl' t½ of"-n' .

~n- h> wdh -1:he.i.i' 1na._vne. a:11.J a.c.cu:km iG cCe!:aJs uSi, ~


st,u..d;uxe.s 1
¾ l n<lu k C ~Jio •
.tf i~du.dt. L stn~ -~-;,
# ,11.cluAt. c_ ~kl L~b ·
'at,y u.d stu.cb.t \,
c__h.u_y tt¥Sl'YlCtYY\l,[soJ j
r~\:: ,ot( i
fCcxtt r{\d" (~ _;

j sr.) ;
'f\t" Yrtcu vt() (
\Y\,t C.,I•
-. \
rT\~~l "&-.\z,'t' \Yl:for~\br. ~n-1: 5 :\rn. II))
fo'{ ltczO~ i;c...,'t j\-t-T)

{
s[sJ ,"f'otl -==- \ ~ , ;
f>"\'\o~f (__"- \ n Ferr" -rolt nu.~Y ·I .J, >n '' $ (i J •-role);
{>y\Yrt.f C \ EV\h.Y- fi '\" 'Y\D.wt- ")..:

SCQ.-o.f (_ "1,s'' > s (_ i] •fh~t:Y\O.mt-) _;


P'Y\ "'lt C fn\xr YY1..0-"'ks : ");
<;,u.n f- C' 1-.t ,•) ~s [ i] •'01.0.1~)

1Pn<1tf
C Dt&~.,._ 1
nfo'mahcni. :\n\'n ");
fo1 C~-=- 0 ; i.<-Yl ; i -t) -t .
\, • .
r RoU
,yi,ntf L" \ V\. 'l'l,Um~t..'Y l 1,£ \ Y\-
11
) i ·t\ t
(J"'\¥\--\f (_ tc fi:tS-\:, 'Ylo.:rV\L : ")_;
pt.tb e_ sl n . f1 -cSt nc.:rnl.-);
f 'l'\Y\.\:.f(" ma"<fu:. : 1· ,f ~, s( i J. YYla-k,);
"n--ntf (_ \-n '1 II)~

ii) £..,yCa\,Yl,. a,Y'(~ of 9tvu..c:b.~.-re.s \ Y\. Cc.' c_a.~e.


:1\n CL'l..,..0-J;t of JtrU-ctu:re, i V1. '-c.
1
fTO~ra. vnm iS o. c.oUtdi0¥l. o f-
Jifforc.nt ~ f e . 6 VCL~ / <ilOU..fuf_ -tna&1e..Y u-nde..-r S~1J_(t'..-
'Y\..6.Y'YlL •
6a -n o. m t{
D tc fa_-ro.hon: S b c t
Ma....q.fl.. m .e :m ~' f I~

Jak"½fft. W \l, y) 'lk io 1- )

\
r j
5t"fud:u.,-e.. vYLU..St' be.
fi TS!' ffie._
'To Jt.eia..-re... CIX\-o..:rr°</-
6.f ~~'fL ,

\Ja.nab\e.- ~ " t' tf e .. sW .£ ~t.-


a~
ck_jinJ. CL'Yld, Hu.n. u.Y l.
k}'nul·
i; ~ m f l :
-#=- i Ylciuc[e_ L 7>-\::Jio ·h."?
-=ff- i Yl.cl. u.k_ st-ri.n3 . h.
~t YU L, t stu.cknt l
tY'lt
c~-Y nrune..[~oJ;
f( oa t f ru.n!ag e__j
t
I
I t n't m a. i- n( ) l
I

tl'lt \;
~b U Lt stwknt '\'"e.arrcl[~l;
'Ylc.0Tc1 [o ] • tJ \,
J

B~'rlu")_;
Sb-Cf~ ( -rl.C.OTJ. [oJ ·'Y la.
I vn L, .,

I
-r{.L O'{ [ [o J . j> e:rc..e.n68e.., -= ~b , 5 J
-.e..w-rcL (J 1 .i cl l- _;

,, P'h'd°-") .i
shc.f (_ "'e..c.ord, [ 1'J- 'Y\Ct"<Yle..)
LY \ta ae .. :- 90 • 5
j
I 'll .C .O ( £ [J 1 ' _f l.K

I foy ( i:::O; i L L ) ~-t t)


Tl'.l\)~ FvT : 1,J '' 1 +
I );
llf (. " Kl-corcf~ o f 9 J
{ Pl'l-Y
Pnv1-t-f L ,, =r J. ts ,;.J ··/ 'r-
ecorJ.cn. ,J. J;
t

()nnl;f ( "- tJa.'NL cs (. '::J ' 1 , 'l'Lam £ [_i], "(\Q..YV'\f-)_; •


Pnvrl:f(" f>t:ru.ntoat. iS ·/·f " , ""l.a:rnl (J 1 •f e.<t.m ~ t..)
J
)
\) <>-) . . ••
1) hfro.~n a.b 01,l-\;' ~t.. Ci >"Ul'I a.vi£ ~y\[L. f <;,e.a;(c.h \.-1:C-. e.)l.O.mjie.. •
vJ vik o.... c.. (>1 -ro.Yf\ ft,-1' bot:C-i se.a.:( Ch\.Yft- m &in-ls.

L1-n lO.-'Y SlQ._ 1c..h"!l J¼on\::hm:


1..,__ ,s -\;c&-n~\,IL J.e:re£
c,..'\'\ o'1 oY- LJ)l'lO<Jc,e.cC C-is I; u, be.. £,ea:-cdte.J..
one... b} oVlt- -f,-om. tht. ~..,__Y\I\~ t,,..'().-\:iC' ¼2- Je.Si,v-d
~s fo\.L'Ylll~
£_l. ClVY\J?(t__
~inc l-wk .~ stclio-h,
i ~t mCt.\-Y LL )

l iYlt C.cst[ioo] / 5&.mL.n-b I t/n~


Pn nlt C \-vi b\tt..Y tl;_e. 5"-1:(.... o_f -t~e. t~st : ") ; _
~ca.nf ( '< · ( · ~ t i ' lf Y\.).
C..: rc . () 9)\ntf ('t&l~r--/-cl ,'f'lt-<.Q ~l va.(u..ts :-''·st=ct..)·
1u1 I.....'l.-=-0 ; -i,<::."fl ; vt- -t Q '
I •
' •
'

SWY1 fl" i •c1, £,.l ~sK i));


P'°lY\.-\::f (:'Evite.."l' -1:fiL ekm. Lnt to k 5ea.,.-c.t;..: ·•);
Sca..'ftf (" •/· £ 1 , t,.s e..Ct.mln.·1.J; ' .
{of ( i~o j i LS~ct .. •, i + -t)
(
if (_sEu.ment -=-:: tisH..iJ)
t<'vi. if t
Y\ E.uvrtbtt -~ fol,(_nd. C,t.t J.ci t rtde,,t,", \,);
.. .

I ; •

bYta k)
--- --

}
+Cr==--st-u_)
Yl.Cb:fou_~ tn th e_ Ct~t \().i

Pnn-bf(t< E( ~m ~n t is
1tl:ch_(_);
} .
'oea:rcCii.~ Afaarit£1m
:
B~~"'(t i_l.. ':>eo..1c:h
Sc n- l:e t( a. n~ '¼- "te.y~ed:C~ k\ li cC \.~
41;- \r'La__

intt.wal ~(1. ~ ,
l:~sb m l,l,':Jt;k ~n. asctnc:fr~ ar & .r
-+
l

=If=. ,n ci ud L L sh lt o• k~
vokl ma"'nC.) •
{ • ,

s~e__ , i I s !..Cone.n l
, C. ts-\:. [ l oo ] ;
in l J1 r-si- , (a .s t vn idc C(e. 1
••
Si t!- of- the_ (i sl '.
')J 1

I P~ivttf (_ccEnkv- ffie_

Scc..nf (_ '<i•c:L'', ~i ~L ) J
I

vcJ.ues ;n a.£Ce..vuC.'-'1:l on:£t.y\ YI.,, SWL)j


fJnV1..lf C' En.h.1 -,.J, ~n~-c. Y
for L i =-o j l,L Si.c-e__ ) i -t- t)
-Gfu:fl f (_" f' J, I I
PnYltf (' 1
1

~n'Ux
!,I. ( \, 5 ~[i) ) j

\.l cJ u. l. to be... Se.a...-& '. '')J


I
nl) j
Sa t- nf (' ' 1• J ''.1 t< si;.kme.
fi rs-b::: o )
(a_s-b~ S i~ - l
. miMCt. -: Cf Y5t + ~ t) / '- ;
w'1dt-( fi rs tL =- [a st ) j
l if ( l\ St [ 'l'V\ \ddle,] L s Ek vvie.ni) I
~f e-rs~ ,1-c t~cYY)~M~J ::;=- sswnLnt-)
f fou-nc£ Cct ~nc:U"t-rcl \n'', wwU(e.)
P~ntf l\l E(e_me.,nl
G-r- ~i
}
e,G,e.,
(ctSt;~ 'rt'\u Lilt l
m~ e. ~@ « t (a_<o~) / 1- J
'
} '

tf (_firsb > Cast) ,


P~,ntf (_ Ekmen.t -nobfou.Yui- \Y\_ ifte_ ttst, ,)1
}
b) ..E-.._y(oin a.CC s01-bi"} a.½fYithm s a.Co ~ wl-th Sou.."fc..e_ code . 1

' A) ~ 0 ( 1 , $0vt- •.
Sek d~n sok c..~oiii:hm ts Q'i,<d . l:o c..wa(j e.. a... Ci:~t cf- . e.(~l'Yte.n.~,
i, n Cl. pa.'l'ttc.uk_y OT dLY
Exa.np~:
-#- in~ c5\:£ io•h>
vou( ma[ 'fl(_ )

l i11t. fi~u, \ 1 i ,Um _r, C1'5l [too1 J

~'()tf (c'EY l~~'Y ~ L S~rL of. the. CLSt \ ")J

SCu.Y 1f{ \( ~f.c( ",, !LSi"lL) _j

P-n'11tf (_ ''Enk Y 1-J. vaG.us : ''J s\~c.)_;


I fo--r (~-=OJ {L. Sit:e.. ; i-t t)
II Sco. nf L" ,f' £"; !,L.li':,Hn ) I

-for(_ i -=O i L_ St~e. j i-t -t)


I {
for (j::: H I j 3·L Sit~ i {ri)
-I

l
~f lt~sc-crJ ., tiStu:J)

-tl-Ynf ti& t[J 1 j


tts t(, ]~ t\$ t[f )j
ti~ t-[f ) le- mf.J
j
1J

P'rl,m:f-C G~t o..f ttx So-<lt-na-


foY (_ =0 j ~<..6\tL J i-t-+)

P~tntf l 7' &'',, ti·stl,1)


C(

j
• '
Bil llbk , So1t •.
--? 13l{Hk Sof ~ ~s ¼e_ S\-mylls"t sm \:i~ ~('.}')'1,i:hl'Yl tfu t wc;ffu:.
-r e. yL ~ ~WC\fJi,,,J the- o.<\Qo.ct-vd:. eie-V'(]e,nb ~f
th ~ a.,n_ in
_ tht.. WY O~ DY-Jt.x·
I \:: ~CL :oirl t-
-# 1YlC.i~ f LStJiorh.:>_

in t ma\.-Yl L)

\ in t C.,i.st:.[501, '5'-U.., i1 i , tLVY1..f J


. y-ii,nlf ( qEn t~Y ~L &\.U. of ~~st \-n 1'');
Seo.nf ( cc ·f ci '' J tt- 51;1:e_) j
P-v \ Y\-\:--f ( ., Evtk'Y the.- <lt.YVILYib 4-H ; e_ Ci5t .,)i
fc1U ,.c: 0 j '\LS\-=t:L i i-t -t)
s C(U'lf L.,_,,J..'', ii-c1stCtJ )j
_C,,,tf
vv
i,-::.0 · iL 'l'U,, l.nt- I •, '\ -H-)
/ Qnl:e.)

(
foY (j-=--0 ;, i L S U. - j__-{ ) f-t t) I
{
tj- (_ erst [JJ '";> Li:st(j-t ,1

t
-l-tmy := (,st Lil • ,I

(is-t[i]-::: [~t[i+ i]_;


(t5t[ Jtl} -::. tLYVl_f _; ,I
I
r I
f l

P~.,,tt C' Usl o.fle:r ~\i l : ")J


fot l 1- :::o j t.Z :>~1:e_; \ -t -\:-)
cf_
P~ 'intf ( ~1, d_ 11
, ( \StL, J) j
J .e..~u111.. 0 I
..J

1ns t.1-\:ion sort- ·.


1-k,.-t.. , i.n t.vc..-r~ i.,l;;e.-vo.'tiOYl. , -Kte- e.kYAf111: YY1ove. fYOm l J . ~ _pOJtion
-\:-o ~""Ucl ymtbn u:nlti a([. tht- t.~tmt.'Yl,'t,s o:re... S:rrt.ecL "Y\ -th('_ (\St·

Exa_myk:
*\ vt~~u.cll-- e,M_io I ~?

\JOi-cL Wla.\,' 1.L)

(
i Ylt 5i-~) i,) i', tGYYLf) Ct~~ r_ \001
P')-i.Y \tf eEn kv -\he_ $i.U- of the...l1sL ·)j 1

Satn f ( fl.r,J'', ff bii:e.)J

i\inl f (" Enl-e.,.- ,f,J_ \Yl~l.' "< vcA.ue.s l ", Siu.);


ftYY ( '-:::0) ~L5~=t:e_ 1 ~tt-)

Sca.nf ( 4:(f ci", ~ltsl: LrJ);


for(_\~ l J ~~sire- j i+t)
l )
~f- ltcstc,] ., tistUJ

-\:-cmy = t\ s t[ ,J j
(t st (, ] C.~t[a-1;
t i~ b [f ] tc m fJ
J

P-n,'YU:f{.. LJ..,,\:; o...f-ll.Y Sarh,- i'i:,; "):,

j ~Z 5\1:;L; t t- +
)
foY L ::.0
i] )_;
P~tni-f (_ {, & / t\ s tl
11

J
13Ubbk, bO Y' t •.
i: kl 'Y l -f:ha± wofk5
i.m1'Cc;-\; SoY\:i1-
~ 'Y \.
ls ~ e. _ S- ~n
1°3l.l'ck,k Sofl- "'--Yl.
'-Yl.} -!:fie_ a&aa.U-vit- e.fe.YYJe.nb if
'!JWc,._J'J>
'Y e. J? l. "- ~
_ tht. l.bYO( o-r&_y.
l l: :x .a _ ~ :
ll # 1nelu£L ~sbuo.'1_:
:,
'
. I
k t
in t Yna.\.-n l)

-l:e.. , t1 i , le.my J
iY tt li st :[ 50 ], 51
ta H,t. Sic:e.. of H,e, Ust: \'Yl 1");
(_v P n .n lf ( "E n
s ~ n f ( <c fc i" ) ~m-1:e..)j

7:he.. efrmtY\l:s o.f-~


e_ Ci.St,,1
P-v I n tf ( '' EnU.-r
~i t -t)
fo-r(_ \: :C i {L S\ K ; i-
C \s t[ rJ );
Sco.Y1.f (__ l' f J'' J ~
YlW'Yl.-1 • '\"'"
-t-)
fol( i :::O j i L Cf»l:e.) )

[
fL S lu - 1- t : fH)
for (_a'-=-0 ;
-
{
kmJ ltStC,l.:
f:::: i-\ j

c15t u 1: , J :::. ttmrJ


!
P~Yl-tf t L& sorti11 \s
~tt'(
..4 f I I •
,,,I

foy (_ \,::0 j j t,~-t)

Pnn tt (_" +J." 1 Ci:sC-C n) ;


J
'.?) 1 ~\.! E~la,\, '(\ &bOU-\:: tk -fi Ct.. ~a..v1.JJ ~Yl.3' fu-n.dion$ ;:,'11.- '-c__' •
)

I ~e, -fol( o..o~ a,"1e. -\:hl- oye-"'ahov1_c;:i ..rc:Jfvrme


J on fiCe-G ;vi the_

c_ - roa-,.-a..rM' l lYlCJ-- (a_~ UC-t'iJ l - - - -

"- Cxlecti"1- ~) o~Y),"11- a.. :ftCL


~ \ , . , . .£cJ:o__ from. c,__ ftC:e.. .
'f- 'W'fi-\:i Vl} da_k_ Yl-\:o 0... f (e.,
* dos \.,- (X_ fcCe.. -
\j) f opt.'Vt C ) - ) exe.al-e. a Yle Lu :P (e.. o< o_pe Y1. Cl-- ('._ )l. \ sti fi [e..
u·, ) f cJo~ ( ) dose- a., fi-Ce.
~\) t.tC..L l -~ "l.o J.s a.. cfu._--cad:,(. "( {-t'om.. CL :fi Ct-,
u_v) pU,-\;, c::. (_ l w'Yi-k u.. cha.-v-o4e..Y -to CL fi CL
cv) fsC£,L*f (. ) -~ ye.c.u:£s 6- ~el of Ja.to.- fvom_ a..- fi t~

vit"l) pLlb L,u l) - ) u:rn:bt-s a, i n ~ L y b 0... fiCe. •

i -i) ~e.ek. L '\ ---l se..-1:.. \fi.t. pc>S\..tio YJ., tD cb,e,ye... yol- •n:f:.
----t--
--- -------------
I -c-4--------

,P f tcJ Ll ) ft~ ves cu,yy-e,vi,t yos'vtion ""Yl. --\:ht.. fiC!.--


.,.i) -Yl.W Ylc( ( ) -) set, {he , f1c,\,\io 'Y\. \:v t:ft e.. be,8 i:nn '1t _poi,Yli:;

\i) t:-i.fla,~yt tk. r,YlexaL fonn a.:\; rf ~l'.ek_(.) f u.'I\.C.fiOVl. wit h l'.uaYl;f'Co,

A) .f- see-~l ) -¼ 1-l- rs Ll.5 4 -lo WlO Vt- -1::eie_ f k JX)"·nJl.y: c6~ o~ -\i. £
.
\.A-\;ha. ~tv tn ji(L ~G< - spe..ciftc... yos'i¼::toYJ..-

S~n k.1 :
'i:-htwosUion). j • '
fnl f~e .k (_H LE *?li :ntc , ., (oY!ff .:vii; o_ffsd, I

* SEEK.~ EtJD tl Jenote-S lht. e n1 of- ½:he__ J-i(e.,


JI- SEf '~- st;:r •, 1l- dc<10\:ts •sb.,-li"'} of
thL JLC~
-f SEEK - co~ : 1i- Je.noks the..·fi'k
yaL-nte.:r'.s • cu.-.,-re..ri6 yos l-tio n •

-. 1t -Yt.k-rn..S :ie.,YD f sULC.essfu[ , oY e_ Lse... ~t ·yd:::u..,ns CL '\'l.On - tt.:r o

\lul ut.

G!, um fk:

.:fr i nd ude. L shlio--h">


\Vlt VY\CU¥1 L )

(
Fl LE.*fr ' _;
fr -fopen C' -bt.st .ht ".,· ,-" );

// Mou~-,_ _fOivi\;t.Y to en£


~u .i( ff, o, SE Ek_ Etv Dt

p P-rlY\li,,_ pos ibo n cf fOLYrbeY


prfVlt'f cl 'l' l cl,,) fleJC (_f p));
c.onte,yrt:; h1•0 rn on L jiCc iv
bJ\ i) Wn"tL °'- c... p,,,"'om to C0J>}
Lr l-
U'l

fit _ a.YUl 6 to mL "W l -\i.oo_Jt(e_::,


CL yto ~y

nk it of one. ,f.(e_ -to CO'lO-U,.e.,,y


A-) C..: Pr~mYVJ. -1:v cop~ --lfie, c.o
# tndu.ck ~L o ~h. > _'
# rncl u.c kc( ShlCiJJ •h
tnt vncu,n c)
{
FtL F *fp tl \ 1 ~ fptl 'L/
fik Y\a..YYlL, [, 00 ] -' C ;
cJ;_a..,<y

P"i\ntf C_'<EntlY & J{Clna.~ -\:v ore-n foy 'Ytr


u(~Yl.l '')J

Sc.a.Ylf (_" f s" 1 fi(i _ Yiu-mt-);

f Ph 1 -=- fope.n ( fik na.me.. / Y" )

if (fp h1 ~:: IVULt--)


l
P't\ n lf C' Ca.'l'\,l\Ot ofl-Yl the- 'Jilt- ls ,,/ fiCe.'Ylq,Yne,) .
.J

el-Ct:- (_o) j

J
::for t0l1-l::in4 "t
P"\'\Y\-IJ C' Enkx "the. ftk no:me. -1:o ope...n
Scc..1lf (_ " 1- S" , file. na:me..);
f pt r 1..-=- f ope...'1'1.(_ fi(e... 'n.u.'11'1l. , w ");

tf (_f f'tY 1-::. = tJUl L-)

{ hi:-y1,tf (" G:t'YInol oyen ft (e... f, s '.., .:fi k Yla.'YYll),


l,t,"i,\:(O) j

}
C-=- fa e..t(. (-f p\-..Y I);
Whl(e__ l Cl :::: EOF)

{ I
f p u
- t - c
( _ c, fph 1-)J
c-=- f3etc (_fph ,)J.
}
P'Y)Yl~f (" Conh:nts coyied tD f,s ",, f; k Y\Q.YYlC. L
fc(o s~ ( f ph ') J
fctose. (_ f pt11-).i
"re.b.t1 n__ 0 J

1
c.- rroal"tl.m to 'mL']e, tfie__ fi l.c.s
Wl\-\t__ CL
#-,ndu.de_ <- sUio ·h"'
# ,nciu&_ z_ Stc[t~ ·h?
;nb ma ~nL )
{ .

FILE ff fl -;. fope-n Cfit!, t •l-~t ' _," •");


FI LE. t-fp 1. :. fop~Y' c_~ 1ik1- -b1Lt '') "f ")1

Pl'LE *fr~ = fopmC ftte-3,h~ •~" w "t


ChQ , c.. __;

I\ fn. . =- "'- tr 21 1v uu.)


\f ( ff 1 -==- IJLlLL t-XJ1.-L 11

{
pu-ts ( « eouL:L nd: oye,n fil.e-5 '')J
tx_~l( o) j
}
where. C( c, c: fatt c. (ff •)) \ =- EoF )

+
pu.l-c(_c 1 fr_,) J
wkkl_( c . .
tte:tc_ Cf P L
) )
l : : : tor)
fp\l~ c_ ( c >fr 3Jj
I

Pnnlf l '{ f s ' 1 6uJ-) _;1

J
}
\n t YYlalnl )

l
c.V'la'Y $cu'lCe.. L J =- cc ~(e_ \ ,tx..t ,, ;-
ChQ-y J~~bn l l:: llfi [L .1_..t.~t '';

etppenc.lFi(6 (_ Sou."<c.e. / bh YlQbo n ) J


'Yl,lli" Yl O ,
../

}
iii) Wn-\::t. CL C... pY °d ya:m -\;t:> t:•'-J., 'Y\D -of c..fur,ac.t~rs a.nd (.,~'f\eS in
a filL 1
-# f YlCI-uclt <- shl,w ·~ ;>

-#=: i Ytc1 u.dt. <- s-hl.Ltb •c:i r


,n-l: mo.iYlC.)

(
Fl LE l-f1~le,
cha,- pa.th[tool_;
Char cJ,;
, nt chD-1'uet e.:r5 , LuOT &s J ( i:n e _;
PnYTtf ('( E.nur eou.,c.L fi(t pcd:h ") j
Scanf (_ f s '' / palti);
t{

fil<... fope:n (_ pu:l;h, -Y ''); 4(

,f ( ,f;(e., =- ==- t\JlJLL)

{
P'YiYltf (" \ 'Yl tv o_pen f (e., \YI" t
\.Jnab(t-
P'l'iv11:f (_" p(ease, chtl ~f file, Otists C(_v.d F ktve r\/~½,e_ \n ·•) .l
e,-x,iJ(_ E,xtT- FAI Wit£)~
Pnn bf C' Mo~ecC r--(e, l·-1,a 0--rJ, -f,-k, V ht 1'ntD JJ[l- 3 ,t'X-t ,, )_;

f<lcse- (ff') ;
fc(ost [ff1-);
+e-tose.- ltr 9) j

) t-tu..1 n o1

1
\il Wri.h.. Q.. c r1ogm-m -\:o ay_pe-Yl<l, eoYTUn~ of cme.. ,:Pk -1:o c,,YlOChe.Y

Jik 1,
A) #, "lc.Lu.c(e, <: Shlio •h >
\Jou:l o.ppe.-YlCi-Fil<~{c._fu:._y sc:1..nu.t.1 J c_hc,.,y <l:l$tivtGd-\.on L l J

l F\ LE rfr l , ~-f p1-;


f p \ = fore.n Cfil!-,LL , <'( (:A.:t I' ) ;

fr.1..-= fope.Yl L~na,\:ion_, "a.+·,) j

+(J f e1 711,, i tr l--) {


Pn l unc,J{t_ -lo op l I
tc yt Cl

' dl-tu± fx(e... cs)\Y\ '') j


du "(1\. •
)

Lhu.'Y ~uf[loo1 J
fpnt1\f l +-r2-, vi'')) Q \

wh·tc~ L \ fwf (_-f-r ,) ) l


¾tb l ~uf , ucf (_~u.f) ) f P,) s),

+pnrttt l tt 1- , c:c.r s ,, '1u_t); 1

1
'H_\A)\ru( (Jf.'.l--);
wh-iCe- U t~ l tr 1.-)) (
f&e.\:s Lbl.-lf , S1-uof (_6uf ) , fp :l-) J

-~---- ------- ------- -·


I
ch.a_oa..cJ::::e.~ • =- luc rcf s v Gv-ne..s : : - o j
LO ~C t_ ((_ch -:. ftr e,tt - (f,--(e.,) ) ! Eo f-)
t .
c.1u_,u..c±e.Y5 "T -t- _j r

.t'f-.( cJ\. =- :=. (. \ Y) '

.
I
Lt 'f\f...S + -t- ;
c__h_ = =- ' \ \:
1
ll Ch =- ::. ' \
1
11 C... h. "- =- ' \ 0 ·)
'f (_ Ch ::: =- t I (I

u.) ()1 tb ++ • r '

J
,'f Cc..b'Yq.c..t e_-rs ::, o)
{ .
~O 'f els + _;
·cine..~ -t -t;
'
} •

P"" ttl:f-( (( \ Y) ,. ) ;
'

PYi nt f ( '( To b:J chct'Yeu.h. r S ::.~f J \ n ·'') c_~tCltl=-e.-rs);


P-n ntf ( (~ TomJ LOO,clS z_ ·! cl \-v1 "/ W9 "f c:Ls); :
•/.. d_ \Yl \) , (tn ~) j
Pn nl f ( ,c To b:J t~(le_5 ::.

f-c (os e_ L fi(L );, -

\:he, us ~~ i,_ _y1 ~s aw£ pl.lSh a_vtl, pop


W ik a,Y\(i, l llj>C'a.i,n

ope-~c:xtioVIS of s ~ 1 j
. .
I\) sin&- uS i~ Jm ,o_ t
yCuvu.nttcC u. si~ a.. 1D o: n~
.
.ta. e.. ~e... i.m
ft 0tz;L.C1z- Ja. .6.Y
st..-uc ca n

$ {oy-e__£i onC~ u.. ft ~Cc[


nl.( .vnbe..y

gu,t; ~-1 ::aci. 'i, YYlyCL vnl .n't e£ c,_Y ~

iS vel:f S\>mrC . T\.LSt


oJ ck.W: \Jo i utS • ·-rh~s YY1JJ k. rAf.Yi"l:cd:ioY'I..
spw:fi-c s cc.e... a.ncL \nse..rt cCd.d::e. the_
Jef,i yte., c,.. 10 a..-YY6tj q o ...--
(f"Y)'l"lci'~ w~-th lh<-_h.<l,r
u£i),-n} UF O
voiY.LS ,~n-1:v ~ b o.r r~
catlt£ <toJ' ' . 1Yli.!::ic:J½{ •; w_ WJ' tf) , '5e l tt> -1 •
, •
a£- a. \f
wCl JYl. t t:o i:-Y\.'5<-Y t c.. val ue- ~VI. to t:he.... s-1::PL
k , \.vtC-Rmmt
lvht- 'Vl(_ _vc. x we_
~n tve ..'f t.a . ~r n.t
~e.. l:op vcJ.UL b:f- onL u:r J tfi< ,n. i,n5e.vb·
.n d:e.k:tL the... W f vd uL _a...-tl
kld ::t- o.. vcJ.ut. ,fro m the vta.Lk_ ,.tfie
_ _ • ••
J.e..c....... <-'YYl.e..'n-t ... (:he_ . -l:oj> vc.£uL bi ont-•.
• • • '
f'~h-lvcJv.l-) - 1nSe.rt:i,=: ~uCue.- ·~nto tile.
s-h:tc.k: • •
U..S lct tv CnS LYt " an e-Ce..m.e..n
t-
s-l:: -a.d pLtG h.L) i& CA. fu.Y\Ltlan
~Vl CL I

t ,~5 a_(u)c.l~S
,. nto the... sl:n.c.~ • ~n a.. st-a.d.- , -lj;e_ ne.u.J e (em.e..n
ecl po& -illo n • j'.)u_sh f(l,L nd: ion i:rk.e..s inh a~ Y '
\nse.:v\: c..t
d s -l:Vla.t- vo..(u.e__ int o the... sk .~
• •
vul uL a.~ fCt -ro..m e..t:e.Y o.n \Y\5 e:rl

We.. UlY l Lt.$e.. -\:he.. -followi:(~ ~le._ps -\::o _yu.


'oh A-n ele.me..nt- on tQ -tJle...
-
'2>ht..c.b.. .. .
E -1.) . .
f- I th tl t-Y $ta &_ ~'j FULi.- ( top "'::=. Slt
l-Lhe.th .' r

F,V L..L ! ! •.
)f-- 5t'!f 1
! 1f it iS FU LL; i:;he.,n . J,;; 5f~ ~ " 5 ~ i'2J
tfi e_. •
1nse.,Bo n is no t. f ossiUe.,.q " 0--ncL -\:.e_n-n Y'IQ tL
.. •

4un.c.lioYl, . •
.
. ' • t
. '
_
.
• •

o~e.... __' '


1f it cs 1\-bT FULL , the .n i>ncre..'l'lllVZ.t W,P vc :J~ _r.:,'t
• J '

'¥- sttp 2. ••
U.t.-) .
Ctof -t-t) C\.4 set 5-bc.k e_ wr ) tD \) cJ I.Le.. C.$-b d... [mrJ .-vd
. ""

}!o rYl the stcc.Lk · • '


po_f l ) - Dtltl-e, a.. vcJu.e..
me.V\ t
1n fOf U ;-o o. f u nd ion used. to J..e.(<l.e.. c, n efe..
42,tc,.C.k_ J
fYosrn 1:h,t... sta<l.: 111. a. s6-d.._, the_ &m
e_vd::- 1-'& cJ 1a:. ~s. £eie..u.cl
._r
fl-om. - - J- <hbilion • Pop L -~,. lio n Joe.& ne t 1-
u..u e~ \ra.J, Lle._ _ a_-5
~j\..,\,. Jl.l..-
rD
0-~

fU.'Y4.vnt.1t-, • we. can l,t.$e .. tht. folf.ow


;;~ sh. rs ' tD fOf. l'.tYl e..Cl.Yne.ni ' '
, • . • ••
froYYl.. Ui.L sttc..0-- ---- - - ' .
:cf -; =-; -Y . _. :
'

,- stl.J' 1- cJ \rl u.ild::he..Y - ~h<l._ is EM PTY C:l:


PTY ·• o.'Ykf
t-- i.. - 1f il: iS EMPTY,. ~n c.fas_r~ ecstu&, •~ EM
. t~ m " ~ the.. f
l' L<.Y lC.-t~ Yl •

~~ f:
, .·

~f it iS •tJOT EMPTY , -tht-n el<le..~ Sh:u:.k[top] o.l'"lc( cifc.~


• ..
!

' •
' •

l'- 51::e.p !> _


tor vcJu.L t,l<f one_ (_ W f--
s)C). ta~ - I
VY\.. olo1...q, OJ>l-"lu\:;i:on oj-- QUE..lJE:. u:>-Afi- an- o . ru w(
7Q ue ue r 1 . L r
,, ~.ccm... St: n...LC.:h..c·«-- '\,b r
CL \,, \ ne_n_y r . L
d.Q .,m $~ "{. .,\) .."C - wW
-\-Ji L qye..."VC<.,~o~ c,..ye__ fell:fv1me.. e,, , t,,'(1..,

£ GQ.Sd en . Fl fO yriVl-Ci?P Ce. .


---! ) Qu.eu.e__ ~S CL (~l\,e.o..Y k_to... 4&b,c
uch .LYL ~n W~ {h e_ -cYL5e)(bon
o..Yld, d.e..ldicm. 9PL'K-l,tio'n
S e.rre... 1e nfo ·nn e.. £ a,..-\;; -\::uXl ~e;(1..b
LY\d.s . The... ~Y \5l .,'l' h0 Yt 0> if t..~meJ. o..-6 OYlL Cl .~
&e..ld:iO'Yl '\S pe.."<fo -rm.e.cC a.l
a...'Yl O- ti.f f e. ..~ -\he...
1 \:vlbt:(.\:ioY\- C(}) c.. ra.hcm..
ye.--<{ol-m.ecl o..l a. ox><oilion
w hk h cs as ._-#l-'Y ' c.'Ylcl-
J&..d:io'\1.. oy cta±.i.OYI v:,
ye.."\{o-<mal ct..b--c,... yo'i:>1,\:ton t...d. c-J
i s kY"\CL uYI.
05 , 'J yo nt ' ·
~ e. \Yl5e...1lion oye....,a.hOn iS .f
e. ..' 1" ~ u. S1 C<.- ,Ju..nd:mYl... ca..\.tecl
t{
,,
e. .n Q ~u .L ()
-} \he Jd di bn cpt..yc:JioYl •~ JG 'Y fo nn cl. . u. s~ a, :fu:td:1,crn.. c..a...tte,£
e< Je .. q_ ~ l) ,, ,
E"t.U.mflt- 1

W j D I \ bO \ g5 )
t
front
O_pe,,r0--ti\0Y'l5 0'11....~ QUL.UL :
,) e,n Q,\..ll..,\.,lL (..vaiuL) - To i:
Y'lbt..-<t o..'Yl e kme...n.--\::;. i
-nto l:::h L i,u..e..LLL
-') k&u.w....e--L) - lo Jde..be- an ele..me.v-tl fro
m. . -1:he.. 'iu..e..u..L •
~) J\ -S J~ (..) - 'µ) Ji b J~ {he.. J:,anmbi 4 {Jit.. 'tw..uL·

You might also like