0_0_32994604_30046.cpp:1:7: error: expected nested-name-specifier before 'System'
using System.Linq;
^
0_0_32994604_30046.cpp:4:22: error: 'string' has not been declared
static void Main(string[] args)
^
0_0_32994604_30046.cpp:4:31: error: expected ',' or '...' before 'args'
static void Main(string[] args)
^
0_0_32994604_30046.cpp:8:1: error: expected ';' after class definition
}
^
0_0_32994604_30046.cpp: In static member function 'static void Program::Main(int*)':
0_0_32994604_30046.cpp:6:9: error: 'Console' was not declared in this scope
Console.WriteLine(Console.ReadLine().Split(' ').Select(c => int.Parse(c)).Sum());
^
0_0_32994604_30046.cpp:6:64: error: 'c' was not declared in this scope
Console.WriteLine(Console.ReadLine().Split(' ').Select(c => int.Parse(c)).Sum());
^
0_0_32994604_30046.cpp:6:67: error: expected primary-expression before '>' token
Console.WriteLine(Console.ReadLine().Split(' ').Select(c => int.Parse(c)).Sum());
^
0_0_32994604_30046.cpp:6:69: error: expected primary-expression before 'int'
Console.WriteLine(Console.ReadLine().Split(' ').Select(c => int.Parse(c)).Sum());
^
|