forwhat00  

2020年7月10日

摘要: #include<iostream> #include<cmath> #include<cstdio> #include<string> #include<cstring> #include<algorithm> #define DEBUG if( 0 ) using namespace std; 阅读全文
posted @ 2020-07-10 12:34 forwhat00 阅读(169) 评论(0) 推荐(0) 编辑

2020年7月8日

摘要: #include<iostream> #include<string> #include<algorithm> #define DEBUG if( 1 ) #define N 100010 using namespace std; int z[N],z1[N],z2[N],n; int main() 阅读全文
posted @ 2020-07-08 16:59 forwhat00 阅读(137) 评论(0) 推荐(0) 编辑

2020年7月7日

摘要: #include<iostream> #include<cstring> #include<algorithm> using namespace std; int fx[] = {-2, -1, 1, 2, 2, 1, -1, -2}; int fy[] = {1, 2, 2, 1, -1, -2, 阅读全文
posted @ 2020-07-07 19:55 forwhat00 阅读(90) 评论(0) 推荐(0) 编辑
 
摘要: 1 #include<iostream> 2 #include<cstring> 3 #include<cmath> 4 using namespace std; 5 int n,p; 6 class nerve{public: 7 int C,U,lnum,chnum; 8 nerve * nex 阅读全文
posted @ 2020-07-07 17:09 forwhat00 阅读(112) 评论(0) 推荐(0) 编辑

2020年7月5日

摘要: #include<iostream> #include<algorithm> #include<string> #define min(a,b) ((a)<(b)?(a):(b)) using namespace std; int input[2005][2005]; int X,Y; int ma 阅读全文
posted @ 2020-07-05 14:05 forwhat00 阅读(112) 评论(0) 推荐(0) 编辑
 
摘要: #include<iostream> #define INF 200000 using namespace std; int max(int a,int b){return a>b?a:b;} int min(int a,int b){return a<b?a:b;} int map[1002][1 阅读全文
posted @ 2020-07-05 14:03 forwhat00 阅读(93) 评论(0) 推荐(0) 编辑
 
摘要: #include<iostream> #include<string> #include<map> #include<vector> #define INF 999999 using namespace std; int min(int a,int b){return a<b?a:b;} int N 阅读全文
posted @ 2020-07-05 14:02 forwhat00 阅读(82) 评论(0) 推荐(0) 编辑

2020年7月4日

摘要: #include<iostream> #include<algorithm> #include<cmath> using namespace std; int max(int a,int b){return a>b?a:b;} int map[1003][1003],T,n,input[103][2 阅读全文
posted @ 2020-07-04 18:08 forwhat00 阅读(119) 评论(0) 推荐(0) 编辑

2020年7月3日

摘要: #include<iostream> #include<algorithm> #include<string> using namespace std; string input; string f(){ string tempstr;tempstr[0]=0; char t; int n; whi 阅读全文
posted @ 2020-07-03 16:13 forwhat00 阅读(263) 评论(0) 推荐(0) 编辑

2020年7月2日

摘要: //P1757 #include <iostream> #define max(a,b) ((a)<(b)?(b):(a)) using namespace std; int maxcls,V,n,clsnum[1005],is[1005][1005]; int d[1000]; class ite 阅读全文
posted @ 2020-07-02 20:36 forwhat00 阅读(101) 评论(0) 推荐(0) 编辑