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_15593909_5539.cpp:1:1: error: 'import' does not name a type
 import java.util.*;
 ^
0_0_15593909_5539.cpp:2:1: error: 'import' does not name a type
 import java.math.*;
 ^
0_0_15593909_5539.cpp:5:9: error: expected ':' before 'static'
  public static void main(String[] agrs){
         ^
0_0_15593909_5539.cpp:5:26: error: 'String' has not been declared
  public static void main(String[] agrs){
                          ^
0_0_15593909_5539.cpp:5:35: error: expected ',' or '...' before 'agrs'
  public static void main(String[] agrs){
                                   ^
0_0_15593909_5539.cpp:38:9: error: expected ':' before 'static'
  public static BigInteger f(int x,int y){
         ^
0_0_15593909_5539.cpp:38:16: error: 'BigInteger' does not name a type
  public static BigInteger f(int x,int y){
                ^
0_0_15593909_5539.cpp:45:9: error: expected ':' before 'static'
  public static BigInteger g(BigInteger x){
         ^
0_0_15593909_5539.cpp:45:16: error: 'BigInteger' does not name a type
  public static BigInteger g(BigInteger x){
                ^
0_0_15593909_5539.cpp:56:1: error: expected ';' after class definition
 }
 ^
0_0_15593909_5539.cpp: In static member function 'static void Main::main(int*)':
0_0_15593909_5539.cpp:7:3: error: 'Scanner' was not declared in this scope
   Scanner cin=new Scanner(System.in);
   ^
0_0_15593909_5539.cpp:8:9: error: 'cin' was not declared in this scope
   while(cin.hasNext()){
         ^
0_0_15593909_5539.cpp:10:7: error: expected unqualified-id before '[' token
    int[] a=new int[n];
       ^
0_0_15593909_5539.cpp:11:7: error: expected unqualified-id before '[' token
    int[] b=new int[n];
       ^
0_0_15593909_5539.cpp:13:5: error: 'a' was not declared in this scope
     a[i]=cin.nextInt();
     ^
0_0_15593909_5539.cpp:14:4: error: 'b' was not declared in this scope
    b[0]=0;
    ^
0_0_15593909_5539.cpp:18:9: error: 'a' was not declared in this scope
      if(a[j]<a[i])
         ^
0_0_15593909_5539.cpp:24:4: error: 'BigInteger' was not declared in this scope
    BigInteger ans=new BigInteger("0");
    ^
0_0_15593909_5539.cpp:26:14: error: 'k' was not declared in this scope
     if(b[i]>=k-1){
              ^
0_0_15593909_5539.cpp:27:17: error: expected ';' before 'tmp'
      BigInteger tmp=f(b[i],k-1);
                 ^
0_0_15593909_5539.cpp:30:6: error: 'ans' was not declared in this scope
      ans=ans.add(tmp);
      ^
0_0_15593909_5539.cpp:30:18: error: 'tmp' was not declared in this scope
      ans=ans.add(tmp);
                  ^
0_0_15593909_5539.cpp:35:4: error: 'System' was not declared in this scope
    System.out.println(ans);
    ^
0_0_15593909_5539.cpp:35:23: error: 'ans' was not declared in this scope
    System.out.println(ans);
                       ^


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-07-09 00:54:24, Gzip enabled