#include <iostream>
#include <string>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int main(int argc, char** argv) {
bool con=mc.ConnectMinecraft("zk.makebock.net.cn","");
if(!con){
cout<<"失败";
return 0;
}
string data[519];
data[0]="5,0,0,251,7";
data[1]="5,0,0,251,7";
data[2]="6,1,0,251,7";
data[3]="6,2,0,251,7";
data[4]="5,3,0,251,7";
data[5]="4,4,0,251,7";
data[6]="3,5,0,251,7";
data[7]="3,6,0,251,7";
data[8]="2,7,0,251,7";
data[9]="2,8,0,251,7";
data[10]="2,9,0,251,7";
data[11]="3,8,0,251,7";
data[12]="4,8,0,251,7";
data[13]="1,10,0,251,7";
data[14]="0,11,0,251,7";
data[15]="0,12,0,251,7";
data[16]="0,13,0,251,7";
data[17]="1,14,0,251,7";
data[18]="0,15,0,251,7";
data[19]="1,15,0,251,7";
data[20]="1,16,0,251,7";
data[21]="1,17,0,251,7";
data[22]="1,18,0,251,7";
data[23]="1,19,0,251,7";
data[24]="2,15,0,251,7";
data[25]="3,15,0,251,7";
data[26]="2,20,0,251,7";
data[27]="2,21,0,251,7";
data[28]="3,22,0,251,7";
data[29]="4,23,0,251,7";
data[30]="5,23,0,251,7";
data[31]="6,24,0,251,7";
data[32]="7,24,0,251,7";
data[33]="8,25,0,251,7";
data[34]="9,24,0,251,7";
data[35]="10,25,0,251,7";
data[36]="11,25,0,251,7";
data[37]="12,24,0,251,7";
data[38]="13,24,0,251,7";
data[39]="4,24,0,251,7";
data[40]="15,23,0,251,7";
data[41]="16,23,0,251,7";
data[42]="17,22,0,251,7";
data[43]="18,21,0,251,7";
data[44]="18,20,0,251,7";
data[45]="19,19,0,251,7";
data[46]="19,18,0,251,7";
data[47]="20,17,0,251,7";
data[48]="20,16,0,251,7";
data[49]="21,15,0,251,7";
data[50]="22,14,0,251,7";
data[51]="23,13,0,251,7";
data[52]="24,12,0,251,7";
data[53]="25,11,0,251,7";
data[54]="25,10,0,251,7";
data[55]="26,9,0,251,7";
data[56]="26,8,0,251,7";
data[57]="26,7,0,251,7";
data[58]="26,6,0,251,7";
data[59]="26,5,0,251,7";
data[60]="25,4,0,251,7";
data[61]="25,3,0,251,7";
data[62]="24,2,0,251,7";
data[63]="23,1,0,251,7";
data[64]="22,0,0,251,7";
data[65]="21,1,0,251,7";
data[66]="21,2,0,251,7";
data[67]="20,3,0,251,7";
data[68]="19,0,0,251,7";
data[69]="19,1,0,251,7";
data[70]="19,2,0,251,7";
data[71]="19,4,0,251,7";
data[72]="18,3,0,251,7";
data[73]="18,4,0,251,7";
data[74]="18,5,0,251,7";
data[75]="18,6,0,251,7";
data[76]="17,5,0,251,7";
data[77]="17,6,0,251,7";
data[78]="17,7,0,251,7";
data[79]="17,8,0,251,7";
data[80]="17,9,0,251,7";
data[81]="17,10,0,251,7";
data[82]="16,0,0,251,7";
data[83]="16,1,0,251,7";
data[84]="16,2,0,251,7";
data[85]="16,7,0,251,7";
data[86]="16,9,0,251,7";
data[87]="15,3,0,251,7";
data[88]="15,4,0,251,7";
data[89]="15,7,0,251,7";
data[90]="15,9,0,251,7";
data[91]="14,1,0,251,7";
data[92]="14,2,0,251,7";
data[93]="14,5,0,251,7";
data[94]="14,6,0,251,7";
data[95]="14,7,0,251,7";
data[96]="14,8,0,251,7";
data[97]="13,0,0,251,7";
data[98]="13,3,0,251,7";
data[99]="13,8,0,251,7";
data[100]="12,3,0,251,7";
data[101]="12,5,0,251,7";
data[102]="12,6,0,251,7";
data[103]="12,7,0,251,7";
data[104]="12,8,0,251,7";
data[105]="11,2,0,251,7";
data[106]="11,4,0,251,7";
data[107]="10,1,0,251,7";
data[108]="10,2,0,251,7";
data[109]="10,5,0,251,7";
data[110]="9,0,0,251,7";
data[111]="9,3,0,251,7";
data[112]="9,4,0,251,7";
data[113]="9,6,0,251,7";
data[114]="9,7,0,251,7";
data[115]="8,4,0,251,7";
data[116]="8,5,0,251,7";
data[117]="8,6,0,251,7";
data[118]="8,7,0,251,7";
data[119]="7,3,0,251,7";
data[120]="7,4,0,251,7";
data[121]="7,7,0,251,7";
data[122]="6,1,0,251,7";
data[123]="6,2,0,251,7";
data[124]="6,7,0,251,7";
data[125]="5,0,0,251,7";
data[126]="5,3,0,251,7";
data[127]="5,7,0,251,7";
data[128]="5,10,0,251,7";
data[129]="5,12,0,251,7";
data[130]="5,19,0,251,7";
data[131]="4,11,0,251,7";
data[132]="4,16,0,251,7";
data[133]="4,19,0,251,7";
data[134]="23,5,0,251,7";
data[135]="23,6,0,251,7";
data[136]="23,7,0,251,7";
data[137]="23,8,0,251,7";
data[138]="22,9,0,251,7";
data[139]="21,10,0,251,7";
data[140]="21,11,0,251,7";
data[141]="20,12,0,251,7";
data[142]="20,13,0,251,7";
data[143]="18,11,0,251,7";
data[144]="18,12,0,251,7";
data[145]="18,13,0,251,7";
data[146]="17,14,0,251,7";
data[147]="17,15,0,251,7";
data[148]="17,16,0,251,7";
data[149]="16,17,0,251,7";
data[150]="16,18,0,251,7";
data[151]="16,13,0,251,7";
data[152]="15,19,0,251,7";
data[153]="15,13,0,251,7";
data[154]="15,14,0,251,7";
data[155]="14,13,0,251,7";
data[156]="14,14,0,251,7";
data[157]="13,14,0,251,7";
data[158]="12,14,0,251,7";
data[159]="11,14,0,251,7";
data[160]="10,15,0,251,7";
data[161]="12,19,0,251,7";
data[162]="11,19,0,251,7";
data[163]="6,0,0,251,10";
data[164]="7,0,0,251,10";
data[165]="8,0,0,251,10";
data[166]="7,1,0,251,10";
data[167]="7,2,0,251,10";
data[168]="8,1,0,251,10";
data[169]="8,2,0,251,10";
data[170]="8,3,0,251,10";
data[171]="9,1,0,251,10";
data[172]="9,2,0,251,10";
data[173]="9,5,0,251,10";
data[174]="10,0,0,251,10";
data[175]="10,3,0,251,10";
data[176]="10,4,0,251,10";
data[177]="11,0,0,251,10";
data[178]="11,1,0,251,10";
data[179]="11,3,0,251,10";
data[180]="12,0,0,251,10";
data[181]="12,1,0,251,10";
data[182]="12,2,0,251,10";
data[183]="12,4,0,251,10";
data[184]="13,1,0,251,10";
data[185]="13,2,0,251,10";
data[186]="13,4,0,251,10";
data[187]="13,5,0,251,10";
data[188]="13,6,0,251,10";
data[189]="13,7,0,251,10";
data[190]="14,0,0,251,10";
data[191]="14,3,0,251,10";
data[192]="14,4,0,251,10";
data[193]="15,0,0,251,10";
data[194]="15,1,0,251,10";
data[195]="15,2,0,251,10";
data[196]="15,5,0,251,10";
data[197]="15,6,0,251,10";
data[198]="16,3,0,251,10";
data[199]="16,4,0,251,10";
data[200]="16,5,0,251,10";
data[201]="16,6,0,251,10";
data[202]="17,0,0,251,10";
data[203]="17,1,0,251,10";
data[204]="17,2,0,251,10";
data[205]="17,3,0,251,10";
data[206]="17,4,0,251,10";
data[207]="18,0,0,251,10";
data[208]="18,1,0,251,10";
data[209]="18,2,0,251,10";
data[210]="4,7,0,251,6";
data[211]="5,6,0,251,6";
data[212]="6,5,0,251,6";
data[213]="6,6,0,251,6";
data[214]="7,5,0,251,6";
data[215]="7,6,0,251,6";
data[216]="6,14,0,251,6";
data[217]="18,14,0,251,6";
data[218]="18,15,0,251,6";
data[219]="19,10,0,251,6";
data[220]="19,11,0,251,6";
data[221]="19,12,0,251,6";
data[222]="19,13,0,251,6";
data[223]="19,14,0,251,6";
data[224]="20,8,0,251,6";
data[225]="20,9,0,251,6";
data[226]="20,10,0,251,6";
data[227]="20,11,0,251,6";
data[228]="21,5,0,251,6";
data[229]="21,6,0,251,6";
data[230]="21,7,0,251,6";
data[231]="21,8,0,251,6";
data[232]="21,9,0,251,6";
data[233]="22,4,0,251,6";
data[234]="22,5,0,251,6";
data[235]="22,6,0,251,6";
data[236]="22,7,0,251,6";
data[237]="22,8,0,251,6";
data[238]="22,8,0,251,4";
data[239]="2,10,0,251,4";
data[240]="2,11,0,251,4";
data[241]="3,9,0,251,4";
data[242]="3,10,0,251,4";
data[243]="3,11,0,251,4";
data[244]="3,12,0,251,4";
data[245]="4,9,0,251,4";
data[246]="4,10,0,251,4";
data[247]="4,12,0,251,4";
data[248]="4,13,0,251,4";
data[249]="5,8,0,251,4";
data[250]="5,9,0,251,4";
data[251]="5,11,0,251,4";
data[252]="5,13,0,251,4";
data[253]="5,14,0,251,4";
data[254]="6,8,0,251,4";
data[255]="6,9,0,251,4";
data[256]="6,10,0,251,4";
data[257]="6,11,0,251,4";
data[258]="6,12,0,251,4";
data[259]="6,13,0,251,4";
data[260]="6,14,0,251,4";
data[261]="7,8,0,251,4";
data[262]="7,9,0,251,4";
data[263]="7,10,0,251,4";
data[264]="7,11,0,251,4";
data[265]="7,13,0,251,4";
data[266]="7,13,0,251,4";
data[267]="7,14,0,251,4";
data[268]="8,8,0,251,4";
data[269]="8,9,0,251,4";
data[270]="8,10,0,251,4";
data[271]="8,11,0,251,4";
data[272]="8,12,0,251,4";
data[273]="8,13,0,251,4";
data[274]="8,14,0,251,4";
data[275]="9,8,0,251,4";
data[276]="9,9,0,251,4";
data[277]="9,10,0,251,4";
data[278]="9,11,0,251,4";
data[279]="9,12,0,251,4";
data[280]="9,13,0,251,4";
data[281]="10,6,0,251,4";
data[282]="10,7,0,251,4";
data[283]="10,8,0,251,4";
data[284]="10,9,0,251,4";
data[285]="10,10,0,251,4";
data[286]="10,11,0,251,4";
data[287]="10,12,0,251,4";
data[288]="11,9,0,251,4";
data[289]="11,10,0,251,4";
data[290]="11,11,0,251,4";
data[291]="11,12,0,251,4";
data[292]="12,10,0,251,4";
data[293]="12,11,0,251,4";
data[294]="10,14,0,251,4";
data[295]="10,16,0,251,4";
data[296]="11,15,0,251,4";
data[297]="11,16,0,251,4";
data[298]="11,17,0,251,4";
data[299]="12,15,0,251,4";
data[300]="12,16,0,251,4";
data[301]="12,17,0,251,4";
data[301]="13,15,0,251,4";
data[302]="13,16,0,251,4";
data[303]="13,17,0,251,4";
data[304]="14,15,0,251,4";
data[305]="14,16,0,251,4";
data[306]="15,8,0,251,4";
data[307]="15,15,0,251,4";
data[308]="16,8,0,251,4";
data[309]="19,3,0,251,4";
data[310]="1,11,0,251,3";
data[311]="1,12,0,251,3";
data[312]="1,13,0,251,3";
data[313]="2,12,0,251,3";
data[314]="2,13,0,251,3";
data[315]="2,14,0,251,3";
data[316]="2,16,0,251,3";
data[317]="2,17,0,251,3";
data[318]="2,18,0,251,3";
data[319]="2,18,0,251,3";
data[320]="3,7,0,251,3";
data[321]="3,13,0,251,3";
data[322]="3,14,0,251,3";
data[323]="3,16,0,251,3";
data[324]="3,17,0,251,3";
data[325]="3,18,0,251,3";
data[326]="3,19,0,251,3";
data[327]="3,20,0,251,3";
data[328]="3,21,0,251,3";
data[329]="4,5,0,251,3";
data[330]="4,6,0,251,3";
data[331]="4,14,0,251,3";
data[332]="4,15,0,251,3";
data[333]="4,17,0,251,3";
data[334]="4,18,0,251,3";
data[335]="4,20,0,251,3";
data[336]="4,21,0,251,3";
data[337]="4,22,0,251,3";
data[338]="5,4,0,251,3";
data[339]="5,5,0,251,3";
data[340]="5,16,0,251,3";
data[341]="5,17,0,251,3";
data[342]="5,15,0,251,3";
data[343]="5,18,0,251,3";
data[344]="5,20,0,251,3";
data[345]="5,21,0,251,3";
data[346]="5,22,0,251,3";
data[347]="6,3,0,251,3";
data[348]="6,4,0,251,3";
data[349]="6,15,0,251,3";
data[350]="6,16,0,251,3";
data[351]="6,17,0,251,3";
data[352]="6,18,0,251,3";
data[353]="6,19,0,251,3";
data[354]="6,20,0,251,3";
data[355]="6,21,0,251,3";
data[356]="6,22,0,251,3";
data[357]="6,23,0,251,3";
data[358]="7,15,0,251,3";
data[359]="7,18,0,251,3";
data[360]="7,16,0,251,3";
data[361]="7,17,0,251,3";
data[362]="7,19,0,251,3";
data[363]="7,20,0,251,3";
data[364]="7,21,0,251,3";
data[365]="7,22,0,251,3";
data[366]="7,23,0,251,3";
data[367]="8,15,0,251,3";
data[368]="8,18,0,251,3";
data[369]="8,19,0,251,3";
data[370]="8,16,0,251,3";
data[371]="8,17,0,251,3";
data[372]="8,20,0,251,3";
data[373]="8,21,0,251,3";
data[374]="8,22,0,251,3";
data[375]="8,23,0,251,3";
data[376]="8,24,0,251,3";
data[377]="9,14,0,251,3";
data[378]="9,15,0,251,3";
data[379]="9,18,0,251,3";
data[380]="9,16,0,251,3";
data[381]="9,17,0,251,3";
data[382]="9,19,0,251,3";
data[383]="9,20,0,251,3";
data[384]="9,21,0,251,3";
data[385]="9,22,0,251,3";
data[386]="9,23,0,251,3";
data[387]="10,13,0,251,3";
data[388]="10,17,0,251,3";
data[389]="10,18,0,251,3";
data[390]="10,19,0,251,3";
data[391]="10,20,0,251,3";
data[392]="10,21,0,251,3";
data[393]="10,22,0,251,3";
data[394]="10,23,0,251,3";
data[395]="10,24,0,251,3";
data[396]="11,4,0,251,3";
data[397]="11,5,0,251,3";
data[398]="11,6,0,251,3";
data[399]="11,7,0,251,3";
data[400]="11,13,0,251,3";
data[401]="11,17,0,251,3";
data[402]="11,18,0,251,3";
data[403]="11,19,0,251,3";
data[404]="11,20,0,251,3";
data[405]="11,21,0,251,3";
data[406]="11,22,0,251,3";
data[407]="11,23,0,251,3";
data[408]="11,24,0,251,3";
data[409]="12,9,0,251,3";
data[410]="12,12,0,251,3";
data[411]="12,13,0,251,3";
data[412]="12,18,0,251,3";
data[413]="12,20,0,251,3";
data[414]="12,21,0,251,3";
data[415]="12,22,0,251,3";
data[416]="12,23,0,251,3";
data[417]="13,9,0,251,3";
data[418]="13,10,0,251,3";
data[419]="13,11,0,251,3";
data[420]="13,12,0,251,3";
data[421]="13,13,0,251,3";
data[422]="13,18,0,251,3";
data[423]="13,19,0,251,3";
data[424]="13,20,0,251,3";
data[425]="13,21,0,251,3";
data[426]="13,22,0,251,3";
data[427]="13,23,0,251,3";
data[428]="14,9,0,251,3";
data[429]="14,10,0,251,3";
data[430]="14,11,0,251,3";
data[431]="14,12,0,251,3";
data[432]="14,17,0,251,3";
data[433]="14,18,0,251,3";
data[434]="14,19,0,251,3";
data[435]="14,20,0,251,3";
data[436]="14,21,0,251,3";
data[437]="14,22,0,251,3";
data[438]="14,23,0,251,3";
data[439]="15,10,0,251,3";
data[440]="15,11,0,251,3";
data[441]="15,12,0,251,3";
data[442]="15,16,0,251,3";
data[443]="15,17,0,251,3";
data[444]="15,20,0,251,3";
data[445]="15,21,0,251,3";
data[446]="15,22,0,251,3";
data[447]="16,10,0,251,3";
data[448]="16,11,0,251,3";
data[449]="16,12,0,251,3";
data[450]="16,14,0,251,3";
data[451]="16,15,0,251,3";
data[452]="16,16,0,251,3";
data[453]="16,19,0,251,3";
data[454]="16,20,0,251,3";
data[455]="16,22,0,251,3";
data[456]="16,21,0,251,3";
data[457]="17,11,0,251,3";
data[458]="17,12,0,251,3";
data[459]="17,13,0,251,3";
data[460]="17,21,0,251,3";
data[461]="17,20,0,251,3";
data[462]="17,19,0,251,3";
data[463]="17,18,0,251,3";
data[464]="17,17,0,251,3";
data[465]="18,7,0,251,3";
data[466]="18,8,0,251,3";
data[467]="18,9,0,251,3";
data[468]="18,10,0,251,3";
data[469]="18,16,0,251,3";
data[470]="18,18,0,251,3";
data[471]="18,19,0,251,3";
data[472]="18,17,0,251,3";
data[473]="19,7,0,251,3";
data[474]="19,8,0,251,3";
data[475]="19,9,0,251,3";
data[476]="19,5,0,251,3";
data[477]="19,6,0,251,3";
data[478]="19,15,0,251,3";
data[479]="19,16,0,251,3";
data[480]="19,17,0,251,3";
data[481]="20,7,0,251,3";
data[482]="20,4,0,251,3";
data[483]="20,5,0,251,3";
data[484]="20,6,0,251,3";
data[485]="20,14,0,251,3";
data[486]="20,15,0,251,3";
data[487]="21,3,0,251,3";
data[488]="21,4,0,251,3";
data[489]="21,12,0,251,3";
data[490]="21,13,0,251,3";
data[491]="21,14,0,251,3";
data[492]="22,1,0,251,3";
data[493]="22,2,0,251,3";
data[494]="22,3,0,251,3";
data[495]="22,11,0,251,3";
data[496]="22,10,0,251,3";
data[497]="22,12,0,251,3";
data[498]="22,13,0,251,3";
data[499]="23,2,0,251,3";
data[500]="23,3,0,251,3";
data[501]="23,4,0,251,3";
data[502]="23,11,0,251,3";
data[503]="23,9,0,251,3";
data[504]="23,10,0,251,3";
data[505]="23,12,0,251,3";
data[505]="24,3,0,251,3";
data[506]="24,4,0,251,3";
data[507]="24,5,0,251,3";
data[508]="24,6,0,251,3";
data[509]="24,7,0,251,3";
data[510]="24,8,0,251,3";
data[511]="24,9,0,251,3";
data[512]="24,11,0,251,3";
data[513]="24,10,0,251,3";
data[514]="25,5,0,251,3";
data[515]="25,6,0,251,3";
data[516]="25,7,0,251,3";
data[517]="25,8,0,251,3";
data[518]="25,9,0,251,3";
string x,y,z,id,date;
cout<<"坐标";
for(int i=0;i<519;i++){
x=data[i].substr(0,data[i].find(","));
data[i]=data[i].substr(0,data[i].find(",")+1);
y=data[i].substr(0,data[i].find(","));
data[i]=data[i].substr(0,data[i].find(",")+1);
z=data[i].substr(0,data[i].find(","));
data[i]=data[i].substr(0,data[i].find(",")+1);
id=data[i].substr(0,data[i].find(","));
data[i]=data[i].substr(0,data[i].find(",")+1);
date=data[i].substr(0,data[i].find(","));
data[i]=data[i].substr(0,data[i].find(",")+1);
mc.setBlock(stoi(x),stoi(y),stoi(z),stoi(id),stoi(date));
}
return 0;
}