제출 #1149756

#제출 시각아이디문제언어결과실행 시간메모리
114975612345678Football (info1cup20_football)C++20
0 / 100
15 ms328 KiB
#include <bits/stdc++.h>

using namespace std;

#define ll long long

const int nx=1e5+5;

ll t, n, k, a[nx], sm, x;

int main()
{
    cin.tie(NULL)->sync_with_stdio(false);
    cin>>t;
    while (t--)
    {
        cin>>n>>k>>x;
        if (x%2) cout<<1;
        else if (k>=x) cout<<1;
        else cout<<0;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...