锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品国产精品,亚洲国产裸拍裸体视频在线观看乱了,亚洲欧美日韩一区http://m.shnenglu.com/wing/archive/2010/09/11/126420.html闆粵渚濇ⅵ闆粵渚濇ⅵSat, 11 Sep 2010 12:56:00 GMThttp://m.shnenglu.com/wing/archive/2010/09/11/126420.htmlhttp://m.shnenglu.com/wing/comments/126420.htmlhttp://m.shnenglu.com/wing/archive/2010/09/11/126420.html#Feedback0http://m.shnenglu.com/wing/comments/commentRss/126420.htmlhttp://m.shnenglu.com/wing/services/trackbacks/126420.html//閲嶅湪鐞嗚В鏂規(guī)硶錛氭瘡嬈℃壘鍒版渶灝忕殑 2 3 5 7 鐨勫洜瀛愭暟錛屼箣鍚庡埄鐢ㄦ墍瀛樻暟鐨勪笅鏍囩殑鍏崇郴鏀瑰彉 #include <iostream> using namespace std; int num[5843]; //瀛樺偍鍓?842涓笐鏁?nbsp; int find_min ( int a, int b, int c, int d ) { int temp = a < b ? a : b; int index = c < d ? c : d; return temp < index ? temp : index; } void solve ( ) { int i1, i2, i3, i4, i; int h1, h2, h3, h4; i1 = i2 = i3 = i4 = 1; num[1] = 1; for (i = 2; i < 5843; i ++ ) { h1 = num[i1] * 2; h2 = num[i2] * 3; h3 = num[i3] * 5; h4 = num[i4] * 7; int min = find_min ( h1, h2, h3, h4 ); num[i] = min; //鏄撻敊鐐癸細(xì)榪欓噷涓嶅彲浠ョ敤else if 鍥犱負(fù)ti涓彲鑳戒細(xì)鏈夌浉鍚岀殑鏈灝忓鹼紝濡傚綋錛歮in = 6 鏃?nbsp; if ( min == h1 ) i1 ++; if ( min == h2 ) i2 ++; if ( min == h3 ) i3 ++; if ( min == h4 ) i4 ++; } } int main () { solve (); int n; while ( scanf ("%d", &n), n ) { if ( n % 100 != 11 && n % 10 == 1 ) printf ("The %dst humble number is %d.\n", n, num[n]); else if ( n % 100 != 12 && n % 10 == 2 ) printf ("The %dnd humble number is %d.\n", n, num[n]); else if ( n % 100 != 13 && n % 10 == 3 ) printf ("The %drd humble number is %d.\n", n, num[n]); else printf ("The %dth humble number is %d.\n", n, num[n]); } //system ("pause"); return 0; }