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);
^
|