从1写到20,可以怎样写,3个3个地写,5个5个地写? 从1到20里面,2个2个数或5个5个地数,都能数到的数有几个...
\u4ece1\u5199\u523020\uff0c5\u4e2a5\u4e2a\u6570\u7684\u6570\u600e\u4e48\u5199\uff1f\u4e00\u5230\u5341\u6709\u4e00\u4e2a\u4e94\uff0c\u5341\u5230\u4e8c\u5341\u6709\u4e00\u4e2a\u5341\u4e94\uff0c\u4ee5\u6b64\u7c7b\u63a8\uff0c\u4e00\u5230\u4e00\u767e\u6709\u5199\u4e86,\u5341\u4e00\u4e2a\u6570\u5b57\u4e94\uff0855\u542b\u4e24\u4e2a5\uff09\uff0c\u5206\u522b\u4e3a5,15,25,35,45,55,65,75,85,95\uff0c\u4ece101\u5230200\u4e5f\u670911\u4e2a\u6570\u5b575\uff0c\u800c555\u6709\u4e09\u4e2a5\uff0c\u5219\u540c\u7406\u4ece1\u5230700\u6709\uff0c11*7+1=78\u4e2a\u6570\u5b575.
1-20\u4e2d\uff0c\u4e00\u5171\u670920\u4e2a\u6570\u3002
2\u4e2a2\u4e2a\u7684\u6570\u7684\u8bdd\uff0c\u5f97\u5230\u7684\u90a3\u4e2a\u6570\u80af\u5b9a\u662f2\u7684\u500d\u6570\uff0c\u4e5f\u5c31\u662f\u4e00\u4e2a\u5076\u6570\u3002
\u6bd4\u5982\u8bf42\uff0c4\uff0c6\uff0c8\uff0c10\uff0c12\uff0c14\uff0c16\uff0c18\uff0c20\u3002
\u4e5f\u5c31\u662f\u8fd9\u5341\u4e2a\u6570\u636e\uff0c5\u4e2a5\u4e2a\u7684\u6570\uff0c\u90a3\u80af\u5b9a\u5c31\u662f5\u7684\u500d\u6570\uff0c\u6bd4\u5982\u8bf45\uff0c10\uff0c15\uff0c20\u3002
\u6570\u636e\u6bd4\u8f83\u5c11\u53ea\u67094\u4e2a\uff0c\u5bf9\u6bd4\u4e00\u4e0b\uff0c\u53d1\u73b0\u90fd\u80fd\u6570\u5230\u7684\u662f10\uff0c20\u3002\u5176\u5b9e\u901a\u8fc7\u6211\u4eec\u524d\u9762\u7684\u5206\u6790\uff0c\u90fd\u80fd\u6570\u5230\u7684\u6570\u503c\u6709\u4e00\u4e2a\u7279\u70b9\uff0c\u4ed6\u80af\u5b9a\u662f2\u7684\u500d\u6570\uff0c\u540c\u65f6\u4e5f\u662f5\u7684\u500d\u6570\uff0c\u4e5f\u5c31\u662f2\u548c5\u7684\u516c\u500d\u6570\uff0c\u57281-20\u4e2d\u3002\u53ea\u670910\u548c20\u662f\u4e8c\u8005\u7684\u516c\u500d\u6570\uff0c\u6240\u4ee5\u5c31\u662f\u4ed6\u4fe9\uff0c\u6240\u4ee5\u662f\u67092\u4e2a\u3002
\u5047\u8bbe\u4ee5\u540e\u9047\u5230\u5176\u4ed6\u7684\uff0c\u6bd4\u59823\u4e2a3\u4e2a\u7684\u6570\uff0c4\u4e2a4\u4e2a\u7684\u6570\uff0c\u90fd\u80fd\u6570\u5230\u7684\u5c31\u662f3\u548c4\u7684\u516c\u500d\u6570\uff0c\u4e5f\u5c31\u662f12\u3002\u5c31\u8fd9\u4e00\u4e2a\u3002
\u7279\u5f81
\u6ce8\uff1a\u4ee5\u4e0b\u7279\u5f81\u662f\u5c31\u6574\u6570\u7684\u5341\u8fdb\u5236\u8868\u793a\u6cd5\u800c\u8a00\u3002
2\u7684\u500d\u6570
\u4e00\u4e2a\u6570\u7684\u672b\u5c3e\u662f\u5076\u6570\uff080\uff0c2\uff0c4\uff0c6\uff0c8\uff09\uff0c\u8fd9\u4e2a\u6570\u5c31\u662f2\u7684\u500d\u6570\u3002
\u59823776\u30023776\u7684\u672b\u5c3e\u4e3a6\uff0c\u662f2\u7684\u500d\u6570\u30023776\u00f72=1888
3\u7684\u500d\u6570
\u4e00\u4e2a\u6570\u7684\u5404\u4f4d\u6570\u4e4b\u548c\u662f3\u7684\u500d\u6570\uff0c\u8fd9\u4e2a\u6570\u5c31\u662f3\u7684\u500d\u6570\u3002
4926\u3002(4+9+2+6)\u00f73=7\uff0c\u662f3\u7684\u500d\u6570\u30024926\u00f73=1642
绛旓細1-10涓湁2涓1锛11-20涓湁10涓1锛21-30鏈1涓1锛31-40鏈1涓1锛41-50鏈1涓1锛51-60鏈1涓1锛61-70鏈1涓1锛71-80鏈1涓1锛81-90鏈1涓1锛91-100涓湁2涓1锛屽叡21涓1锛1-9鍚1涓暟瀛楋紝10-99鍚2涓暟瀛楋紝100涓変釜鏁板瓧锛屽叡鏈1脳9+2脳90+3涓鏁板瓧锛岄櫎鍘1鍜0锛屽氨鏄2銆3銆4銆5銆6...
绛旓細浠庢暟瀛1鍐欏埌20锛澶х害瑕佺敤15绉掔殑鏃堕棿銆傛椂闂村崟浣嶇锛坰econd锛夋槸鍥介檯鍗曚綅鍒朵腑鏃堕棿鐨勫熀鏈崟浣嶏紝绗﹀彿鏄痵銆傛湁鏃朵篃浼氬熺敤鑻辨枃缂╁啓鏍囩ず涓簊ec.銆傜鐨勫畾涔夛細褰撻摨-133鍘熷瓙澶勪簬闈炴壈鍔ㄥ熀鎬佹椂涓や釜瓒呯簿缁嗚兘绾ч棿璺冭縼瀵瑰簲鐨勮緪灏勯鐜囄斘紺s浠z(鍗崇瓑浜巗-1)涓哄崟浣嶈〃杈炬椂閫夊彇鍥哄畾鏁板9192631770鍊嶆潵瀹氫箟绉掋傝秺绠鍗曠殑鏁板瓧鍐...
绛旓細寰堥珮鍏翠负浣犺В鍐抽棶棰锛屼竴涓暟瀛1绉锛1-9闇瑕9绉掞紝10-20闇瑕22绉掞紝鎬诲叡闇瑕31绉掋傜锛宮iao锛岀鑺掍篃銆傜鏈夌銆傜鍒嗚岀瀹氥傜鑺掓洶绉掋傜姽鏈ㄦ湯鏇版潽銆傜鑺掍篃銆傛槬鍒嗚岀鐢燂紝澶忚嚦鏅锋櫙鍙害銆傜鏈夌锛岀鍒嗚岀瀹氥--銆婅鏂囥(1) 褰㈠0銆備粠绂,灏戝0銆傛湰涔:绂捐姃銆(2) 鍚屾湰涔 [beard of corn or ...
绛旓細浠庢暟瀛1鍐欏埌20,澶х害瑕佺敤15绉掔殑鏃堕棿銆傛椂闂村崟浣嶇锛坰econd锛夋槸鍥介檯鍗曚綅鍒朵腑鏃堕棿鐨勫熀鏈崟浣嶏紝绗﹀彿鏄痵銆傛湁鏃朵篃浼氬熺敤鑻辨枃缂╁啓鏍囩ず涓簊ec.銆傜鐨勫畾涔夛細褰撻摨-133鍘熷瓙澶勪簬闈炴壈鍔ㄥ熀鎬佹椂涓や釜瓒呯簿缁嗚兘绾ч棿璺冭縼瀵瑰簲鐨勮緪灏勯鐜囄斘紺s浠z(鍗崇瓑浜巗-1)涓哄崟浣嶈〃杈炬椂閫夊彇鍥哄畾鏁板9192631770鍊嶆潵瀹氫箟绉掋傛椂闂村崟浣 绉掓槸...
绛旓細涓鍒板崄鏈変竴涓簲锛屽崄鍒浜屽崄鏈変竴涓崄浜旓紝浠ユ绫绘帹锛屼竴鍒颁竴鐧炬湁鍐欎簡,鍗佷竴涓暟瀛椾簲锛55鍚袱涓5锛夛紝鍒嗗埆涓5,15,25,35,45,55,65,75,85,95锛屼粠101鍒200涔熸湁11涓暟瀛5锛岃555鏈涓変釜5锛屽垯鍚岀悊浠1鍒700鏈夛紝11*7+1=78涓暟瀛5.
绛旓細浠1鍐欏埌100鏈11涓0銆傚垎鏋愶細1-10涓湁1涓0锛11-20涓湁1涓0锛21-30鏈1涓0锛31-40鏈1涓0锛41-50鏈1涓0锛51-60鏈1涓0锛61-70鏈1涓0锛71-80鏈1涓0锛81-90鏈1涓0锛91-100涓湁2涓0锛屽叡11涓傝冪偣 0銆1銆2銆3銆4銆5銆6銆7銆8銆9鍏10涓鏁扮鍙锋槸灞炰簬闃挎媺浼暟瀛楋紝涔熸槸鑷劧鐨勮鏁...
绛旓細灏210-a鍢涳紝绋嬪簭濡備笅 锛濓紳锛 int inputdata(int a,int b){ int i,j,s,k;for (j=1;j<=20;j++){ s=0;for (i=1;i<=20;i++){ if (i!=j) s+=i;} if (s==a){ k=j;return k;} } } === 鏈祴璇曪紝鍙槸澶ф鎬濊矾 ...
绛旓細棰2锛浠1寮濮嬶紝渚濊嚜鐒舵暟鐨勯『搴忓啓12345...20212022...2222锛屼竴鐩鍐欏埌2222涓烘锛屽叾涓湁鍑犱釜0 鏂规硶0:鐢╡xcel鐢熸垚1鍒皀(濡備笉浜嗚В,璇疯###)锛岀劧鍚庡皢0鏇挎崲涓0鑷韩锛屾浛鎹㈠叏閮锛屽彲浠鏍规嵁鏇挎崲鐨勬鏁扮煡閬0鐨勪釜鏁般(###鏁版嵁鐢熸垚杩囩▼锛氬湪excel宸ヤ綔琛ㄤ腑浠婚変竴涓┖鐧藉垪锛岄鏍煎~鍏ユ暟瀛1锛屾寜alt_EIS锛堣彍鍗曗...
绛旓細20涓垜浠鍙互浠鍚勪釜鏁板瓧娈典腑鏉ョ湅锛屽厛鐪1鍒10涓湁1涓紝11鍒20涓湁涓涓紝21鍒30涓湁1涓紝31鍒40涓湁1涓紝41鍒50涓湁2涓紝51鍒60涓湁10涓紝61鍒70鏈1涓紝71鍒80鏈1涓紝81鍒90鏈1涓紝91鍒100鏈1涓紝鎴戜滑鎶婂畠閫氶氬姞璧锋潵灏辨湁20涓紝杩欏氨鏄繖涓鐩殑绛旀銆俙1鍒100鐨勬暟瀛椾腑鏈夊灏戜釜5锛熸垜...
绛旓細浠庝竴鏁板埌涓夊崄娓告垙鎶宸 1銆佹暟2涓暟鐨 鍒30绠楄緭锛氳渚濇鎶㈠崰杩欏嚑涓暟锛2.5.8.11.14.17.20.23.26.29 鍒30绠楄儨锛氳渚濇鎶㈠崰杩欏嚑涓暟锛3.6.9.12.15.18.21.24.27.30 2銆佹暟3涓鏁扮殑 鍒30绠楄緭锛氳渚濇鎶㈠崰杩欏嚑涓暟锛1.5.9.13.17.21.25.29 鍒30绠楄緭锛氳渚濇鎶㈠崰杩欏嚑涓暟锛2.6...