2 条题解

  • 0
    @ 2026-10-14 19:35:43

    #include <bits/stdc++.h>

    using namespace std;

    int main() { double w,h; cin>>w>>h;

    cout<<"s="<<w*h / 2;
    
    // 也可以这样输出
    

    // printf("s=%d",w*h/2);

    return 0;
    

    }

    • 0
      @ 2026-10-14 19:35:30

      #include <bits/stdc++.h>

      using namespace std;

      int main() { double w,h; cin>>w>>h;

      cout<<"s="<<w*h / 2;
      
      // 也可以这样输出
      

      // printf("s=%d",w*h/2);

      return 0;
      

      }

      • 1

      信息

      ID
      213
      时间
      1000ms
      内存
      64MiB
      难度
      6
      标签
      递交数
      303
      已通过
      92
      上传者