码迷,mamicode.com
首页 > 其他好文 > 详细

bzoj P2462

时间:2017-10-17 19:56:21      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:pac   clu   blog   using   十分   scanf   main   nbsp   div   

这题其实标算是AC自动机,我现在发的是超水题解。。。

等本人水品足够之后,当然会另写题解,正当的A这一题。。

由于数据十分水,所以对于每个询问,都输出1就行了

#include<bits/stdc++.h>
using namespace std;
int q,q1,x,t;
int main(){
scanf(
"%d%d%d",&q,&q1,&t);
cin
>>t;
while(q--){
scanf(
"%d",&x);
} scanf(
"%d",&q);
for(int i=1;i<=q;i++)puts("1");
return 0; }

 

bzoj P2462

标签:pac   clu   blog   using   十分   scanf   main   nbsp   div   

原文地址:http://www.cnblogs.com/heqingyu/p/7683416.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!