package com.young.crash; public class Num { private static final int[][][] model= { { //0 {0,1,1,1,0,0,0,0,1}, {1,1,1,0,0,0,0,0,0}, {1,1,0,0,0,1,1,0,0}, {1,1,0,0,1,1,1,0,1}, {1,1,0,0,1,1,0,1,1}, {1,1,0,0,1,1,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,1,1,0,0,0,1,0,0}, {1,1,1,1,1,0,0,0,1}, {1,0,0,1,1,0,0,0,1}, {1,0,0,0,0,1,0,1,1}, {1,1,0,0,0,0,1,1,1} }, { //1 {0,1,1,1,0,0,0,0,1}, {1,1,1,0,0,0,0,0,0}, {1,1,0,0,0,1,1,0,0}, {1,1,0,0,1,1,1,0,1}, {1,1,0,0,1,1,0,1,1}, {1,1,0,0,1,1,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,1,1,0,0,0,1,0,0}, {1,1,1,1,1,0,0,0,1}, {1,0,0,1,1,0,0,0,1}, {1,0,0,0,0,1,0,1,1}, {1,1,0,0,0,0,1,1,1} }, { //2 {0,1,1,1,0,0,0,0,1}, {1,1,1,0,0,0,0,0,0}, {1,1,0,0,0,1,1,0,0}, {1,1,0,0,1,1,1,0,1}, {1,1,0,0,1,1,0,1,1}, {1,1,0,0,1,1,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,1,1,0,0,0,1,0,0}, {1,1,1,1,1,0,0,0,1}, {1,0,0,1,1,0,0,0,1}, {1,0,0,0,0,1,0,1,1}, {1,1,0,0,0,0,1,1,1} }, { //3 {0,1,1,1,0,0,0,0,1}, {1,1,1,0,0,0,0,0,0}, {1,1,0,0,0,1,1,0,0}, {1,1,0,0,1,1,1,0,1}, {1,1,0,0,1,1,0,1,1}, {1,1,0,0,1,1,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,1,1,0,0,0,1,0,0}, {1,1,1,1,1,0,0,0,1}, {1,0,0,1,1,0,0,0,1}, {1,0,0,0,0,1,0,1,1}, {1,1,0,0,0,0,1,1,1} }, { //4 {0,1,1,1,0,0,0,0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{1,1,0,0,1,1,1,0,1}, {1,1,0,0,1,1,0,1,1}, {1,1,0,0,1,1,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,1,1,0,0,0,1,0,0}, {1,1,1,1,1,0,0,0,1}, {1,0,0,1,1,0,0,0,1}, {1,0,0,0,0,1,0,1,1}, {1,1,0,0,0,0,1,1,1} }, { //9 {0,1,1,1,0,0,0,0,1}, {1,1,1,0,0,0,0,0,0}, {1,1,0,0,0,1,1,0,0}, {1,1,0,0,1,1,1,0,1}, {1,1,0,0,1,1,0,1,1}, {1,1,0,0,1,1,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,1,1,0,0,0,1,0,0}, {1,1,1,1,1,0,0,0,1}, {1,0,0,1,1,0,0,0,1}, {1,0,0,0,0,1,0,1,1}, {1,1,0,0,0,0,1,1,1} } }; public static void main(String[] args) { int a[][] ={{0,1,1,1,0,0,0,0,1}, {1,1,1,0,0,0,0,0,0}, {1,1,0,0,0,1,1,0,0}, {1,1,0,0,1,1,1,0,1}, {1,1,0,0,1,1,0,1,1}, {1,1,0,0,1,1,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,1,1,0,0,0,1,0,0}, {1,1,1,1,1,0,0,0,1}, {1,0,0,1,1,0,0,0,1}, {1,0,0,0,0,1,0,1,1}, {1,1,0,0,0,0,1,1,1}}; for(int i= 0;i<9 ;i++){ System.out.print("{"); for(int j = 0;j<11;j++){ System.out.print(a[j][i] + ","); } System.out.print(a[11][i]); System.out.println("},"); } } }
最近下载更多
EdgarLi LV14
2022年7月19日
xxg2810 LV2
2021年3月8日
wyzl3321 LV25
2020年6月25日
wangdehai LV3
2020年1月1日
blueskyroof LV9
2019年11月28日
qwerasdfzxcv12 LV1
2019年2月15日
3207828 LV1
2018年12月14日
2985225214 LV10
2018年11月30日
TreasureUp LV1
2018年5月8日
k12rtkj6 LV1
2018年4月23日