0_0_14790279_20631.cpp:1:7: error: expected nested-name-specifier before 'System'
using System;
^
0_0_14790279_20631.cpp:2:7: error: expected nested-name-specifier before 'System'
using System.Collections.Generic;
^
0_0_14790279_20631.cpp:3:7: error: expected nested-name-specifier before 'System'
using System.Linq;
^
0_0_14790279_20631.cpp:4:7: error: expected nested-name-specifier before 'System'
using System.Text;
^
0_0_14790279_20631.cpp:5:7: error: expected nested-name-specifier before 'System'
using System.Threading.Tasks;
^
0_0_14790279_20631.cpp:11:26: error: 'string' has not been declared
static void Main(string[] args)
^
0_0_14790279_20631.cpp:11:35: error: expected ',' or '...' before 'args'
static void Main(string[] args)
^
0_0_14790279_20631.cpp:29:5: error: expected ';' after class definition
}
^
0_0_14790279_20631.cpp: In static member function 'static void ACM::Program::Main(int*)':
0_0_14790279_20631.cpp:13:13: error: 'string' was not declared in this scope
string line;
^
0_0_14790279_20631.cpp:14:20: error: expected primary-expression before ']' token
string[] p;
^
0_0_14790279_20631.cpp:16:21: error: 'line' was not declared in this scope
while ((line= Console.ReadLine())!=null)
^
0_0_14790279_20631.cpp:16:27: error: 'Console' was not declared in this scope
while ((line= Console.ReadLine())!=null)
^
0_0_14790279_20631.cpp:16:48: error: 'null' was not declared in this scope
while ((line= Console.ReadLine())!=null)
^
0_0_14790279_20631.cpp:18:17: error: 'p' was not declared in this scope
p = line.Split(' ');
^
0_0_14790279_20631.cpp:19:22: error: expected primary-expression before 'double'
a1 = double.Parse(p[0]);
^
0_0_14790279_20631.cpp:20:22: error: expected primary-expression before 'double'
a2 = double.Parse(p[1]);
^
0_0_14790279_20631.cpp:21:22: error: expected primary-expression before 'double'
b1 = double.Parse(p[2]);
^
0_0_14790279_20631.cpp:22:22: error: expected primary-expression before 'double'
b2 = double.Parse(p[3]);
^
0_0_14790279_20631.cpp:24:31: error: 'Math' was not declared in this scope
int a = (int)(Math.Sqrt(sum) * 100);
^
|