记录详情

Compile Error

/in/foo.c:1:1: error: unknown type name 'import'; did you mean 'short'?
 import java.util.Scanner;
 ^~~~~~
 short
/in/foo.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
 import java.util.Scanner;
            ^
/in/foo.c:2:1: error: unknown type name 'import'; did you mean 'short'?
 import java.util.Stack;
 ^~~~~~
 short
/in/foo.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
 import java.util.Stack;
            ^
/in/foo.c:3:1: error: unknown type name 'import'; did you mean 'short'?
 import java.util.regex.Matcher;
 ^~~~~~
 short
/in/foo.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
 import java.util.regex.Matcher;
            ^
/in/foo.c:4:1: error: unknown type name 'import'; did you mean 'short'?
 import java.util.regex.Pattern;
 ^~~~~~
 short
/in/foo.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
 import java.util.regex.Pattern;
            ^
/in/foo.c:6:1: error: unknown type name 'public'
 public class test4 {
 ^~~~~~
/in/foo.c:6:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'test4'
 public class test4 {
              ^~~~~

信息

递交者
类型
递交
题目
2-5 二进制表达式求值
比赛
南师大2018年蓝桥杯热身赛
语言
C
递交时间
2018-12-12 16:08:24
评测时间
2018-12-12 16:08:24
评测机
分数
0
总耗时
12ms
峰值内存
4.164 MiB