Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
Main.cs(4,45): error CS1061: Type `string[]' does not contain a definition for `Select' and no extension method `Select' of type `string[]' could be found. Are you missing `System.Linq' using directive? /usr/local/mono-6.6.0.161/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings |
||
#2 |
Error de compilación
Main.cs(4,45): error CS1061: Type `string[]' does not contain a definition for `Select' and no extension method `Select' of type `string[]' could be found. Are you missing `System.Linq' using directive? /usr/local/mono-6.6.0.161/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings |
||
#3 |
Error de compilación
Main.cs(4,45): error CS1061: Type `string[]' does not contain a definition for `Select' and no extension method `Select' of type `string[]' could be found. Are you missing `System.Linq' using directive? /usr/local/mono-6.6.0.161/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings |
||
#4 |
Error de compilación
Main.cs(4,45): error CS1061: Type `string[]' does not contain a definition for `Select' and no extension method `Select' of type `string[]' could be found. Are you missing `System.Linq' using directive? /usr/local/mono-6.6.0.161/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings |
||
#5 |
Error de compilación
Main.cs(4,45): error CS1061: Type `string[]' does not contain a definition for `Select' and no extension method `Select' of type `string[]' could be found. Are you missing `System.Linq' using directive? /usr/local/mono-6.6.0.161/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings |
using System; class Sum{ static void Main() { int[] nums = Console.ReadLine().Split().Select(n => int32.Parse(n)).ToArray(); Console.WriteLine((nums[0] + nums[1]).ToString()); } }