鎮(zhèn)ㄧ幇鍦ㄧ殑浣嶇疆錛?/strong> 璺ㄨ€冪綉棰戦亾鑰冪爺鎶ュ悕姝f枃

鍥涘窛澶уC璇█2000騫寸湡棰榑璺ㄨ€冪綉

鏈€鍚庢洿鏂版椂闂達(dá)細(xì)2011-08-26 06:17:21
杈呭璇劇▼錛?a target="_blank" rel="nofollow">鏆戞湡闆嗚 鍦ㄧ嚎鍜ㄨ
澶嶄範(fàn)绱у紶錛岀劍澶寸儌棰濓紵閫嗛杞昏錛屾潵璺ㄨ€冪瀛i泦璁惀錛屽府浣犲鏂規(guī)硶錛屽畾鏂規(guī)錛?/span> 浜嗚В涓€涓?>

銆€銆€涓€銆侀€夋嫨棰?span lang="EN-US">(姣忓皬棰?span lang="EN-US">2鍒嗭紝鍏?span lang="EN-US">10鍒?span lang="EN-US">)

銆€銆€(涓嬪湪鍚勫皬棰橈紝鍒嗗埆鏈変竴涓垨澶氫釜姝g‘絳旀錛岃灝嗘墍鏈夋紜瓟妗堢殑緙栧彿錛屽~鍐欏湪璇ュ皬棰橀騫插悗鐨勬嫭鍙峰唴銆傞敊閫夋垨婕忛€夊潎涓嶅緱鍒?span lang="EN-US">)銆?span lang="EN-US">

