记录详情

Compile Error

Compilation failed: 24 error(s), 0 warnings

error CS2001: Source file `csc' could not be found
/w/foo.cs(2,0): error CS1024: Wrong preprocessor directive
/w/foo.cs(3,0): error CS1024: Wrong preprocessor directive
/w/foo.cs(4,0): error CS1024: Wrong preprocessor directive
/w/foo.cs(5,6): error CS1525: Unexpected symbol `namespace', expecting `identifier' or `static'
/w/foo.cs(5,19): error CS1525: Unexpected symbol `;', expecting `identifier' or `static'
/w/foo.cs(7,5): error CS1514: Unexpected symbol `class', expecting `.' or `{'
/w/foo.cs(8,8): error CS1519: Unexpected symbol `:' in class, struct, or interface member declaration
/w/foo.cs(11,7): error CS1519: Unexpected symbol `:' in class, struct, or interface member declaration
/w/foo.cs(24,21): error CS1525: Unexpected symbol `const'
/w/foo.cs(24,12): error CS1534: Overloaded binary operator `+' takes two parameters
/w/foo.cs(24,47): error CS1519: Unexpected symbol `const' in class, struct, or interface member declaration
/w/foo.cs(24,49): error CS1519: Unexpected symbol `{' in class, struct, or interface member declaration
/w/foo.cs(24,49): error CS9010: Primary constructor body is not allowed
/w/foo.cs(31,0): error CS1525: Unexpected symbol `|'
/w/foo.cs(32,0): error CS1525: Unexpected symbol `|'
/w/foo.cs(52,19): error CS1519: Unexpected symbol `&' in class, struct, or interface member declaration
/w/foo.cs(52,39): error CS1519: Unexpected symbol `&' in class, struct, or interface member declaration
/w/foo.cs(52,43): error CS1519: Unexpected symbol `,' in class, struct, or interface member declaration
/w/foo.cs(52,56): error CS1525: Unexpected symbol `&'
/w/foo.cs(52,62): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration
/w/foo.cs(52,64): error CS9010: Primary constructor body is not allowed
/w/foo.cs(52,64): error CS8041: Primary constructor already has a body
/w/foo.cs(58,0): error CS1525: Unexpected symbol `int'

信息

递交者
类型
自测
语言
C#
递交时间
2024-05-05 10:41:14
评测时间
2024-05-05 10:41:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes