- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
static int a[][]=new int[7][7];
static boolean b[]=new boolean[7];
static void flag(){
for(i=1;i<=6;++i){
b[i]=false;
System.out.print(b[i]+" ");
}
System.out.println();
}
static void graph(){
a[1][1]=-1;
a[1][2]=7;
a[1][3]=9;
a[1][4]=-1;
a[1][5]=-1;
a[1][6]=14;
a[2][1]=7;
a[2][2]=-1;
a[2][3]=10;
a[2][4]=15;
a[2][5]=-1;
a[2][6]=-1;
a[3][1]=9;
a[3][2]=10;
a[3][3]=-1;
a[3][4]=11;
a[3][5]=-1;
a[3][6]=2;
a[4][1]=-1;
a[4][2]=15;
a[4][3]=11;
a[4][4]=-1;
a[4][5]=6;
a[4][6]=-1;
a[5][1]=-1;
a[5][2]=-1;
a[5][3]=-1;
a[5][4]=6;
a[5][5]=-1;
a[5][6]=10;
a[6][1]=14;
a[6][2]=-1;
a[6][3]=2;
a[6][4]=-1;
a[6][5]=10;
a[6][6]=-1;
System.out.println(" x1 "+" x2 "+" x3 "+ " x4 "+" x5 "+" x6 ");
System.out.print("x1 ");
for(i=1;i<=6;++i){
for(j=1;j<=6;++j)
System.out.print(" "+a[i][j]);
System.out.println();
if(i==6)
System.out.println("Все ахуенно!!!");
else
System.out.print("x"+(i+1)+" ");
}
}
xXx_totalwar 15.06.2010 13:13 # +1
Все ахуенно!!! Больше конкатенаций!!!
paranoid 15.06.2010 14:18 # +2
guest 15.06.2010 14:19 # −2
guest 15.06.2010 15:17 # +4
guest 15.06.2010 15:37 # −4
guest 15.06.2010 18:29 # −4
guest 15.06.2010 19:34 # −1
System.out.println("Все ахуенно!!!");
походу у чувака всегда все ахуенно=)
Lure Of Chaos 15.06.2010 21:20 # +1
guest 16.06.2010 08:29 # 0