- 博客(11)
- 收藏
- 关注
原创 洛谷 P1784 数独
#include#include#include#include#include#include#include#include#include#include#include#include#define inf 100000using namespace std;int t[15][15];bool area[15][15],hang[15][15],lie[15
2016-08-18 09:45:55 377
原创 关于noip错误总结
一、输出文件注释一定记得删去。二、文件保存路径确保没问题。三、注意某一句话是放在 if{}里面还是外面。四、审题要认真,注意数据范围。五、数组开多大不能超过内存限制。六、代码结尾 return 0;。七、倒序循环别忘了i--。八、除法不能取模。九、强制转化long long或取模 不能+=或-=。十、long long 输
2016-08-18 09:19:16 474
原创 NOIP 2014 Day2 T2 寻找道路
#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;vector f[10005],g[10005];queue q;int n,m,a,b,s,t,maxn;int dis[1000
2016-08-18 09:18:41 321
原创 Codevs 1082
#include#include#include#include#include#include#include#include#include#include#include#include#define LL long longusing namespace std;struct data{ int left,right; long long su
2016-08-18 09:18:15 367
原创 NOIP 2014 Day2 T1 无线网络发射器选址
#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;int d,n,x,y,k,maxn,p;int t[250][250];int main(){ freopen ("wirel
2016-08-18 09:17:43 391
原创 NOIP 2012 Day1 T3 开车旅行
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;const long long w=1000000000;struct data{ int no; long long sa,sb;};
2016-08-18 09:17:20 650
原创 NOIP 2011 Day1 T2 选择客栈
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;struct data{ int sd,xf;}; data co[200005];int n,k,p,ans,cnt,minn=21000
2016-08-18 09:16:48 320
原创 NOIP 2013 Day1 T3 货车运输
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;struct data{ int x,y,z;}; data tr[50005];struct node{ int l,w;}
2016-08-18 09:16:12 555
原创 NOIP 2012 Day2 T3 疫情控制
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;struct data{ int l; long long w;}; data k,need[50005];vector cit
2016-08-18 09:15:13 562
原创 NOIP 2011 Day2 T1 计算系数
#include#include#include#include#include#include#include#include#include#include#include#define LL long longusing namespace std;const int mod=10007;int a,b,k,n,m,ans,cnt;int f[1005][100
2016-08-18 09:14:34 325
原创 NOIP 2008 T1 笨小猴
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;int cnt,minn=1000,maxn,k;int su[105],ttt6[30];bool vis[105];char word1[105];
2016-08-18 09:13:39 514
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人