language: Java (sun-jdk-1.7.0_10)
date: 331 days 20 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
public class MyMatrix
{
 
   public static void main(String[] args)
   {
 
 
      System.out.print("  ");
      boolean [][] a;
      int N = Integer.parseInt(args[0]);
      a = new boolean [N][N];
 
      for (int i = 0; i<a.length; i++)
      {
         for (int j = 0; j<a[0].length; j++)
         {
            a[i][j] = true;
            int sum = (i+j);
 
            if (sum%3==0)
            {
               System.out.print("T ");
            }
 
            else
            {
               System.out.print("F ");
 
            }
         }
Main.java:30: reached end of file while parsing
         }
          ^
1 error