5 条题解

  • -2
    @ 2023-8-28 11:35:12
    for i in ["a:Sat", "b:Sun", "c:Fri", "d:Wed", "e:Mon", "f:Thu", "g:Tue"]:
        print(i)
    
    
    • -2
      @ 2023-7-17 8:41:31
      #include <iostream>
      #include <cmath>
      #include <string>
      using namespace std;
      int k=1;int x;
      
      int main()
      {
          cout<<"a:Sat"<<endl;
       cout<<"b:Sun"<<endl;
        cout<<"c:Fri"<<endl;
         cout<<"d:Wed"<<endl;
          cout<<"e:Mon"<<endl;
           cout<<"f:Thu"<<endl;
            cout<<"g:Tue";
          return 0;
      }
      
      • -3
        @ 2025-3-4 12:43:18
        print("a:Sat")
        print("b:Sun")
        print("c:Fri")
        print("d:Wed")
        print("e:Mon")
        print("f:Thu")
        print("g:Tue")
        
        • -4
          @ 2023-7-17 12:16:33
          #include <bits/stdc++.h>
          
          
          using namespace std;
          
          int day;
          int main()
          {
              cout<<"a:Sat"<<endl;
              cout<<"b:Sun"<<endl;
              cout<<"c:Fri"<<endl;
              cout<<"d:Wed"<<endl;
              cout<<"e:Mon"<<endl;
              cout<<"f:Thu"<<endl;
              cout<<"g:Tue"<<endl;
              
              
              
              
          
          
              return 0;
          }
          
          • -5
            @ 2023-7-18 7:53:34
            #include <iostream>
            
            using namespace std;
            
            struct day{
            char x;
            int d;
            };
            
            string A[7]={"Sun","Mon","Tue","Wed","Thu","Fri","Sat"};
            
            int main()
            {
            day a,b,c,d,e,f,g;
            a.x='a';
            b.x='b';
            c.x='c';
            d.x='d';
            e.x='e';
            f.x='f';
            g.x='g';
            f.d=4;
            e.d=1;
            d.d=3;
            for(int i=1;i<=6;i++){
            
                a.d=i;
                c.d=i-1;
                for(int j=0;j<=4;j++){
                    b.d=j;
                    g.d=j+2;
                    if((b.d>4 && c.d<4) || (b.d<4 && c.d>4) && a.d!=b.d && a.d!=c.d && a.d!=d.d && a.d!=e.d && a.d!=f.d && a.d!=g.d && b.d!=c.d && b.d!=d.d && b.d!=e.d && b.d!=f.d && b.d!=g.d && c.d!=d.d && c.d!=e.d && c.d!=f.d && c.d!=g.d && d.d!=e.d && d.d!=f.d && d.d!=g.d && e.d!=f.d && e.d!=g.d  && f.d!=g.d){
                        cout<<a.x<<":"<<A[a.d]<<endl<<b.x<<":"<<A[b.d]<<endl<<c.x<<":"<<A[c.d]<<endl<<d.x<<":"<<A[d.d]<<endl<<e.x<<":"<<A[e.d]<<endl<<f.x<<":"<<A[f.d]<<endl<<g.x<<":"<<A[g.d]<<endl;
                    }
            
                }
            
            
            }
            
            return 0;
            

            }

            • 1

            信息

            ID
            61
            时间
            1000ms
            内存
            128MiB
            难度
            5
            标签
            递交数
            449
            已通过
            175
            上传者