Language: Java


import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		//int i, k;
		int n = sc.nextInt();
		int[][] score = new int [n][3];
		int[][] score1 = new int [n][3];
		int[] sum = new int [5];
		for(i = 0; i < n; i++){
			for(k = 0; k < 3; k++){
				score[i][k] = sc.nextInt();
				score1[i][k] = score[i][k];
			}
		}
		sc.close();
		for(k = 0; k < 3; k++){
			for(i = 0; i < n; i++){
				for(int m = 0; m < n; m++){
					if(score[i][k] == score[m][k] && i != m){
						score1[i][k] = 0;
					}else{
					}
				}
			}
		}
		for(i = 0; i < n; i++){
			for(k = 0; k < 3; k++){
				sum[i] += score1[i][k];
			}
		}
		for(i = 0; i < n; i++){
			System.out.printf("%d\n", sum[i]);
		}
	
	}
 }

Compiler output:
Main.java:13: error: cannot find symbol
		for(i = 0; i < n; i++){
		    ^
  symbol:   variable i
  location: class Main
Main.java:13: error: cannot find symbol
		for(i = 0; i < n; i++){
		           ^
  symbol:   variable i
  location: class Main
Main.java:13: error: cannot find symbol
		for(i = 0; i < n; i++){
		                  ^
  symbol:   variable i
  location: class Main
Main.java:14: error: cannot find symbol
			for(k = 0; k < 3; k++){
			    ^
  symbol:   variable k
  location: class Main
Main.java:14: error: cannot find symbol
			for(k = 0; k < 3; k++){
			           ^
  symbol:   variable k
  location: class Main
Main.java:14: error: cannot find symbol
			for(k = 0; k < 3; k++){
			                  ^
  symbol:   variable k
  location: class Main
Main.java:15: error: cannot find symbol
				score[i][k] = sc.nextInt();
				      ^
  symbol:   variable i
  location: class Main
Main.java:15: error: cannot find symbol
				score[i][k] = sc.nextInt();
				         ^
  symbol:   variable k
  location: class Main
Main.java:16: error: cannot find symbol
				score1[i][k] = score[i][k];
				       ^
  symbol:   variable i
  location: class Main
Main.java:16: error: cannot find symbol
				score1[i][k] = score[i][k];
				          ^
  symbol:   variable k
  location: class Main
Main.java:16: error: cannot find symbol
				score1[i][k] = score[i][k];
				                     ^
  symbol:   variable i
  location: class Main
Main.java:16: error: cannot find symbol
				score1[i][k] = score[i][k];
				                        ^
  symbol:   variable k
  location: class Main
Main.java:20: error: cannot find symbol
		for(k = 0; k < 3; k++){
		    ^
  symbol:   variable k
  location: class Main
Main.java:20: error: cannot find symbol
		for(k = 0; k < 3; k++){
		           ^
  symbol:   variable k
  location: class Main
Main.java:20: error: cannot find symbol
		for(k = 0; k < 3; k++){
		                  ^
  symbol:   variable k
  location: class Main
Main.java:21: error: cannot find symbol
			for(i = 0; i < n; i++){
			    ^
  symbol:   variable i
  location: class Main
Main.java:21: error: cannot find symbol
			for(i = 0; i < n; i++){
			           ^
  symbol:   variable i
  location: class Main
Main.java:21: error: cannot find symbol
			for(i = 0; i < n; i++){
			                  ^
  symbol:   variable i
  location: class Main
Main.java:23: error: cannot find symbol
					if(score[i][k] == score[m][k] && i != m){
					         ^
  symbol:   variable i
  location: class Main
Main.java:23: error: cannot find symbol
					if(score[i][k] == score[m][k] && i != m){
					            ^
  symbol:   variable k
  location: class Main
Main.java:23: error: cannot find symbol
					if(score[i][k] == score[m][k] && i != m){
					                           ^
  symbol:   variable k
  location: class Main
Main.java:23: error: cannot find symbol
					if(score[i][k] == score[m][k] && i != m){
					                                 ^
  symbol:   variable i
  location: class Main
Main.java:24: error: cannot find symbol
						score1[i][k] = 0;
						       ^
  symbol:   variable i
  location: class Main
Main.java:24: error: cannot find symbol
						score1[i][k] = 0;
						          ^
  symbol:   variable k
  location: class Main
Main.java:30: error: cannot find symbol
		for(i = 0; i < n; i++){
		    ^
  symbol:   variable i
  location: class Main
Main.java:30: error: cannot find symbol
		for(i = 0; i < n; i++){
		           ^
  symbol:   variable i
  location: class Main
Main.java:30: error: cannot find symbol
		for(i = 0; i < n; i++){
		                  ^
  symbol:   variable i
  location: class Main
Main.java:31: error: cannot find symbol
			for(k = 0; k < 3; k++){
			    ^
  symbol:   variable k
  location: class Main
Main.java:31: error: cannot find symbol
			for(k = 0; k < 3; k++){
			           ^
  symbol:   variable k
  location: class Main
Main.java:31: error: cannot find symbol
			for(k = 0; k < 3; k++){
			                  ^
  symbol:   variable k
  location: class Main
Main.java:32: error: cannot find symbol
				sum[i] += score1[i][k];
				    ^
  symbol:   variable i
  location: class Main
Main.java:32: error: cannot find symbol
				sum[i] += score1[i][k];
				                 ^
  symbol:   variable i
  location: class Main
Main.java:32: error: cannot find symbol
				sum[i] += score1[i][k];
				                    ^
  symbol:   variable k
  location: class Main
Main.java:35: error: cannot find symbol
		for(i = 0; i < n; i++){
		    ^
  symbol:   variable i
  location: class Main
Main.java:35: error: cannot find symbol
		for(i = 0; i < n; i++){
		           ^
  symbol:   variable i
  location: class Main
Main.java:35: error: cannot find symbol
		for(i = 0; i < n; i++){
		                  ^
  symbol:   variable i
  location: class Main
Main.java:36: error: cannot find symbol
			System.out.printf("%d\n", sum[i]);
			                              ^
  symbol:   variable i
  location: class Main
37 errors