示例#1
0
 public Problem(ProblemKind kind, string type, string description)
 {
     Kind        = kind;
     Type        = type;
     Description = description;
 }
 public static void Setup()
 {
     ProblemInfo = JsonConvert.DeserializeObject <ProblemInfo>(ReadToEnd(Path.Combine(TestCaseDirectory, ProblemInfoFileName)));
     ProblemKind = ProblemInfo.Interactive ? ProblemKind.Interactive : ProblemKind.Normal;
 }
示例#3
0
 public Problem(ProblemKind kind, string type, string description)
 {
     Kind = kind;
     Type = type;
     Description = description;
 }
示例#4
0
 public Problem(string fmt, IEnumerable <string> memberNames, params object[] values) : base(string.Format(fmt, values), memberNames)
 {
     Kind = ProblemKind.None;
 }
示例#5
0
 public Problem(string msg, IEnumerable <string> memberNames) : base(msg, memberNames)
 {
     Kind = ProblemKind.None;
 }
示例#6
0
 public Problem(string msg) : base(msg)
 {
     Kind = ProblemKind.None;
 }
示例#7
0
 // ctors
 public Problem(string fmt, params object[] values) : base(string.Format(fmt, values))
 {
     Kind = ProblemKind.None;
 }