./Main.java:1: error: class, interface, enum, or record expected
;(function () {
^
./Main.java:3: error: class, interface, enum, or record expected
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:3: error: illegal character: '\'
if (str.match(/[^\d\.\(\)\+\-\*\/]/g))
^
./Main.java:5: error: class, interface, enum, or record expected
str = "var k = "+str;
^
./Main.java:6: error: class, interface, enum, or record expected
if (str.match(/[^\d\.]0\d/g) ||
^
./Main.java:6: error: illegal character: '\'
if (str.match(/[^\d\.]0\d/g) ||
^
./Main.java:6: error: illegal character: '\'
if (str.match(/[^\d\.]0\d/g) ||
^
./Main.java:6: error: illegal character: '\'
if (str.match(/[^\d\.]0\d/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:7: error: illegal character: '\'
str.match(/[\*\/\+\-][\*\/\+\-]/g) ||
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:8: error: illegal character: '\'
str.match(/((\D\.\d)|(\d\.\D)|(\D\.\D))/g))
^
./Main.java:10: error: class, interface, enum, or record expected
try {
^
./Main.java:12: error: class, interface, enum, or record expected
} catch (e) {
^
./Main.java:14: error: class, interface, enum, or record expected
}
^
./Main.java:17: error: class, interface, enum, or record expected
print(k.toFixed(2));
^
./Main.java:18: error: class, interface, enum, or record expected
})();
^
37 errors
[Hydro](https://hydro.ac)提供评测服务