5 条题解

  • 2
    @ 2025-3-14 17:41:51

    #include <bits/stdc++.h> using namespace std; int main() { double a,b; cin>>a>>b; if (a+b)%7=1 cout<<"星期1"; if (a+b)%7=2 cout<<"星期2"; if (a+b)%7=3 cout<<"星期3"; if (a+b)%7=4 cout<<"星期4"; if (a+b)%7=5 cout<<"星期5"; if (a+b)%7=6 cout<<"星期6"; if (a+b)%7=0 cout<<"星期天"; return 0; }

    • 1
      @ 2025-3-14 17:41:19

      jfugsygysdgfysgydsg

      • 0
        @ 2025-3-14 17:59:07

        #include

        using namespace std;

        int ain(){

        int a,b,c;

        cin >> a >> b;

        c = a + b;

        if(a + b == 7)

        {

        cout << "星期天"; }

        else { a=c-b; cout << "星期" < c; }

        rturn 0;

        } /

        • 0
          @ 2025-3-14 17:34:52

          #include

          using namespace std;

          int main(){

          int a,b,c;

          cin >> a >> b;

          c = a + b;

          if(a + b == 7)

          {

          cout << "星期天"; 
          

          }

          else

          {

          cout << "星期" << c;
          

          }

          return 0;

          } //李知宸 //老师不许删!!!

          • 0
            @ 2025-3-14 17:26:50

            lk;p.;;/;;/;;;、;大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发大家都在发

            • @ 2025-3-14 17:35:34

              ??????????????????????????????????????????????????????????????????

          • 1

          信息

          ID
          2332
          时间
          1000ms
          内存
          256MiB
          难度
          7
          标签
          递交数
          96
          已通过
          24
          上传者