摘要: #include<iostream> #include<cmath> #include<algorithm> using namespace std; int main(){ int n,d,kase=1,r; double p[1005][2],island[1005][2]; while(cin 阅读全文
posted @ 2021-07-27 20:28 智人心 阅读(32) 评论(0) 推荐(0)
摘要: #include<iostream> #include<vector> using namespace std; char a[5][5]; bool s[5][5]; int ans = 20,path[5][5],ans_path[5][5]; bool test(){ for(int i=0; 阅读全文
posted @ 2021-07-27 20:27 智人心 阅读(53) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; char a[27],b[27]; int L; struct Node{ int data; Node*left; Node*right; }; int find(int astar 阅读全文
posted @ 2021-07-27 20:26 智人心 阅读(75) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cmath> using namespace std; int*data; int len; void init(){ int n; for(n=2;n*n<=1000000;n++){ if(data[n] 阅读全文
posted @ 2021-07-27 20:25 智人心 阅读(46) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<ctime> using namespace std; bool data[1000005]; void init(){ data[1] = 阅读全文
posted @ 2021-07-27 20:25 智人心 阅读(32) 评论(0) 推荐(0)