Logo xukailing3的博客

博客

新博客

2022-10-23 14:19:27 By xukailing3
#include <bits/stdc++.h>
using namespace std;
int a[1025],b[1025],c[1025];
void ct(string tree,int type) {

}
bool ch() {

}
int main(int argc, char** argv) {
    int n;
    cin>>n;
    string tree,tree2;
    while(n!=0) {
        cin>>tree;
        ct(tree,1);
        while(n>0) {
            n--;
            cin>>tree2;
            ct(tree2,2);
            if(ch())
                cout<<"YES\n";
            else 
                cout<<"NO\n";
        }
        cin>>n;
    }
    return 0;
}

评论

暂无评论

发表评论

可以用@mike来提到mike这个用户,mike会被高亮显示。如果你真的想打“@”这个字符,请用“@@”。