finished
This commit is contained in:
20
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/contentModel.xml
generated
Normal file
20
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/contentModel.xml
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelStore">
|
||||
<e p="$USER_HOME$/Library/Caches/Rider2019.2/extResources" t="IncludeRecursive" />
|
||||
<e p="$USER_HOME$/Library/Caches/Rider2019.2/resharper-host/local/Transient/ReSharperHost/v192/SolutionCaches/_SimpleSpellCheck.692991529.00" t="ExcludeRecursive" />
|
||||
<e p="$PROJECT_DIR$" t="IncludeFlat">
|
||||
<e p="packages" t="ExcludeRecursive" />
|
||||
<e p="SimpleSpellCheck" t="IncludeRecursive">
|
||||
<e p="bin" t="ExcludeRecursive" />
|
||||
<e p="obj" t="ExcludeRecursive" />
|
||||
<e p="Program.cs" t="Include" />
|
||||
<e p="Properties" t="Include">
|
||||
<e p="AssemblyInfo.cs" t="Include" />
|
||||
</e>
|
||||
<e p="SimpleSpellCheck.csproj" t="IncludeRecursive" />
|
||||
</e>
|
||||
<e p="SimpleSpellCheck.sln" t="IncludeFlat" />
|
||||
</e>
|
||||
</component>
|
||||
</project>
|
||||
4
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/encodings.xml
generated
Normal file
4
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/encodings.xml
generated
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||
</project>
|
||||
8
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/indexLayout.xml
generated
Normal file
8
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/indexLayout.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelUserStore">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
||||
8
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/modules.xml
generated
Normal file
8
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/.idea.SimpleSpellCheck/riderModule.iml" filepath="$PROJECT_DIR$/.idea/.idea.SimpleSpellCheck/riderModule.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/projectSettingsUpdater.xml
generated
Normal file
6
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/projectSettingsUpdater.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RiderProjectSettingsUpdater">
|
||||
<option name="vcsConfiguration" value="1" />
|
||||
</component>
|
||||
</project>
|
||||
6
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/vcs.xml
generated
Normal file
6
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
7
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/riderModule.iml
generated
Normal file
7
SimpleSpellCheck/.idea/.idea.SimpleSpellCheck/riderModule.iml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="RIDER_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$/../.." />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
16
SimpleSpellCheck/SimpleSpellCheck.sln
Normal file
16
SimpleSpellCheck/SimpleSpellCheck.sln
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleSpellCheck", "SimpleSpellCheck\SimpleSpellCheck.csproj", "{D57220C7-2B13-4E8B-80A5-C3B3F3A75596}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D57220C7-2B13-4E8B-80A5-C3B3F3A75596}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D57220C7-2B13-4E8B-80A5-C3B3F3A75596}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D57220C7-2B13-4E8B-80A5-C3B3F3A75596}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D57220C7-2B13-4E8B-80A5-C3B3F3A75596}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
25
SimpleSpellCheck/SimpleSpellCheck/Program.cs
Normal file
25
SimpleSpellCheck/SimpleSpellCheck/Program.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
|
||||
namespace SimpleSpellCheck
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
|
||||
public int MED(int i, int j)
|
||||
{
|
||||
if (i == 0)
|
||||
return j;
|
||||
if (j == 0)
|
||||
return i;
|
||||
return Math.Min((uint) (MED(i - 1, j) + 1), (uint)MED(i, j - 1) + 1, (uint)MED(i - 1, j - 1));
|
||||
}
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
A = " igigig";
|
||||
B = " gigigi";
|
||||
}
|
||||
|
||||
public static string A { get; set; }
|
||||
public static string B { get; set; }
|
||||
}
|
||||
}
|
||||
35
SimpleSpellCheck/SimpleSpellCheck/Properties/AssemblyInfo.cs
Normal file
35
SimpleSpellCheck/SimpleSpellCheck/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("SimpleSpellCheck")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("SimpleSpellCheck")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("D57220C7-2B13-4E8B-80A5-C3B3F3A75596")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
54
SimpleSpellCheck/SimpleSpellCheck/SimpleSpellCheck.csproj
Normal file
54
SimpleSpellCheck/SimpleSpellCheck/SimpleSpellCheck.csproj
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
|
||||
Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{D57220C7-2B13-4E8B-80A5-C3B3F3A75596}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SimpleSpellCheck</RootNamespace>
|
||||
<AssemblyName>SimpleSpellCheck</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System"/>
|
||||
<Reference Include="System.Core"/>
|
||||
<Reference Include="System.Data"/>
|
||||
<Reference Include="System.Xml"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs"/>
|
||||
<Compile Include="Properties\AssemblyInfo.cs"/>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"/>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
|
||||
</Project>
|
||||
Binary file not shown.
Reference in New Issue
Block a user