終於找到原因了!,是因為我給數組排序了!真的是,,,,服了我自己了。本來算的一點錯都沒有,結果手賤給排序了,,,,,我在排序前調試輸出的:{44,172,47,195,49,194,49,196,51,158,63,202,69,269,72,33,72,271,73,227,83,209,84,210,88,227,95,169,99,161,101,169,101,298,103,130,103,131,103,138,104,130,110,164,110,271,114,193,129,225,132,106,138,172,138,264,149,95,161,115,163,113,173,231,177,201,179,152,182,111,184,98,193,165,198,239,216,181,234,164,235,174,259,175},這是旋轉90度得到的。{55,271,56,272,82,160,85,155,93,200,103,205,104,160,104,216,115,203,120,231,139,184,140,247,142,243,151,256,156,192,159,194,161,269,164,219,165,115,167,300,170,205,173,252,173,276,173,278,173,281,174,89,175,254,175,276,176,206,182,324,183,234,186,242,186,305,186,318,188,233,188,316,195,233,204,234,208,236,209,267,213,268,217,263,218,265,220,135,223,97,223,138,224,268,225,268,228,270,230,144,234,269,295,240},這是旋轉180度得到的.
{108,183,116,164,120,147,134,169,155,265,158,226,161,240,169,198,186,214,188,258,195,248,202,77,207,244,210,247,211,170,211,247,212,170,224,46,238,53,242,47,243,221,245,207,248,51,249,170,249,198,250,171,251,180,254,54,258,174,259,79,264,199,265,136,266,132,266,133,268,116,268,122,272,121,276,78,280,177,281,176,282,83,283,82,283,174,285,172,288,145,301,176,303,135,305,173,307,173,318,173},這是旋轉270度得到的.
這是旋轉0度得到的:{49,114,49,115,59,175,122,74,124,88,136,86,141,114,143,226,144,228,153,44,158,107,159,220,160,111,162,2,163,218,164,234,169,26,170,136,170,138,173,94,173,135,174,1,174,2,174,3,174,4,174,5,174,6,174,7,174,8,174,9,174,10,174,11,174,12,174,13,174,14,174,15,174,16,174,17,174,18,174,19,174,20,174,21,174,22,174,23,174,24,174,25,174,26,174,27,174,28,174,29,174,30,174,31,174,32,174,33,174,34,174,35,174,36,174,37,174,38,174,39,174,40,174,41,174,42,174,43,174,44,174,45,174,46,174,47,174,48,174,49,174,50,174,51,174,52,174,53,174,54,174,55,174,56,174,57,174,58,174,59,174,60,174,61,174,62,174,63,174,64,174,65,174,66,174,67,174,68,174,69,174,70,174,71,174,72,174,73,174,74,174,75,174,76,174,77,174,78,174,79,174,80,174,81,174,82,174,83,174,84,174,85,174,86,174,87,174,88,174,89,174,90,174,91,174,92,174,93,174,94,174,95,174,96,174,97,174,98,174,99,174,100,174,101,174,102,174,103,174,104,174,105,174,106,174,107,174,108,174,109,174,110,174,111,174,112,174,113,174,114,174,115,174,116,174,117,174,118,174,119,174,120,174,121,174,122,174,123,174,124,174,125,174,126,174,127,174,128,174,129,174,130,174,131,174,132,174,133,174,134,174,135,174,136,174,137,174,138,174,139,174,140,174,141,174,142,174,143,174,144,174,145,174,146,174,147,174,148,174,149,174,150,174,151,174,152,175,30,175,43,175,114,176,96,176,98,178,100,179,50,184,47,185,99,189,133,191,51,191,120,191,264,212,127,212,163,213,110,214,108,247,191,248,186} |