Main.cc: In function ‘void DP(int, short int, short int, int, short int, short int, int)’:
Main.cc:23:15: error: expected identifier before ‘[’ token
if(w)[[unlikely]]dis[x][y][z]=dis[sx][sy][sz]+w,Q.push(mk(-dis[x][y][z],(nd){x,y,z}));//,cnt++;
^
Main.cc: In lambda function:
Main.cc:23:26: error: expected ‘{’ before ‘dis’
if(w)[[unlikely]]dis[x][y][z]=dis[sx][sy][sz]+w,Q.push(mk(-dis[x][y][z],(nd){x,y,z}));//,cnt++;
^~~
Main.cc: In function ‘void DP(int, short int, short int, int, short int, short int, int)’:
Main.cc:23:26: error: expected ‘;’ before ‘dis’
Main.cc:23:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(w)[[unlikely]]dis[x][y][z]=dis[sx][sy][sz]+w,Q.push(mk(-dis[x][y][z],(nd){x,y,z}));//,cnt++;
^~
Main.cc:23:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(w)[[unlikely]]dis[x][y][z]=dis[sx][sy][sz]+w,Q.push(mk(-dis[x][y][z],(nd){x,y,z}));//,cnt++;
^
Main.cc:23:92: error: expected primary-expression before ‘)’ token
Main.cc:24:9: error: expected ‘}’ before ‘else’
else dis[x][y][z]=dis[sx][sy][sz]+w,q.push((nd){x,y,z});//,cnt--;
^~~~
Main.cc: At global scope:
Main.cc:26:1: error: expected declaration before ‘}’ token
}
^