0_0_19470472_18884.cpp:1:7: error: expected nested-name-specifier before 'System'
using System;
^
0_0_19470472_18884.cpp:2:7: error: expected nested-name-specifier before 'System'
using System.Collections.Generic;
^
0_0_19470472_18884.cpp:3:7: error: expected nested-name-specifier before 'System'
using System.Linq;
^
0_0_19470472_18884.cpp:4:7: error: expected nested-name-specifier before 'System'
using System.Text;
^
0_0_19470472_18884.cpp:5:7: error: expected nested-name-specifier before 'System'
using System.Threading.Tasks;
^
0_0_19470472_18884.cpp:11:18: error: 'string' has not been declared
static void Main(string[] args)
^
0_0_19470472_18884.cpp:11:27: error: expected ',' or '...' before 'args'
static void Main(string[] args)
^
0_0_19470472_18884.cpp:33:1: error: expected ';' after class definition
}
^
0_0_19470472_18884.cpp: In static member function 'static void csharp::Program::Main(int*)':
0_0_19470472_18884.cpp:13:4: error: 'string' was not declared in this scope
string s;
^
0_0_19470472_18884.cpp:15:12: error: 's' was not declared in this scope
while ((s = Console.ReadLine())!=null)
^
0_0_19470472_18884.cpp:15:16: error: 'Console' was not declared in this scope
while ((s = Console.ReadLine())!=null)
^
0_0_19470472_18884.cpp:15:37: error: 'null' was not declared in this scope
while ((s = Console.ReadLine())!=null)
^
0_0_19470472_18884.cpp:17:11: error: 'Convert' was not declared in this scope
a = Convert.ToInt32(s);
^
0_0_19470472_18884.cpp:20:10: error: 'sum' was not declared in this scope
sum=a/2;
^
0_0_19470472_18884.cpp:26:10: error: 'sum' was not declared in this scope
sum=(a+1)/2;
^
|