摘要:
1 #include 2 #define _for(i,a,b) for(int i = a;i num) 38 break; 39 } 40 if(sumt==num) 41 { 42 flag = 1; 43 break; 44 } 45... 阅读全文
posted @ 2019-07-25 17:54
Asurudo
阅读(205)
评论(0)
推荐(0)
摘要:
1 #include 2 #define _for(i,a,b) for(int i = a;i =0 && y>=0 && x> q; 28 q.push({st,0}); 29 vis[st.x][st.y] = 1; 30 while(!q.empty()) 31 { 32 P pos = q.front().first; 33 ... 阅读全文
posted @ 2019-07-25 09:33
Asurudo
阅读(302)
评论(0)
推荐(0)
摘要:
1 #include 2 #define _for(i,a,b) for(int i = a;i 0 && p.y>0 && p.x> q; 29 q.push({st,0}); 30 vis[st.x][st.y][st.dr] = 0; 31 while(!q.empty()) 32 { 33 pair nw = q.front(); 3... 阅读全文
posted @ 2019-07-25 07:43
Asurudo
阅读(231)
评论(0)
推荐(0)

浙公网安备 33010602011771号