鍥涘窛澶уC璇█2000騫寸湡棰榑璺ㄨ€冪綉
銆€銆€涓€銆侀€夋嫨棰?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">
銆€銆€d
銆€銆€d8b6
銆€銆€鍦ㄧ敤4涓瓧鑺傝〃紺烘暣鏁扮殑緋葷粺涓?span lang="EN-US">
銆€銆€緇撴灉涓?span lang="EN-US">
銆€銆€1d
銆€銆€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> |