0_0_16591737_239.cpp:1:1: error: 'import' does not name a type
import java.util.*;
^
0_0_16591737_239.cpp:3:9: error: expected ':' before 'static'
public static void main (String[] args){
^
0_0_16591737_239.cpp:3:27: error: 'String' has not been declared
public static void main (String[] args){
^
0_0_16591737_239.cpp:3:36: error: expected ',' or '...' before 'args'
public static void main (String[] args){
^
0_0_16591737_239.cpp:25:1: error: expected ';' after class definition
}
^
0_0_16591737_239.cpp: In static member function 'static void Main::main(int*)':
0_0_16591737_239.cpp:4:2: error: 'Scanner' was not declared in this scope
Scanner sc = new Scanner(System.in);
^
0_0_16591737_239.cpp:5:8: error: 'sc' was not declared in this scope
while(sc.hasNext()){
^
0_0_16591737_239.cpp:9:5: error: expected unqualified-id before '[' token
int[][] a = new int[m][n];
^
0_0_16591737_239.cpp:10:5: error: expected unqualified-id before '[' token
int[][] b = new int[m][n];
^
0_0_16591737_239.cpp:13:2: error: 'a' was not declared in this scope
a[i][j]=sc.nextInt();
^
0_0_16591737_239.cpp:15:2: error: 'b' was not declared in this scope
b[i][j]=1;
^
0_0_16591737_239.cpp:19:26: error: 'a' was not declared in this scope
for(int j=0;j<n;j++){if(a[i][j]>a[x][y])
^
0_0_16591737_239.cpp:21:5: error: 'b' was not declared in this scope
if(b[x][y]==1)a[x][y]=-a[x][y];
^
0_0_16591737_239.cpp:21:16: error: 'a' was not declared in this scope
if(b[x][y]==1)a[x][y]=-a[x][y];
^
0_0_16591737_239.cpp:22:2: error: 'System' was not declared in this scope
System.out.printf("%d %d %d\r\n",x+1,y+1,a[x][y]);
^
0_0_16591737_239.cpp:22:43: error: 'a' was not declared in this scope
System.out.printf("%d %d %d\r\n",x+1,y+1,a[x][y]);
^
|