F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-30 18:35:05, Gzip enabled