You are on page 1of 27
98551, 07/12/2021 ‘Vu Due Wong - SOICT-HUT Vu Duc Vuong - SOICT-HUT tim 8m 7th June 2013, ap An dB thi KTLT 2013 va 1 vai nhan xét épin:at Cau 1= Cau 4 (24) Mo Sv ca dat phép + cho ma rn nhu sau fine struct oat ™ dat; } maby ‘oi capphatimatc& rm) { ‘mata = naw oat “nom font eo tem. ¥1). Datalt=now foatin.cof ' tmatrsoperatar + (matric nati) t appa for(int Osearontt) forint jie i) ~ata Beeta I: , void maint sti , bu ch thy ig al hip vk lp 100 be dna) cv a craw= Tro, ecol~ Tals eda ~ Tt ds | com Ot ving acl hi sho T, vn a ny chan dae ih hing, in i i ph os, svn Knog vn pA wt gs re bh hy cho T amg Bn ‘ie ciéevahing tebe vg ecg co eat Nuc dup tin doe te gt ving ed hia cds et Lng ae gl hing. ce she Ragen ey cp ge vt nen ni cs yn jan itt AG on 6 G>T ing bt ie d= ‘ip Tru, chen ep ph nt cho gs x php cho mata, ny hie ke ng ie: in er at deep pt 96 htc? ppb co ‘oid iipong matrx ) 1 hm aye thé elated ink ap t for (ot -osearonsi) delta datas , t eatata =) ‘ ‘ppb , she ifcal asl [arom brom) c otic daymatre capeata ' tps vuduevuong-soict-hut blogspot com!?m=18/clit=WAR@SACT¢S4gxbZAUROENVU INsBebcad8SInqjOpafOTHOMDARSSL XMM ver 08:51, 07/12/2021 tps: vuduevuong-soiet-hut blogspot com” ‘Wu Due Vuong - SOICT-HUT for atonal) data bast: sipongi ‘Ne tan Bay ma ch aya be sade ip ag i de (a eg a i php it chin a sa ng th rt gon Il bib thd cho HfGm%2) j= 9999" 8 +m: else j= 9999%4~m; (ab}+2)* @bl9): 7/c6 thé vidt thn thay 9999°8 thanh 9989<<3, nhurng kndng edn tit, vitrinh dich $8 ty dng toh Nga xdt: Dang bai nly thye chit ti a8 gai tere 1, Wong busi hee cub clng. Chi e6 1 vai ben tam ‘ding dap dn. Con igi da phin chi bién 461 bu tht, diva fra ngodi ving lip... va chi drge 50% aibm +6. civ 3:(0754) ‘Cho igi trea ee phn tesa mang Asa Ri hye ha don ahd yw gh a0? IntALT= (12,3, 4,556.7); ints p=Aet 5 bere, “pest betes op ap an ‘Lint peat => ps to AIT, p22 2. dtp; = php +. i an ho, amg => =o 5 pera Als, Soottpyri— boty ARS Wd AZPAL2} I ABS 5. tpl > ABPARHS PARI ‘Vip dlp eg: AUIS), sipth > poi AIS bfx Chany cha a, a kien de, vi ig en ht aid ta pte ai gn Kha am ue ‘gn vgn Ci gah hi: boty im re op aie bn, vy mcg ng pn lm each I ae cy in gett ng pita yop ah dye Ov vty phip +n quan dé a yng mp 142) ny min 6 1 tb vn fe (2, ing tp vin 5 AD eh king ek chy lt (chu 4: (05 4) Cho doan code sau ‘oid vida int dex, int, nt 2) { 2 yon; Rea, > ‘old mang int x=, y=2,2=3 viata oxy): rina 3d, y=Nal 2-6" x72; > ‘Sau ki thye hign, két qua trén man hint ia thie 2 Dipsa: KQiech 6 ee (Gu Bic bi pak am has ae 3 ed th ch, hae 2 yea ida | Bfocld=IWAR3SAo7AS4gxbZAunOEIVU TINeBebcad6SInqjOpalOTHDMDARSSLXHIemM 2er 08:51, 07/12/2021 tps: uduevuong-soict-hut blogspot com! ‘Wu Due Vuong - SOICT-HUT “ayaa tac im, php 2; i tim hy igi in y(n i io tbs ‘ek cin i ob> ab 2 sing yi agg hm adn who i taht rg ong n> Ni it: CS ay cag ee vi ih dla i Lp ng pn Kn que nya than eb. Cty hae hd th 053, ym by sh hi bin ha 8. rag isin Wy“ ae vy bing ‘kbp bl ave 1 eh a v8 Bn nt ab REx tomer nein nA ga Tod oi, Plain Ege nguyen he mg ng in trp vow ha Song ink mpi i, amg de ts ke om on je dan 2 ay on “KI aye cba Hoes i pas dang * fa mb eC {3 ian ib ted din hi vo, Tong Mm bi gy, ty ig ea Kg ty in ‘ee my 6b Mit bch pn ax ng anh vn be chit rin cm ne sy i to nb hing dg en Kg iy" caus: (4g) ‘it nim quy tinh ede phn te cba By sb sau v6i mn phn Kw ea; 12.5611 12142150, 35.40 6, Sa J lt a ou 9 chaos eh a ng 8 we ior ding uy 26) 10), ri inh ng cc phn Ws dy “any ee bn Hn) cba dy sco bah ng I yaa Hine endures inh tt = Hind) + Hin) - Hina) + H(nt) nbu nd Int Heit) (return n: se return (Hire) + Mos) = Hla) # Hint) d long Tongtntn}( Tong 0; fortetitansi) test), retumt: ) i a Tong Tonathtn) « Int intet n2=2,h363,n8=4h; Fong 1 I=) return 4; fort iesitansioe) ( neha nae eh toh, hash; heehee, ) ) tum » Nn xt: Néu tim urge quy hth dy 8 bald kid ibm nt (4 bm), v8 Kim th chi Sphut fa xong I Dang bai nay ta dalam nib, ma gin ky ta cung lam dang nay, dng tho 1G gi ba hi gia hy cho ‘ete lop Bi C6 6 cde ban chi quan, cho rng th lira Wj rl thi cub ky khéng lam tgp 7277, (iu 6: (054) D8 cb i ime sng iy 1 SV xy dag im ara Tong ConverttimetaGlay(tie') { return (T:h* 3600 +T.mn* 60 #78), » ‘Ye Time Bh lute ie io hea struct Time ( inthis (7 io Him ttc vin 2, Nin ota thé nt cho chain? Dap én ‘Vian 1 ede a6 nguyén nén tng : Th 9600+T ns0+Ts af ta xb nguyén, Ndu T Kon (vi oy 10) th tng {58 vugt qua pham vi 6 nguyé n tran 36 bién than 6 Am) fim sa Ib Kit Qi (8 gla quySt vin ab en, ta sua ak nur aa ‘return (long) Th"3600+T:n°80 +7) | Bfocld=IWAR3SAo7AS4gxbZAunOEIVU TINeBebcad6SInqjOpalOTHDMDARSSLXHIemM 08:51, 07/12/2021 tps: vuduevuong-soiet-hut blogspot com! ‘Wu Due Vuong - SOICT-HUT "nin xét: Bal nay cn eon na, vay ma khong alam dre moi dau I FRAC nhibu ban nnd x61 Hams int, md ham fal Yong => at kibul tr vb ta ham 1 Int ‘hye ra tl cho kibu lift vi a ham I long la db gp cho cdc ban, vby ma Ig sre nguge a, im st cca y tt eda ult (chu7 (075 6) Cho bid vig ice Ket qui tds mn lsh esa dos code dst dy theo nguyen teas toe nga” vA KE ga a ph ie ae ps int x.9=5,2=10; ayer santas Hs rinti("x= So y= a 2= Nd" 9, theo nguyen the "cng ros ne soe a” kt qu hd y> 62-1 weeeyersatrape re team dang Spa; aSIINSHO/ LINAS ab 0) bt cao hem ++ cag): ‘ul cing yy nia 2927-24511 (18th vis Kt qua raph theo thirty tnye hig phép toan a: Do phép + hi tb v8 toa i) c6 tung 4 uu tbr, thirty he hig tt v8 ltr ea bidn (7) ruse Kh ting, hung ban thin bin vin tng tn t= seyrr e Biyea) + = Se 2 6et0je = 48 Con y= vax T. 1 ph. Php ++ gutted "nj at: phn lam ec bn ci lim 1,2 18a de Bam da ra chinh kén phn bi ech im cua phn ton ‘rin deh, Te 4 be kna nh ho gin, cng sire ab dy cdc ban dd nay, nhumg rt tbe la ce ban kNéng nh Ing duge, chi ge eden fm theo, bit che, chirkhng dm hee sig to, hoe 6 chin kin va hoe phn bién ‘yh nd ma kh urge, nt vi gdh ENT ede Bang I ‘ctu 80.75) Con igus A cy dog cae a0 ‘ld min sain int x10 1S fnveptay be ecedp, ia thc ccnp ie ng chk, im cha sh dc iu i <2, cin an nhc iu tc eich ch dS {ip vy the et dopa ede ew ih ‘old main sain nS 11S Inveprtas bests oe Pinar ote, Meas , i qu aso es nin pct hi hay i ec dp rt, Ang li akg ‘whine: Lara ag tudo CT ch hing pei hin cpa che ip aa ach day abt DED: Ly aca xt cee wang ced ‘ctu 1 (075 8) Co bie gsi Kéqu eta ma Ma ia dog code dst iy theo agua ie "wt 2h ‘woe rsa vag ph hohe bie pep ai Int. y25, 2210: pereerreniaes rite Se y= el 2 a 9) ip én: ‘arngty chu a 1 tho neu he tak pn a, ere ‘M1: ton we te ana nda 2442) de the ie tee a= 24SH10)90 kya xian 51-9, xy 30-9-5-30-D4, an dy sm aE =A co kala: “Theo ng he php oat pu 18 v0 cng ge tn, ‘rade kl ay, cin thin yh gh, vy 249-1 hei aye Bo ete q pl y~ kw gl hay io git} = 28024 vy = SDH | Bfocld=IWAR3SAo7AS4gxbZAunOEIVU TINeBebcad6SInqjOpalOTHDMDARSSLXHIemM 98351, 07/12/2021 tps: vuduevuong-soiet-hut blogspot com! ‘Vu Due Wong - SOICT-HUT Vip kata naga, yog.2=0 ‘Cau (0.754) Cho bir kg sa ey dos cose sas Incepeaay decays botpeh Take orb , ‘Bip an: Tung Ww eau 8 ab + => CT wong avg Int epreas e-be=d 0" ao 2 Kgs saet cus (0.78.4) (Cho ie tc ee phn ea ming A ithe itn dos eh day i thich sno? nea Intb, p= A¥2; bere 10,12); 6p sn int *peAt2; = p td 161 AZ, “p=6 ple = va AIZISAI2}¢1=> ALT speech = AlZIFALAI2¢b= T7246= 7645448 b=tp-i~betpati8 vipp=p-t=> p tro 161 Alt] speeb;=> ANIA] + 448 = 452 (2.452,4488,10,12) (Cau 4 (0.78 6 Hay tinh chink doan ma sav for (k= 10000; kik) iftm%a) j=k*4 +m; else j= ms e= al] *al}e7" au}ea2 > Dap an: {pin Thye edb ng Kp Ay a, ei cn nh i rc cig cia k (= 1, i KeeD dng Hp, Bog ‘art gon fo biéu tne cho don glén va nhanh hon => enn nh sau ifem%_a) j> 44m lsc j= 8m: em Call 3) “Calas cau: (05 €) Cho doan code: void wid int in int“) old man ( int, y>2, 2 sdxaKd x2): ‘Sau kh the hg dt qua trin man nh ipa: KQ:e-1,y-10 eh (i cha nbd 3 ha ob: hen och 2 yk cha hi, than he 3 pda Tuy his, wong bin cea hi, php tok 2-2; hm thy ee 2h ds spt v0), 8 Kg thy Lb gp him edn voi tis ig ong -$ ~2-205-10 ‘sh ag 9 y tong han => yo 7342 or i 6407 ldng a1 caus: (4a) (98551, 07/12/2021 hips vuduevuong-soiet-hut blogspot com! ‘Vu Due Wong - SOICT-HUT vidt nam 4 quytnh cdc pdt cba dy sb sau vol phat ( 2a} 12.346.9,1421,924879,10,107, 252, Saud lt ti co ich dh hg yi ig dined uy 2) ‘Tatndy oa pn Hn) ba dey s6 cond nh ng ll sau Hoo 0), rin tng ce phn cha day sb ni ndu nes sinh tr Hine) - Hoe) + Hine) + Hine) nu nd Int Heit) i (ed) rtuen se return (Ho) - Ho) + Hfn-2) + Hint): ) long Tongtintn) Tong 0; forletiians+) tH); return.) Khir uy Tong Tengttt») Inthyhten nzea.naes,ndeah; Tong 0; fort isihe=mts+) ( ahi sha 93 hg; (xem ange xt 4th June 2013 V8 két qua bal thi KTLT 2013 - K55,56 va 1 s6 K54 sét lal Cha cdc ban Hm ray 28 im 1 8 i KTLT, kt gu ht bu oe ban a Thye 88 th nlm nay rt co bin, bad oan nm ong nl dung 4 hee. RSC neu eu d8duge sa wen Wp, cl hay echt! {te ea cing don aia, een eh ban doe KF maka KO Kong doit Tae atl thay san on “ip besa may bi doe 2.5->3 den baits 0 may man gap doe 1 diam sang ban Ng Chi Ha oe 9 va ba "2 .inh The Hung due 8. Hy von lat bal ose co mau dm ao hon ‘ing 25th May 2011 BH Word Nr: Ket qua bal KTLT hy 22011 em nig st 23rd May 2011 Bai thi KTLT HK 2.2011, bo thi Mon : Kj thust lp trinh (1rg040) "Til la vo pat SV due sir dg ti, ang Ang eo 21 is, ng ing iy nd iho hu £(075 Hiya ce ic php cba dogn mi au CBU S = (40 6) Cho mang gbm mow ing vi ‘Bi bt la aB eno kot qu tvomg dvong ahi sing la _neol et (row, aol > 100). Hay tink ehinh dog ‘i ab iduhon (ede bién aks Dao Sy a) Tah sau vgs heh do it(argen=2) ‘sum =o; f(a = fopentargstal."¥)) '= NULL) for Gnt c= 0; ¢ ‘tse d= (24°D*b 18" -(60-9%sin(e)) "5: a= SRD -64b —20 -sin(O)s PHALC! a8 d= KEa, Ds ? > ‘Vu Due Wong - SOICT-HUT iy xy dgng htm 8 guy in age dant seh & ‘Cau 7: (1. €) Cho bitt gi tricia cfc phin te ‘ela ming/A sau ki thye hign down Ignh dui iy va il thich sao? inet) pe (613,34, 19} ‘Cau 8: (0754) Hy tinh chigh dog ma bah v8 ‘uli hich fo (ede hm 6 0 Us). nt xgurs [Pahip xyz th tex Do2G else Dosti: /64+2%2/ta8) bo thi Mn KS thust ip tein (1rg040) "Toi ian 90 pat (0.75) Hy sia che Bio pip cia dogn mk tin bi ‘wd lar dB cho kbt qu tue dog. nh lng sa dB ibs hom (ee bib da Wel 820 8y 30). ulete, foul) open output Xan, argel2D) “print Usage: ep input fle output fle\a") ; (Cau 2: (4d) Pinte vd sau vd ne sa ay hea iBiva strat sao cho ding vor moi dig ao « getehar0: utchar(©; while e t= HOI cau 3: (25 4) Vibe him a8 guy int TongchusochanGnt n) 48 th tg ede chi 26 chin hsb nguyen a be 1 su 08 it i him de Seog Shingo aay Vidy:n=aqsq abut quaa: 6+ 4 ‘peas UI Ast qu 2 +8 (cau g: (14) Téivadogn code sau Moat ads inthe; /* nhgp gid tri be for Gnt ios ic=1000;5+) { Bhs if(e>0) Mior(8"b"b -6"b ~20 +sin(O)s = (24°b*b-18°D (60-g°sin(e)) “304% print a= d= fa, a; ¥ elses hips: vuduevuong-soiet-hut blogspot com! Bbc \AR5A0TS54gxbZAUNOENVU iNeBebead6SIngjOpafOTHDNDMRSBLXHfemM Sng iy nd, in hit ci 5 +40 4) Cho ming matrix gh nrow Ing v neo (aro, nes! >=100)- Bosn code sande pha cba mg ay theo hing Int dem = 0; forGntr= oj print a6 d= SE %a, A; » Nhén xét so bd vé 48 thi ‘in chang ti nim nay tong ich, Kn to, nh 8, Ti tcc iu du 1 ng v nim ton ven vo ing Sie eh i he wh vi agi a od IN nd Cia, oe qu thn in ng png thy ab cua eh vn bg pea hp ihn chink code Gabe mc ue vn Sng Hob Kj dy jt i Sayles ee do Busy ya a cit a2 (Pla ala Wig hy ng on i bare cb din) Dap an & Barem cham diém: Dé 1 Ci (0.75 6) Hay eB i ppc gn manu vit a dB cho kb qu zomg rong hung sng a vk «ab huhon (cdebign da kal bao Shy ad) it(arge==2) i€( (fin = fopen(arsvta ")) = NULL) WCC = fopentarge2}, "w= NULL) { ‘while (r= gete(fin)) = EOF) ‘putes fut) felosetfin) feloseCfout); delve | in Cont open oma san, arta 5 ‘rint( "Can't open input s\n, argo) ‘rintf (Usage: ep input outpat file\n") 5 ROSY “ ° SOUSA gts rt ty tt shin ty fs i ge ittarge! Drintf (Usage: ep Input output fe\n" lve “ECC fin = fopentargv{i}"P)) == NULL) printi("Can\'t open input s\n", argo + /* KS urs wy Binh vty else (lout = fopentargvtal,"w")) == NULL) { printf can\'t open output Xs\n" argv ¢ (18 sou aie felosetfin}s /* USt logit tng , Else ‘While (= getetin) != BOF) tele, feud); fetose(fin) felouelfout); /* Au (p8 sho iat yee ' (im So pp 0.6, vie 1 0.258: Phi nape in ng hing 56) ‘Chua: (1) Phin ch vd sau vd nu ca iy ca Ii va aI sao cho ding vo meld gu: char si; for G= 0: a ‘Tong ding 3, ie oso ai pcb. en sh ho ps ak, by gar aba ei lt 4) ss sa re equ eh 8 bof Lys ag abd it eh (Ca: Sing cn ob ssn thing. ng th ng ip at 1 jib 1 ng 1 oa ng lp > abn 0, tps sth Sng cb a ivy deg ah 3 ln tag at for (i= 0; (lil = getchar() t="\n' &&e i < Maas: ‘cing e6 thé thim ede ep (a8 bidu tite so nh 8 ang, sang ada hon (Khng e6 cong khng #90 ) for (= 0; (fil = getcharO) f=") kde (ie M-))sFe4)5 1& cl kh ngu si dng nhgp lubn ENTER, Kit qua ta dupe xu rng, Khéng 6 vin ab gl? | focld=IWAR3SAo7dS4gxbZAunOENVU TINeBebcad6SInqjOpalOTHDMDARSSLXHIemM (98551, 07/12/2021 ‘Vu Due Wong - SOICT-HUT (Phan tich va ehira chi sal: 05 4 stall cho dung 0.56), Cau 3 : (2.5 d) vidthim dp quy int TongChuSoLeint m) dé inh tng céc chi s618 cin sb nguyen mbt 1g, sau db vbr at him dui dang khdng €6 uy Vidpim= ga6yat =3:9 074541916. inh fog by dom gi, a an? Ie Tongs a) ( Tab aia): /cbayenm hash x ueng kina orem ‘ie ( bento: if( 4% 2) relum n % 10 + TongchusoLe( by, ‘also return TongCauSol b), ) ine ToeeChSoLe KhoneDeQuy( i) ‘stmt aie); cbse thar 9 aoa hi nan sien beat iecabe aye + amo d (vidi gy 1254, Khia guy 1.25) cau (1a) Téa dogn code sau. oat ad; int be; /* nhép gid ti be for Gat 10003 54+) {b+ ter) i5"(arbtb -6"—20 +sinle (*b%-18°b -60% gésin(e) "154% Print! ans de Sa, » else d= (agtb*D 18° -(60-3*sin(e)) = 5°C8"B* 6% -20 Hein(O)s hig: Ch ny yd he a yg oh that chink code teh in id th bt iar gn vg nf ra nol ving lp AF tog if ving tp a thay ch php n= php en (ng ia, v hut {hie ods hae cng mh hay eke php nbn hi = ke php tun dh ebusén Dg thi tcl ta bch ein tng he, hd quit hn dp i dee dn ip ng bday Win han nto Vic bitin tong np i 20s) gi ing i, ing ht a tango vg pi 8 sa Toon, cn Mite pa Gag shin lb vy tay Ai ae oa (an) a phy ng tg pte on dn ii hy lhe i ph chan Cabinets thy dd nt et og bo day rem ak float a; intb.c; / nhap gid tib,c oat s20-sin e>0) or tet; 8000; ee5){_ bee a= i*( b*(b-3)<Next = NULL) TILA Next pri ea onto) > cau (4.0) {Ghat itt cia he phn reba ming Aas i hye ign dogs ea a iy gi thi ano? inet) 16 18.3619): intb,peA Bop: spa rea tnt 2, Int pA => p tr 161 ALO] pes = phe => pire t6i ALN] speed = Alt}oe2 => Alt 15 peop rot AL) bap = boty tro toi Alt “pes — Altie=b = ALT Vay All (6349.36.10) (M3i dong dung dupe 024) ‘cau 8: (0.75) Hy tinh cinh dogn mi nh sau Bag cde Ay ube ‘oan leh 2820) Vico do wu tien eae hon, nhung la la ~ haute, nen gan truce, glam sau => b= 3, p 543449 hoe vt gil thich 1 do (ef him trong, Intyas aha xyz 1! forint t iCxs=y'2) Dora; rex 2 ‘tts so la aoa een if King ph ge vg py ng vg Hp ig yc pp oe ‘this ise pn ch hay ng 9 ih Osbemsiet) yevi>8) Osiensis+) Dea; Tor Cnt Bbc hips: vuduevuong-soiet-hut blogspot com! \AR5A0TS54gxbZAUNOENU iNeBebead6SIngjOpafOTHDNDMRSBLXHfemM wer (98551, 07/12/2021 hips vuduevuong-soiet-hut blogspot com! ‘Vu Due Vuong - SOICT-HUT else for Cint i= ori pip wo sin cEOF oe than 255-1 ed v8 Tue Nu Carob => ppt #6 ding KN gp EOF. rnuna nu tong 1 yr op Ib co ma asci=255 7 ky tu ay s8 duoc convert thann-1=> non CT sek te doe, Kh ratio vain chek te VI vy cn thay char than inte {(Chira age de aim ede C vt kdu char, CT a8 bi eat nd chart unsigne +05 sia igh than inte: 056) iu g : (2.54) Viethim dbqiy_ int TongChuSoChan(intn) A ih ng che cho ob Cacia ol nganéa mt 15, su it at ham de dang kang day Vidu:a.=a4ersithtage qua d-6 +4 =. ss -agsous Wi Kétaua ts 8414 afb \AR5A0TS54gxbZAUNOENU iNeBebead6SIngjOpafOTHDNDMRSBLXHfemM ser (98551, 07/12/2021 ‘Vu Due Wong - SOICT-HUT ‘olde rath > in ToegchsSaCha nn) ( ‘esb);_/cbyena hah song kina Hd) tan ‘st nto: if(n% 2=20) return n % 10-+ TongChuSoChan( by: else retum TongCruSoChan( by: ) to TangchuSoChan,KhongDsQey( in) { wat abe); chan hah so aoag kh nam weleta 0 ¢ bens ie(att2 aye ate, ) > ident a guy 1.259, Kn guy 1280) (Chu 4: (44) TB: ve dogn cade sus oat ad; int bse; /* hp gi tei be */ for Gat 10003 i++) { bess if(e>0) { 10%(8*b* -6"b -20 +sin(O); (24*b"D -8*b (60- g°sin(o))* 0% printf(* vt de Xf", Velset a= (OD 48% -(60-3sin(O)) “gor 1o*(2"beb -6*b 20 +sin(e); print (* a=%t d= Ea > , Vic tii wong vn pnt dun 20) mgd ing, ing hi dah iro ngod vg lp 8th ssa Gn ee hn 0 oy tay ase se eh 1 9 Bp a “Tipe tie tly hc ks cho don in hy ch hp hn hin php ch hay (Ca ing thiyd=9 a, ly eb os ota my erg babs ‘Theol got hes float a; intb.c;_ nhép gid trib,c*! oat 20 e>0) Yor Gitied; 100006810). bee ‘a= ((bt (b<«2 -3)<<1) +8) "i; rintf(" a=%t d= %6",a, at } else forint et; fe=10000: 4210) be 1 bY(b-3)<<1 8); rintl(" a=%t d= %6",a, at (bea Brn tna noi ying ep 0258 ‘sit amp vong lip: 0254 Tay stony ini 026 ‘cau 5: (440 4) Cho mAng matric gbm nrow hing v8 neo oro, nest >-300), Bogn cade sain che pha 8 ‘Sha ming iy theo has it dem = 0; e re Next retun Q:} ) ci 1.8) {Sho ici fe phn cia mang As thy itn doa ih a yw i thi sto? a4. 6.8) penn; Alt}092; => alt] 6 bbetpe=> betp; vi p= => be 6 ptr al AO) pea; => pt 161A} “pte = Afz] #0b; => ALZI=6+6 = 12; vey All = (2.6128) (M8: dong aang duge 16 4) elseif == 2°y°64-+ oats else Dogs ? Che bid tao a gp ha ving po oy a ong vng pO io Uw ot 36 a radngedo 1 nln. (080) ‘CE php tn mci rs pup mc thd hay che hep ch chndn (0.56 intxyas /*ahap xyz! Woe 39) Tor Cint lee forint i= o;4< sie) Dost; afb tps: vuduevuong-soiet-hut blogspot com! \AR5A0TS54gxbZAUNOENU iNeBebead6SIngjOpafOTHDNDMRSBLXHfemM 08:51, 07/12/2021 hips vuduevuong-soict-hut blogspot com! ‘Wu Due Vuong - SO1CT-HUT ng 23rd May 2011 bis Won ‘nn baits KTLT (Dem ont 419th December 2010 Bal thi KTLT K53 BKHN - de so 2 Trade kh el ny. cc ba hy wr Blab at 8168 phn eh ig IB ma ce bon me pw 82, ee vn ip acing wore) Chu 1: 1) MOL LTV LCT nh ae include void maino int ab, Int p= &b; chia echo b+! ase bees gta 7 printed, bron”, Ii oh 6 185 phi, LTV 8 sm ~ Sch thé i; wo take Ho prin nha tun ti et gt Khng ni [Hay chi rai cu php sau dda high test vi go ri CT sa Ii ch php cla LTV dé duge kq la 2 va 0-6 [Neu SV hi so, Khong erly dost 0.5 ‘Chu 2: (0.78@) Cho bit kt qu bin atm min nh Ki thy hi chong inh ud iy. Hay ii hich chi ie visto ob kt qu hu vy? include int FGnt*) et: ) old maln(voa) {iat rintf("F (a) +F(a) = ha" F(a) Fs = rint("2*F(a) = Yoda" 2° F(a); KQ: FeaysFUa) = 13 27 (6a) = 12 ‘Gia thich ly do Ket qua kc hau do higu dng phy -sidectect, Tham s6 cin him F 1a contd, vA trong him i tang gt te 6 nha tl ach cuyde vio Ten f, v1 vy Inu gol F(a) him tea vé6 va ang Len 1 in ‘sou go Fa) hn th ve 7-> F(&a) F(a) = 1 ‘Com ding in thi? : a cb 2* 6~ 12. New cho tr ign tym tra, ta khdng troyén ci ‘Diy ing Ia 1 cta dom gm dg dm, ite rang khong it bpm ea ci may (Cau 310.754) Tin chin 681i wu oga code su: ‘oat tong (oat *m, float *m2, iat») ‘oat a,b | Bfocld=IWAR3SAo7AS4gxbZAunOEIVU TINeBebcad6SInqjOpalOTHDMDARSSLXHIemM 1927 (98551, 07/12/2021 ‘Vu Due Wong - SOICT-HUT } oa ont rl he mits for is 0; =) sam + mn) +2 (Cau 4 (0754) Cho bid jnghia cia him sau old deat *, in) sponta: Mapai seems) iam dy i ht] (swap) 2 td truyda vo ma khong dng biéntrung gan (xem bai gin xt 56 1) (Ci (0.754) Cho biéc im sau Kim = ‘old bitoperation Int xin) ele ec(o-athd am ndyade ip Bt thir cia db ab thin (48 = 1) vy int a5; Bitoperatora2) = 010 [1 << 1)= rot joo 114 (Clu 6 (16) Tinh chinh ng cao bu ng eit chuong tinh sou old FI(foat b, Noa a, itm) Tat id,found =O; hile (found) &.& dem) { ‘oat x=log(y1og2) (al =) found = 15 , found) de_something: , sna ding i cand void fntin(lat val int, iat 2) float estat = logval) Tog, ala) = tesa while (aie)! testa); iC m) do_somathined: 3 hg dng ca void eget me Aha val = ogg wil) aa i ota i cay aso: ine ) (C dang break vid ny fntion( lat val in, at 8) ‘oat testval = logtval Jog): wiile ( include Srut snhvien ( struct ogo char li; eta i3), long sv; float hai} das ‘smut snhvien "nex yrds, ‘char tan char*L char") { JS 6 har a4 int rsilen) vehi (9-0 6 tse srepytie Strain); ay vi lesk nay, sy co the dang len fr de gan cae ky tw thu + den het ut vao ea ky thu siren") cas 2 smncet(gta); CO THE DUNG seat ‘tums } ‘oid seareb(char mal char hve} 2d ‘sructsnkvien "52 char fA, ino, srepy(6gten(ma byt); svads while (ev != NULL) { = svimpigtenisvdata my >data Ms) eo print” 9d 965.20 0-day, sodtakghs bres flee if (0) #/van com bo bon ‘se reak: 1 dara ngoai phar wi tim {ye sv eh det den cuot dah sch, Khong dung hide i thay thir 0.5 TE (0 pial” Khong ay Soe 4s al } {(Néu SV win by ed bude phn ich, hid topdown ~>thuing thie 0.5 dim — Te euing byp SV 6 die 10) Bai nly SV cht tid hi tim Kim theo malop roe, shung plus §duy$tdauhséch hile seinpist->data lal) <0 4 30 = NULL) it S==NULL I simp(sy-daa rl mal)=0) ( pina” Mong thay 946 8s "lhe; rk} cise "ip uc tim hi ong ty vi ten-hovatendem 1 Vi dan sch 45 dae ap xdp, nda day dn node malop > mal hay hover (do) > hot (i) hi Ka Ton la khong im thy (Cu 8:15) 3 chong i ‘eld ido Day mang V vk es vo Stack Sm Vi 0 Tureen 1 0) Puss 2 Dept Stack fr d=tkem ie) i Stack vila aft den: PapiS.T) a Sa" ’ Vil i og 2 an cham ssh cong ine eh Return Mat Program tig hl 1h Goto vb | ER ie Sink Sw con ST Deyét mig vi bs io Sack Sl Vick fertehiennins) ser (98551, 07/12/2021 ‘Vu Due Wong - SOICT-HUT 4 v8) 0) PatS.T9s 2-Duykt Suck git cho doe2 While) Sack Sis at na) 11/0 Skt inn ane {Pox rem oX%) Times ca X vip vo Sack , ing 18m Dacomber 2010 Wns in bi KTLT xem te nt 418th December 2010 Ve Ket qua bai thi KTLT K53 2010-- tiop 2 iu 4: (0.754) tivo doar code sm ‘oat float ¥a, oat *b, nt) { oat ta, eb, sum = 0.05, Inet = taal = bi: for d=tsiensten { aah; b= bis} return som: ’ [RA sudt dogn code ten, ta thy bin chit eda dogn code 1 tin ting m phn tea 2 mang ava. VI vy eh cin loa bi ed bit tung pv tnh ehinh nha ow a 4 ot ak) ( ow su ee eee ‘wit un vn apy ci bin sang gach hy vg lp tng tinh iim bo im bt 1.2 Woh (v4 hd 0288) (Clu 6 (14) Tin chnh 28 mdng cao hi ming ee chuomg trnh sou oid my_fune(Noat int 0.Zound ~0; hile (found) && ( m) ‘oid my_fetonoa val ina in) { iat float tesal - log Tog, fn) tesa, ‘while (ali)! testa Cea) do something oat *2 int) } be nbukhing dng i can ‘oid my_faneton oat van iat in) ( float tesval ~ log) /log2) sa) 5 while (1m ae a IG) do-sometined: ? tps: vuduevuong-soiet-hut blogspot com! seer 08:51, 07/12/2021 ‘Vu Due Wong - SOICT-HUT (© void ny_fanetion( oat val, it, it) { ‘ints float tesval = Toga) / oh while (=a) ( ai] — testa) ( d_someching: beak} , ? (Cau 7:54) Cho elu te dr lifu quia sah vgn abu sau struct sven { ‘sirct hove [| ‘char malop; ‘char bovatea/3SI; long seeusy, at Kh; dats struct sinvien *ne yas: 1a liga duge np Hay vl che him ch tid Sip xp dan sch si vit theo Ip wong 1 Ibp deo th [ABC tint, hg vi tn dm (Eo ed Ton thi cde yu eh v8 phong ech lp rink hie kétopdown va ce KY ‘hut Lhe qa) Pin doh "BU cho I clu we danh sich me nbi dum, vid ify 48 duge nap. ybu ei ci ein sp xf gk dan ‘ach, nung theo thé ty ABC os Lp, cn, ho tn dm, Tron fred au, clo Ung malop v8 Hoven, ‘iy cin ph bidn dBi hovaten thin tnvahotendem ri m6 zo sinh dsp xp, (Cae trad malop vi hveten du thugs kiéutdu Key, mubn sp xép theo th ty ABC cia lp, tn, ho vi én dm tach eno 1 niu gn maloptenvabotende da vo mop ve hovaten cua SV, so sah cle Xu dS ca tong SV 182 lp xp deh yeu chu cua bi include ‘include alloc > ‘Stet sinhvien ( ‘iit hoeo ‘har mils: ‘ear 35) long hsv font kat} datas strut sinvien*nex yrds, him gle, ding ghép malop vi hovaten 63 bién di to én Kn de Him aia tam 8 1 malop v8 Aoveten, vi td ve | xau gim malop-fenshovatendem ‘Vid malop= ‘CNPMI" vi Hovaten= "Tran Van Aha duge “CNPMIAn Tian Vat" * char Stent char "char *) ‘sara: insite hile a>o0 nt] 1 as xen wi dining da scp copy malo vo iano strcat(ig.t*n); /* ghép ten vio xiu tg. N la vi tri cia dau tring trude tén=> t*n chinh li dia chi cia ky ty du tién ela taht gp ten sinh inv sa elope copy vo thay lenny, co the dag leah for deg cet ky t's enh 0080 avy sen) nh tara inttttene 4 ease) ah mtg Op fp v8 tn dm vo xi. CO THE DUNG stat) “sums ) ‘oid sapeepstuctsnhvien *1)_(/ Him sip xépTaydn vio dia ei du eda da ssh ¢ struct sinhvien 9,76," sar 2) fnip=ip!=NULL:p=pnent ((/DuyGs dank sich ti dia sMrpy(sgen(pedatamip>dala.i),® ph ln gl malo ven da bign i vo ivi kn gin re ch catia oe 8 ULL g=a->next) iswiemp(sgten(g->data ma. q->data bt) > 0) cl stropylsgten(q2dta mda.) Giachi-g 1 lich oa pod gtea ln ata bom gten cia» f( dit) na 8 pac gen» gen eu Phi swap deta tam-ndatdsachiodata, diachiodatrpmdat, pevdaantam dats, htpsvuduevuong-solct-hut blogspot com!?m=18\oclit=WAR@SACT¢S4gxbZAUROENVU iNsBabcad6SInqjOpafOTHOMDARSSL XMM s9e7 98551, 07/12/2021 tps vuduevuong-soiet-hut blogspot com! ‘Vu Due Wong - SOICT-HUT , ) (6 chung khsing cbt ct 1 sv mo lim d hon chin cium. Mts itn hi sip xép theo op, say tién hich shy en ren (ang Eng) ico mt SV et age Oh oy 25m ce ao shlcehi de) (Ch: 50 Vl non cen a ac king dng ream mh elt Goo ‘ype int mangIMAX} oid Sorte A. it Inet for -aiease) {aseno =: foe Gra au =x & (+2) d8y Id phép tos v8 bit, vi vBy ta chuyén v8 dana nh phn nu vBy ban dBu x= 0110, sau ki thye higs mbm, ta de Tutiog ty vél a6, n=3 => x= 0810 & (~ 4) = 0210 & 1011 = 0010 => bit thu 3 () cung bi chuyéhn than 9, It lug: Ham nity att nin cua x than 0. (nay xéa bet mela x) tach x6 va 100 => bit thi 2( ) a8 chuyén ti thin ‘Diu Ging bubn & dBy 1: rt ahBu ban kndng nhd cd tod Li trén bit ela ¢, eng ny KhBng BIL Gu vito ce oi tri tim ra kat qu. (DB Bie Kh tr a tam chi, th ghia cla né igi) Chu ndy yu elu Test 1 doan code, Nain sé qua Goan code, ta UnS¥ ngay IB phd test ede abu kif bir. dy hie truyBn vo 4 xd kf ty (on Ur xu), nung Iai sao chep ( strepy) vBo 1 én ove B@ Ib xd al thé ding efp phét dng cho eDast nh 1 58 ban 3 lim, hoa kiém ta nu o6 dd xBu input < 32 thi mel copy ng minh, néu 5 oBi xu vuSt qué 31=> Bi T “Tide rng : hs ban phn lung tung (v! du srcpy(st,$2) 18 Mam copy nd dung $2 eho s,nhung ns ban Ii phn 1b 66 1 copy ting kj tu, nfm Khéng de=> sal ei phép 722, Mét 6 Ij sla than strepy(eDest"s), vi béntrén them s6 Wb char * = “Thug ra bal ny V8 cing dan glén, muc den 18a 98 aiém, tic rang rt ahiBu em khng tam de tps vuduevuong-soict-hut blogspot com! 27 (98551, 07/12/2021 ‘Vu Due Wong - SOICT-HUT SE tgp tue cdc bal viet sau 17th December 2010 ‘ng 17m December 2010 bes VuondVe Ni: Ket qua ba oS KTLT AS32010 (2) rrammae at de thi Tin Dai cuong 2010 ‘PHAN CAU HOI TRAC NGHIEM (Tr 0 phn tc nghibm nay vao bing én trang 3) cus oT a @ o @ w hips vuduevuong-soiet-hut blogspot com! (hon ns ein dng in Tee Neat TenGuiSoTen, Lust vod Teron: Fo sing ham open ano uy tam ai 36 ce nam nay. ing am mat tp gh nd sung ho ee vn bn peer go pat? " dower woe fer dnti= 64 21051002) " Ceepnuongenatuse: 2) 2 | 30 (Chan ede than pis eine the vb Thanh gh 1a) Cantal unt (ho sao sau 0 Choshin in (ho oi gi cia Beh 8 4 FEL Kntng:ac on 2 ws rong Wows Exo, db chon ce tp a thy mye on tong. thy mye ang xt, ing 8h pam cee ie ouey one i on-a print a*4 Donna pment + toy seco dt aut ° fs ° vo (98551, 07/12/2021 oT © @ oT be cr a o @ i © 9 bl 9 w @ tps: vuduevuong-soiet-hut blogspot com! ‘Vu Due Wong - SOICT-HUT (han eh Ka bab ing ep tu ob engi nn? fine ne tou a> Inca tip a> fete p18 eb ‘Frohne, o_o Di vo hb ng a hean Bi cheor vost maint iehb cn aba (oper ateute 0: fone, zo9620 1. fset , steer FLEOFTEXT Pen Bat dau cong ie Time gic tihng ©? (ag ee en) {ng eh hen rong ang aon dank sau 63, 4 8 enidanh hap? vee ne (C eharten(ty har hu det; saat), Jisngoeeg oni sb byte rong 24 mh 40 fe oto 480 fa 60 ‘chance ning chinh ca RAM (Random Acca Maan) Lua a teu Lunt ib v8 chuorg tinh dana whyche La eae eong tn dig a 8 The ce ci ig i (ho wd it gud ein Sogn chung Win nie (e<= 2) ‘Chong tinh bie vo han (ee pasong én ab cai Bn 2 Imran tinh a Ain Z Chon rab nh ol tong cde 98 su ao fe) r0r000 We i) 5% Bbc \AR5A0TS54gxbZAUNOENU iNeBebead6SIngjOpafOTHDNDMRSBLXHfemM 98551, 07/12/2021 u a @ oy be io cl io w tps: vuduevuong-soiet-hut blogspot com! ‘Vu Due Wong - SOICT-HUT ami 8 oe i I at, ove, ora one Cen it Ant ne sobeo seb Lice 265,85 28 66 a 86 066 mae (tea ib thal ach hog Sbingp pin 1075 aug bib ia bi ob a pn nao du 010.001 © sate is rit kab Kit qu tw 2 a2 io lg) meres 1g Bx 6 vty bus eta 32 et ding luo bo nh a cia bp og ehinn Bao nb, tt rng mB ten oh eb Ke tnt bl, “808 fa sce zoe @ sca Tink ding ea chor rn Fn cons > von mand { ma.0=0, oro f Mame=0) rina 49 6 2 410 1% Thong ce bid eso ah jy dd ey, bis th nab ang, Wt ng m8 fre gl bing ma ASC ak a (98551, 07/12/2021 ‘Vu Due Wong - SOICT-HUT ay arg ahs [a] ahrong omg oi al fb) stv dona we at fl tae Dhromp rg vt a (9 Cea,cebuaing PHAN BAI LAM CUA SINH VIEN PHAN: TRA LOVTRAC NGHIEM, ‘inh vin 25 cau tc nghim Wn Bing cdch inh ddu nhdn 0X) vo 6 tueng Ong v6 va chon rong bang su (Luu yeh eb me pavong 8m chon Bing cho mB: eu tre nahin) a [a [a PHAN TY LUAN “Tndng tn v8 mot cn bo gm: no ten khdng qué 25 hy ty), hong (a s6thye). Vist mot chzone tinh Mhap vo ‘néeg tn cia mot prong gm 15 cén 8, sau 6 tim v8 hi th a mn hin tn nang cn BO bong hp hit png, mB ho inn 1 ng. Got Rha boc tev dang mang cu ie, Sin vién vt phn ty ud (ap tinh & By cho an trang ti ing 17th December 2010 bs ona Nb: Oe thi To De Maman 47th December 2010 De Thi KTLT K53 - 2010 pe thi So1 Min: K§ thot ip tri (T3040) Th gian90 pit SV due pep dang i eu, shang em tay ge a ao di iu, dng myn, ig tog dd (Cau 1: (6784) Cho bit him sau dy lim gi Cu 6 (14) Tinh inh ding cao higu ning ee void bitchangeine x, int) { chong nh sau a= ==(0- Di ) vid my_fune(fe 2: (0.154 ty ii hioh Test va chink sia int found 05 tomnmeeet hile ({Tound) && ( void ening int. 1 divide cby set */ anon beer setbto3 a: print("a-%4d, boredn”, ab) , his hig At qua khdng nb ¥ mubn(o=t betsy ten han ost vi go. | ebu 4 (0.958) Tos dog codes ‘oat oat *4, float *b, iat» ‘oat a, th ,sum= 0.0 taal for (= Ish m4) ( sum = ta +h ) (Cau §: (754) Cho bit go ca hie sau: id s(t at *) Mia = KS thus ip te Th gay 90 pit. ‘Vu Due Wong - SOICT-HUT } 5 found) do_something: , (Au 7: 454) Cho clu te dt liga quin ly sinh vga shes struct sinbien ( struct how {| ‘char malop6s ‘char hovaten|3Sf struct sihvien "next, yas; Du liga 43 uve nip Ay vit cic him cha tide. ¢& Sip xgp dan sch sinh vign theo lop, rong 1 op theo The ABC ela te, ho a em dm (Wu ea Ta th ce yeu ciu vé phon cich lp tin, thie kétopdown viedo ky tui Ebi gu) (Cha: (154) Vien opm choos eed a 6B a weg dasee mb hog ding RETURN MaaPrapra (tye ‘Rr et Gt) 9B wap bub ‘ype int mangl AX} vid Sert}eang iat) ( Tats for Geten) ( for forts) Wau =AD ( tsi == 0) RETURN Maiarogeams , ) SV duge ep dung ti iu, shang en tay Ab: ao dBi ig, ding may in, cig thosi dd (Cau 1: (1) Mae LTV vit CF asa. include void ening lae*p chin eho as erp: bees i gimb= 641 Printed, BVin", a); , iu 6 (1) Tin chinh 8 ning cao higa ning ba hung rah sa ‘old F1 (Moat b Moat #8, ne 8) Tati, found = 05 hile (found) && (en) { Moat x=Iogtbyog2); ‘eal = found = It (found) do_something: } ‘ iw 7 = (54) Cho eh trie de sign hr sau ruct sinhvien( struct hos ( har malop( 6); ‘har hovatea SI; Tong sobieusy, ‘oat hgh} dat Ai dich o6 8 ch pip, LTV ste = eh thin struot sinhvien *nexts dn j wo trade Ten pra rg, rn tht gut} "as Kong abu ¥ Hay et ra Ib ct php, sau 46a foc hips: vuduevuong-soiet-hut blogspot com! \AR5A0TS54gxbZAUNOENU iNeBebead6SIngjOpafOTHDNDMRSBLXHfemM 2027 98351, 07/12/2021 htpssvuduevuong-solc-hut blogspot com!?m=18{clil=WAR@SACT¢S4gxbZAUnOENVU iNsBebcad8SInqjOpafOTHDOMDARSSLXHemM hn ost vg 16 CT st pp eda LTV 8 age hla 2 vi b=, {4420756 Choe tg en rue inh A ‘hein ebuor inn au i Hy en Bt sols ote hay? Mud tans Int Flint") { vee return x, : oid main(voi) ( prlat("F(a) “F(a = Yan" Fea F(a)s a5; Drint("2°F(a) = Yan" 288): (Cu 3:(0.754) Tink chinh ti ou dog code su ‘oat tong (oat “mt, at m2, iat) { ‘oat a, tb sum = 0.0; a= mill; b= m2 for (= 2-25-0545) [ a= mi: t= m2} t=e-ts , (Cau d= (754) Cho bid § ghia ca he san + void detint #4 nt) papi n (Ca 5: (0.954) Cho bid hr sas li oh void bitoperation int &.in 2) ( xP a

You might also like