/ Vijos /

记录详情

Compile Error

/in/foo.cs(18,4): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.r'
/in/foo.cs(19,20): error CS1502: The best overloaded method match for `string.Split(params char[])' has some invalid arguments
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/in/foo.cs(19,26): error CS1503: Argument `#1' cannot convert `string' expression to type `char[]'
/in/foo.cs(19,4): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.v'
/in/foo.cs(20,20): error CS1502: The best overloaded method match for `string.Split(params char[])' has some invalid arguments
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/in/foo.cs(20,26): error CS1503: Argument `#1' cannot convert `string' expression to type `char[]'
/in/foo.cs(20,4): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.m'
/in/foo.cs(21,4): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.n'
/in/foo.cs(22,17): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.v'
/in/foo.cs(22,22): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.m'
/in/foo.cs(22,4): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.dp'
/in/foo.cs(23,20): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.n'
/in/foo.cs(25,5): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.r'
/in/foo.cs(26,21): error CS1502: The best overloaded method match for `string.Split(params char[])' has some invalid arguments
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/in/foo.cs(26,27): error CS1503: Argument `#1' cannot convert `string' expression to type `char[]'
/in/foo.cs(26,5): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.a'
/in/foo.cs(27,21): error CS1502: The best overloaded method match for `string.Split(params char[])' has some invalid arguments
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/in/foo.cs(27,27): error CS1503: Argument `#1' cannot convert `string' expression to type `char[]'
/in/foo.cs(27,5): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.b'
/in/foo.cs(28,21): error CS1061: Type `string' does not contain a definition for `Sprit' and no extension method `Sprit' of type `string' could be found. Are you missing an assembly reference?
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/in/foo.cs(28,5): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.c'
/in/foo.cs(29,15): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.v'
/in/foo.cs(29,21): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.a'
/in/foo.cs(30,16): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.m'
/in/foo.cs(30,22): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.b'
/in/foo.cs(31,22): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.dp'
/in/foo.cs(31,31): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.dp'
/in/foo.cs(31,36): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.a'
/in/foo.cs(31,40): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.b'
/in/foo.cs(31,43): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.c'
/in/foo.cs(31,17): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.maxn(int, int)'
/in/foo.cs(31,7): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.dp'
/in/foo.cs(33,25): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.dp'
/in/foo.cs(33,28): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.v'
/in/foo.cs(33,31): error CS0120: An object reference is required to access non-static member `nasasfoodplan.solution.m'
Compilation failed: 35 error(s), 0 warnings

信息

递交者
类型
递交
题目
P1334 NASA的食物计划
语言
C#
递交时间
2020-05-04 16:43:24
评测时间
2020-05-04 16:43:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes