3 条题解

  • 0
    @ 2024-11-6 1:04:28

    #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; }

    信息

    ID
    108
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    (无)
    递交数
    1298
    已通过
    352
    上传者