QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#689956#5141. Identical ParityIsacBieber#WA 0ms3544kbC++23932b2024-10-30 19:25:132024-10-30 19:25:13

Judging History

你现在查看的是最新测评结果

  • [2024-10-30 19:25:13]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3544kb
  • [2024-10-30 19:25:13]
  • 提交

answer

#include <bits/stdc++.h>
// #include<bits/extc++.h>
#define endl '\n'
#define eps 1e-7
#define pb push_back
#define eb emplace_back
#define debug(x) cerr<<#x<<": "<<x<<'\n';
// using namespace __gnu_pbds;
using namespace std;
using ll = long long;
using ld = long double;
using pll = pair <ll,ll>;
using pii = pair <int,int>;
using ull = unsigned long long;
const int N = 1e6 + 5, MOD = 1e9 + 7;
mt19937_64 rnd (chrono::steady_clock::now().time_since_epoch().count());
int n, k;
void isac()
{
    cin>>n>>k;
    if(n==k && n==1)
    {
        cout<<"Yes\n";
        return ;
    }
    if(n==1) cout<<"No\n";
    else cout<<"Yes\n";
}
int main(void)
{
    ios::sync_with_stdio(0);
    cin.tie(0), cout.tie(0);
    int T = 1;
    cin >> T;
    while (T--) isac();
    return 0;
}
/*
    Zena youth together.
    Such a pretty name.
    There will be a long story.
    Time will tell all.
*/

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3544kb

input:

3
3 1
4 2
5 3

output:

Yes
Yes
Yes

result:

wrong answer expected NO, found YES [1st token]