我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Fill the blanks

Problem Description
There is a matrix of 4*4, you should fill it with digits 0 – 9, and you should follow the rules in the following picture:

Input
No input.

Output
Print all the matrixs that fits the rules in the picture.
And there is a blank line between the every two matrixs.

Sample Output
1193
1009
9221
3191

1193
1021
9029
3911

……

9173
1559
3821
3391

http://www.cnblogs.com/kuangbin/category/311576.html

近期文章

  • Saving Tang Monk
  • Help!
  • 向oracle数据库中添加一个新的重做日志文件组时权限不足的问题
  • 关于vc++的安装在win8的问题
  • vb.net如何让程序只能打开三次后就不能打开了,不能用循环保存次数在一个文件里
  • Say love to you once again
  • Pipe Fitters
  • easyui中tabs调用问题
  • Searching Quickly
  • No Brainer
  • C++在三个给定的字符串中随机选择一个来使用,,求前辈指点
  • As the Crow Flies
  • FrameLayout标签里要显示的内容总是置顶显示下来
  • java.sql.SQLException: ORA-01006: 绑定变量不存在
  • Tom and matrix
  • android studio 导入项目出错
  • 怎么在JS中设置账号框按回车键光标直接移动到密码输入框
  • 在html中取不到css的问题,大神帮帮忙
  • java 看到一个java的引用传递和值传递问题
  • 如何让js读取本地txt文件内容,作为js脚本运行?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华