上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 81 下一页
摘要: http://poj.org/problem?id=1062#include #include #include using namespace std;int m,n;struct adjlist{ int c[101],t[101];}a[101];int d[101],tm[101],l... 阅读全文
posted @ 2015-08-24 11:57 雪溯 阅读(115) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=1860#include //#include //#include #include using namespace std;#define MAXM 202#define MAXN 101int n,m;int first[MAXN];int ... 阅读全文
posted @ 2015-08-24 11:53 雪溯 阅读(201) 评论(0) 推荐(0)
摘要: #define ONLINE_JUDGE#include#include #include using namespace std;int A,B,sx,sy;char maz[101][101];int vis[101][101];const int dx[4]={0,1,0,-1};const ... 阅读全文
posted @ 2015-08-24 11:50 雪溯 阅读(148) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=2632#include#include #include using namespace std;int A,B,n,m;int robot[101][3];char rbuff[10];int dir[255];const int dx[4]=... 阅读全文
posted @ 2015-08-24 11:48 雪溯 阅读(187) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=1068#include#include using namespace std;int ind[45];bool used[45];int r[21];int l[21];int len,n,llen;int w[21];int main(){ ... 阅读全文
posted @ 2015-08-24 11:45 雪溯 阅读(127) 评论(0) 推荐(0)
摘要: Tail-f NCS 作为网络配置程序和基础设备之间的接口,能够展现各种服务,修改各开发商不相同的设备配置,同时能及时同步网络设备状态到cdb(configuration database,配置数据库),还能够提供rest,python,netconf,java等apiNCS包括两个层次,一个是设备... 阅读全文
posted @ 2015-08-12 17:20 雪溯 阅读(684) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=1328思路:1.肯定y大于d的情况下答案为-1,其他时候必定有非负整数解2.x,y同时考虑是较为麻烦的,想办法消掉y,用d^2-y^2获得圆心允许范围,问题转化为在许多圆心允许范围内取尽可能少的点,也即在许多线段上取尽可能少的点,使得所有线段上都... 阅读全文
posted @ 2015-08-07 03:11 雪溯 阅读(163) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3094 1 #include 2 #include 3 using namespace std; 4 int main() 5 { 6 string str; 7 getline(cin,str); 8 while(st... 阅读全文
posted @ 2015-08-07 02:39 雪溯 阅读(108) 评论(0) 推荐(0)
摘要: import os,sys,django;sys.path.append("\\path\\to\\mysite")#ATTETION!,Err: "unable to configure filter 'special'django.core.exceptions.ImproperlyConfig... 阅读全文
posted @ 2015-08-07 01:00 雪溯 阅读(253) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=2255#include#include using namespace std;const int maxn = 27;char pre[maxn],in[maxn];char past[maxn];void tre(int ps,int pe,... 阅读全文
posted @ 2015-07-22 23:15 雪溯 阅读(118) 评论(0) 推荐(0)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 81 下一页