摘要:
1 #include 2 using namespace std; 3 #define _for(i,a,b) for(int i = (a);i rnt) 13 return 1<<30; 14 if(s==(1<<(n+1))-1) 15 rnt = min(rnt,sum); 16 17 _for(i,0,n+1) 18 ... 阅读全文
posted @ 2019-07-26 14:39
Asurudo
阅读(377)
评论(0)
推荐(0)
摘要:
1 inline ll read() 2 { 3 ll ans = 0; 4 char ch = getchar(), last = ' '; 5 while(!isdigit(ch)) last = ch, ch = getchar(); 6 while(isdigit(ch)) ans = (ans = 10) write(x / 10); 14 ... 阅读全文
posted @ 2019-07-26 09:32
Asurudo
阅读(250)
评论(0)
推荐(0)
摘要:
1 #include 2 using namespace std; 3 #define _for(i,a,b) for(int i = (a);i =0 && y>=0 && x<R && y<C; 15 } 16 int msf(int cx,int cy) 17 { 18 if(ms[cx][cy]) return ms[cx][cy]; 19 ms[cx][cy] ... 阅读全文
posted @ 2019-07-26 09:24
Asurudo
阅读(192)
评论(0)
推荐(0)

浙公网安备 33010602011771号