0_0_33510326_8240.cpp:1:7: error: expected nested-name-specifier before 'System'
using System;
^
0_0_33510326_8240.cpp:5:12: error: expected ':' before 'static'
public static void Main(string[] args)
^
0_0_33510326_8240.cpp:5:29: error: 'string' has not been declared
public static void Main(string[] args)
^
0_0_33510326_8240.cpp:5:38: error: expected ',' or '...' before 'args'
public static void Main(string[] args)
^
0_0_33510326_8240.cpp:20:1: error: expected ';' after class definition
}
^
0_0_33510326_8240.cpp: In static member function 'static void Program::Main(int*)':
0_0_33510326_8240.cpp:7:9: error: 'string' was not declared in this scope
string line;
^
0_0_33510326_8240.cpp:9:9: error: 'Solver' was not declared in this scope
Solver solver = new Solver();
^
0_0_33510326_8240.cpp:13:17: error: 'line' was not declared in this scope
while ((line = Console.ReadLine()) != null)
^
0_0_33510326_8240.cpp:13:24: error: 'Console' was not declared in this scope
while ((line = Console.ReadLine()) != null)
^
0_0_33510326_8240.cpp:13:47: error: 'null' was not declared in this scope
while ((line = Console.ReadLine()) != null)
^
0_0_33510326_8240.cpp:15:17: error: expected primary-expression before 'int'
N = int.Parse(line);
^
0_0_33510326_8240.cpp:17:27: error: 'solver' was not declared in this scope
Console.Write(solver.Question(N) + "\r\n\r\n");
^
0_0_33510326_8240.cpp: At global scope:
0_0_33510326_8240.cpp:24:12: error: expected ':' before 'int'
public int Question(int n)
^
0_0_33510326_8240.cpp:31:1: error: expected ';' after class definition
}
^
|