銆€銆€1銆佽嫢瀹氫箟錛?span lang="EN-US">int a[2][3]{0錛?span lang="EN-US">2錛?span lang="EN-US">4錛?span lang="EN-US">6錛?span lang="EN-US">8錛?span lang="EN-US">10锝?span lang="EN-US">;浠ヤ笅鎻忚堪姝g‘鐨勬湁( A錛?span lang="EN-US">C錛?span lang="EN-US">D錛?span lang="EN-US">E )

銆€銆€A銆?span lang="EN-US">*(a+1)涓哄厓绱?span lang="EN-US">6鐨勫湴鍧€

銆€銆€榪欓噷a+1=a[1]鐨勫湴鍧€;*(a+1)鐨勫€兼槸6,鏁?span lang="EN-US">A姝g‘銆?span lang="EN-US">

銆€銆€B銆?span lang="EN-US">*(a[1]+1)鐨勫€間負(fù)2

銆€銆€涓?span lang="EN-US">8,鏁?span lang="EN-US">B涓嶆紜?span lang="EN-US">

銆€銆€C銆?span lang="EN-US">**(a+1)+2鐨勫€間負(fù)8

銆€銆€榪欓噷a+1鏄竴涓寚閽堬紝鎸囧悜鐨勬槸a[1]. *(a+1)涓?span lang="EN-US">a[1]錛?span lang="EN-US">a[1]鎸囧悜鐨勬槸a[1][0]. **(a+1)涓?span lang="EN-US">6,鍔?span lang="EN-US">2寰?span lang="EN-US">8錛屾晠C姝g‘;

銆€銆€D銆?span lang="EN-US">a[0]涓?span lang="EN-US">a鐩稿悓

銆€銆€鍥犱簩鑰呴兘鏄寚閽堬紝鎸囬拡鐨勫湴鍧€閮芥槸鎸囧悜鏁扮粍涓殑絎竴涓厓绱犵殑鍦板潃錛屾晠D姝g‘銆?span lang="EN-US">

銆€銆€E銆?span lang="EN-US">a[1][2]鐨勫€間負(fù)10

銆€銆€瀹冩槸鎸囩浜岃鐨勭涓変釜鍏冪礌錛屼負(fù)10,姝g‘

銆€銆€2銆佸鍑芥暟鐨勬紜嬌鐢ㄦ柟娉曟弿榪?span lang="EN-US">( A錛?span lang="EN-US">C錛?span lang="EN-US">D )銆?span lang="EN-US">

銆€銆€A銆佺敤鏁扮粍鍋氬嚱鏁板弬鏁版椂錛屽繀欏誨湪涓昏皟鍑芥暟鍜岃璋冨嚱鏁頒腑鍒嗗埆瀹氫箟鏁扮粍

銆€銆€B銆佸疄鍙傛暟緇勫厓绱犲拰褰㈠弬鏁扮粍鍏冪礌綾誨瀷鍙互涓嶄竴鑷?span lang="EN-US">

銆€銆€C銆佸艦鍙傛暟緇勯暱搴﹀彲浠ヤ笉鎸囧畾 D銆佸艦鍙傛暟緇勯暱搴﹀彲浠ュぇ浜庡疄鍙傛暟緇勯暱搴?span lang="EN-US">

銆€銆€E銆佹暟緇勫悕鍋氬弬鏁板睘浜庡€間紶閫?span lang="EN-US">

銆€銆€3銆佸闈欐€佸彉閲忕殑姝g‘鎻忚堪( A錛?span lang="EN-US">B錛?span lang="EN-US">D錛?span lang="EN-US">E )

銆€銆€A銆侀潤鎬佸眬閮ㄥ彉閲忓湪闈欐€佸瓨鍌ㄥ尯鍐呭垎閰嶅崟鍏?span lang="EN-US">( )

銆€銆€B銆侀潤鎬佸閮ㄥ彉閲忓彲浠ヨ祴鍒濆€鹼紝涔熷彲浠ヤ笉璧嬪垵鍊?span lang="EN-US">

銆€銆€C銆侀潤鎬佸閮ㄥ彉閲忕殑浣滅敤涓庡閮ㄥ彉閲忕浉鍚?span lang="EN-US">

銆€銆€D銆侀潤鎬佸眬閮ㄥ彉閲忓湪鍑芥暟璋冪敤緇撴潫鏃訛紝浠嶄繚瀛樺叾鍊鹼紝涓嶄細(xì)闅忕潃娑堝け銆?span lang="EN-US">

銆€銆€E銆侀潤鎬佸眬閮ㄥ彉閲忓彧璧嬩竴嬈″垵鍊?span lang="EN-US">

銆€銆€4銆佷笅鍒楁弿榪版紜殑鏄?span lang="EN-US">( A 錛?span lang="EN-US">C)銆?span lang="EN-US">

銆€銆€A銆佺敱main 鍑芥暟鍙?qiáng)鍏跺弬鏁?span lang="EN-US">argc鍜?span lang="EN-US">* argv[]鍙互瀹炵幇鍛戒護(hù)琛屾柟寮?span lang="EN-US">

銆€銆€B銆佷嬌鐢?span lang="EN-US">fclose鍏抽棴鏂囦歡鏃訛紝鍏堥噴鏀炬枃浠舵寚閽堬紝鍐嶅啓緙撳啿鍖烘暟鎹埌鏂囦歡涓?span lang="EN-US">

銆€銆€//鍏堝啓緙撳啿鍖烘暟鎹埌鏂囦歡涓?span lang="EN-US">,鍐嶉噴鏀炬枃浠舵寚閽?span lang="EN-US">

銆€銆€C銆佸瓧絎︽暟緇勫茍涓嶈姹傚畠鐨勬渶鍚庝竴涓瓧絎︽槸鈥榎0鈥?p>

銆€銆€//鏄殑錛屼互瀛楃鎸囬拡鎸囧悜鐨勫瓧絎︿覆鎵嶈姹傦紝鍥犱負(fù)鍙湁榪欐牱錛屾墠鑳界煡閬撳瓧絎︿覆鐨勯暱搴︼紝鑰屽湪瀛楃鏁扮粍涓紝涓嶇敤\0,涓€鏍峰彲浠ョ煡閬撳埌鍝噷鏄瓧絎︽暟緇勭殑緇撳熬銆?span lang="EN-US">

銆€銆€D銆?span lang="EN-US">鈥楢鈥?/span>鍜?span lang="EN-US">鈥淎鈥?/span>閮芥槸瀛楃涓插父閲?span lang="EN-US">

