#include<stdio.h> int main() { int x; int a,b,c,d; scanf("%d",&x); int cnt=0; if(x%20) { cnt++; } if(x>4&&x<=12) { cnt++; } if(cnt2) a=1; else a=0; if(cnt>=1) b=1; else b=0; if(cnt1) c=1; else c=0; if(cnt0) d=1; else d=0; printf("%d %d %d %d",a,b,c,d); return 0; }
註冊一個 南阳理工学院OJ 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
使用您的 南阳理工学院OJ 通用賬戶