diff --git a/2023/baekjoon_1259/.vscode/settings.json b/2023/baekjoon_1259/.vscode/settings.json new file mode 100644 index 0000000..7d30451 --- /dev/null +++ b/2023/baekjoon_1259/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "dotnet.defaultSolution": "baekjoon_1259.sln" +} \ No newline at end of file diff --git a/2023/baekjoon_1259/Program.cs b/2023/baekjoon_1259/Program.cs new file mode 100644 index 0000000..98e13f2 --- /dev/null +++ b/2023/baekjoon_1259/Program.cs @@ -0,0 +1,34 @@ +namespace baekjoon_1259 +{ + public class Palindrome + { + public bool IsPalindrome(string str) + { + int len = str.Length; + for (int i = 0; i < len / 2; i++) + { + if (str[i] != str[len - i - 1]) + return false; + } + return true; + } + } + + public class Program + { + public static void Main(string[] args) + { + Palindrome palindrome = new Palindrome(); + while (true) + { + string str = System.Console.ReadLine(); + if (str == "0") + break; + if (palindrome.IsPalindrome(str)) + System.Console.WriteLine("yes"); + else + System.Console.WriteLine("no"); + } + } + } +} \ No newline at end of file diff --git a/2023/baekjoon_1259/baekjoon_1259.csproj b/2023/baekjoon_1259/baekjoon_1259.csproj new file mode 100644 index 0000000..f02677b --- /dev/null +++ b/2023/baekjoon_1259/baekjoon_1259.csproj @@ -0,0 +1,10 @@ + + + + Exe + net7.0 + enable + enable + + + diff --git a/2023/baekjoon_1259/baekjoon_1259.sln b/2023/baekjoon_1259/baekjoon_1259.sln new file mode 100644 index 0000000..28d5ab5 --- /dev/null +++ b/2023/baekjoon_1259/baekjoon_1259.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "baekjoon_1259", "baekjoon_1259.csproj", "{FD56C25D-13F3-4355-B1F8-818703D207BE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FD56C25D-13F3-4355-B1F8-818703D207BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FD56C25D-13F3-4355-B1F8-818703D207BE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FD56C25D-13F3-4355-B1F8-818703D207BE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FD56C25D-13F3-4355-B1F8-818703D207BE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {142DF944-5A87-4AC4-A745-E54884B53AFA} + EndGlobalSection +EndGlobal diff --git a/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.deps.json b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.deps.json new file mode 100644 index 0000000..372e0b3 --- /dev/null +++ b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v7.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v7.0": { + "baekjoon_1259/1.0.0": { + "runtime": { + "baekjoon_1259.dll": {} + } + } + } + }, + "libraries": { + "baekjoon_1259/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.dll b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.dll new file mode 100644 index 0000000..f91861b Binary files /dev/null and b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.dll differ diff --git a/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.exe b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.exe new file mode 100644 index 0000000..1d5f9cc Binary files /dev/null and b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.exe differ diff --git a/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.pdb b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.pdb new file mode 100644 index 0000000..51f8ec0 Binary files /dev/null and b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.pdb differ diff --git a/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.runtimeconfig.json b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.runtimeconfig.json new file mode 100644 index 0000000..184be8b --- /dev/null +++ b/2023/baekjoon_1259/bin/Debug/net7.0/baekjoon_1259.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net7.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "7.0.0" + } + } +} \ No newline at end of file diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/2023/baekjoon_1259/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs new file mode 100644 index 0000000..4257f4b --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/apphost.exe b/2023/baekjoon_1259/obj/Debug/net7.0/apphost.exe new file mode 100644 index 0000000..1d5f9cc Binary files /dev/null and b/2023/baekjoon_1259/obj/Debug/net7.0/apphost.exe differ diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.AssemblyInfo.cs b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.AssemblyInfo.cs new file mode 100644 index 0000000..24fe7d7 --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("baekjoon_1259")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("baekjoon_1259")] +[assembly: System.Reflection.AssemblyTitleAttribute("baekjoon_1259")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// MSBuild WriteCodeFragment 클래스에서 생성되었습니다. + diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.AssemblyInfoInputs.cache b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.AssemblyInfoInputs.cache new file mode 100644 index 0000000..fe3d6e7 --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +8a4b1243282b92be04cf7ea0be9e172742604c29 diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.GeneratedMSBuildEditorConfig.editorconfig b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..7aed90e --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,11 @@ +is_global = true +build_property.TargetFramework = net7.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = baekjoon_1259 +build_property.ProjectDir = D:\Algorithm\2023\baekjoon_1259\ diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.GlobalUsings.g.cs b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.assets.cache b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.assets.cache new file mode 100644 index 0000000..4b4493a Binary files /dev/null and b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.assets.cache differ diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.AssemblyReference.cache b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.AssemblyReference.cache new file mode 100644 index 0000000..f00483c Binary files /dev/null and b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.AssemblyReference.cache differ diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.CoreCompileInputs.cache b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..60ea5ef --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +3eed191241bacd56493e1116c44d8b56d0d7c4ef diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.FileListAbsolute.txt b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f51639e --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +D:\Algorithm\2023\baekjoon_1259\bin\Debug\net7.0\baekjoon_1259.exe +D:\Algorithm\2023\baekjoon_1259\bin\Debug\net7.0\baekjoon_1259.deps.json +D:\Algorithm\2023\baekjoon_1259\bin\Debug\net7.0\baekjoon_1259.runtimeconfig.json +D:\Algorithm\2023\baekjoon_1259\bin\Debug\net7.0\baekjoon_1259.dll +D:\Algorithm\2023\baekjoon_1259\bin\Debug\net7.0\baekjoon_1259.pdb +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.csproj.AssemblyReference.cache +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.GeneratedMSBuildEditorConfig.editorconfig +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.AssemblyInfoInputs.cache +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.AssemblyInfo.cs +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.csproj.CoreCompileInputs.cache +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.dll +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\refint\baekjoon_1259.dll +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.pdb +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\baekjoon_1259.genruntimeconfig.cache +D:\Algorithm\2023\baekjoon_1259\obj\Debug\net7.0\ref\baekjoon_1259.dll diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.dll b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.dll new file mode 100644 index 0000000..f91861b Binary files /dev/null and b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.dll differ diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.genruntimeconfig.cache b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.genruntimeconfig.cache new file mode 100644 index 0000000..4fd3b9b --- /dev/null +++ b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.genruntimeconfig.cache @@ -0,0 +1 @@ +b0c663c8bddabb302b42d0cfcf7653a3b28f91c1 diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.pdb b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.pdb new file mode 100644 index 0000000..51f8ec0 Binary files /dev/null and b/2023/baekjoon_1259/obj/Debug/net7.0/baekjoon_1259.pdb differ diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/ref/baekjoon_1259.dll b/2023/baekjoon_1259/obj/Debug/net7.0/ref/baekjoon_1259.dll new file mode 100644 index 0000000..b1074f0 Binary files /dev/null and b/2023/baekjoon_1259/obj/Debug/net7.0/ref/baekjoon_1259.dll differ diff --git a/2023/baekjoon_1259/obj/Debug/net7.0/refint/baekjoon_1259.dll b/2023/baekjoon_1259/obj/Debug/net7.0/refint/baekjoon_1259.dll new file mode 100644 index 0000000..b1074f0 Binary files /dev/null and b/2023/baekjoon_1259/obj/Debug/net7.0/refint/baekjoon_1259.dll differ diff --git a/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.dgspec.json b/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.dgspec.json new file mode 100644 index 0000000..a38b580 --- /dev/null +++ b/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.dgspec.json @@ -0,0 +1,61 @@ +{ + "format": 1, + "restore": { + "D:\\Algorithm\\2023\\baekjoon_1259\\baekjoon_1259.csproj": {} + }, + "projects": { + "D:\\Algorithm\\2023\\baekjoon_1259\\baekjoon_1259.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "D:\\Algorithm\\2023\\baekjoon_1259\\baekjoon_1259.csproj", + "projectName": "baekjoon_1259", + "projectPath": "D:\\Algorithm\\2023\\baekjoon_1259\\baekjoon_1259.csproj", + "packagesPath": "C:\\Users\\USER\\.nuget\\packages\\", + "outputPath": "D:\\Algorithm\\2023\\baekjoon_1259\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\USER\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net7.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.g.props b/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.g.props new file mode 100644 index 0000000..e8e3e23 --- /dev/null +++ b/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\USER\.nuget\packages\ + PackageReference + 6.6.0 + + + + + \ No newline at end of file diff --git a/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.g.targets b/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/2023/baekjoon_1259/obj/baekjoon_1259.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/2023/baekjoon_1259/obj/project.assets.json b/2023/baekjoon_1259/obj/project.assets.json new file mode 100644 index 0000000..1591959 --- /dev/null +++ b/2023/baekjoon_1259/obj/project.assets.json @@ -0,0 +1,66 @@ +{ + "version": 3, + "targets": { + "net7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net7.0": [] + }, + "packageFolders": { + "C:\\Users\\USER\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "D:\\Algorithm\\2023\\baekjoon_1259\\baekjoon_1259.csproj", + "projectName": "baekjoon_1259", + "projectPath": "D:\\Algorithm\\2023\\baekjoon_1259\\baekjoon_1259.csproj", + "packagesPath": "C:\\Users\\USER\\.nuget\\packages\\", + "outputPath": "D:\\Algorithm\\2023\\baekjoon_1259\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\USER\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net7.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/2023/baekjoon_1259/obj/project.nuget.cache b/2023/baekjoon_1259/obj/project.nuget.cache new file mode 100644 index 0000000..e8a0f1f --- /dev/null +++ b/2023/baekjoon_1259/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "0XU0qjqmxEbh5ibYB/gh64TtQt+ju1oK86nFEVAcWkJcS1XhuVixp4fzKiHnYXuCB6xQCerlMhMYEOlDNbgt0g==", + "success": true, + "projectFilePath": "D:\\Algorithm\\2023\\baekjoon_1259\\baekjoon_1259.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file