#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; }
註冊一個 Hydro 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
使用您的 Hydro 通用賬戶