CÓïÑÔ³ÌÐòÉè¼Æ¡ª±±¾©Àí¹¤´óѧMOOCÌá½»×÷Òµ(1)

ÄÚÈÝ·¢²¼¸üÐÂʱ¼ä : 2024/11/14 15:18:22ÐÇÆÚÒ» ÏÂÃæÊÇÎÄÕµÄÈ«²¿ÄÚÈÝÇëÈÏÕæÔĶÁ¡£

²âÊÔÊäÈë ÆÚ´ýµÄÊä³ö ʱ¼äÏÞÖÆ ÄÚ´æÏÞÖÆ ¶îÍâ½ø³Ì 2. 3. 4. 5. C++? C? Fortran? Pascal? 2. 3. 4. 5. Fortran? C++? C? BASIC? Code£º #include #include int main() { char s[5][100], t[100]; int i, n; for(i = 0; i < 5; i++) scanf(\ for(i = 0; i < 4; i++) { for(n = i + 1; n < 5; n++) { if(strcmp(s[i],s[n]) < 0) { strcpy(t,s[i]); strcpy(s[i],s[n]); strcpy(s[n],t); } } } for(i = 0; i < 5; i++) printf(\ return 0; }

2.Ñ°ÕÒ¾ØÕóµÄ°°µã

³É¼¨ ÕÛ¿Û 10 ¿ªÆôʱ¼ä 2014Äê11ÔÂ27ÈÕ ÐÇÆÚËÄ 03:00 0.8 ÕÛ¿Ûʱ¼ä 2014Äê12ÔÂ10ÈÕ ÐÇÆÚÈý 03:00 ¹Ø±Õʱ¼ä 2014Äê12ÔÂ17ÈÕ ÐÇÆÚÈý 03:00 ÔÊÐí³Ù½» ·ñ ¶þάÊý×éÖеİ°µã£¬¼´¸ÃλÖÃÉϵÄÔªËØÊÇËùÔÚÐÐÉϵÄ×î´óÖµ£¬ÊÇËùÔÚÁÐÉϵÄ×îСֵ¡£ ¶þάÊý×éÒ²¿ÉÄÜûÓа°µã¡£

ÊäÈëÒ»¸ö¶þάÊý×éµÄÐÐÊýn£¬ÁÐÊým£¬¶þάÊý×éµÄÖîÔªËØÖµ£»Êä³öÊý×éµÄ°°µã£¬ÒÔ¼°°°µãËùÔÚµÄÐÐÁкš£

ÊäÈ룺µÚÒ»ÐÐΪ¾ØÕóµÄÐÐÊýºÍÁÐÊý£¬´ÓµÚ¶þÐпªÊ¼£¬Îª¾ØÕó±¾Éí£¨¼ÙÉèÊäÈëµÄ¾ØÕóÖ»ÓÐ0ºÍ1¸ö°°µã£© 3 4 1 3 5 3 2 3 4 1 3 2 6 7

Êä³ö£º

Point: a[1][2] == 4 (ϱê´Ó0¿ªÊ¼)

²âÊÔÊäÈë

ÆÚ´ýµÄÊä³ö

ʱ¼äÏÞÖÆ

²âÊÔÓÃÀý 1

1. 2. 3. 4.

3 4? 1 3 5 3? 2 3 4 1? 3 2 6 7?

ÒÔÎı¾·½Ê½ÏÔʾ

ÒÔÎı¾·½Ê½ÏÔʾ 1.

Point:a[1][2]==4?

1Ãë

ÄÚ´æÏÞÖÆ64M

¶îÍâ½ø³Ì0

²âÊÔÓÃÀý 2

ÒÔÎı¾·½Ê½ÏÔʾ 1. 2. 3. 4.

3 4? 1 2 3 4? 8 4 3 6? 9 4 5 1?

ÒÔÎı¾·½Ê½ÏÔʾ 1.

No Point?

1Ãë 64M 0

Code£º

#include #include int main() { int i[100][100], m, n, x, y, temp, log = 0; scanf(\ for(y = 0; y < m; y++) { for(x = 0; x < n; x++) { scanf(\ } }

}

//½«Ã¿ÐеÄ×î´óÖµ·ÅÈëÿÐеÄ×îºó£» for(y = 0; y < m; y++) { temp = 0; for(x = 0; x < n; x++) { if(i[y][x] > temp) temp = i[y][x]; } i[y][n] = temp; }

//½«Ã¿ÁеÄ×îСֵ·ÅÈëÿÁеÄ×îºó for(x = 0; x < n; x++) { temp = 0x7fffffff; for(y = 0; y < m; y++) { if(i[y][x] < temp) temp = i[y][x]; } i[m][x] = temp; }

