小工具知识网

当前位置: 首页 > 行业知识 > Raspberries(Round 905)

行业知识

Raspberries(Round 905)

2026-11-24 16:09:43 来源:互联网转载
#include #define endl '\n'using ll = long long;typedef unsigned long long ull;using namespace std;void GordenGhost();signed main() {#ifdef Gorden    freopen("in.txt", "rt", stdin);    freopen("out.txt", "wt", stdout);#endif    ios::sync_with_stdio(false);    cin.tie(nullptr), cout.tie(nullptr);    int t;    cin>>t;    while (t--)        GordenGhost();    return 0;}void GordenGhost() {    int n,k,ji=1e9,ma=-1e9,ou=0,f=0;    cin>>n>>k;    vectormp(n);    for (int i = 0; i >mp[i];        if (mp[i]%2==0)ou++;        if (mp[i]%4==0)f=1;        mp[i]%=k;        ji= min(ji,mp[i]);        ma= max(ma,mp[i]);    }    if (k!=4){        if (!ji){            cout

上一篇:懒人模板使用秘籍,高效运用技巧,轻松掌握指南!

下一篇:20款传祺gs4主机功放怎么样