/ Vijos /

记录详情

Compile Error

./Main.java:2: error: class, interface, enum, or record expected
var reg = new RegExp(readline())
^
./Main.java:4: error: unclosed character literal
    print(k.match(reg) ? 'Regular Expression is Fun!' : 'Boring String Matching...');
                         ^
./Main.java:4: error: unclosed character literal
    print(k.match(reg) ? 'Regular Expression is Fun!' : 'Boring String Matching...');
                                                    ^
./Main.java:4: error: unclosed character literal
    print(k.match(reg) ? 'Regular Expression is Fun!' : 'Boring String Matching...');
                                                        ^
./Main.java:4: error: unclosed character literal
    print(k.match(reg) ? 'Regular Expression is Fun!' : 'Boring String Matching...');
                                                                                  ^
5 errors
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1416 正则表达式简化版
语言
Java
递交时间
2021-12-16 19:29:44
评测时间
2021-12-16 19:29:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes