![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
zoj
文章平均质量分 73
StoolMonster
这个作者很懒,什么都没留下…
展开
-
ZOJ 1003 Crashing Balloon
#include #include #include using namespace std; int A,B,ans; bool flag; bool fun(int b,int s,int n){ for(int i=n;i>1;i--){ if(s%i==0) if(fun(b,s/i,i-1))return true;原创 2015-09-17 15:03:15 · 416 阅读 · 0 评论 -
ZOJ 3892 Available Computation Sequence
#include #include #include using namespace std; #define del(a,b) memset(a,b,sizeof(a)) #define MOD 1000000007 #define LL long long int T,len; int a[110];//0 stand for num,1 stand for vec char op[11原创 2015-09-16 01:18:11 · 630 阅读 · 0 评论 -
ZOJ 3897 Fiddlesticks
#include #include #include #include using namespace std; struct node{ int w; int n; }nn; int T,N,ATK,x; vector V; int dir; int main(){ scanf("%d",&T); while(T--){ scanf("%d%d",&N,&ATK); V.原创 2015-09-16 01:13:36 · 375 阅读 · 0 评论