记录详情

Compile Error

Compilation failed: 43 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(2,6): error CS1525: Unexpected symbol `namespace', expecting `identifier' or `static'
/w/foo.cs(2,19): error CS1525: Unexpected symbol `;', expecting `identifier' or `static'
/w/foo.cs(3,5): error CS1514: Unexpected symbol `class', expecting `.' or `{'
/w/foo.cs(5,8): error CS1519: Unexpected symbol `:' in class, struct, or interface member declaration
/w/foo.cs(8,7): error CS1519: Unexpected symbol `:' in class, struct, or interface member declaration
/w/foo.cs(9,31): error CS1525: Unexpected symbol `real', expecting `base' or `this'
/w/foo.cs(10,12): error CS1519: Unexpected symbol `&' in class, struct, or interface member declaration
/w/foo.cs(10,30): error CS1519: Unexpected symbol `const' in class, struct, or interface member declaration
/w/foo.cs(10,39): error CS1525: Unexpected symbol `&'
/w/foo.cs(10,42): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration
/w/foo.cs(11,5): error CS9010: Primary constructor body is not allowed
/w/foo.cs(20,12): error CS1519: Unexpected symbol `&' in class, struct, or interface member declaration
/w/foo.cs(20,28): error CS1519: Unexpected symbol `const' in class, struct, or interface member declaration
/w/foo.cs(20,37): error CS1525: Unexpected symbol `&'
error CS0102: The type `Complex' already contains a definition for `'
(1,1): (Location of the symbol related to previous error)
/w/foo.cs(20,40): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration
/w/foo.cs(21,5): error CS9010: Primary constructor body is not allowed
/w/foo.cs(21,5): error CS8041: Primary constructor already has a body
/w/foo.cs(26,12): error CS1519: Unexpected symbol `&' in class, struct, or interface member declaration
/w/foo.cs(26,28): error CS1519: Unexpected symbol `const' in class, struct, or interface member declaration
/w/foo.cs(26,37): error CS1525: Unexpected symbol `&'
error CS0102: The type `Complex' already contains a definition for `'
(1,1): (Location of the symbol related to previous error)
/w/foo.cs(26,41): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration
/w/foo.cs(27,5): error CS9010: Primary constructor body is not allowed
/w/foo.cs(27,5): error CS8041: Primary constructor already has a body
/w/foo.cs(40,28): error CS1001: Unexpected symbol `&', expecting identifier
/w/foo.cs(40,10): error CS1019: Overloadable unary operator expected
/w/foo.cs(47,29): error CS1001: Unexpected symbol `&', expecting identifier
/w/foo.cs(47,10): error CS1019: Overloadable unary operator expected
/w/foo.cs(54,28): error CS1001: Unexpected symbol `&', expecting identifier
/w/foo.cs(54,10): error CS1019: Overloadable unary operator expected
/w/foo.cs(61,29): error CS1001: Unexpected symbol `&', expecting identifier
/w/foo.cs(61,10): error CS1019: Overloadable unary operator expected
/w/foo.cs(68,29): error CS1001: Unexpected symbol `&', expecting identifier
/w/foo.cs(68,10): error CS1019: Overloadable unary operator expected
/w/foo.cs(75,19): error CS1519: Unexpected symbol `&' in class, struct, or interface member declaration
/w/foo.cs(75,42): error CS1519: Unexpected symbol `&' in class, struct, or interface member declaration
/w/foo.cs(75,60): error CS1525: Unexpected symbol `&'
error CS0102: The type `Complex' already contains a definition for `'
(1,1): (Location of the symbol related to previous error)
/w/foo.cs(75,63): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration
/w/foo.cs(77,4): error CS1525: Unexpected symbol `ostream'

信息

递交者
类型
自测
题目
P1012 OO2-2 复数类的比较运算符重载
语言
C#
递交时间
2024-04-05 22:47:26
评测时间
2024-04-05 22:47:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes