ã調å¾æ²ç·ãã¨ã¯èª¿å¾å¾ã®ãã¢ãã®é³ç¨ãã°ã©ãåããã®ãã®ã§ããã®é³ç¨ããçè«å¤ããé«é³é¨ã¯ããé«ããä½é³é¨ã¯ããä½ãã調å¾ããã¦ãããã¨ã示ããã®ã§ãã
ããã¯â¦â¦ãããããã¨æã£ãã®ã§æãããã©ãã¯ããã¯ããï¼ï¼å¼ç¨è¨æ³ã試ãããã¨ããéªå¿µï¼ odz bufferããã®æ¯è¼é¢æ°ã«ã¤ã㦠ããã¨ãæ®éã«ãããªæ¯è¼é¢æ°ã¯å¤§å¤ã«ã¾ããã¨æãã®ã ãã誰ãããææãããªããã®ãï¼æåãªãã®ç«ã®ãã¼ã¸ããããªã®ã ã£ããã大ä¸å¤«ãããï¼ http://d.hatena.ne.jp/odz/20070212/1171345311 ä¾ãã°ãããããé åã®ã½ã¼ããï¼OSXã®gcc4.0.1ã§ç¢ºèªï¼ int compare_int(const int* a, const int* b) { return *a - *b; } ... int data[] = { 2140000000, -2100000001, 2100000002, -2100000003, -2100000004, 2100000005, 2100000006, 2100000007, -
# - * ä½ãèããã«è¦ãå ´å é¢ç½ãæ°ãããã - * SFã¨ãã¦è¦ãå ´å ä»ã¨ãªã£ã¦ã¯çãã1軸ã®ã¿ã¤ã ã¹ãªãããã¤ã¾ããã©ãããã¨ãããã¯ãã¥ã¶ãã¥ã¼ãã£ã¼ã¿ãããªå¥´â¦ã§ãããªãããèªå·±ã®åä¸æ§ã¯ä¿è¨¼ãããã¾ã¾å¨å²ã ããæ»ããã¨ãããæãããèªå·±ä¸å¿çãªã«ã¼ã«ã¨ãªã£ã¦ããããã®èªå·±ä¸å¿æ§ãå«ãã¦ãææ¥æããããã¨ããäºãããããªããããã®æ¹å¼ã§ã¯èªèã®é£ç¶æ§ãä¿æã§ããã®ãã¸ã£ã³ãã¼1人ããããªãããããã¸ã£ã³ãã¼ãåä¸ã«1人ããããªããã¨ããæ¡ä»¶ãæºãããªãã¨ä½åãã§ããªããªãããããæããã§ã¯ã¸ã£ã³ãã¼ã2人åå¨ããäºãéä¸ã§å¤æããããã®æåè¿°ã®ã«ã¼ã«ã«ä¹ã£åã£ãæåãè¡ããªãã°ãçç´ä»¥å¤ã®èª°ããã¸ã£ã³ããè¡ã£ãæç¹ã§ããã®æ ç»ã¯çªç¶çµäºããªãã¦ã¯ãªããªãããããå®éã«ã¯ããã¯ãªãããçç´ã ãã¯ãªããåä¸æ§ãä¿æãç¶ãããã®ã¾ã¾ãã®ä¸çã®ãç¥ãã¨ãã¦å ¨ã¦ã®æ å ±ãææ¡ããã¨ãã
ãã¦ãååã¯ãå¿åã¨å®åã®åé¡ã¯å®ã¯ãªãã·ã§ã³çè«ã§èãããããã¨ãã話ãããããã§ãããä»åã¯æ¬é¡ã§ãããå¿åã¨å®åã®ä¾¡å¤ã¯ã©ãå¤åãã¦ããã¤å®åãæå©ã«ãªãã®ãããèãã¦ããã¾ãããã å¿åã®ä¾¡å¤ã決ãã3è¦ç´ ååæ¸ããã¨ãããä¸ã®å³ã®ç°è²ã®æ²ç·ãããå¿åã®ãçã®ä¾¡å¤ããªã®ã§ãããããã¯3ã¤ã®è¦ç´ ã§æ±ºã¾ã£ã¦ãã¾ãã 1.ããã°ã®è©å¤ ããã¯å½ããåã§ãããè©å¤ãä¸ããã°ä¸ããã»ã©ãç°è²ã®ç·ã¯ä¸æãã¦ãã¾ããããã¦ãè©å¤ãä¸ãã£ã¦ãç°è²ã®ç·ã¯ãã¤ãã¹ã«ãªãã¾ããï¼ããªãå人ã¯æãããªãï¼ãããã¯åå説æããã¨ãããå¿åãªããã³ãºã©ãããããã§ããã¾ãã 2.è©å¤ã®ã¶ãã®å¤§ãã ãããæ¬é¡ã§ããããã°ã§æé¡ã®è¦³å¯æ¥è¨ãæ¸ãã¨èãã¾ãããããã®å ´åãããªããä½ãæ¸ããããããã°ã®è©å¤ã¯å¤åä¸ãããããªããã°ä¸ããããã¾ããããã®ã¨ããå¿åã§æ¸ããã¨ã«æå³ã¯ãã»ã©ããã¾ãããå¿åã®ã¡ãªããã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}