摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; int n,m; int a[25]; long long ans; bool prime(int x) { if(x==1||x!=2&&x%2==0) return false; for(in 阅读全文
posted @ 2025-12-09 00:51 gosaky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; string in,post; void preorder(int inl,int inr,int postl,int postr) { if(inl>inr||postl>postr) retu 阅读全文
posted @ 2025-12-09 00:27 gosaky 阅读(7) 评论(0) 推荐(0)