摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; struct Node{ int data[1005]; int n; Node(){ n = 1; memset(data,0,sizeof dat 阅读全文
posted @ 2021-08-10 23:11 智人心 阅读(57) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ int i,j,len; char data[1005],ans[1005]; while(gets(data)){ len 阅读全文
posted @ 2021-08-10 21:29 智人心 阅读(34) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int gcd(int a,int b){ int t; if(a==0)return b; while(b){ t = a%b; a = b; b 阅读全文
posted @ 2021-08-10 21:19 智人心 阅读(29) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<algorithm> using namespace std; #define ll long long 阅读全文
posted @ 2021-08-10 13:30 智人心 阅读(76) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; #define ll long long const ll maxn = 20005; typedef pai 阅读全文
posted @ 2021-08-10 12:07 智人心 阅读(42) 评论(0) 推荐(0)