File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ #include < string>
2+ #include < vector>
3+
4+ using namespace std ;
5+
6+ int solution (int n) {
7+ for (int i = 2 ; i < n; ++i) {
8+ if (n % i == 1 ) {
9+ return i;
10+ }
11+ }
12+ }
Original file line number Diff line number Diff line change 4343 <ClCompile Include =" Lv1\Lv1_나누어떨어지는숫자배열.cpp" >
4444 <ExcludedFromBuild Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >true</ExcludedFromBuild >
4545 </ClCompile >
46+ <ClCompile Include =" Lv1\Lv1_나머지가1이되는수찾기.cpp" >
47+ <ExcludedFromBuild Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >true</ExcludedFromBuild >
48+ </ClCompile >
4649 <ClCompile Include =" Lv1\Lv1_내적.cpp" >
4750 <ExcludedFromBuild Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >true</ExcludedFromBuild >
4851 </ClCompile >
148151 <ClCompile Include =" Lv1\Lv1_최대공약수와최소공배수.cpp" >
149152 <ExcludedFromBuild Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >true</ExcludedFromBuild >
150153 </ClCompile >
151- <ClCompile Include =" Lv1\Lv1_최소직사각형.cpp" />
154+ <ClCompile Include =" Lv1\Lv1_최소직사각형.cpp" >
155+ <ExcludedFromBuild Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >true</ExcludedFromBuild >
156+ </ClCompile >
152157 <ClCompile Include =" Lv1\Lv1_콜라츠추측.cpp" >
153158 <ExcludedFromBuild Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >true</ExcludedFromBuild >
154159 </ClCompile >
Original file line number Diff line number Diff line change 513513 <ClCompile Include =" Lv1\Lv1_최소직사각형.cpp" >
514514 <Filter >소스 파일</Filter >
515515 </ClCompile >
516+ <ClCompile Include =" Lv1\Lv1_나머지가1이되는수찾기.cpp" >
517+ <Filter >소스 파일</Filter >
518+ </ClCompile >
516519 </ItemGroup >
517520</Project >
You can’t perform that action at this time.
0 commit comments