0_0_22939327_7682.cpp:1:1: error: 'import' does not name a type
import java.util.*;
^
0_0_22939327_7682.cpp:2:1: error: 'import' does not name a type
import java.math.*;
^
0_0_22939327_7682.cpp:5:2: error: 'BigInteger' does not name a type
BigInteger fz, fm;
^
0_0_22939327_7682.cpp:6:22: error: expected ')' before 'x'
Fraction(BigInteger x, BigInteger y) {
^
0_0_22939327_7682.cpp:10:18: error: expected ')' before 'buf'
Fraction(String buf) {
^
0_0_22939327_7682.cpp:56:1: error: expected '}' at end of input
}
^
0_0_22939327_7682.cpp:56:1: error: expected unqualified-id at end of input
|