3 solutions

  • 1
    @ 2025-8-26 12:03:48
    #include <bits/stdc++.h>
    using namespace std;
    int a, b, c;
    int main()
    {
    	cin >> a >> b >> c;
    	cout << (a / c) * (b / c);
    	return 0;
    }
    
    • -1
      @ 2025-8-26 9:13:31
      
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          int a,b,c,d,e;
          cin>>a>>b>>c;
          e=a/c;
          d=b/c;
          cout<<e*d;
      
      • -1
        @ 2025-8-13 22:00:51

        快递盒不用管高度 横 可以放长方形长除正方形边长个 竖 可以放长方形宽除正方形边长个 一共可以放横乘竖个。

        
        ```#include<bits/stdc++.h>
        using namespace std;
        int main(){
        
        int a,b,c;
        cin>>a>>b>>c;
        int ch=a/c;
        int cu=b/c;
        cout<<ch*cu;
        return 0;
        }
        • 1

        Information

        ID
        998
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        7
        Tags
        # Submissions
        59
        Accepted
        15
        Uploaded By