From 139741095613c48943c210d41d96c2a3cd5c87ea Mon Sep 17 00:00:00 2001 From: FoRA <48875566+fora22@users.noreply.github.com> Date: Thu, 4 Nov 2021 15:41:28 +0900 Subject: [PATCH 1/3] =?UTF-8?q?chpater=2016=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../16/16_33/16_33.py | 26 +++++++++++++++++++ .../16/16_33/input.txt | 8 ++++++ .../16/16_34/16_34.py | 18 +++++++++++++ .../16/16_34/input.txt | 2 ++ 4 files changed, 54 insertions(+) create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_33.py create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_33/input.txt create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_34/16_34.py create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_34/input.txt diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_33.py b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_33.py new file mode 100644 index 0000000..4025ab9 --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_33.py @@ -0,0 +1,26 @@ +import os +import sys +dirName = os.path.dirname(os.path.abspath(__file__)) +sys.stdin = open(os.path.abspath(dirName + "/input.txt"), 'r') + +N = int(sys.stdin.readline().rstrip()) + +dayTerm = 0 # 상담 기간 index +price = 1 # 상담료 index +schedule = [[-1, -1]] + +for _ in range(N): + day, pay = map(int, sys.stdin.readline().rstrip().split()) + schedule.append([day,pay]) + +dpTable = [0] * (15 + 5) # max N + max T +getMoney = 0 +for i in range(1, N + 1): + getMoney = max(getMoney, dpTable[i]) + next_idx = i + schedule[i][dayTerm] + + dpTable[next_idx] = max(dpTable[next_idx], getMoney + schedule[i][price]) + +result = dpTable[:N+2] + +print(max(result)) \ No newline at end of file diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_33/input.txt b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/input.txt new file mode 100644 index 0000000..9a1cf8a --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/input.txt @@ -0,0 +1,8 @@ +7 +3 10 +5 20 +1 10 +1 20 +2 15 +4 40 +2 200 \ No newline at end of file diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_34/16_34.py b/fora22/Source/Book_CodingTest_for_Employment/16/16_34/16_34.py new file mode 100644 index 0000000..56cd53a --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_34/16_34.py @@ -0,0 +1,18 @@ +import os +import sys +dirName = os.path.dirname(os.path.abspath(__file__)) +sys.stdin = open(os.path.abspath(dirName + "/input.txt"), 'r') + +N = int(sys.stdin.readline().rstrip()) + +power = list(map(int, sys.stdin.readline().rstrip().split())) + +power.reverse() +length = [1 for _ in range(N)] # 길이 담는 array + +for i in range(1, len(power)): + for j in range(i): + if power[i] > power[j]: + length[i] = max(length[i], length[j] + 1) + +print(N - max(length)) diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_34/input.txt b/fora22/Source/Book_CodingTest_for_Employment/16/16_34/input.txt new file mode 100644 index 0000000..97dafc8 --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_34/input.txt @@ -0,0 +1,2 @@ +7 +15 11 4 8 5 2 4 \ No newline at end of file From 2159781375c49de0f9e0cfe0df00cc09c650dd21 Mon Sep 17 00:00:00 2001 From: FoRA <48875566+fora22@users.noreply.github.com> Date: Wed, 10 Nov 2021 10:04:20 +0900 Subject: [PATCH 2/3] =?UTF-8?q?gitignore=20=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 616 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 616 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3bd30f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,616 @@ + +# Created by https://www.toptal.com/developers/gitignore/api/c,c++,visualstudio,visualstudiocode,python +# Edit at https://www.toptal.com/developers/gitignore?templates=c,c++,visualstudio,visualstudiocode,python + +### C ### +# Prerequisites +*.d + +# Object files +*.o +*.ko +*.obj +*.elf + +# Linker output +*.ilk +*.map +*.exp + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + +# Debug files +*.dSYM/ +*.su +*.idb +*.pdb + +# Kernel Module Compile Results +*.mod* +*.cmd +.tmp_versions/ +modules.order +Module.symvers +Mkfile.old +dkms.conf + +### C++ ### +# Prerequisites + +# Compiled Object files +*.slo + +# Precompiled Headers + +# Compiled Dynamic libraries + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai + +# Executables + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# Support for Project snippet scope +!.vscode/*.code-snippets + +### VisualStudio ### +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.meta +*.iobj +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Nuget personal access tokens and Credentials +# nuget.config + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools + +# Local History for Visual Studio Code + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +.idea/ +*.sln.iml + +### VisualStudio Patch ### +# Additional files built by Visual Studio + +# End of https://www.toptal.com/developers/gitignore/api/c,c++,visualstudio,visualstudiocode,python \ No newline at end of file From 152de978595e43c25ca6bb5ef25c6345063c8a10 Mon Sep 17 00:00:00 2001 From: FoRA <48875566+fora22@users.noreply.github.com> Date: Wed, 10 Nov 2021 10:04:33 +0900 Subject: [PATCH 3/3] =?UTF-8?q?cpp=20=EB=A1=9C=20Test=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fora22/.vscode/settings.json | 6 + .../16/16_33/16_34/16_34.cpp | 96 ++++++++++++ .../16/16_33/16_34/16_34.sln | 31 ++++ .../16/16_33/16_34/16_34.vcxproj | 147 ++++++++++++++++++ .../16/16_33/16_34/16_34.vcxproj.filters | 22 +++ .../16/16_33/16_34/input.txt | 8 + 6 files changed, 310 insertions(+) create mode 100644 fora22/.vscode/settings.json create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.cpp create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.sln create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj.filters create mode 100644 fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/input.txt diff --git a/fora22/.vscode/settings.json b/fora22/.vscode/settings.json new file mode 100644 index 0000000..be07041 --- /dev/null +++ b/fora22/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "files.associations": { + "*.rmd": "markdown", + "vector": "cpp" + } +} \ No newline at end of file diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.cpp b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.cpp new file mode 100644 index 0000000..1d35cbb --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.cpp @@ -0,0 +1,96 @@ +#include +#include +#include +#include +#include + + +using namespace std; +vector sliceArrayComposedInt(string sLine); // Է¹ ڿ vector ȯִ Լ +int getMaxValue(int a, int b); //  ū ִ Լ +int getMaxElement(vector inputArray); // vector ִ ִ Լ + +int main(void) { + // ifstream readfile("input.txt"); + cin.tie(NULL); + ios::sync_with_stdio(false); + + int N = 0; + string getInfo; + vector getData; + vector> schedule = { {-1, -1} }; + + const int dayTerm = 0; // Ⱓ index + const int price = 1; // index + + /*if (readfile.is_open()) { + }*/ + // getline(readfile, getInfo); + // N = stoi(getInfo); + cin >> N; + + + for (int i = 0; i < N; i++) { + // getline(readfile, getInfo); + cin >> getInfo; + getData = sliceArrayComposedInt(getInfo); + schedule.push_back(getData); + } + + + vector dpTable(15 + 5); + int getMoney = 0; + int next_idx = 0; + + for (int i = 1; i < N + 1; i++) { + getMoney = getMaxValue(getMoney, dpTable[i]); + next_idx = i + schedule[i][dayTerm]; + dpTable[next_idx] = getMaxValue(dpTable[next_idx], getMoney + schedule[i][price]); + } + + vector::iterator iter; + vector result = vector(dpTable.begin(), dpTable.begin() + (N + 2)); + + int allPay = getMaxElement(result); + + cout << allPay << "\n"; + + return 0; +} + + +vector sliceArrayComposedInt(string sLine) { + int previous = 0; + int current = 0; + vector resultSliceString; + + current = sLine.find(" "); + while (current != string::npos) { + string substring = sLine.substr(previous, current - previous); + resultSliceString.push_back(stoi(substring)); + previous = current + 1; + current = sLine.find(" ", previous); + } + resultSliceString.push_back(stoi(sLine.substr(previous, current - previous))); + // slice end + + return resultSliceString; +} + +int getMaxValue(int a, int b) { + int maxValue = 0; + if (a >= b) { + maxValue = a; + } + else { + maxValue = b; + } + + return maxValue; +} + +int getMaxElement(vector inputArray) { + int maxValue = *max_element(inputArray.begin(), inputArray.end()); + + return maxValue; +} \ No newline at end of file diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.sln b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.sln new file mode 100644 index 0000000..fa1380c --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31702.278 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "16_34", "16_34.vcxproj", "{F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Debug|x64.ActiveCfg = Debug|x64 + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Debug|x64.Build.0 = Debug|x64 + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Debug|x86.ActiveCfg = Debug|Win32 + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Debug|x86.Build.0 = Debug|Win32 + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Release|x64.ActiveCfg = Release|x64 + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Release|x64.Build.0 = Release|x64 + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Release|x86.ActiveCfg = Release|Win32 + {F24EC0E7-F40E-4D66-B9BF-DA32CC7DD9ED}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {15AC74A2-E7AE-4E79-8E2D-649F1421E040} + EndGlobalSection +EndGlobal diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj new file mode 100644 index 0000000..862a3d0 --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {f24ec0e7-f40e-4d66-b9bf-da32cc7dd9ed} + My1634 + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj.filters b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj.filters new file mode 100644 index 0000000..3416f8b --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/16_34.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + 소스 파일 + + + \ No newline at end of file diff --git a/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/input.txt b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/input.txt new file mode 100644 index 0000000..9a1cf8a --- /dev/null +++ b/fora22/Source/Book_CodingTest_for_Employment/16/16_33/16_34/input.txt @@ -0,0 +1,8 @@ +7 +3 10 +5 20 +1 10 +1 20 +2 15 +4 40 +2 200 \ No newline at end of file