for(y = 0; y < m; y++) { for(x = 0; x < n; x++) { if((i[y][x] == i[m][x]) && (i[y][x] == i[y][n])) {printf(\ } }

if(log == 0) printf(\return 0;

3.Éí·ÝÖ¤µÄ°ÂÃØ

³É¼¨ ÕÛ¿Û 10 ¿ªÆôʱ¼ä 2014Äê11ÔÂ27ÈÕ ÐÇÆÚËÄ 03:05 0.8 ÕÛ¿Ûʱ¼ä 2014Äê12ÔÂ10ÈÕ ÐÇÆÚÈý 03:05 ÔÊÐí³Ù½» ·ñ ¹Ø±Õʱ¼ä 2014Äê12ÔÂ17ÈÕ ÐÇÆÚÈý 03:05 ±³¾°

18λÉí·ÝÖ¤±ê×¼ÔÚ¹ú¼ÒÖÊÁ¿¼¼Êõ¼à¶½¾ÖÓÚ1999Äê7ÔÂ1ÈÕʵʩµÄGB11643-1999¡¶¹«ÃñÉí·ÝºÅÂë¡·ÖÐ×öÁËÃ÷È·µÄ¹æ¶¨¡£ GB11643-1999¡¶¹«ÃñÉí·ÝºÅÂ롷ΪGB11643-1989¡¶Éç»á±£ÕϺÅÂë¡·µÄÐÞ¶©°æ£¬ÆäÖÐÖ¸³ö½«Ô­±ê×¼Ãû³Æ\Éç»á±£ÕϺÅÂë\¸üÃûΪ\¹«ÃñÉí·ÝºÅÂë\£¬ÁíÍâGB11643-1999¡¶¹«ÃñÉí·ÝºÅÂë¡·´Óʵʩ֮ÈÕÆð´úÌæGB11643-1989¡£GB11643-1999¡¶¹«ÃñÉí·ÝºÅÂë¡·Ö÷ÒªÄÚÈÝÈçÏ£º

Ò»¡¢·¶Î§

¸Ã±ê×¼¹æ¶¨Á˹«ÃñÉí·ÝºÅÂëµÄ±àÂë¶ÔÏ󡢺ÅÂëµÄ½á¹¹ºÍ±íÏÖÐÎʽ£¬Ê¹Ã¿¸ö±àÂë¶ÔÏó»ñµÃÒ»¸öΨһµÄ¡¢²»±äµÄ·¨¶¨ºÅÂë¡£

¶þ¡¢±àÂë¶ÔÏó

¹«ÃñÉí·ÝºÅÂëµÄ±àÂë¶ÔÏóÊǾßÓÐÖлªÈËÃñ¹²ºÍ¹ú¹ú¼®µÄ¹«Ãñ¡£

Èý¡¢ºÅÂëµÄ½á¹¹ºÍ±íʾÐÎʽ

1¡¢ºÅÂëµÄ½á¹¹

¹«ÃñÉí·ÝºÅÂëÊÇÌØÕ÷×éºÏÂ룬ÓÉÊ®ÆßλÊý×Ö±¾ÌåÂëºÍһλУÑéÂë×é³É¡£ÅÅÁÐ˳Ðò´Ó×óÖÁÓÒÒÀ´ÎΪ£ºÁùλÊý×ÖµØÖ·Â룬°ËλÊý×Ö³öÉúÈÕÆÚÂ룬ÈýλÊý×Ö˳ÐòÂëºÍһλÊý×ÖУÑéÂë¡£

2¡¢µØÖ·Âë

±íʾ±àÂë¶ÔÏó³£×¡»§¿ÚËùÔÚÏØ(ÊС¢Æì¡¢Çø)µÄÐÐÕþÇø»®´úÂ룬°´GB/T2260µÄ¹æ¶¨Ö´ÐС£

3¡¢³öÉúÈÕÆÚÂë

±íʾ±àÂë¶ÔÏó³öÉúµÄÄê¡¢Ô¡¢ÈÕ£¬°´GB/T7408µÄ¹æ¶¨Ö´ÐУ¬Äê¡¢Ô¡¢ÈÕ´úÂëÖ®¼ä²»Ó÷ָô·û¡£

4¡¢Ë³ÐòÂë

±íʾÔÚͬһµØÖ·ÂëËù±êʶµÄÇøÓò·¶Î§ÄÚ£¬¶ÔͬÄꡢͬÔ¡¢Í¬ÈÕ³öÉúµÄÈ˱ඨµÄ˳ÐòºÅ£¬Ë³ÐòÂëµÄÆæÊý·ÖÅä¸øÄÐÐÔ£¬Å¼Êý·ÖÅä¸øÅ®ÐÔ¡£

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ì滻Ϊ@) ËÕICP±¸20003344ºÅ-4 ceshi