6 条题解

  • 3
    @ 2023-9-6 19:31:51
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n,m;
        cin>>n>>m;
        n = n * m / 2;
        cout<<n;
        return 0;
    }
    

    简单

    • 2
      @ 2024-5-3 11:31:52

      已AC,放心品尝

      //先赞后看,养成习惯!
      #include <bits/stdc++.h>
      using namespace std;
      int main()
      {
          int n, m;
          cin >> n >> m;
          cout << n * m / 2;
          return 0;
      }
      
      • 2
        @ 2022-9-8 19:07:25

        只分为奇偶两种情况,先任选一条边开始,边长整除2再乘以另一条边的长度为能拼出的骨牌数量,剩下的长度只能是0或1,那再判断另一条边整除2的数量乘回来就可以了

        • 0
          @ 2024-5-23 21:02:38
          #include<bits/stdc++.h>
          using namespace std;
          int main()
          {
          int a,b;
          cin>>a>>b;
          n = a* b / 2;
          cout<<a;
          return 0;
          }
          
          • 0
            @ 2023-8-25 17:17:53

            题解来啦,已AC🚀️

            #include<bits/stdc++.h>
            using namespace std;
            int main(){
                int n,m;//定义n,m
                cin>>n>>m;//输入两个整数N,M。
                cout<<n*m/2;
                return 0;
            }
            
            • 0
              @ 2023-6-1 19:42:23

              只要棋盘面积/2就行了

              • 1

              信息

              ID
              536
              时间
              1000ms
              内存
              128MiB
              难度
              2
              标签
              递交数
              161
              已通过
              103
              上传者