2016年7月28日
摘要: NOI2016滚粗记 2016-07-28 在回家的火车上,写下这篇游记用来纪念我第一次NOI。 感觉一切都过的那么快,感觉昨天才来到NOI,才来到绵阳南山中学,而今天已经要回去了,第一次NOI就这样结束了。 day -1 根本不想复习板子,打开电脑就开始各种颓,玩了一会又不想玩了,于是开始颓番(南 阅读全文
posted @ 2016-07-28 14:13 自由-幻想 阅读(326) 评论(0) 推荐(0) 编辑
  2015年12月9日
摘要: #include #include const int MOD = 9999991;int table[MOD + 1];void create_table() { table[1] = 1; for (int i = 2; i = MOD) return 0; re... 阅读全文
posted @ 2015-12-09 09:49 自由-幻想 阅读(138) 评论(0) 推荐(0) 编辑
  2015年11月26日
摘要: #includeusing namespace std;int n;double res[111],G[111][111];void guess(int ii){ int i,j; double first=G[ii][ii],first1; for(i=ii+1;i=1;i--)res[i]=r_... 阅读全文
posted @ 2015-11-26 16:51 自由-幻想 阅读(118) 评论(0) 推荐(1) 编辑
  2015年11月24日
摘要: 这道题其实蛮好想的,因为分为正,副飞行员。所以就把正飞行员当作Boy,副飞行员当作Girl。然后做Hungry即可。 1 #include 2 using namespace std; 3 int G[131][131],vis[131],girl[131],n,n1; 4 int hungry(i... 阅读全文
posted @ 2015-11-24 18:16 自由-幻想 阅读(142) 评论(0) 推荐(1) 编辑
  2015年11月19日
摘要: 1 #include 2 #include 3 using namespace std; 4 char a[250000],b[110000]; 5 int sa[250000],x[250000],wv[250000],ws[250000],h[250000],rank[250000],wa[2... 阅读全文
posted @ 2015-11-19 17:15 自由-幻想 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int ws[21111],wa[21111],wb[21111],sa[21111],x[21111],y[21111],h[21111],wv[... 阅读全文
posted @ 2015-11-19 15:56 自由-幻想 阅读(221) 评论(0) 推荐(0) 编辑