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_30941576_1702.cpp:1:1: error: 'import' does not name a type
 import java.math.BigInteger;
 ^
0_0_30941576_1702.cpp:2:1: error: 'import' does not name a type
 import java.util.Scanner;
 ^
0_0_30941576_1702.cpp:3:1: error: 'import' does not name a type
 import java.io.*;
 ^
0_0_30941576_1702.cpp:6:12: error: expected ':' before 'static'
     public static void main(String[] args) {
            ^
0_0_30941576_1702.cpp:6:29: error: 'String' has not been declared
     public static void main(String[] args) {
                             ^
0_0_30941576_1702.cpp:6:38: error: expected ',' or '...' before 'args'
     public static void main(String[] args) {
                                      ^
0_0_30941576_1702.cpp:33:1: error: expected ';' after class definition
 }
 ^
0_0_30941576_1702.cpp: In static member function 'static void hdu1223::main(int*)':
0_0_30941576_1702.cpp:7:9: error: 'BigInteger' was not declared in this scope
         BigInteger[][] num = new BigInteger[55][55];
         ^
0_0_30941576_1702.cpp:7:20: error: expected primary-expression before ']' token
         BigInteger[][] num = new BigInteger[55][55];
                    ^
0_0_30941576_1702.cpp:7:22: error: expected primary-expression before ']' token
         BigInteger[][] num = new BigInteger[55][55];
                      ^
0_0_30941576_1702.cpp:11:17: error: 'num' was not declared in this scope
                 num[i][j] = BigInteger.valueOf(0);
                 ^
0_0_30941576_1702.cpp:15:13: error: 'num' was not declared in this scope
             num[i][1]=BigInteger.valueOf(1);
             ^
0_0_30941576_1702.cpp:19:17: error: 'num' was not declared in this scope
                 num[i][j]=(num[i-1][j-1].add(num[i-1][j])).multiply(BigInteger.valueOf(j));
                 ^
0_0_30941576_1702.cpp:22:9: error: 'Scanner' was not declared in this scope
         Scanner scanner = new Scanner(new BufferedInputStream(System.in));
         ^
0_0_30941576_1702.cpp:23:20: error: 'scanner' was not declared in this scope
         int temp = scanner.nextInt();
                    ^
0_0_30941576_1702.cpp:26:24: error: expected ';' before 'bigInteger'
             BigInteger bigInteger = BigInteger.ZERO;
                        ^
0_0_30941576_1702.cpp:28:17: error: 'bigInteger' was not declared in this scope
                 bigInteger = bigInteger.add(num[n][i]);
                 ^
0_0_30941576_1702.cpp:28:45: error: 'num' was not declared in this scope
                 bigInteger = bigInteger.add(num[n][i]);
                                             ^
0_0_30941576_1702.cpp:29:13: error: 'System' was not declared in this scope
             System.out.println(bigInteger.toString());
             ^
0_0_30941576_1702.cpp:29:32: error: 'bigInteger' was not declared in this scope
             System.out.println(bigInteger.toString());
                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 07:06:10, Gzip enabled