(int n)
| 53 | } |
| 54 | |
| 55 | public static void print(int n) { |
| 56 | for (int i = 1; i <= n; i++) { |
| 57 | for (int j = 1; j <= n + 1; j++) { |
| 58 | System.out.printf("%.2f ", mat[i][j]); |
| 59 | } |
| 60 | System.out.println(); |
| 61 | } |
| 62 | System.out.println("========================"); |
| 63 | } |
| 64 | |
| 65 | public static void main(String[] args) { |
| 66 | // 唯一解 |