2019CCPC网络选拔赛题解

总结:自己还是太弱了,只做了签到题。聚聚们太强了。

题目地址:hdu

1001 : ^ & ^ (签到题)

#include <bits/stdc++.h>

using namespace std;
typedef long long LL;
const int N = 100010;
unsigned int a, b;

int main()
{
    int t;
    cin>> t;
    while(t--){
        cin>> a >> b;
        LL res = a & b;
        if(!res) cout << 1 << endl;
        else cout<<  res << endl;
    }
    
    return 0;
}

1002: array

在这里插入图片描述

1003:K-th occurrence

题解:

在这里插入图片描述

1004:path

在这里插入图片描述

1005: huntian oy

在这里插入图片描述

1006:Shuffle Card (签到题)

1007: Windows Of CCPC (签到题)

1008:Fishing Master

在这里插入图片描述

1009: Kaguya

在这里插入图片描述

1010: Touma Kazusa’s function

在这里插入图片描述

1011: sakura

在这里插入图片描述

发布了114 篇原创文章 · 获赞 98 · 访问量 26万+

猜你喜欢

转载自blog.csdn.net/github_39533414/article/details/100046829