下面给出我的解法:

1         for (int z = 12; z <= 36; z++)
2 {
3 int y = 147 - 4 * z;
4 int x = 100 - z - y;
5 if (x > 0)
6 Response.Write(string.Format("{0},{1},{2}<br/>", x, y, z));
7 }


 

相关文章:

  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-04-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-13
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案