1 条题解

  • -1
    @ 2026-1-15 11:13:02
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        cin.tie(nullptr) -> ios::sync_with_stdio(false);
        int n;
        cin>>n;
        if(n%4==1||n%4==2) cout<<1;
        else cout<<0;
    }
    
    • 1

    信息

    ID
    50
    时间
    1000ms
    内存
    256MiB
    难度
    8
    标签
    (无)
    递交数
    17
    已通过
    7
    上传者