摘要: include include include using namespace std; int main() { string original, current; getline(cin, original); getline(cin, current); // 长度不一致直接返回(-1,-1) 阅读全文
posted @ 2025-11-27 08:14 Cx330。 阅读(1) 评论(0) 推荐(0)
摘要: include include<unordered_set> include using namespace std; int main(){ int N; cin>>N; if(N<1||N>100000){ cout<<"error"<<endl; return 0; } vectorA(N); 阅读全文
posted @ 2025-11-27 08:13 Cx330。 阅读(2) 评论(0) 推荐(0)
摘要: include using namespace std; struct Node{ int data; Node *prior; Node *next; Node(int val):data(val),prior(nullptr),next(nullptr){} }; Node *createLis 阅读全文
posted @ 2025-11-27 08:13 Cx330。 阅读(0) 评论(0) 推荐(0)