Add project files.

This commit is contained in:
2022-09-13 02:43:55 +03:00
parent 2dec4b1dc5
commit 9e39314500
74 changed files with 2336 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using MartianRobotsSolver;
namespace MartianRobots.Api.Data
{
public class RobotSolutionStorage : IRobotSolutionStorage
{
private List<RobotSolution> solutions = new List<RobotSolution>
{
new RobotSolution{ Input = "5 3\n1 1 E\nRFRFRFRF\n3 2 N\nFRRFLLFFRRFLL\n0 3 W\nLLFFFRFLFL" }
};
public void Add(RobotSolution solution)
{
this.solutions.Add(solution);
}
public List<RobotSolution> List()
{
return solutions;
}
}
}