首页 > 其他分享 >狐尼克

狐尼克

时间:2023-05-27 18:22:26浏览次数:29  
标签:std TxMinecraft mc include 尼克 con

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

 

标签:std,TxMinecraft,mc,include,尼克,con
From: https://www.cnblogs.com/wangyihang-xh/p/17437124.html

相关文章

  • 狐尼克和朱迪
    #include<iostream>#include<string>#include"minecraft.h"#include"Windows.h"usingnamespacestd;TxMinecraftmc;stringx,y,z,id,data;intmain(){boolcon=mc.ConnectMinecraft("zk","919b005179e840e......
  • 狐尼克和朱迪
    #include<iostream>#include<string>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","4c4ce4431bdc409388e0a110f5aa9......
  • 泰坦尼克号生还预测
    泰坦尼克号生还预测导入模块importpandasaspd#数据处理importmatplotlib.pyplotasplt#画图fromsklearn.treeimportDecisionTreeClassifier#决策树模型fromsklearn.model_selectionimporttrain_test_split#划分训练集和测试集fromsklearn.model_selectio......
  • R语言泰坦尼克号随机森林模型案例数据分析|附代码数据
    原文链接:http://tecdat.cn/?p=4281最近我们被客户要求撰写关于随机森林模型的研究报告,包括一些图形和统计输出。如果我们对所有这些模型的结果进行平均,我们有时可以从它......
  • 机器学习日志 泰坦尼克飞船 Spaceship Titanic
    PassengerId——乘客编号。每个编号的形式都表示乘客与是否是组团旅行有关,比如家庭出游,集体出差等,因此编号中有部分是表示他们在团队中的号码。但有部分乘客是独自旅行。H......
  • 泰坦尼克号旅客生存概率预测
    数据预处理加载数据集importnumpyasnpimportpandasaspdall_df=pd.read_csv("titanic.csv")部分数据 提取所需要的列cols=['survived','name','pclass',......
  • P1280 尼克的任务
    P1280尼克的任务-洛谷|计算机科学教育新生态(luogu.com.cn) 按正常思路来想:首先令dp[i]为到第i分钟的最多空闲时间,讲第i分钟结尾的工作时间存入v[i]。 容......
  • 机器学习日志 泰坦尼克号获救预测 决策树
    我是链接第一次做机器学习的题目题目要求:给定一堆已知的泰坦尼克号船员信息,每个人的信息包括PassengerId=>乘客IDPclass=>客舱等级(1/2/3等舱位)Name=>乘客姓名......
  • 泰坦尼克号-titanic-kaggle入门比赛
    Kaggle-入门比赛-泰坦尼克号importpandasaspdimportmatplotlib.pyplotasplttrain_data=pd.read_csv("data/train.csv")test_data=pd.read_csv("data/test.c......
  • matlab练习程序(泽尼克多项式拟合)
    泽尼克多项式是一个正交多项式,分为奇偶两类。奇多项式:偶多项式:其中:这里fai为方位角,范围[0-2pi];p为径向距离,范围[0,1];n-m大于等于0;如果n-m=0,则R=0。根据不同的m和n......