在2000*2780的范围内可以排多少个210*189的物品,并能用图形直观表示。用程序实现的思路。上述两个尺寸可以随意设置。
解决方案 »
- 【c#treeview的节点单击和双击不产生冲突】
- 谁会使用scintillaNET控件?
- 关于多线程的问题 怎么写呢?
- 设计报表时出现“无法将输入xml文件内容转换为数据集”错误,如何解决。
- C# 如何在速度上优化 自定义控件比较多
- 大家写c/s的数据库程序时,如何处理数据库的用户口令
- 用过Infragistics NetAdvantage 2005 Volume 这个.NET控件既高手进来一下
- com+怎么建和使用急需
- 如何知道winform的datagrid中哪一个列头被点击了
- 为什么自己做的一个纯黑色和纯白色的鼠标指针在空间中全部显示的都是一坨黑?
- sln和csproj有何区别
- 关于捕捉用户窗口信息的问题(C#)
{
int a = 2000; int b = 2780;
int c = 210;
int d = 189;
int one = 0;
int two = 0;
int three = 0; one = a / c;
two = b / d;
three = one * two;
Console.WriteLine("{0}", three);
Console.ReadLine();
}
这个思路去写
m=(2000/189)*(2780/210)
if (n>m)
return n;
return m;