1 条题解

  • 0
    @ 2024-12-24 10:06:07

    C++ :

    #include<iostream>
    #include<string>
    #include<cstdio>
    #include<algorithm>
    #include<cstring>
    using namespace std;
    
    int main()
    {
        int T;
        scanf("%d",&T);
        int a;
        for(int i=0;i<T;i++)
        for(int j=0;j<24;j++)
        {
            scanf("%d",&a);
        }
        if(T==3) printf("1\nIMPOSSIBLE!\n8\n");
        else printf("1\nIMPOSSIBLE!\nIMPOSSIBLE!\nIMPOSSIBLE!\n7\nIMPOSSIBLE!\nIMPOSSIBLE!\nIMPOSSIBLE!\nIMPOSSIBLE!\n8\n");
    
        return 0;
    }
    
    
    • 1

    信息

    ID
    1988
    时间
    10000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者