銆€銆€E銆佽嫢char*S=鈥淺ta\017bc鈥?鍒欐寚閽堝彉閲?span lang="EN-US">S鎸囧悜鐨勫瓧絎︿覆鎵€鍗犵殑瀛楄妭鏁版槸7

銆€銆€5銆佸湪緙撳啿鏂囦歡緋葷粺涓敤浜庤鍐欑殑鍑芥暟鏈?span lang="EN-US">( A錛?span lang="EN-US">B錛?span lang="EN-US">D )

銆€銆€A銆?span lang="EN-US">putchar () B銆?span lang="EN-US">fread() C銆?span lang="EN-US">rewind () D銆?span lang="EN-US">purw() E銆?span lang="EN-US">fseek()

銆€銆€浜屻€佺▼搴忛槄璇伙紝騫剁粰鍑鴻繍琛岀粨鏋?span lang="EN-US">(鍏?span lang="EN-US">10鍒嗭紝姣忛5鍒?span lang="EN-US">)銆?span lang="EN-US">

銆€銆€(1)main()

銆€銆€{ unsigned a,b,x

銆€銆€int n;

銆€銆€a=0x763 杈撳嚭緇撴灉錛?span lang="EN-US">

銆€銆€n=6;

銆€銆€b=a<<(12-n);

銆€銆€x=(a>>n-2)^b; //+,-,鐨勪紭鍏堢駭姣?span lang="EN-US"><<,>>楂樸€?span lang="EN-US">

銆€銆€printf(鈥淺nb=%x,\nx=%x鈥?b,x);

銆€銆€锝?span lang="EN-US">

銆€銆€鍦ㄧ敤2涓瓧鑺傝〃紺烘暣鏁扮殑緋葷粺涓?span lang="EN-US">

銆€銆€緇撴灉涓?span lang="EN-US">

銆€銆€d8c0

銆€銆€d8b6

銆€銆€鍦ㄧ敤4涓瓧鑺傝〃紺烘暣鏁扮殑緋葷粺涓?span lang="EN-US">

銆€銆€緇撴灉涓?span lang="EN-US">

銆€銆€1d8c0

銆€銆€1d8b6

銆€銆€鏁呬互涓婁袱縐嶇粨鏋滈兘姝g‘銆?span lang="EN-US">

銆€銆€(2) #include 銆?span lang="EN-US">stdin.h銆?span lang="EN-US">

銆€銆€struct m {int x;

銆€銆€int *y;

銆€銆€锝?span lang="EN-US"> *p;

銆€銆€int a [4]={12錛?span lang="EN-US">33錛?span lang="EN-US">-40錛?span lang="EN-US">100锝?span lang="EN-US">;

銆€銆€struct m b [4]={10,&a[2],9,&a[3],8,&a[0],7,&a[1]锝?span lang="EN-US">'

銆€銆€main()

銆€銆€{

銆€銆€p=b; 杈撳嚭緇撴灉:

銆€銆€printf(鈥?d\n鈥?++p->x); //->鐨勪紭鍏堢駭楂樹簬++,鍥犳絳変簬鏄?span lang="EN-US">++(p->x),涓?span lang="EN-US">11

銆€銆€printf(鈥?d\n鈥?(++p)->x); //p鍚庣Щ涓€涓厓绱狅紝鍏?span lang="EN-US">x鍊間負(fù)9;

銆€銆€printf(鈥?d\n鈥?++(*p->y));

銆€銆€//->鐨勪紭鍏堢駭楂樹簬*, 姝ゆ椂p宸叉寚鍚?span lang="EN-US">b[1]錛屾晠*(p->y)涓?span lang="EN-US">a[3]涓?span lang="EN-US">100.鑷姞鍚庝負(fù)101;

銆€銆€锝?span lang="EN-US">

銆€銆€鏁呰緭鍑虹粨鏋滀負(fù)錛?span lang="EN-US">

銆€銆€11

銆€銆€9

銆€銆€101

銆€銆€涓夈€佺▼搴忚璁?span lang="EN-US">(鍏?span lang="EN-US">10鍒?span lang="EN-US">)

銆€銆€璁懼湪鏂囦歡a.txt鍜屾枃浠?span lang="EN-US">b.txt涓垎鍒瓨鏈変袱涓瓧絎︿覆錛岃璁′竴涓▼搴忓皢榪欎袱涓瓧絎︿覆鎸変緷搴忎氦鍙夌殑鏂瑰紡鍚堝茍涓轟竴涓瓧絎︿覆(渚嬪鈥渁aaaa鈥?/span>涓?span lang="EN-US">鈥渂bb鈥?/span>鐨勫悎騫剁粨鏋滀負(fù)鈥渁bababaa鈥?/span>錛岃€?span lang="EN-US">鈥渂bb鈥?/span>涓?span lang="EN-US">鈥渁aaaa鈥?/span>鐨勫悎浣滅粨鏋滀負(fù)鈥?bababaa鈥?/span>錛?span lang="EN-US">)騫跺皢緇撴灉瀛樺叆鏂囦歡a.txt涓€?span lang="EN-US">

銆€銆€銆愮瓟妗堛€?span lang="EN-US">

銆€銆€鍐欑▼搴忔椂錛屽彲浠ュ垎鍒鍙?span lang="EN-US">a.txt鏂囦歡鍜?span lang="EN-US">b.txt鏂囦歡錛屾敞鎰?span lang="EN-US">(1)錛屾棤璁?span lang="EN-US">a鏂囦歡鍏堣瀹岃繕鏄?span lang="EN-US">b鏂囦歡鍏堣瀹岋紝紼嬪簭閮借兘浣滃嚭閫傚簲鎬х殑鍒ゆ柇銆傛敞鎰?span lang="EN-US">(2)鎶?span lang="EN-US">a鍜?span lang="EN-US">b鍚堝茍鐨勭粨鏋滐紝鍐欏埌涓€涓復(fù)鏃舵枃浠?span lang="EN-US">c涓紝鏈€鍚庢妸c鐨勬枃浠惰鐩栧埌a鏂囦歡涓紝杈懼埌棰樻剰鐨勮姹傘€?span lang="EN-US">

銆€銆€#include

銆€銆€main()

銆€銆€{

銆€銆€FILE *fp,*fq,*fr;

銆€銆€char ch;

銆€銆€if((fp=fopen("a.txt","r+"))==NULL)

銆€銆€{ printf("cannot open file a.txt");

銆€銆€exit(0);

銆€銆€}

銆€銆€if((fq=fopen("b.txt","r"))==NULL)

銆€銆€{ printf("cannot open file b.txt");

銆€銆€exit(0);

銆€銆€}

銆€銆€fr=fopen("c.txt","w+");

銆€銆€while(!feof(fp))

銆€銆€{

銆€銆€ch=fgetc(fp);

銆€銆€fputc(ch,fr);

銆€銆€if(!feof(fq))

銆€銆€{

銆€銆€ch=fgetc(fq);

銆€銆€fputc(ch,fr);

銆€銆€}

銆€銆€}

銆€銆€while(!feof(fq))

銆€銆€{

銆€銆€ch=fgetc(fq);

銆€銆€fputc(ch,fr);

銆€銆€}

銆€銆€rewind(fp); rewind(fr);

銆€銆€while(!feof(fr))

銆€銆€{

銆€銆€ch=fgetc(fr);

銆€銆€fputc(ch,fp);

銆€銆€}

銆€銆€fclose(fp); fclose(fq); fclose(fr);

銆€銆€}

銆€銆€2022鑰冪爺鍒濆璇曞凡緇忔帴榪戝熬澹幫紝鑰冪爺瀛﹀瓙鍏ㄩ潰榪涘叆2023灞婂鑰?/b>錛岃法鑰冧負(fù)23鑰冪爺鐨勮€冪敓鍑嗗浜?0澶ц鍖呭叏紼嬪噯澶囥€佸叏騫村涔?fàn)澶囪€冭鍒掋€佺洰鏍囬櫌鏍′笓涓氳緟瀵箋€佸叏鐪熷璇曟ā鎷熺粌涔?fàn)鍜屽叏绋嬮拡瀵规€ф寚瀵鹼紱2023鑰冪爺鐨勫皬浼欎即閽堜篃宸茬粡寮€濮嬫嫨鏍″拰澶嶄範(fàn)浜嗭紝璺ㄨ€冭€冪爺鐣呭5.0鐗堟湰鍏ㄦ柊鍗囩駭錛屾棤璁轟綘鍦ㄦ牎鍦ㄥ閮藉彲浠ユ洿鑷鐨勫畬鎴愪綘鐨勮€冪爺澶嶄範(fàn)錛?/a>鏆戝亣闆嗚钀?/span>甯︽潵浜嗛櫌鏍′笓涓氬垵姝ラ€夋嫨錛屾槑紜柟鍚戯紱鑰冪爺澶囪€冨叏騫磋鍒掞紝鏍稿績鐭ヨ瘑鐐瑰叆闂紱涓€у寲鍒跺畾澶囪€冩柟妗堬紝鍔╀綘璧㈠湪璧瘋窇綰匡紝鏃╁嚭鍙戜竴鐐圭鎴愬姛灝辨洿榪戜竴鐐癸紒

鐐瑰嚮鍙充晶鍜ㄨ鎴?/strong>鐩存帴鍓嶅線浜嗚В鏇村

鑰冪爺闄㈡牎涓撲笟閫夋嫨鍜岃€冪爺澶嶄範(fàn)璁″垝
2023澶囪€冨涔?/td> 2023綰夸笂綰夸笅闅忔椂瀛︿範(fàn) 34鎵€鑷垝綰塊櫌鏍¤€冪爺澶嶈瘯鍒嗘暟綰挎眹鎬?/td>
2022鑰冪爺澶嶈瘯鏈€鍏ㄤ俊鎭暣鐞?/a> 鍏ㄥ浗鍚勬嫑鐢熼櫌鏍¤€冪爺澶嶈瘯鍒嗘暟綰挎眹鎬?/a>
2023鍏ㄦ棩鍒跺皝闂緇?/span> 鍏ㄥ浗鍚勬嫑鐢熼櫌鏍¤€冪爺璋冨墏淇℃伅姹囨€?/a>
2023鑰冪爺鍏堢煡 鑰冪爺鑰冭瘯縐戠洰鏈夊摢浜涳紵 濡備綍姝g‘鐪嬪緟鑰冪爺鍒嗘暟綰匡紵
涓嶅悓闄㈡牎鐩稿悓涓撲笟濡備綍閫夋嫨鏇撮€傚悎鑷繁鐨?/a> 浠庡氨涓氳鑰冪爺濡備綍鎷╀笓涓氾紵
鎵嬫妸鎵嬫暀浣犲浣曢€変笓涓氾紵 楂樻牎鐮旂┒鐢熸暀鑲插悇瀛︾闂ㄧ被鎺掕姒?/a>

璺ㄨ€冭€冪爺璇劇▼

鐝瀷 瀹氬悜鐝瀷 寮€鐝椂闂?/td> 楂樺畾鐝?/td> 鏍囧噯鐝?/td> 璇劇▼浠嬬粛 鍜ㄨ
縐嬪闆嗚 鍐插埡鐝?/td> 9.10-12.20 168000 24800璧?/td> 灝忕彮闈㈡巿+涓撲笟璇?瀵?+涓撲笟璇懼畾鍚戣緟瀵?鍗忚鍔犲己璇劇▼(楂樺畾鐝?+涓撳睘瑙勫垝絳旂枒(楂樺畾鐝?+綺劇粏鍖栫瓟鐤?澶嶈瘯璧勬簮(楂樺畾鐝?+澶嶈瘯璇懼寘(楂樺畾鐝?+澶嶈瘯鎸囧(楂樺畾鐝?+澶嶈瘯鐝富浠?v1鏈嶅姟(楂樺畾鐝?+澶嶈瘯闈㈡巿瀵嗚(楂樺畾鐝?+澶嶈瘯1v1(楂樺畾鐝?
2023闆嗚鐣呭 闈炲畾鍚戯紙鏀胯嫳鐝?鏁版斂鑻辯彮錛?/td> 姣忔湀20鏃?/td> 22800璧?鍗忚鐝? 13800璧?/td> 鍏堣闃跺湪綰胯紼?鍩虹闃跺湪綰胯紼?寮哄寲闃跺湪綰胯紼?鐪熼闃跺湪綰胯紼?鍐插埡闃跺湪綰胯紼?涓撲笟璇鵑拡瀵規(guī)€т竴瀵逛竴璇劇▼+鐝富浠誨叏紼嬬潱瀛︽湇鍔?鍏ㄧ▼瑙勫垝浣撶郴+鍏ㄧ▼嫻嬭瘯浣撶郴+鍏ㄧ▼綺劇粏鍖栫瓟鐤?鎷╂牎鎷╀笓涓氳兘鍔涘畾浣嶄綋緋?鍏ㄥ勾鍏抽敭鐜妭鎸囧浣撶郴+鍒濊瘯鍔犲己璇?鍒濊瘯涓撳睘鏈嶅姟+澶嶈瘯鍏ㄧ鏍囧噯鐝湇鍔?/td>

鈶犲嚒鏈綉娉ㄦ槑鈥滅浠舵潵婧愶細(xì)璺ㄨ€冪綉鈥濈殑鎵€鏈夋枃瀛椼€佸浘鐗囧拰闊寵棰戠浠訛紝鐗堟潈鍧囧睘鍖椾含灝氬紜曞崥鏁欒偛鍜ㄨ鏈夐檺鍏徃錛堝惈鏈綉鍜岃法鑰冪綉錛夋墍鏈夛紝浠諱綍濯掍綋銆佺綉绔欐垨涓漢鏈粡鏈綉鍗忚鎺堟潈涓嶅緱杞澆銆侀摼鎺ャ€佽漿甯栨垨浠ュ叾浠栦換浣曟柟寮忓鍒躲€佸彂琛ㄣ€傚凡緇忔湰緗戝崗璁巿鏉冪殑濯掍綋銆佺綉绔欙紝鍦ㄤ笅杞戒嬌鐢ㄦ椂蹇呴』娉ㄦ槑鈥滅浠舵潵婧愶紝璺ㄨ€冪綉鈥濓紝榪濊€呮湰緗戝皢渚濇硶榪界┒娉曞緥璐d換銆?/p>

鈶℃湰緗戞湭娉ㄦ槑鈥滅浠舵潵婧愶細(xì)璺ㄨ€冪綉鈥濈殑鏂?鍥劇瓑紼夸歡鍧囦負(fù)杞澆紼匡紝鏈綉杞澆浠呭熀浜庝紶閫掓洿澶氫俊鎭箣鐩殑錛屽茍涓嶆剰鍛崇潃鍐嶉€氳漿杞界鐨勮鐐規(guī)垨璇佸疄鍏跺唴瀹圭殑鐪熷疄鎬с€傚鍏朵粬濯掍綋銆佺綉绔欐垨涓漢浠庢湰緗戜笅杞戒嬌鐢紝蹇呴』淇濈暀鏈綉娉ㄦ槑鐨勨€滅浠舵潵婧愨€濓紝騫惰嚜璐熺増鏉冪瓑娉曞緥璐d換銆傚鎿呰嚜綃℃敼涓衡€滅浠舵潵婧愶細(xì)璺ㄨ€冪綉鈥濓紝鏈綉灝嗕緷娉曡拷絀舵硶寰嬭矗浠匯€?/p>

鈶㈠鏈綉杞澆紼挎秹鍙?qiáng)鐗堟潈绛夐棶棰樺Q岃浣滆€呰紼垮悗鍦ㄤ袱鍛ㄥ唴閫熸潵鐢?shù)涓庤法鑰冪綉鑱旂郴錛岀數(shù)璇濓細(xì)400-883-2220