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_32758797_16771.cpp:3:1: error: 'import' does not name a type
 import java.math.BigInteger;
 ^
0_0_32758797_16771.cpp:4:1: error: 'import' does not name a type
 import java.util.Scanner;
 ^
0_0_32758797_16771.cpp:7:5: error: 'final' does not name a type
     final public static int N = 102;
     ^
0_0_32758797_16771.cpp:8:12: error: 'BigInteger' does not name a type
     static BigInteger num[][] = new BigInteger[N][N];
            ^
0_0_32758797_16771.cpp:10:12: error: expected ':' before 'static'
     public static void main(String[] args) {
            ^
0_0_32758797_16771.cpp:10:29: error: 'String' has not been declared
     public static void main(String[] args) {
                             ^
0_0_32758797_16771.cpp:10:38: error: expected ',' or '...' before 'args'
     public static void main(String[] args) {
                                      ^
0_0_32758797_16771.cpp:29:1: error: expected ';' after class definition
 }
 ^
0_0_32758797_16771.cpp: In static member function 'static void Main::main(int*)':
0_0_32758797_16771.cpp:12:29: error: 'N' was not declared in this scope
         for (int i = 0; i < N; i++)
                             ^
0_0_32758797_16771.cpp:13:13: error: 'num' was not declared in this scope
             num[0][i] = new BigInteger(String.valueOf(1));
             ^
0_0_32758797_16771.cpp:13:29: error: expected type-specifier before 'BigInteger'
             num[0][i] = new BigInteger(String.valueOf(1));
                             ^
0_0_32758797_16771.cpp:14:29: error: 'N' was not declared in this scope
         for (int i = 1; i < N; i++) {
                             ^
0_0_32758797_16771.cpp:15:13: error: 'num' was not declared in this scope
             num[i][N - i - 1] = num[i - 1][N - i - 1];
             ^
0_0_32758797_16771.cpp:21:13: error: 'Scanner' was not declared in this scope
             Scanner scan = new Scanner(System.in);
             ^
0_0_32758797_16771.cpp:22:21: error: 'scan' was not declared in this scope
             int n = scan.nextInt();
                     ^
0_0_32758797_16771.cpp:25:13: error: 'System' was not declared in this scope
             System.out.println(num[n][N - n - 1]);
             ^
0_0_32758797_16771.cpp:25:32: error: 'num' was not declared in this scope
             System.out.println(num[n][N - n - 1]);
                                ^
0_0_32758797_16771.cpp:25:39: error: 'N' was not declared in this scope
             System.out.println(num[n][N - n - 1]);
                                       ^


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-30 05:19:31, Gzip enabled