优化C语言代码
2010-05-17 16:43
260 查看
/**4
* 有1,2,3,4四個數字,
* 能夠組成多少個互不相同的三位數
* 分別是多少
**/
本文出自 “hacker” 博客,请务必保留此出处http://anglecode.blog.51cto.com/5628271/1619885
* 有1,2,3,4四個數字,
* 能夠組成多少個互不相同的三位數
* 分別是多少
**/
public class Test{ public static void main(String[] args){ for (int i = 1; i < 5; i++) { for (int j = 1; j < 5; j++) { for (int k = 1; k < 5; k++) { System.out.print(i); System.out.print(j); System.out.print(k); System.out.print(" "); } System.out.println(); } System.out.println(); } } }
本文出自 “hacker” 博客,请务必保留此出处http://anglecode.blog.51cto.com/5628271/1619885
相关文章推荐
- 如何优化C语言代码
- 优化C语言代码(程序员必读)(转载)http://www.yuanma.org/data/2009/1126/article_4036.htm
- 优化C语言代码常用的几招 .
- 【转】如何优化C语言代码
- 单片机C语言代码优化
- 如何优化C语言代码
- 优化快速排序 C语言代码
- 如何优化C语言代码
- C语言代码1(素数判断及优化)
- 如何优化C语言代码(程序员必读)
- 如何优化C语言代码
- 如何优化C语言代码
- 如何优化C语言代码(程序员必读)
- 如何优化C语言代码(程序员必读)(转211中国电子网)
- 几种C语言优化代码技巧
- 最基本的C语言代码级别速度优化
- 优化C语言代码范例
- 优化C语言代码(程序员必读) ( 转载 )
- 如何优化C语言代码(程序员必读)
- 优化C语言代码(程序员必读)