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_25910460_4730.cpp:1:1: error: 'import' does not name a type
 import java.math.* ;
 ^
0_0_25910460_4730.cpp:2:1: error: 'import' does not name a type
 import java.util.Collection.* ;
 ^
0_0_25910460_4730.cpp:3:1: error: 'import' does not name a type
 import java.util.* ;
 ^
0_0_25910460_4730.cpp:7:10: error: expected ':' before 'boolean'
  private boolean hasMod ;
          ^
0_0_25910460_4730.cpp:7:10: error: 'boolean' does not name a type
0_0_25910460_4730.cpp:8:10: error: expected ':' before 'BigInteger'
  private BigInteger Mod ;
          ^
0_0_25910460_4730.cpp:8:10: error: 'BigInteger' does not name a type
0_0_25910460_4730.cpp:9:2: error: 'BigInteger' does not name a type
  BigInteger[][] num ;
  ^
0_0_25910460_4730.cpp:16:15: error: multidimensional array must have bounds for all dimensions except the first
  Matrix(int[][] num)
               ^
0_0_25910460_4730.cpp:16:17: error: expected ',' or '...' before 'num'
  Matrix(int[][] num)
                 ^
0_0_25910460_4730.cpp:27:24: error: expected ')' before 'num'
  Matrix(BigInteger[][] num)
                        ^
0_0_25910460_4730.cpp:173:1: error: expected '}' at end of input
 }
 ^
0_0_25910460_4730.cpp: In constructor 'Matrix::Matrix(int, int)':
0_0_25910460_4730.cpp:12:3: error: 'num' was not declared in this scope
   num = new BigInteger[n][m] ;
   ^
0_0_25910460_4730.cpp:12:13: error: 'BigInteger' does not name a type
   num = new BigInteger[n][m] ;
             ^
0_0_25910460_4730.cpp:13:8: error: request for member 'n' in '(Matrix*)this', which is of pointer type 'Matrix*' (maybe you meant to use '->' ?)
   this.n = n ;this.m = m ;
        ^
0_0_25910460_4730.cpp:13:20: error: request for member 'm' in '(Matrix*)this', which is of pointer type 'Matrix*' (maybe you meant to use '->' ?)
   this.n = n ;this.m = m ;
                    ^
0_0_25910460_4730.cpp:14:3: error: 'hasMod' was not declared in this scope
   hasMod = false ;
   ^
0_0_25910460_4730.cpp: In constructor 'Matrix::Matrix()':
0_0_25910460_4730.cpp:18:8: error: request for member 'n' in '(Matrix*)this', which is of pointer type 'Matrix*' (maybe you meant to use '->' ?)
   this.n = num.length ;this.m = num[0].length ;
        ^
0_0_25910460_4730.cpp:18:12: error: 'num' was not declared in this scope
   this.n = num.length ;this.m = num[0].length ;
            ^
0_0_25910460_4730.cpp:18:29: error: request for member 'm' in '(Matrix*)this', which is of pointer type 'Matrix*' (maybe you meant to use '->' ?)
   this.n = num.length ;this.m = num[0].length ;
                             ^
0_0_25910460_4730.cpp:19:8: error: request for member 'num' in '(Matrix*)this', which is of pointer type 'Matrix*' (maybe you meant to use '->' ?)
   this.num = new BigInteger[n][m] ;
        ^
0_0_25910460_4730.cpp:19:18: error: 'BigInteger' does not name a type
   this.num = new BigInteger[n][m] ;
                  ^
0_0_25910460_4730.cpp:20:3: error: 'hasMod' was not declared in this scope
   hasMod = false ;
   ^
0_0_25910460_4730.cpp:23:10: error: request for member 'num' in '(Matrix*)this', which is of pointer type 'Matrix*' (maybe you meant to use '->' ?)
     this.num[i][j] = BigInteger.valueOf(num[i][j]) ;
          ^
0_0_25910460_4730.cpp:23:22: error: 'BigInteger' was not declared in this scope
     this.num[i][j] = BigInteger.valueOf(num[i][j]) ;
                      ^
0_0_25910460_4730.cpp: At global scope:
0_0_25910460_4730.cpp:26:2: error: expected unqualified-id at end of input
  }
  ^


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-11-17 03:07:46, Gzip enabled