31 条题解

  • -1
    @ 2024-2-23 10:04:37

    #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

    • -1
      @ 2024-2-23 10:04:27

      #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

      • -1
        @ 2024-2-23 10:04:23

        #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

        • -1
          @ 2024-2-23 10:04:14

          #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

          • -1
            @ 2024-2-23 10:04:12

            #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

            • -1
              @ 2024-2-23 10:04:10

              #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

              • -2
                @ 2024-2-23 10:04:26

                #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

                • -2
                  @ 2024-2-23 10:04:26

                  #include <stdio.h> int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; } else{ if(a%4000){ b=1; } else{ b=0; } } } else{ b=0; } printf("%d",b); return 0; }

                  • -3
                    @ 2024-2-21 10:44:30

                    👎 👎 👎

                    • -5
                      @ 2023-12-15 17:56:35

                      #include using namespace std; int main(){ int y; cin>>y; if((y%40 and y%100!=0) or y%4000){ cout<<1; }else{ cout<<0; } return 0; }

                      • -7
                        @ 2023-12-15 17:58:26

                        #include using namespace std; int main(){ int y; cin>>y; if((y%40 and y%100!=0) or y%4000){ cout<<1; }else{ cout<<0; } return 0;

                        信息

                        ID
                        618
                        时间
                        1000ms
                        内存
                        125MiB
                        难度
                        5
                        标签
                        (无)
                        递交数
                        765
                        已通过
                        303
                        上传者